Word to FO transformation print pdf with fop

2005-03-07 Thread Mike Dahl
Hi, I'm curious if anybody has been able to get FOP to spit out PDFs from MS Word 2003 created FO files. I took a word document and used word's Word2FO.xsl transformation to generate my FO file from their ML. Currently, if I take one of the .fo example files from a FOP archive, and wrap it

Re: Images and https

2005-03-07 Thread rohit . rastogi
The problem is very clear . The FOP transformation fails when the fo:external-graphics tag has a source to an image which is in secured site(ex: "https:///someimage.jpg";. ) . Please let me know if you have any ideas for this. Thanks Rohit

Re: Images and https

2005-03-07 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: This is what I get when I try to connect .I am trying to pull an image from a secure site using fo:external-graphics tag. We have an Apache Web server infront of an IBM Websphere App server. The call for image is made by the App server during the conversion of XML to FOP .

impositions

2005-03-07 Thread Mike Sierra
This is not directly related to fop, but wonder if someone can help me out. Is there a batch utility available that allows you to create impositions from PDF input? I dimly remember seeing something like that for plain PostScript. Thanks, --Mike Sierra ---

[Ann] XSLfast Version 2.0 will be presented at the CeBIT, Hannover /Germany (March 10-16, 2005)

2005-03-07 Thread Gerd Napieraj
XSLfast is the world's first graphical editor for XSL:FO documents, a tool for XSL-FO authoring, to design XSL documents and to render the information e.g. via FOP. Other purposes are form processing and cross media publishing. XSLfast is used by customers in different industries worldwide, e.g. b

Re: Images and https

2005-03-07 Thread rohit . rastogi
This is what I get when I try to connect .I am trying to pull an image from a secure site using fo:external-graphics tag. We have an Apache Web server infront of an IBM Websphere App server. The call for image is made by the App server during the conversion of XML to FOP . javax.net.ssl.SSLHand

Re: how to get fonts non in URL but in Resource WEB-INF

2005-03-07 Thread Jeremias Maerki
You can often get a URL from a resource by using the method Class.getResource(String). You can try to get such a URL by referencing one of these files in the WEB-INF directory. Then convert the URL to a String and cut off the name part. That you can set as the "fontBaseDir" in the configuration and

RE: Error:

2005-03-07 Thread Ben Gill
Thats great... thanks for your help -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 07 March 2005 14:41 To: [EMAIL PROTECTED] Subject: Re: Error: Do the following: Instead of piping the result of the XSL transformation through to FOP with the following line:

Re: Error:

2005-03-07 Thread Jeremias Maerki
Do the following: Instead of piping the result of the XSL transformation through to FOP with the following line: Result res = new SAXResult(driver.getContentHandler()); ...simply serialize the resulting XSL-FO document to a file: Result res = new StreamResult(new File("C:/Temp/debug.fo")); Chec

RE: Error:

2005-03-07 Thread Ben Gill
Thanks Chris, This helped me sort out the problem straight away The xalan.bat will help me a lot in debugging... But this is not going to show me anything too useful as I am populating Object straight to PDF... As the Object to PDF generation process, includes generating the XML and the FO

Re: Memory Usage when having Large Number ofTables in FO

2005-03-07 Thread Ram Krishnamoorthi
Thanks Jan. I will try out the Latest Code. --- "J.Pietschmann" <[EMAIL PROTECTED]> wrote: > Ram Krishnamoorthi wrote: > > Hello, > > After reading through some threads, I understand > there > > is memory hogging when there are several tables in > the > > FO. Are there Memory Leaks when using

Re: Error:

2005-03-07 Thread Chris Bowditch
Ben Gill wrote: Hi, I downloaded the latest 0.20.5 bin and copied the ExampleObj2PDF example and am getting: {ERROR} dao.BaseDAOTestCase Error generating PDF document [org.apache.fop.apps. FOPException: root must be root element] javax.xml.transform.TransformerException: org.apache.fop.apps.FOPExc

Error:

2005-03-07 Thread Ben Gill
Hi, I downloaded the latest 0.20.5 bin and copied the ExampleObj2PDF example and am getting: {ERROR} dao.BaseDAOTestCase Error generating PDF document [org.apache.fop.apps. FOPException: root must be root element] javax.xml.transform.TransformerException: org.apache.fop.apps.FOPException: root

how to get fonts non in URL but in Resource WEB-INF

2005-03-07 Thread antoniosenatore1977
Hi. I need to get fonts in FOP not via url but in RESOURCE mode, 'cause i have the files (xml and ttf both) under the directory WEB-INF. How can i access the fonts via Resource. Thanks in advance bye Antonio - To unsubscribe,

RE: How do you switch between page-sequences?

2005-03-07 Thread Dennis Myrén
Patrick, Although next time you might consider posting a such question to a pure XSLT newsgroup/mailing list; You can have to simple-page-master, one defining a portrait layout and the other defining the landscape layout. Name one "portrait" and the other "landscape". Then you can have someth

Re: How do you switch between page-sequences?

2005-03-07 Thread Chris Bowditch
Talken, Patrick (AGRE) wrote: Is it possible to switch between page-sequences based on an xml tag? What I need to have is a document that starts with pages in portrait and then at some point in the document switch to landscape for an unknown number of pages and then back into portrait for an unknow

RE: Default stylesheet

2005-03-07 Thread Roland Neilands
Glen, Thanks, I will just have to pass another tag through & keep using -xsl then. Regards, Roland > -Original Message- > From: Glen Mazza [mailto:[EMAIL PROTECTED] > Sent: Friday, 4 March 2005 2:17 PM > To: [EMAIL PROTECTED] > Subject: RE: Default stylesheet > > > --- Roland Neilands

Re: Memory Usage when having Large Number ofTables in FO

2005-03-07 Thread J.Pietschmann
Ram Krishnamoorthi wrote: Hello, After reading through some threads, I understand there is memory hogging when there are several tables in the FO. Are there Memory Leaks when using Tables? I am using FOP 2.0.5 Well, not exactly memory leaks but tables lock memory longer than necessary. In most ca

Re: Images and https

2005-03-07 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: I have a problem in retrieving images in FOP through https.Has anyone encountered this ? We are using WAS 5.1 and FOP 0.2.05. What problem do you actually have? There are lots of things which can go wrong with HTTPS. J.Pietschmann ---