Column Width
Hi All, If I use the below code, I am getting 2 columns of equal width, and if want to get unequal columns, what should I have to do.. fo:region-body margin-top=1in margin-bottom=1in column-count=2 column-gap=0.25in/ Any reply greatly appreciated. Regards Eugene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Whether Chinese Characters / Unicode supported by FOP ?
What i am doing is - taking data from database - put inside XML and then create PDF from that. I also need to print chinese characters. I tried first with some unicode (HTML equivalent) #29699;#36187;#32534;#21495; But i am not getting this in PDF, what's the solution for this ? regards Manisha Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'
Sorry: Re: Whether Chinese Characters / Unicode supported by FOP ?
Sorry, wrong post answer was givenin my last post regards ManishaManisha Sathe [EMAIL PROTECTED] wrote: What i am doing is - taking data from database - put inside XML and then create PDF from that. I also need to print chinese characters. I tried first with some unicode (HTML equivalent) #29699;#36187;#32534;#21495; But i am not getting this in PDF, what's the solution for this ? regards Manisha Do you Yahoo!?Yahoo! Search presents - Jib Jab's 'Second Term' Do you Yahoo!? Yahoo! Mail - You care about security. So do we.
RE: Column Width
Hi, Alternatively you can use tables rather than column in region-body. You will have greater options with tables. I always use tables. Cheers. Arun From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Column Width Date: Fri, 11 Feb 2005 08:10:06 +0530 Hi All, If I use the below code, I am getting 2 columns of equal width, and if want to get unequal columns, what should I have to do.. fo:region-body margin-top=1in margin-bottom=1in column-count=2 column-gap=0.25in/ Any reply greatly appreciated. Regards Eugene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Try the all-new MSN Search! Find exactly what you want. http://search.msn.co.in Get more value for your time. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Column Width
I also have that idea in back of my mind, but I thought region-body will be flexible, Thanks for the immediate response. Eugene Arun Sinha [EMAIL PROTECTED] 11.02.2005 09:57 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject RE: Column Width Hi, Alternatively you can use tables rather than column in region-body. You will have greater options with tables. I always use tables. Cheers. Arun From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Column Width Date: Fri, 11 Feb 2005 08:10:06 +0530 Hi All, If I use the below code, I am getting 2 columns of equal width, and if want to get unequal columns, what should I have to do.. fo:region-body margin-top=1in margin-bottom=1in column-count=2 column-gap=0.25in/ Any reply greatly appreciated. Regards Eugene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Try the all-new MSN Search! Find exactly what you want. http://search.msn.co.in Get more value for your time. - 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]
Outline
Hi All, What is code/tag to be used to draw a border or outline on the page Regards Eugene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Instream base64 svg jpeg produces huge pdf document.
Title: Instream base64 svg jpeg produces huge pdf document. I am trying to produce a pdf document which contains a jpeg image that has been generated using svg with base64 data. The approach does work, however the final pdf document is huge! An essentially empty document with a single 40Kb jpeg image produces a 1Mb pdf document. Is this behaviour normal? This is the only time I'm using svg. My xsl-fo does'nt include any svg text. Below is an extract of my fop. Am I doing something wrong? fo:instream-foreign-object content-type=content-type:image/jpeg svg:svg height=176mm width=277mm svg:image width=277mm height=176mm x=0 y=0 xlink:href="" /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoL . . . . / /svg:svg /fo:instream-foreign-object This project involved accessing image data which is only available from the session. I tried writing a servlet, but was unable to see the correct session from within the servlet. Can anyone help me? I'd hate to abandon fop and produce nasty html reports after getting this far!
valign query
I am having a table with some cells (with border) but all text inside my table aligns to the top - i.e. comes verynear to border. I want the text to be vertically alignedat center How can i achieve it? regards Manisha Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less.
URGENT:::::: OUT OF MEMORY
Hi All, I have a problem with memory. I need to generate a document with 3000 images (0.2 - 0.5 MB each image approximately) and my intermediate XML file size is 3MB (approx). I am trying to generate the document in microsoft windows XP machine(p4) having 1GB RAM. When I try to generate the document with my xsl, its giving out of memory problem. Any suggestions please Thanks Regards, Chandrasekhar Sanku. Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments.
RE: valign query
Hi Manisha, You need to use display-align. Cheers. Arun From: Manisha Sathe [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: valign query Date: Thu, 10 Feb 2005 22:01:15 -0800 (PST) I am having a table with some cells (with border) but all text inside my table aligns to the top - i.e. comes very near to border. I want the text to be vertically aligned at center How can i achieve it? regards Manisha - Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. _ Manage information better. Optimise your tasks. http://www.microsoft.com/india/office/experience/ Experience MS Office System. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Getting a runtime exception
Hi, I am using the FOP-0.20.5 version in my code to generate the XML data to PDF file. I am trying to run a servlet for the conversion on-the-fly. But I am getting a Runtime exception at the time I am instantiating the Driver in the following way: try { org.apache.fop.apps.Driver driver = new org.apache.fop.apps.Driver(); ... ... } It is giving me the follwoing Runtime Exception: java.lang.ExceptionInInitializerError at org.apache.fop.svg.SVGElementMapping.setupSVG(SVGElementMapping.java:72) at org.apache.fop.svg.SVGElementMapping.addToBuilder(SVGElementMapping.java:134) at org.apache.fop.apps.Driver.addElementMapping(Driver.java:439) at org.apache.fop.apps.Driver.addElementMapping(Driver.java:450) at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java:314) at org.apache.fop.apps.Driver.init(Driver.java:222) ... 36 more Caused by: java.util.MissingResourceException: Can't find bundle for base name org.apache.batik.util.resources.XMLResourceDescriptor, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773) at java.util.ResourceBundle.getBundle(ResourceBundle.java:538) at org.apache.batik.util.XMLResourceDescriptor.clinit(XMLResourceDescriptor.java:57) ... 46 more I have batik.jar in my classpath as well as the fop.jar, xalan-2.4.1.jar, avalon-framework-cvs-20020806.jar which was provided in fop-0.20.5-bin.zip in the site http://apache.247available.com/xml/fop/ I have searched a lot in Google, but I didn;t find any answer which actually solve my problem. Can you please help me out? thanks Shirsendu - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Why none replies to FOA experience
I have never got a single reply whenver I ask an question on FOA. I know this is FOP mailing list but only the guys on FOP will ever think of using FOA so definately this is worth asking here and I have been on this is list for quite some time and it is quite active. So please do care to reply :) I am asking out curiousity as I tried using FOA but could never get it to do all tha fancy invoice example stuff that comes along with it. I searched and found a GUI that makes my FOP from xmlspy but tha problem is that I cannot diddle with the generated source after I make my FOP as that tool wont read files modified by hand.Just wanted to know if some uses FOA to make such documents which means I am making a mistake somewhere regards,Subbiah[EMAIL PROTECTED]
RE: Outline
Hi Its border-top-style, border-left-style, border-bottom-style and border-right-style. Hope the above helps. Cheers. Arun From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Outline Date: Fri, 11 Feb 2005 09:55:44 +0530 Hi All, What is code/tag to be used to draw a border or outline on the page Regards Eugene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ The MS Office product suite. Make efficiency a habit. http://www.microsoft.com/india/office/experience/ Simplify your life. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Whether Chinese Characters / Unicode supported by FOP ?
Hi all, i want to display some chinese characters. I am tryingfollowing unicodes. These get display in HTML properly. But in pdf i do not get these characters. #29699;#36187;#32534;#21495; I tried many different fonts but still the same. Which font shall i make use off ? regards Manisha Manisha Sathe [EMAIL PROTECTED] wrote: Sorry, wrong post answer was givenin my last post regards ManishaManisha Sathe [EMAIL PROTECTED] wrote: What i am doing is - taking data from database - put inside XML and then create PDF from that. I also need to print chinese characters. I tried first with some unicode (HTML equivalent) #29699;#36187;#32534;#21495; But i am not getting this in PDF, what's the solution for this ? regards Manisha Do you Yahoo!?Yahoo! Search presents - Jib Jab's 'Second Term' Do you Yahoo!?Yahoo! Mail - You care about security. So do we. Do you Yahoo!? Meet the all-new My Yahoo! Try it today!
RE: valign query
Oh! Thanks Arun, it works, regards, ManishaArun Sinha [EMAIL PROTECTED] wrote: Hi Manisha,You need to use display-align.Cheers.ArunFrom: Manisha Sathe <[EMAIL PROTECTED]>Reply-To: [EMAIL PROTECTED]To: [EMAIL PROTECTED]Subject: valign queryDate: Thu, 10 Feb 2005 22:01:15 -0800 (PST)I am having a table with some cells (with border) but all text inside my table aligns to the top - i.e. comes very near to border. I want the text to be vertically aligned at centerHow can i achieve it?regardsManisha-Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less._Manage information better. Optimise your tasks. http://www.microsoft.com/india/office/experience/ Experience MS Office System.-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'
Re: Whether Chinese Characters / Unicode supported by FOP ?
Hi, Try setting font family to MS Hei or MS Song. Cheers. Arun From: Manisha Sathe [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Whether Chinese Characters / Unicode supported by FOP ? Date: Thu, 10 Feb 2005 22:43:25 -0800 (PST) Hi all, i want to display some chinese characters. I am trying following unicodes. These get display in HTML properly. But in pdf i do not get these characters. ÇòÈü±àºÅ I tried many different fonts but still the same. Which font shall i make use off ? regards Manisha Manisha Sathe [EMAIL PROTECTED] wrote: Sorry, wrong post answer was given in my last post regards Manisha Manisha Sathe [EMAIL PROTECTED] wrote: What i am doing is - taking data from database - put inside XML and then create PDF from that. I also need to print chinese characters. I tried first with some unicode (HTML equivalent) ÇòÈü±àºÅ But i am not getting this in PDF, what's the solution for this ? regards Manisha - Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' - Do you Yahoo!? Yahoo! Mail - You care about security. So do we. - Do you Yahoo!? Meet the all-new My Yahoo! ¨C Try it today! _ The real power of teamwork. Experience it in real time. http://www.microsoft.com/india/office/experience/ Experience MS Office System. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Whether Chinese Characters / Unicode supported by FOP ?
hmm.. it's giving me 'unknown font' for both. is there any way for it ? Whether it means that on my m/c need to have these fonts ? regards ManishaArun Sinha [EMAIL PROTECTED] wrote: Hi,Try setting font family to "MS Hei" or "MS Song".Cheers.ArunFrom: Manisha Sathe <[EMAIL PROTECTED]>Reply-To: [EMAIL PROTECTED]To: [EMAIL PROTECTED]Subject: Re: Whether Chinese Characters / Unicode supported by FOP ?Date: Thu, 10 Feb 2005 22:43:25 -0800 (PST)Hi all,i want to display some chinese characters. I am trying following unicodes. These get display in HTML properly. But in pdf i do not get these characters.ÇòÈü±àºÅI tried many different fonts but still the same. Which font shall i make use off ?regardsManishaManisha Sathe <[EMAIL PROTECTED]>wrote:Sorry, wrong postanswer was given in my last postregardsManishaManisha Sathe <[EMAIL PROTECTED]>wrote:What i am doing is - taking data from database - put inside XML and then create PDF from that.I also need to print chinese characters. I tried first with some unicode (HTML equivalent)ÇòÈü±àºÅBut i am not getting this in PDF, what's the solution for this ?regardsManisha-Do you Yahoo!?Yahoo! Search presents - Jib Jab's 'Second Term'-Do you Yahoo!?Yahoo! Mail - You care about security. So do we.-Do you Yahoo!? Meet the all-new My Yahoo! ¨C Try it today!_The real power of teamwork. Experience it in real time. http://www.microsoft.com/india/office/experience/ Experience MS Office System.-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term'
Re: Whether Chinese Characters / Unicode supported by FOP ?
Yes. You need those fonts on your machine. Arun From: Manisha Sathe [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Whether Chinese Characters / Unicode supported by FOP ? Date: Thu, 10 Feb 2005 23:13:43 -0800 (PST) hmm.. it's giving me 'unknown font' for both. is there any way for it ? Whether it means that on my m/c need to have these fonts ? regards Manisha Arun Sinha [EMAIL PROTECTED] wrote: Hi, Try setting font family to MS Hei or MS Song. Cheers. Arun From: Manisha Sathe Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Whether Chinese Characters / Unicode supported by FOP ? Date: Thu, 10 Feb 2005 22:43:25 -0800 (PST) Hi all, i want to display some chinese characters. I am trying following unicodes. These get display in HTML properly. But in pdf i do not get these characters. ÇòÈü±àºÅ I tried many different fonts but still the same. Which font shall i make use off ? regards Manisha Manisha Sathe wrote: Sorry, wrong post answer was given in my last post regards Manisha Manisha Sathe wrote: What i am doing is - taking data from database - put inside XML and then create PDF from that. I also need to print chinese characters. I tried first with some unicode (HTML equivalent) ÇòÈü±àºÅ But i am not getting this in PDF, what's the solution for this ? regards Manisha - Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' - Do you Yahoo!? Yahoo! Mail - You care about security. So do we. - Do you Yahoo!? Meet the all-new My Yahoo! ¨C Try it today! _ The real power of teamwork. Experience it in real time. http://www.microsoft.com/india/office/experience/ Experience MS Office System. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' _ Make team work really work! Work together, stay connected! http://www.microsoft.com/india/office/experience/ With Microsoft Office System. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Whether Chinese Characters / Unicode supported by FOP ?
Hi, You may need the following too. Register Fonts with FOP You must tell FOP how to find and use the font metrics files by registering them in the FOP Configuration. Add entries for your custom fonts, regardless of font type, to the configuration file in a manner similar to the following: font metrics-file=FTL_.xml kerning=yes embed-file=C:\myfonts\FTL_.pfb font-triplet name=FrutigerLight style=normal weight=normal/ /font Change the values above as per your requirement. Cheers. Arun From: Manisha Sathe [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Whether Chinese Characters / Unicode supported by FOP ? Date: Thu, 10 Feb 2005 23:13:43 -0800 (PST) hmm.. it's giving me 'unknown font' for both. is there any way for it ? Whether it means that on my m/c need to have these fonts ? regards Manisha Arun Sinha [EMAIL PROTECTED] wrote: Hi, Try setting font family to MS Hei or MS Song. Cheers. Arun From: Manisha Sathe Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Whether Chinese Characters / Unicode supported by FOP ? Date: Thu, 10 Feb 2005 22:43:25 -0800 (PST) Hi all, i want to display some chinese characters. I am trying following unicodes. These get display in HTML properly. But in pdf i do not get these characters. ÇòÈü±àºÅ I tried many different fonts but still the same. Which font shall i make use off ? regards Manisha Manisha Sathe wrote: Sorry, wrong post answer was given in my last post regards Manisha Manisha Sathe wrote: What i am doing is - taking data from database - put inside XML and then create PDF from that. I also need to print chinese characters. I tried first with some unicode (HTML equivalent) ÇòÈü±àºÅ But i am not getting this in PDF, what's the solution for this ? regards Manisha - Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' - Do you Yahoo!? Yahoo! Mail - You care about security. So do we. - Do you Yahoo!? Meet the all-new My Yahoo! ¨C Try it today! _ The real power of teamwork. Experience it in real time. http://www.microsoft.com/india/office/experience/ Experience MS Office System. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' _ MSN Spaces! Your space, your time. http://www.msn.co.in/spaces Your personal haven online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Getting a runtime exception
Sounds like a class loader problem. In these cases it's often helpful to know which web container you're running and how you set up your web application. Try running the sample web application coming with FOP (see examples/servlet in the FOP distribution) using an FO file with SVG in it (because the problem happens withing batik.jar). If that works you have to compare what's different in your web application. You could also try putting batik.jar higher in the class loader hierarchy, for example in the commons/lib directory if you're running Tomcat. On 11.02.2005 05:45:07 Shirsendu Sengupta wrote: Hi, I am using the FOP-0.20.5 version in my code to generate the XML data to PDF file. I am trying to run a servlet for the conversion on-the-fly. But I am getting a Runtime exception at the time I am instantiating the Driver in the following way: try { org.apache.fop.apps.Driver driver = new org.apache.fop.apps.Driver(); ... ... } It is giving me the follwoing Runtime Exception: java.lang.ExceptionInInitializerError at org.apache.fop.svg.SVGElementMapping.setupSVG(SVGElementMapping.java:72) at org.apache.fop.svg.SVGElementMapping.addToBuilder(SVGElementMapping.java:134) at org.apache.fop.apps.Driver.addElementMapping(Driver.java:439) at org.apache.fop.apps.Driver.addElementMapping(Driver.java:450) at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java:314) at org.apache.fop.apps.Driver.init(Driver.java:222) ... 36 more Caused by: java.util.MissingResourceException: Can't find bundle for base name org.apache.batik.util.resources.XMLResourceDescriptor, locale en_US at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773) at java.util.ResourceBundle.getBundle(ResourceBundle.java:538) at org.apache.batik.util.XMLResourceDescriptor.clinit(XMLResourceDescriptor.java:57) ... 46 more I have batik.jar in my classpath as well as the fop.jar, xalan-2.4.1.jar, avalon-framework-cvs-20020806.jar which was provided in fop-0.20.5-bin.zip in the site http://apache.247available.com/xml/fop/ I have searched a lot in Google, but I didn;t find any answer which actually solve my problem. Can you please help me out? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Instream base64 svg jpeg produces huge pdf document.
You're probably a victim of the 72dpi bitmap scaling. Since you have the image as an RFC2397 URL you had to use Batik to load the image as FOP doesn't support that URL scheme. One thing you could do is find a Java implementation of RFC2397 which plugs into Java's own URL handler mechanism. A quick Google search didn't show any, though. Batik implements RFC2397 in a non-standard way but maybe you could write a wrapper around it to still provide a normal Java URL handler as described here: http://java.sun.com/developer/onlineTraining/protocolhandlers/ Sascha Schmidt posted something like this last year. I haven't looked at it, though: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgId=1892793 This way you could use an fo:external-graphic instead of an SVG wrapper which should solve your problem with PDF size. Hope that helps. On 11.02.2005 05:55:52 Burlock, Craig (SAPOL) wrote: I am trying to produce a pdf document which contains a jpeg image that has been generated using svg with base64 data. The approach does work, however the final pdf document is huge! An essentially empty document with a single 40Kb jpeg image produces a 1Mb pdf document. Is this behaviour normal? This is the only time I'm using svg. My xsl-fo does'nt include any svg text. Below is an extract of my fop. Am I doing something wrong? fo:instream-foreign-object content-type=content-type:image/jpeg svg:svg height=176mm width=277mm svg:image width=277mm height=176mm x=0 y=0 xlink:href=data:image/jpeg;base64, /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwgHBgoICAgLCgoL . . . . / /svg:svg /fo:instream-foreign-object This project involved accessing image data which is only available from the session. I tried writing a servlet, but was unable to see the correct session from within the servlet. Can anyone help me? I'd hate to abandon fop and produce nasty html reports after getting this far! Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Outline
Please post a sample script, I do not where to include these attributes. ie whether to include inside fo:table Arun Sinha [EMAIL PROTECTED] 11.02.2005 12:08 Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject RE: Outline Hi Its border-top-style, border-left-style, border-bottom-style and border-right-style. Hope the above helps. Cheers. Arun From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Outline Date: Fri, 11 Feb 2005 09:55:44 +0530 Hi All, What is code/tag to be used to draw a border or outline on the page Regards Eugene - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ The MS Office product suite. Make efficiency a habit. http://www.microsoft.com/india/office/experience/ Simplify your life. - 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: URGENT:::::: OUT OF MEMORY
Try this: http://xml.apache.org/fop/faq.html#OutOfMemoryException On 11.02.2005 07:05:11 Chandrasekhar Sanku wrote: Hi All, I have a problem with memory. I need to generate a document with 3000 images (0.2 - 0.5 MB each image approximately) and my intermediate XML file size is 3MB (approx). I am trying to generate the document in microsoft windows XP machine(p4) having 1GB RAM. When I try to generate the document with my xsl, its giving out of memory problem. Any suggestions please. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Why none replies to FOA experience
Let's just say that everybody I know who has tried FOA removed it from his/her machine after a rather short time. If you need help with FOA please ask the FOA team. On 11.02.2005 07:38:36 Subbiah wrote: I have never got a single reply whenver I ask an question on FOA. I know this is FOP mailing list but only the guys on FOP will ever think of using FOA so definately this is worth asking here and I have been on this is list for quite some time and it is quite active. So please do care to reply :) I am asking out curiousity as I tried using FOA but could never get it to do all tha fancy invoice example stuff that comes along with it. I searched and found a GUI that makes my FOP from xmlspy but tha problem is that I cannot diddle with the generated source after I make my FOP as that tool wont read files modified by hand. Just wanted to know if some uses FOA to make such documents which means I am making a mistake somewhere Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Outline
Try using absolutely positioned block-containers with borders on them. There are no direct attributes to create a page border. On 11.02.2005 05:25:44 jeb501 wrote: What is code/tag to be used to draw a border or outline on the page Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Whether Chinese Characters / Unicode supported by FOP ?
Hi, You can find howto add your own fonts at http://xml.apache.org/fop/fonts.html. This can be summed up as follows: 1. get font files (type 1 or true type) 2. make metric file (using either PFMReader or TTFReader) 3. make your own config file 4. enjoy! Pascal -Message d'origine- De : Arun Sinha [mailto:[EMAIL PROTECTED] Envoyé : vendredi 11 février 2005 08:20 You may need the following too. Register Fonts with FOP You must tell FOP how to find and use the font metrics files by registering them in the FOP Configuration. Add entries for your custom fonts, regardless of font type, to the configuration file in a manner similar to the following: font metrics-file=FTL_.xml kerning=yes embed-file=C:\myfonts\FTL_.pfb font-triplet name=FrutigerLight style=normal weight=normal/ /font Change the values above as per your requirement. From: Manisha Sathe [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Whether Chinese Characters / Unicode supported by FOP ? Date: Thu, 10 Feb 2005 23:13:43 -0800 (PST) it's giving me 'unknown font' for both. is there any way for it ? Whether it means that on my m/c need to have these fonts ? Arun Sinha [EMAIL PROTECTED] wrote: Try setting font family to MS Hei or MS Song. From: Manisha Sathe Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Whether Chinese Characters / Unicode supported by FOP ? Date: Thu, 10 Feb 2005 22:43:25 -0800 (PST) i want to display some chinese characters. I am trying following unicodes. These get display in HTML properly. But in pdf i do not get these characters. I tried many different fonts but still the same. Which font shall i make use off ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Newspaper layout
Hi everybody, i'd like to know if there is some way to easily create an multiple-column layout in xsl-fo as it is used in newspapers (the text starting on the next column if it reaches the end of the previous coloumn). Is there any way to realize this without using fixed tables? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Why none replies to FOA experience
Subbiah wrote: I have never got a single reply whenver I ask an question on FOA. I know this is FOP mailing list but only the guys on FOP will ever think of using FOA so definately this is worth asking here and I have been on this is list for quite some time and it is quite active. So please do care to reply :) Well, I havent tried the later versions of it, but when I tried it a couple of years ago I thought it had a very clunky interface which got in the way of doing what I wanted. So I went back to creating XSL-FO in Xml Spy. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
are there alternatives to Apache FOP?
Hello, all, I am looking for a good FO-PDF converter. I tried so far FOP from Apache, but it looks like it currently doesn't support all features I would like to use (for example all border styles I tried result in solid borders, and the border collapsing sometimes doesn't look nice) So what are the currently available alternatives? Regards, Kai - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: are there alternatives to Apache FOP?
Sorry, I should have said Formatter. Not Transformer. Arun From: Arun Sinha [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: are there alternatives to Apache FOP? Date: Fri, 11 Feb 2005 12:24:48 + Hi, Have a look on following :- http://www.antennahouse.com/ I have not used it but I found it during my search for a transformer. Cheers. Arun From: Kai Hackemesser [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: are there alternatives to Apache FOP? Date: Fri, 11 Feb 2005 13:07:03 +0100 (MET) Hello, all, I am looking for a good FO-PDF converter. I tried so far FOP from Apache, but it looks like it currently doesn't support all features I would like to use (for example all border styles I tried result in solid borders, and the border collapsing sometimes doesn't look nice) So what are the currently available alternatives? Regards, Kai - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN Spaces! Your space, your time. http://www.msn.co.in/spaces Your personal haven online. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ Make team work really work! Work together, stay connected! http://www.microsoft.com/india/office/experience/ With Microsoft Office System. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Whether Chinese Characters / Unicode supported by FOP ?
ManishaYou need to make use of userconfig.xml. Create font metrics file and register it with FOP. I have done this with Japanese characters and it works fine..ThanksManoj-Manisha Sathe [EMAIL PROTECTED] wrote: -To: [EMAIL PROTECTED]From: Manisha Sathe [EMAIL PROTECTED]Date: 02/10/2005 11:13PMSubject: Re: Whether Chinese Characters / Unicode supported by FOP ?hmm..it's giving me 'unknown font' for both. is there any way for it ? Whether it means that on my m/c need to have these fonts ?regardsManishaArun Sinha [EMAIL PROTECTED] wrote:Hi,Try setting font family to "MS Hei" or "MS Song".Cheers.ArunFrom: Manisha Sathe <[EMAIL PROTECTED]>Reply-To: [EMAIL PROTECTED]To: [EMAIL PROTECTED]Subject: Re: Whether Chinese Characters / Unicode supported by FOP ?Date: Thu, 10 Feb 2005 22:43:25 -0800 (PST)Hi all,i want to display some chinese characters. I am trying following unicodes. These get display in HTML properly. But in pdf i do not get these characters.ÇòÈü±àºÅI tried many different fonts but still the same. Which font shall i make use off ?regardsManishaManisha Sathe <[EMAIL PROTECTED]>wrote:Sorry, wrong postanswer was given in my last postregardsManishaManisha Sathe <[EMAIL PROTECTED]>wrote:What i am doing is - taking data from database - put inside XML and then create PDF from that.I also need to print chinese characters. I tried first with some unicode (HTML equivalent)ÇòÈü±àºÅBut i am not getting this in PDF, what's the solution for this ?regardsManisha-Do you Yahoo!?Yahoo! Search presents - Jib Jab's 'Second Term't;-Do you Yahoo!?Yahoo! Mail - You care about security. So do we.-Do you Yahoo!? Meet the all-new My Yahoo! ¨C Try it today!_The real power of teamwork. Experience it in real time. http://www.microsoft.com/india/office/experience/ Experience MS Office System.-To unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fop servlet crash after some days
Hello, 1) The problem : The servlet crash after few days (some time 3, some time 20). In the tomcat logs, we get the following error : StandardWrapperValve[Fop]: Servlet.service() pour la servlet Fop a généré une exception java.lang.OutOfMemoryError We have to restart Tomcat. On an older server, with a smaller processor, the same java and same tomcat, the servlet never crash (with less activity too). 2)The context : I am succesfully using fop servlet to generate on fly pdf file. The file are between 100Kb to 1Mb, with 1 to 3 pages. Most of the zize comme from the inclued images (3 to 9 photos in print quality size). The servlet produce about 15 PDF file per hours. When tomcat start, and after some run of fop servlet, the java process are arround 30Mb and increase all the time. 3) What we try : We tought the problem come from the image cache. We run a script who ask for a static fo file modified with PHP to change all the image urls by adding a timestamp to avoid fop image cache. The shell script loop 1000 time and is running 3 or more time. If the script wait 2s beetwen each fop generation, the memory usage go to 158Mb for each java process and stay stable. fop does not crash. If the script don't wait, the memory consumption increase very fast to 273Mb for each java process, many process crash and tomcat create new process. The servlet become unstable and at the end do not respond anymore. The second test where the script don't wait has no real word equivalent. The first script waiting 2s look like the reality. 3) Detailled question : I do not reset the image cache because of Internet explorer who use to call 2 times an url to download the pdf. By caching the image, the second generation is very short. I thought fop is caching all photos and growing in memory size, but our test can not reproduce the crash in the same situation. We see the memory consumption increasing and the garbage collector never run. Do I have to manualy reset the fop image cache or does fop reset itself ? If i create a dedicated method in my servlet to reset the cache should I take care about anything special ? My cheef don't think it's the image cache the problem, do you have any suggestion to investigate ? Thank by advance for your advices. Cédric Augustin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: are there alternatives to Apache FOP?
Kai Hackemesser wrote: Hello, all, I am looking for a good FO-PDF converter. I tried so far FOP from Apache, but it looks like it currently doesn't support all features I would like to use (for example all border styles I tried result in solid borders, and the border collapsing sometimes doesn't look nice) So what are the currently available alternatives? Well there are a few commercial alternatives, the most established being; - Antenna House has already been mentioned, - RenderX's XEP www.renderx.com Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Improving FOP Performance?
Hello, We are using FOP to convert to generate PDF Invoices for our Customers. We need to generate roughly around 25,000 Invoices Per Month and the Number would increase each Month. We generate PDF Docs from XML Input Files. We had Trial runs to check for Performance and Memory usage. Currently, We are just invoking FOP command directly from a Shell Script which would call the FOP Command repeatedly but making sure that not more than 2 (or sometimes 3) FOP Processes are running at any instant. I would like to have your opinion on the Performance that we observe here. The Test Machine we run FOP on has 2 CPUs and 4 GB RAM. Our Production Machine that we would be running FOP on soon has 4 CPUs though (1) In our case, An Invoice could have Several Individual Sections. The Number of Sections could vary from 10 to as high as 10,000 (depending on the data present in the XML Input). On an Average, an Invoice is around 10-20 Pages..while a small % of them exceed 500 Pages. Currently, We have a Page Sequence for each Section. We need to include only One Small Image in each Invoice. (2) There is a need to keep certain information together in the same page, so I have used Tables often..on an Average an Invoice could have around 50-60 Tables, But the Tables are not big (2 or 3 rows) and have only one or 2 columns utmost. I do understand Tables take up more memory..do they Impact Performance significantly? (3) I am using xsl:for-each in 3-4 places in the Stylesheet to loop through nodes with same Tag instead of using 'Template Match'..does that matter? At this Point, I see about 30,000 Pages being generated in an Hour if I run 2 threads. I have not embedded FOP in a Java Program Yet..Plan to do that..I have seen 1 or 2 messages mentioning that Caching a Stylesheet would help. Can someone share their experience by doing that? Are their other means to Improve Performance? Thanks for your assistance Ram __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [***SPAM***] - Improving FOP Performance? - Bayesian Filter d etected spam
Hello, We are using FOP to convert to generate PDF Invoices for our Customers. We need to generate roughly around 25,000 Invoices Per Month and the Number would increase each Month. We generate PDF Docs from XML Input Files. We had Trial runs to check for Performance and Memory usage. Currently, We are just invoking FOP command directly from a Shell Script which would call the FOP Command repeatedly but making sure that not more than 2 (or sometimes 3) FOP Processes are running at any instant. So you are starting, and stopping JVM, each time you run fop. Consider writing java app that invokes fop processing in a loop. Regards Dominik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Improving FOP Performance? -
I would second Dominik's idead to invoke FOP programatically.Manoj-"Jesiolowski, Dominik" [EMAIL PROTECTED] wrote: -To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]From: "Jesiolowski, Dominik" [EMAIL PROTECTED]Date: 02/11/2005 07:13AMSubject: RE: [***SPAM***] - Improving FOP Performance? - Bayesian Filter d etected spam Hello, We are using FOP to convert to generate PDF Invoices for our Customers. We need to generate roughly around 25,000 Invoices Per Month and the Number would increase each Month. We generate PDF Docs from XML Input Files. We had Trial runs to check for Performance and Memory usage. Currently, We are just invoking FOP command directly from a Shell Script which would call the FOP Command repeatedly but making sure that not more than 2 (or sometimes 3) FOP Processes are running at any instant.So you are starting, and stopping JVM, each timeyou run fop. Consider writing java app that invokesfop processing in a loop.RegardsDominik-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: Improving FOP Performance? -
Yes a third also ... Also, you might want to considering using a servlet engine like tomcat to take care of multi-threading issues rather than trying to write your own thread code (unless of course you like writing multi-threaded code ...:) . You would then modify your existing code to invoke the servlet rather than your shell script ... that way you won't have to worry about restarting the jvm as tomcat will have it running constantly ... the rest of your code (which limits the # of simultaneous transactions to three ) can probably stay the same .. Thanks, -Riz Rizwan Virk CTO CambridgeDocs [EMAIL PROTECTED] personal: [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Fri 2/11/2005 11:30 AM To: [EMAIL PROTECTED] Subject: RE: Improving FOP Performance? - I would second Dominik's idead to invoke FOP programatically. Manoj -Jesiolowski, Dominik [EMAIL PROTECTED] wrote: - To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] From: Jesiolowski, Dominik [EMAIL PROTECTED] Date: 02/11/2005 07:13AM Subject: RE: [***SPAM***] - Improving FOP Performance? - Bayesian Filter d etected spam Hello, We are using FOP to convert to generate PDF Invoices for our Customers. We need to generate roughly around 25,000 Invoices Per Month and the Number would increase each Month. We generate PDF Docs from XML Input Files. We had Trial runs to check for Performance and Memory usage. Currently, We are just invoking FOP command directly from a Shell Script which would call the FOP Command repeatedly but making sure that not more than 2 (or sometimes 3) FOP Processes are running at any instant. So you are starting, and stopping JVM, each time you run fop. Consider writing java app that invokes fop processing in a loop. Regards Dominik - 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] winmail.dat- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: URGENT:::::: OUT OF MEMORY
Chandrasekhar Sanku wrote: I need to generate a document with 3000 images (0.2 - 0.5 MB each image approximately) and my intermediate XML file size is 3MB (approx). The images alone take more than half a Gigabyte. I doubt you will find *any* FO processor which will work on this amount of data in a reasonable amount of time. You can try to resort to picewise generation of several PDF and try to get one of the general PDF tools to merge them without running out of memory. Don't expect Acrobat Reader to open the resulting file on a Windows machine with less than 2G memory. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fop servlet crash after some days
Cédric Augustin wrote: Do I have to manualy reset the fop image cache or does fop reset itself ? FOP does not reset the image cache. You'll have to call the FopImageFactory.resetCache() method by yourself. If your image pool is stable and is small enough that all the images can be kept in the image cache, you don't need to fiddle with the cache. Slow changes in the image pool are usually accommodated by weekly or biweekly server restarts or server downtime for maintenance. If i create a dedicated method in my servlet to reset the cache should I take care about anything special ? Probably not. My cheef don't think it's the image cache the problem, do you have any suggestion to investigate ? There are no known memory leaks in FOP 0.20.5 except for the image cache and a string buffer used in the PDF renderer, which usually wont grow beyond a few Kilobytes. Once the Driver object is reclaimed, all other memory allocated during rendering will be freed to. Be sure to avoid keeping references to Driver objects you no longer need. You can try one of the memory debuggers which can be attached to a running program and which will tell you which objects hang around in memory. If no redering is in progress and you still see FOP objects other than FopImage, element mappings/makers and FOP configuration data, something went wrong. Keep an eye on Java stream objects, specifically related to configuration data and user font loading. As a cheap but still efficient measure, you can try DrMem: http://java-source.net/open-source/profilers/drmem J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Is it posible to insert a new line in a xml tag to change the view of a PDF file
For example if I have the following xml tag: rtcontactoProveedor:063310 O. ARIAS Y CIA S.A. Contacto: PILCOMAYO 848 (1824) -LANUS OESTE BUENOS AIRES - ARGENTINA Fax: 4209-2556/rtcontacto I want to show in my PDF file with a new line between O. ARIAS Y CIA S.A. and Contacto: but when I see the pdf file I see: Proveedor:063310 O. ARIAS Y CIA S.A. Contacto: PILCOMAYO 848 1824) -LANUS OESTE BUENOS AIRES - ARGENTINA Fax: 4209-2556 How can I insert a new line to make the view diferent as in the xml tag. Thank you, Juan M. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is it posible to insert a new line in a xml tag to change the view of a PDF file
Use fo:block/ Juan Manuel Bellina wrote: For example if I have the following xml tag: rtcontactoProveedor:063310 O. ARIAS Y CIA S.A. Contacto: PILCOMAYO 848 (1824) -LANUS OESTE BUENOS AIRES - ARGENTINA Fax: 4209-2556/rtcontacto I want to show in my PDF file with a new line between O. ARIAS Y CIA S.A. and Contacto: but when I see the pdf file I see: Proveedor:063310 O. ARIAS Y CIA S.A. Contacto: PILCOMAYO 848 1824) -LANUS OESTE BUENOS AIRES - ARGENTINA Fax: 4209-2556 How can I insert a new line to make the view diferent as in the xml tag. Thank you, Juan M. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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: Improving FOP Performance? -
If the requirements include: speed, efficiency, portability, and high reliability for multi-threading; then Ada with the Ravenscar profile for rate-monotonic scheduling is the best solution. Please visit http://www.adaic.org/ and http://www.stsc.hill.af.mil/crosstalk/2003/11/0311dobbing.html. Aonix has also done some work on real-time Java. www.aonix.com Bob Leif _ From: Riz Virk [mailto:[EMAIL PROTECTED] Sent: Friday, February 11, 2005 9:17 AM To: [EMAIL PROTECTED] Subject: RE: Improving FOP Performance? - Yes a third also ... Also, you might want to considering using a servlet engine like tomcat to take care of multi-threading issues rather than trying to write your own thread code (unless of course you like writing multi-threaded code ...:) . You would then modify your existing code to invoke the servlet rather than your shell script ... that way you won't have to worry about restarting the jvm as tomcat will have it running constantly ... the rest of your code (which limits the # of simultaneous transactions to three ) can probably stay the same .. Thanks, -Riz Rizwan Virk CTO CambridgeDocs [EMAIL PROTECTED] personal: [EMAIL PROTECTED] _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Fri 2/11/2005 11:30 AM To: [EMAIL PROTECTED] Subject: RE: Improving FOP Performance? - I would second Dominik's idead to invoke FOP programatically. Manoj -Jesiolowski, Dominik [EMAIL PROTECTED] wrote: - To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] From: Jesiolowski, Dominik [EMAIL PROTECTED] Date: 02/11/2005 07:13AM Subject: RE: [***SPAM***] - Improving FOP Performance? - Bayesian Filter d etected spam Hello, We are using FOP to convert to generate PDF Invoices for our Customers. We need to generate roughly around 25,000 Invoices Per Month and the Number would increase each Month. We generate PDF Docs from XML Input Files. We had Trial runs to check for Performance and Memory usage. Currently, We are just invoking FOP command directly from a Shell Script which would call the FOP Command repeatedly but making sure that not more than 2 (or sometimes 3) FOP Processes are running at any instant. So you are starting, and stopping JVM, each time you run fop. Consider writing java app that invokes fop processing in a loop. Regards Dominik - 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] attachment: winmail.dat- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is it posible to insert a new line in a xml tag to change the view of a PDF file
I think what Juan wants to use is white-space-collapse=false: http://xml.apache.org/fop/fo.html#fo-preformat Preformatting Content Sometimes it is desirable to retain linebreaks and hard spaces, and to get preformatted text to pass through without being changed. The XSL-FO specification provides some properties for this: white-space-collapse and linefeed-treatment. In FOP, use white-space-collapse=false on an enclosing block. Warning Due to a bug in current versions of FOP, setting white-space-collapse=false will also preserve line breaks in the text. Do not rely on this behavior, as it is non-conformant and will be changed. Cheers! Web Maestro Clay On Feb 11, 2005, at 10:52 AM, Yakov Shafranovich wrote: Use fo:block/ Juan Manuel Bellina wrote: For example if I have the following xml tag: rtcontactoProveedor:063310 O. ARIAS Y CIA S.A. Contacto: PILCOMAYO 848 (1824) -LANUS OESTE BUENOS AIRES - ARGENTINA Fax: 4209-2556/rtcontacto I want to show in my PDF file with a new line between O. ARIAS Y CIA S.A. and Contacto: but when I see the pdf file I see: Proveedor:063310 O. ARIAS Y CIA S.A. Contacto: PILCOMAYO 848 1824) -LANUS OESTE BUENOS AIRES - ARGENTINA Fax: 4209-2556 How can I insert a new line to make the view diferent as in the xml tag. Thank you, Juan M. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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] Web Maestro Clay -- [EMAIL PROTECTED] - http://homepage.mac.com/webmaestro/ My religion is simple. My religion is kindness. - HH The 14th Dalai Lama of Tibet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Is it posible to insert a new line in a xml tag to change the view of a PDF file
Maestro You mentioned that the use of fo:block white-space-collapse=false preserves the line breaks in the text. This is presicely the behavior I actually want in my PDF processing. If this is non-conformant as you mentioned what should I do to maintain the linebreaks / newline feed present in the database ? Thanks Manoj The Web Maestro [EMAIL PROTECTED]To: [EMAIL PROTECTED] mail.comcc: Subject: Re: Is it posible to insert a new line in a xml tag to change the view of a 02/11/2005 12:24 PDF file PM Please respond to fop-user I think what Juan wants to use is white-space-collapse=false: http://xml.apache.org/fop/fo.html#fo-preformat Preformatting Content Sometimes it is desirable to retain linebreaks and hard spaces, and to get preformatted text to pass through without being changed. The XSL-FO specification provides some properties for this: white-space-collapse and linefeed-treatment. In FOP, use white-space-collapse=false on an enclosing block. Warning Due to a bug in current versions of FOP, setting white-space-collapse=false will also preserve line breaks in the text. Do not rely on this behavior, as it is non-conformant and will be changed. Cheers! Web Maestro Clay On Feb 11, 2005, at 10:52 AM, Yakov Shafranovich wrote: Use fo:block/ Juan Manuel Bellina wrote: For example if I have the following xml tag: rtcontactoProveedor:063310 O. ARIAS Y CIA S.A. Contacto: PILCOMAYO 848 (1824) -LANUS OESTE BUENOS AIRES - ARGENTINA Fax: 4209-2556/rtcontacto I want to show in my PDF file with a new line between O. ARIAS Y CIA S.A. and Contacto: but when I see the pdf file I see: Proveedor:063310 O. ARIAS Y CIA S.A. Contacto: PILCOMAYO 848 1824) -LANUS OESTE BUENOS AIRES - ARGENTINA Fax: 4209-2556 How can I insert a new line to make the view diferent as in the xml tag. Thank you, Juan M. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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] Web Maestro Clay -- [EMAIL PROTECTED] - http://homepage.mac.com/webmaestro/ My religion is simple. My religion is kindness. - HH The 14th Dalai Lama of Tibet - 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: Is it posible to insert a new line in a xml tag to change the view of a PDF file
On Feb 11, 2005, at 1:27 PM, [EMAIL PROTECTED] wrote: Maestro You mentioned that the use of fo:block white-space-collapse=false preserves the line breaks in the text. This is presicely the behavior I actually want in my PDF processing. If this is non-conformant as you mentioned what should I do to maintain the linebreaks / newline feed present in the database ? Thanks Manoj I'm not certain how to handle that... Perhaps another listie might know more about that. I was including it since it's part of the info on that page. :-) But since it 'works' in fop-0.20.5, you can always continue to use fop-0.20.5 even after fop-1.0 is released. Either that, or there might be some other solutions in XSL-FO you could find. I think the keyword you should look at is 'white-space' (white-space-preserve, white-space-collapse, etc.). Web Maestro Clay -- [EMAIL PROTECTED] - http://homepage.mac.com/webmaestro/ My religion is simple. My religion is kindness. - HH The 14th Dalai Lama of Tibet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]