RE: PNG in pdf
Valeiko, Michael wrote: <--- Start ---> I am trying to display a .png file in a .pdf file, however the transparent color is coming out black. The image is fine with the awt viewer. Is this a know issue? <--- End ---> Yes, see http://xml.apache.org/fop/faq.html#png_fails. If that doesn't help, then please repost to this list with a comment to that effect. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cache piece of FOP Transformation
Hello together, is it possible to cache pieces of the result from the transformation. I have designed my XSL Stylesheet with templates (5 templates). Two Templates containes static content and these I would like cache. My Problem ist that all these Stylesheets are called in one Stylesheet and this is transforming. Thanks for any Ideas. Best regards, Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
org.apache.fop.apps.FOPException: root must be root element
org.apache.fop.apps.FOPException: root must be root element at org.apache.fop.fo.pagination.Root.(Root.java:52) I get this exception only very, very intermittently when I'm rendering to PDF a document with many images. Can anyone help? I'm running embedded. Embedded code: myDriver = new Driver(); // Tell the FOP Driver what logger to use. // This must be done in the order it is here. Log4JLogger log4j = new Log4JLogger(dora); MessageHandler.setScreenLogger(log4j); myDriver.setLogger(log4j); // What other kinds can be rendered? // AWT, MIF, PCL, PDF, PRINT, PS, SVG, TXT, XML myDriver.setRenderer(Driver.RENDER_PDF); ... Configuration.put("baseDir", baseDir); InputSource is = new InputSource(fo); myDriver.setInputSource(is); myDriver.setOutputStream(pdf); myDriver.run(); Here is the xsl that is transformed to fo: ]> http://www.w3.org/1999/XSL/Transform"; xmlns:fo="http://www.w3.org/1999/XSL/Format"; xmlns:svg="http://www.w3.org/2000/svg";> ]> http://www.w3.org/1999/XSL/Format"; xmlns:fox="http://xml.apache.org/fop/extensions"; xmlns:svg="http://www.w3.org/2000/svg";> draft.jpg Page of Patient Name: , Patient ID: Patient DOB: Patient Sex: DATE OF PROCEDURE: LOCATION: PROCEDURE: PREOPERATIVE DIAGNOSIS: POSTOPERATIVE DIAGNOSIS: SURGEON:
PNG in pdf
Title: PNG in pdf Hi, I am trying to display a .png file in a .pdf file, however the transparent color is coming out black. The image is fine with the awt viewer. Is this a know issue? Thanks Mike
Re: Table space from left
Oops! I should've removed the BORDER & BACKGROUND attributes from the BLIND TABLE as below: Clay Leeds wrote: You should be able to either add the following to your table: (and then add the fo:table-cell throughout) or, since you've got a table border & background, create a BLIND TABLE (as described in the FAQ) nesting the current table in another table like this: HTH! Web Maestro Clay [EMAIL PROTECTED] wrote: I want to display my table 2 mm more to the right, but i can't get it right, here is the code. can someone help me? -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Table space from left
You should be able to either add the following to your table: (and then add the fo:table-cell throughout) or, since you've got a table border & background, create a BLIND TABLE (as described in the FAQ) nesting the current table in another table like this: HTH! Web Maestro Clay [EMAIL PROTECTED] wrote: I want to display my table 2 mm more to the right, but i can't get it right, here is the code. can someone help me? -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Table space from left
I want to display my table 2 mm more to the right, but i can't get it right, here is the code. can someone help me? Cliëntnummer: Datum Overzicht: Jochen Maes ICT Development KBC Securities (kbcsecurities.com) Havenlaan 12 Avenue du Port SIF 8683 B-1080 Brussels Belgium Tel: +32 2 429 96 81 GSM: +32 496 57 90 99 E-mail : [EMAIL PROTECTED] This message and any attachments hereto are for the named person's use only. It may contain confidential, proprietary or legally privileged information. You may not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. If you have received this e-mail message without being the intended recipient, please notify KBC Securities promptly and delete this e-mail. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of KBC Securities. KBC Securities reserves the right to monitor all e-mail communications through its networks and any messages addressed to, received or sent by KBC Securities or its employees are deemed to be professional in nature. The sender or recipient of any messages to or of KBC Securities agrees that those may be read by other employees of KBC Securities than the stated recipient or sender in order to ensure the continuity of work-related activities and allow supervision thereof. KBC Securities does not accept liability for the correct and complete transmission of the information, nor for any delay or interruption of the transmission, nor for damages arising from the use of, or reliance on, the information. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Installing to FOP / Tomcat
Thank you for this, Yeah, I finally got it running. Anyone trying to bother with setting up 0.20.4 with tomcat 4.1.18 just upgrade to 0.20.5rc2 and things will go alot smoother. I wasn't able to run build.bat but if you have ant in your path and just run ant within the directory where the war is to be built, this works as well (on windows ne ways). Again, thanks -Adam -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: March 18, 2003 12:54 AM To: [EMAIL PROTECTED] Subject: Re: Installing to FOP / Tomcat Hi Adam I've just done the following: - installed a clean binary tomcat 4.1.18 - took binary 0.20.5rc2 distribution - went to the examples/servlet directory - ran build.bat - realized that ant-1.5.1.jar is not packaged with the binary distribution. Doh! - copied ant-1.5.1.jar into fop/lib - ran build.bat again - copied fop.war to Tomcat's webapps directory - started Tomcat - got an error message about an invalid "servlet" element. - looked at the web.xml and realized that all servlet-mapping elements must come after the servlet elements. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html - fixed web.xml and rebuilt fop.war - now everything works fine. Example: http://localhost:8080/fop?fo=D:/FOP/Temp/helloworld.fo&ext=.pdf I'm going to fix the web.xml in CVS in a minute. What's interesting is that Tomcat 4.1.12 doesn't complain about the web.xml. I hope this helps. Jeremias Maerki - 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: table
Title: RE: table Balaji: I now understand what you mean; your choice should be number 2. Create your table separate and place them one after each other. By definition your solution number 1 is actually creating 6 tables (5 data tables, and the 6th to hold them). As for your comment about buffering etc, I not 100% sure what you are getting at. The XSL:FO will produce a final complete document. I don't think there is a way to buffer the results. Rob -Original Message- From: Balaji Loganathan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 18, 2003 4:48 AM To: [EMAIL PROTECTED] Subject: RE: table Hi Rob, Thanks for taking time to reply me.My question was bit different than to your specific reply, and I re-posted it again. Thanks again. Regards Balaji --- Rob Stote <[EMAIL PROTECTED]> wrote: > Balaji > > I did a quick test, I never nest tables, as a > personal preference, easy to > debug, read etc. FOP does say that the numbers > produced from their debug > statements should not be used comparatively. Hope > this helps: > > File attached > > RESULTS FOR CALLED TABLES: > > 703 [main] DEBUG RenderPDF - Avg render time: > 328ms/page > 640 [main] DEBUG RenderPDF - Avg render time: > 289ms/page > 703 [main] DEBUG RenderPDF - Avg render time: > 320ms/page > 656 [main] DEBUG RenderPDF - Avg render time: > 312ms/page > 625 [main] DEBUG RenderPDF - Avg render time: > 297ms/page > AVRG: 309.2ms/page > > RESULTS FOR NESTED TABLES: > > 766 [main] DEBUG RenderPDF - Avg render time: > 312ms/page > 609 [main] DEBUG RenderPDF - Avg render time: > 281ms/page > 688 [main] DEBUG RenderPDF - Avg render time: > 312ms/page > 609 [main] DEBUG RenderPDF - Avg render time: > 281ms/page > 641 [main] DEBUG RenderPDF - Avg render time: > 305ms/page > AVRG: 298.2ms/page > > I hope this is what you are looking for. > > Rob > -Original Message- > From: Balaji Loganathan > [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 17, 2003 10:33 AM > To: fop > Subject: fo:table > > Hi, > which option is better and fast for building a > table? > > 1.Construct one table with 8 rows, 2 columns.(most > of > the rows have table inside table). > > 2.Construct 8 individual tables.(then insert table > inside table). > > I hope my question is clear ?? > > Regards > Balaji > > http://mobile.yahoo.com.au - Yahoo! Mobile > - Check & compose your email via SMS on your Telstra > or Vodafone mobile. > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > ATTACHMENT part 2 application/octet-stream name=hockeycalledtable.xsl > ATTACHMENT part 3 application/octet-stream name=hockey2nested.xsl > ATTACHMENT part 4 application/octet-stream name=hockey2nested.xml > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Réf. : tables
From: "Mark Baier" <[EMAIL PROTECTED]> the attribute 'clip' is by not implemented by fop. You have to do it on the xslt stage by cutting the word on a specific number of characters. Von: Myriam Delperier [mailto:[EMAIL PROTECTED] Another approach which is slightly easier is to insert zero widths spaces between every character and turn hypenation on. Search the achives this has been done many times before. :-)) but i've made a mistake my question was how to cut a 'word'... when he's to big for the column size... _ Express yourself with cool emoticons http://messenger.msn.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Réf. : tables
Hi, the attribute 'clip' is by not implemented by fop. You have to do it on the xslt stage by cutting the word on a specific number of characters. cheers, mark -Ursprüngliche Nachricht- Von: Myriam Delperier [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 18. März 2003 14:54 An: [EMAIL PROTECTED] Betreff: Re: Réf. : tables :-)) but i've made a mistake my question was how to cut a 'word'... when he's to big for the column size... - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 18, 2003 2:49 PM Subject: Réf. : tables > Wanna put a cell between the North and the South of the world ? :P > > Just do like Georges, he is good at this. > > Cheers, > > Simon > > > > > > > > "Myriam Delperier" <[EMAIL PROTECTED]> > 18/03/2003 12:46 > Veuillez répondre à fop-user > > > Pour : <[EMAIL PROTECTED]> > cc : > Objet : tables > > > hello, > does anyone know if it's possible tu cut a world in a table-cell? > > > > - > 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Réf. : tables
:-)) but i've made a mistake my question was how to cut a 'word'... when he's to big for the column size... - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 18, 2003 2:49 PM Subject: Réf. : tables > Wanna put a cell between the North and the South of the world ? :P > > Just do like Georges, he is good at this. > > Cheers, > > Simon > > > > > > > > "Myriam Delperier" <[EMAIL PROTECTED]> > 18/03/2003 12:46 > Veuillez répondre à fop-user > > > Pour : <[EMAIL PROTECTED]> > cc : > Objet : tables > > > hello, > does anyone know if it's possible tu cut a world in a table-cell? > > > > - > 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]
Réf. : tables
Wanna put a cell between the North and the South of the world ? :P Just do like Georges, he is good at this. Cheers, Simon "Myriam Delperier" <[EMAIL PROTECTED]> 18/03/2003 12:46 Veuillez répondre à fop-user Pour : <[EMAIL PROTECTED]> cc : Objet : tables hello, does anyone know if it's possible tu cut a world in a table-cell? - 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]
tables
hello, does anyone know if it's possible tu cut a world in a table-cell? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Installing to FOP / Tomcat
works fine thanks a lot ! - Original Message - From: "Jeremias Maerki" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 18, 2003 9:54 AM Subject: Re: Installing to FOP / Tomcat > Hi Adam > > I've just done the following: > - installed a clean binary tomcat 4.1.18 > - took binary 0.20.5rc2 distribution > - went to the examples/servlet directory > - ran build.bat > - realized that ant-1.5.1.jar is not packaged with the binary > distribution. Doh! > - copied ant-1.5.1.jar into fop/lib > - ran build.bat again > - copied fop.war to Tomcat's webapps directory > - started Tomcat > - got an error message about an invalid "servlet" element. > - looked at the web.xml and realized that all servlet-mapping elements > must come after the servlet elements. > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html > - fixed web.xml and rebuilt fop.war > - now everything works fine. Example: > http://localhost:8080/fop?fo=D:/FOP/Temp/helloworld.fo&ext=.pdf > > I'm going to fix the web.xml in CVS in a minute. What's interesting is > that Tomcat 4.1.12 doesn't complain about the web.xml. > > I hope this helps. > > Jeremias Maerki > > > - > 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: Installing to FOP / Tomcat
Hi Adam I've just done the following: - installed a clean binary tomcat 4.1.18 - took binary 0.20.5rc2 distribution - went to the examples/servlet directory - ran build.bat - realized that ant-1.5.1.jar is not packaged with the binary distribution. Doh! - copied ant-1.5.1.jar into fop/lib - ran build.bat again - copied fop.war to Tomcat's webapps directory - started Tomcat - got an error message about an invalid "servlet" element. - looked at the web.xml and realized that all servlet-mapping elements must come after the servlet elements. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/appdev/deployment.html - fixed web.xml and rebuilt fop.war - now everything works fine. Example: http://localhost:8080/fop?fo=D:/FOP/Temp/helloworld.fo&ext=.pdf I'm going to fix the web.xml in CVS in a minute. What's interesting is that Tomcat 4.1.12 doesn't complain about the web.xml. I hope this helps. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: table
Hi Rob, Thanks for taking time to reply me.My question was bit different than to your specific reply, and I re-posted it again. Thanks again. Regards Balaji --- Rob Stote <[EMAIL PROTECTED]> wrote: > Balaji > > I did a quick test, I never nest tables, as a > personal preference, easy to > debug, read etc. FOP does say that the numbers > produced from their debug > statements should not be used comparatively. Hope > this helps: > > File attached > > RESULTS FOR CALLED TABLES: > > 703 [main] DEBUG RenderPDF - Avg render time: > 328ms/page > 640 [main] DEBUG RenderPDF - Avg render time: > 289ms/page > 703 [main] DEBUG RenderPDF - Avg render time: > 320ms/page > 656 [main] DEBUG RenderPDF - Avg render time: > 312ms/page > 625 [main] DEBUG RenderPDF - Avg render time: > 297ms/page > AVRG: 309.2ms/page > > RESULTS FOR NESTED TABLES: > > 766 [main] DEBUG RenderPDF - Avg render time: > 312ms/page > 609 [main] DEBUG RenderPDF - Avg render time: > 281ms/page > 688 [main] DEBUG RenderPDF - Avg render time: > 312ms/page > 609 [main] DEBUG RenderPDF - Avg render time: > 281ms/page > 641 [main] DEBUG RenderPDF - Avg render time: > 305ms/page > AVRG: 298.2ms/page > > I hope this is what you are looking for. > > Rob > -Original Message- > From: Balaji Loganathan > [mailto:[EMAIL PROTECTED] > Sent: Monday, March 17, 2003 10:33 AM > To: fop > Subject: fo:table > > Hi, > which option is better and fast for building a > table? > > 1.Construct one table with 8 rows, 2 columns.(most > of > the rows have table inside table). > > 2.Construct 8 individual tables.(then insert table > inside table). > > I hope my question is clear ?? > > Regards > Balaji > > http://mobile.yahoo.com.au - Yahoo! Mobile > - Check & compose your email via SMS on your Telstra > or Vodafone mobile. > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > ATTACHMENT part 2 application/octet-stream name=hockeycalledtable.xsl > ATTACHMENT part 3 application/octet-stream name=hockey2nested.xsl > ATTACHMENT part 4 application/octet-stream name=hockey2nested.xml > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
: fo:table
Hi, Let me try to put my question again clearly!. Please see the attached image, thats the layout I'm trying to create in FOP. Now this can be done in two ways 1.By creating a single table with 5 rows, then each ROW will a contain a table of 3 to 5 columns in its own. 2.By creating 5 seperate tables. Each table will have 1 row with 3 to 5 columns in its own. Which is best option in terms of speed, because I'm using the first option and its very slow. I'm asking this question , because in a HTML browsers, a HTML table will be displayed only if the complete table is loaded into the browser buffer. I would like to how this is done in FOP ? Please help me. Regards Balaji http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile.<>- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ANNOUNCEMENT] OKI dot-matrix renderer available for download
Thanks! Mirko -Ursprungliche Nachricht- Von: Victor Mote [mailto:[EMAIL PROTECTED] Gesendet: Montag, 17. Marz 2003 18:15 An: [EMAIL PROTECTED] Betreff: RE: [ANNOUNCEMENT] OKI dot-matrix renderer available for download I have just added an entry to the "Related/Useful Products" section of the "resources" page for the Mogwai project: http://xml.apache.org/fop/resources.html The change should appear the next time the web site is updated. Victor Mote > -Original Message- > From: Mirko Sertic [mailto:[EMAIL PROTECTED] > Sent: Monday, March 17, 2003 4:41 AM > To: [EMAIL PROTECTED] > Subject: AW: [ANNOUNCEMENT] OKI dot-matrix renderer available for > download > > > Hi! > > Yes, a third - party page with links would be cool ! > By the way, i forgot to make a link to the fop page on our site. > This will be done soon. > > Cheers > > Mirko > > -Ursprungliche Nachricht- > Von: Oleg Tkachenko [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 17. Marz 2003 11:59 > An: [EMAIL PROTECTED] > Betreff: Re: [ANNOUNCEMENT] OKI dot-matrix renderer available for > download > > > Mirko Sertic wrote: > > > Finally, it has been done : our renderer to generate output for oki dot > > matrix printers is gone open source as part of the mogwai project on > > sourceforge.net. The current release can be downloaded at > > http://mogwai.sourceforge.net . > Good news, Mirko! > I believe it's worth to create another page on the FOP site about third > party > FOP plugins/renderers etc. > > -- > Oleg Tkachenko > Multiconn Technologies, Israel > > > - > 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]