Re: Running pdf in servlet
Hi Any one compiled code after downloading. I tired it looks like some source files are missing. - Any clue --- Jeremias Maerki <[EMAIL PROTECTED]> wrote: > Firstly, please post user related questions to the > user list. The development > list is for code related issues. The developers are > all subscribed to the user > list anyway. > > On the command-line you specify "-c userconfig.xml" > to enable custom > fonts. From a servlet it is done using the Options > class. Please see > here: > http://xml.apache.org/fop/embedding.html#config-external > > > On 13.08.2004 15:44:10 vivek gupta wrote: > >Does any body added Arial font and run > pdf > > in web server using servlet. I am able to change > font > > and run it > > on my local , but I don't know how to run on web > > server.Any help will be appreciated > > > Jeremias Maerki > > __ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
fo:table-header -> between 2 pages
Hello ! I have a problem with fo:table-header : the contents of the fo:table-header cannot be between 2 pages (If there are many lines in the fo:table-header) For example if a table (and fo:table-header) must start in the medium of the page And FOP thinks that the contents of the fo:table-header will not have enough place, there will be a page break and the fo:table-header will be written at the beginning of the next page it’s normal ? Philippe Pithon mailto:[EMAIL PROTECTED]
Re: fo:table-header -> between 2 pages
Philippe PITHON wrote: For example if a table (and fo:table-header) must start in the medium of the page And FOP thinks that the contents of the fo:table-header will not have enough place, there will be a page break and the fo:table-header will be written at the beginning of the next page it’s normal ? Sounds normal to me. Would you prefer the header to be split across pages? That wouldnt make sense to me at all? Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error while using fop: [ERROR] org.apache.fop.apps.FOPException: master-reference
Hi everyone I recieve the following error when I want to translate a xml and it's xsl stylesheet to pdf: sh fop.sh -xsl foptest.xsl -xml foptest.xml foptest.pdf [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] FOP 0.20.5 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [ERROR] org.apache.fop.apps.FOPException: master-reference 'der-einzige-seitentyp' for fo:page-sequence matches no simple-page-master or page-sequence-master Anyone could help me? If it's neccessary I will send you the xml and the xsl file! Regards and many thanks for your answers! Matthias - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error while using fop: [ERROR] org.apache.fop.apps.FOPException: master-reference
I suspect there is something wrong with your transformation--the fo:layout-master-set is not getting copied over into the FO document. FOP is claiming that your fo:layout-master-set (at the top of your FO) has no simple-page-master or page-sequence-master called "der-einzige-seitentyp". Please check for the fo:layout-master-set in the resultant file and make sure it has a "der-einzige-seitentyp". (Use Xalan for this.) You may also wish to look at examples/pagination to see the use of layout-master-set. Glen --- Mosimann Matthias <[EMAIL PROTECTED]> wrote: > [ERROR] org.apache.fop.apps.FOPException: > master-reference > 'der-einzige-seitentyp' for fo:page-sequence matches > no > simple-page-master or page-sequence-master > > > Anyone could help me? If it's neccessary I will send > you the xml and the > xsl file! > > Regards and many thanks for your answers! > Matthias > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Error while using fop: [ERROR] org.apache.fop.apps.FOPException: master-reference
Hi Glen FOP is claiming that your fo:layout-master-set (at the top of your FO) has no simple-page-master or page-sequence-master called "der-einzige-seitentyp". Please check for the fo:layout-master-set in the resultant file and make sure it has a "der-einzige-seitentyp". (Use Xalan for this.) <- Jep that helped me (stupid mistake)! Thank you! But Now I reieve another error: sh fop.sh -xml foptest.xml -xsl foptest.xsl -pdf foptest.pdf [INFO] FOP 0.20.4 [INFO] building formatting object tree [INFO] [1] . . . [INFO] [50 [ERROR] org.apache.fop.apps.FOPException: No meaningful layout in block after many attempts. Infinite loop is assumed. Processing halted. Anyone could help me again? Thank you again for your supports! Regards Matthias -Ursprüngliche Nachricht- Von: Glen Mazza [mailto:[EMAIL PROTECTED] Gesendet: Montag, 16. August 2004 13:30 An: [EMAIL PROTECTED] Betreff: Re: Error while using fop: [ERROR] org.apache.fop.apps.FOPException: master-reference I suspect there is something wrong with your transformation--the fo:layout-master-set is not getting copied over into the FO document. FOP is claiming that your fo:layout-master-set (at the top of your FO) has no simple-page-master or page-sequence-master called "der-einzige-seitentyp". Please check for the fo:layout-master-set in the resultant file and make sure it has a "der-einzige-seitentyp". (Use Xalan for this.) You may also wish to look at examples/pagination to see the use of layout-master-set. Glen --- Mosimann Matthias <[EMAIL PROTECTED]> wrote: > [ERROR] org.apache.fop.apps.FOPException: > master-reference > 'der-einzige-seitentyp' for fo:page-sequence matches > no > simple-page-master or page-sequence-master > > > Anyone could help me? If it's neccessary I will send > you the xml and the > xsl file! > > Regards and many thanks for your answers! > Matthias > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
org.w3c.dom.Document to PDF...
Does anyone out there has some code to translate a org.w3c.dom.Document object to PDF? I would like to keep the PDF data in memory, not a file. Thanx in advance... Rodrigo PS. I have this code but it doesn't seem to be working... Driver driver = new Driver(); driver.setRenderer(Driver.RENDER_PDF); driver.setOutputStream(new FileOutputStream(targetFilename + ".pdf")); driver.render(doc); - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: org.w3c.dom.Document to PDF...
This example may help you: http://cvs.apache.org/viewcvs.cgi/xml- fop/examples/embedding/java/embedding/ExampleDOM2PDF.java?rev=1.9 --- "Rodrigo Reyes C." <[EMAIL PROTECTED]> wrote: > Does anyone out there has some code to translate a > org.w3c.dom.Document > object to PDF? I would like to keep the PDF data in > memory, not a file. > Thanx in advance... > > Rodrigo > PS. I have this code but it doesn't seem to be > working... > > Driver driver = new Driver(); > driver.setRenderer(Driver.RENDER_PDF); > driver.setOutputStream(new > FileOutputStream(targetFilename + > ".pdf")); > driver.render(doc); > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Error while using fop: [ERROR] org.apache.fop.apps.FOPException: master-reference
Mosimann Matthias wrote: [ERROR] org.apache.fop.apps.FOPException: No meaningful layout in block after many attempts. Infinite loop is assumed. Processing halted. FAQ (again): http://xml.apache.org/fop/faq.html#fop-hangs http://xml.apache.org/fop/faq.html#boxoverflow I think we should update the Q title. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Running pdf in servlet
The servlet from FOP 0.20.5 compiles just fine under JDK 1.3.1 and 1.4.2. Are you using a different version? On 13.08.2004 18:47:31 vivek gupta wrote: > Hi Any one compiled code after downloading. I tired it > looks like some source files are missing. > > - Any clue > > > --- Jeremias Maerki <[EMAIL PROTECTED]> wrote: > > > Firstly, please post user related questions to the > > user list. The development > > list is for code related issues. The developers are > > all subscribed to the user > > list anyway. > > > > On the command-line you specify "-c userconfig.xml" > > to enable custom > > fonts. From a servlet it is done using the Options > > class. Please see > > here: > > > http://xml.apache.org/fop/embedding.html#config-external > > > > > > On 13.08.2004 15:44:10 vivek gupta wrote: > > >Does any body added Arial font and run > > pdf > > > in web server using servlet. I am able to change > > font > > > and run it > > > on my local , but I don't know how to run on web > > > server.Any help will be appreciated Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: SVG problem
I'm sorry it has taken so long but I finally know what's wrong (thanks to Batik's Thomas DeWeese). Your SVG file doesn't contain a viewBox attribute in the top-level svg element. The file seems to be created for a 96dpi environment. In the PDF transcoder you get a 72dpi environment. Because there's no viewBox the graphic is displayed too big. If you manually add: viewBox="0 0 533 266" it should come out correctly. I hope that (still) helps. On 20.07.2004 09:13:52 Raphael Parree (Triveratech) wrote: > I was running with the FOP 0.20.5 with the bundled Batik1.5b5 > > I exported the image using Poseidon and than edited with Sodipodi. After > transformation in Sodipodi, it shows the image at something close to > 400x200. > I have tried Squiggle, and its displays the image 533x266. (Both Batik1.5b5 > and 1.5.1, Adobe SVG Viewer 3 seems to do the same). > > I can get around it by scaling my image, but I would like to find out were > the problem lays (might be Sodipodi). Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
different input type to org.apache.fop.apps.XSLTInputHandler;
Hi, The constructor of org.apache.fop.apps.XSLTInputHandler takes the XML file and XSL file. I was wondering if anyone knows other XSLTInputHandler which takes some source of input stream objects. This way we don't have to write the data to a physical file and knowing that it will be read again from the InputHandler. Reading/writing from/to a physically media is always slower that from/to the system memory. Thanks, Andy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]