Re: and RFC2397
Support for the RFC 2397 data protocol has been added after the latest release. Until the next release is available, please use the code from our Subversion repository (FOP Trunk). Or try my generic solution: http://marc.theaimsgroup.com/?l=fop-user&m=110875657902117&w=2 On 15.03.2006 02:39:55 Thomas, Christopher \(LLU\) wrote: > Hello, > > I want to convert WordML documents into PDF. The Word2FO.xsl style sheet > works pretty good with 0.91beta. The only real problem I'm having is > with images. When the transformation happens, style sheet puts the image > in the url of the tag using RFC2397. Fop spits out > a couple of errors about the image, but produces the document without > the image. Attached is my sample file, the transformed fo file (what I > would get if I didn't go straight to PDF) and the error text. Has anyone > come across a similar issue? Is there any way I can keep the image > embedded in the file instead of referring to the image externally? > > Chris Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
and RFC2397
Hello, I want to convert WordML documents into PDF. The Word2FO.xsl style sheet works pretty good with 0.91beta. The only real problem I’m having is with images. When the transformation happens, style sheet puts the image in the url of the tag using RFC2397. Fop spits out a couple of errors about the image, but produces the document without the image. Attached is my sample file, the transformed fo file (what I would get if I didn’t go straight to PDF) and the error text. Has anyone come across a similar issue? Is there any way I can keep the image embedded in the file instead of referring to the image externally? Chris C:\xmlstuff>c:\downloads\fop-0.91beta\fop -xml test.xml -xsl Word2FO.xsl -pdf te st.pdf Error with URL 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/4QAWRXhpZgAAS UkqAAgAAAD/2wBDAAgGBgcGBQgH BwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/ 2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy MjIyMjIyMjIyMjL/wAARCAB4AKADASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAECAwQF BgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBR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nvbYHruuPKQ844DFuc4wCQbPEmrcSNBodsecwMtzdsDyASy+VEwwA wxMDkgEYDEAv6lrFnpQijlbzLu4z9ms42BmuWGMhFJGcZGScKo5YqoJEFlY3N5dR6pqceyZMm0sy wYWgIILMRkNMQSCwyFBKKSC7yWNM0TT9IMrWVvtmmx508jtLNNjO3zJXJd8AkDcTgcDArToA ACiiigAAACiiigAAACiiigAAACiiigAAAP/Z ': unknown protocol: data java.net.MalformedURLException: unknown protocol: data Image not available: url("data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEAYABgAAD/4QA WRXhpZgAASUkqAAgAAAD/2wBDAAgGBgcGBQgH BwcJCQgKDBQNDAsL
RE: Table size spanning pages
I think I sort of understand, but does somebody have a quick example? By marker do you mean like you would do to get the lastPage? -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 5:49 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Table size spanning pages Noll, Jeffrey T HS wrote: > What I'm looking to do is for the table footer to be placed in the same > location on the last page of the invoice. IE: the total invoice value and > summary notes should be placed 1" from the bottom of the page. What's > happening now is that the footer is getting printed whever the table leaves > off. > Any advice on how to handle this? When paging through invoices people would > like to have the location of table footer in the same location. Don't use a table footer. Attach a marker to the last row of the table containing the total value and whatever, if necessary as a complete table itself, end reference the marker in the region-after text. It may be necessary to have the region overlap the body in order to get the summary placed properly. J.Pietschmann - 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: Pass a xml String to FOP Servlet?
Please ignore my question. I have found the solution from the FOP documentation (http://xmlgraphics.apache.org/fop/0.20.5/servlets.html#xslt). In case anyone who needs similar information, here is the excerpt from the website: If you have to read the XML from a string, supply a new StreamSource(new StringReader(xmlstring)). Thank you! Joanne From: Joanne Mao [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 14, 2006 3:31 PMTo: fop-users@xmlgraphics.apache.orgSubject: Pass a xml String to FOP Servlet? The current FOP servlet takes an xml file and xsl file as inout parameters to generate a pdf file. My question is: How can I pass a xml String instead of a xml file? I have a JSP that constructs dynamic xml String and would like my user to be able to view it as pdf. Right now my work-around is to write this xml String to a temporary file and then render pdf. Is there a way that I do not have to use this work-round? I googled and found very few posts regarding this topic and nothing seemed to work for me. Thank you very much for your help. Joanne
Pass a xml String to FOP Servlet?
The current FOP servlet takes an xml file and xsl file as inout parameters to generate a pdf file. My question is: How can I pass a xml String instead of a xml file? I have a JSP that constructs dynamic xml String and would like my user to be able to view it as pdf. Right now my work-around is to write this xml String to a temporary file and then render pdf. Is there a way that I do not have to use this work-round? I googled and found very few posts regarding this topic and nothing seemed to work for me. Thank you very much for your help. Joanne
Re: Table size spanning pages
Noll, Jeffrey T HS wrote: What I'm looking to do is for the table footer to be placed in the same location on the last page of the invoice. IE: the total invoice value and summary notes should be placed 1" from the bottom of the page. What's happening now is that the footer is getting printed whever the table leaves off. ... Any advice on how to handle this? When paging through invoices people would like to have the location of table footer in the same location. Don't use a table footer. Attach a marker to the last row of the table containing the total value and whatever, if necessary as a complete table itself, end reference the marker in the region-after text. It may be necessary to have the region overlap the body in order to get the summary placed properly. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: word wrapping
Andreas L Delmelle wrote: but... overflow="hidden" does not work --seems like either our compliance page needs to be updated, or this feature was implemented at some point, but has been broken again :( AFAIK there is no functionality for overflow='hidden' yet. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Table size spanning pages
- original Nachricht Betreff: Table size spanning pages Gesendet: Di 14 Mär 2006 15:13:22 CET Von: "Noll,Jeffrey T HS"<[EMAIL PROTECTED]> > I've run into a problem with formatting a table for an invoice. > > What I'm looking to do is for the table footer to be placed in the same > location on the last page of the invoice. IE: the total invoice value and > summary notes should be placed 1" from the bottom of the page. What's > happening now is that the footer is getting printed whever the table leaves > off. The footer is static content defined for every page of a page flow (as well as the header is). So if you include some value into the footer, it will occur on every page of the flow, containing your table. Maybe the table is 3 pages long, which leads to the total sum being displayed on page 1, 2 and 3 - right!? If I'm right, you can't do this with footer (static content) and have to track the table's end. The best way to do this, is to insert an invisible footnote into the last column (or below it, if footnotes inside tables won't work). Now all you have to do is to format your footnote rendering the way you prefer it. This ensures, that the footnotes content will be rendered at the bottom of the last page (if included inside the last table row or underneath it). > > Is there any way to force it so that the table fills to a certain size on > each page? I've thought about padding with table-rows but I can't figure > out > how many I need to add because of variable text lengths that wrap previous > row sizes. This is not your task, this is FOP's job *g*. I'm thinking about another way... > > Any advice on how to handle this? When paging through invoices people would > like to have the location of table footer in the same location. > Mkay, another way would be to split up the table into fixed sized chunks. If you know, that the maximum length of a table needs 25 table rows, you could split after every 25 lines, format your footer the way you like it (as static content) and stuff every table into it's own page flow. Both sollutions are not very fancy, but they'll do it... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: word wrapping
On Mar 14, 2006, at 18:46, [EMAIL PROTECTED] wrote: Hi Lou, I am trying to use this to handle my table cell text overflows, but it does not seem to work in my implementation. I am using fop 0.91 (not trunk) and I get many warnings of the following type: 12:36:09,657 WARN [BreakingAlgorithm] Line 1 of a paragraph overflows the available area. (fo:block, "Very Long Text Here") Seems like either this wasn't yet in the codebase at the moment the 0.91 distro was packaged, or there are some other properties influencing the picture here... Anyway, I tried it with FOP Trunk, and received no error messages, but... overflow="hidden" does not work --seems like either our compliance page needs to be updated, or this feature was implemented at some point, but has been broken again :( Cheers, Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: word wrapping
I am trying to use this to handle my table cell text overflows, but it does not seem to work in my implementation. I am using fop 0.91 (not trunk) and I get many warnings of the following type: 12:36:09,657 WARN [BreakingAlgorithm] Line 1 of a paragraph overflows the available area. (fo:block, "Very Long Text Here") My code basically looks like: Tell me I am doing something wrong. Thanks, Lou Andreas L Delmelle <[EMAIL PROTECTED]> wrote on 02/28/2006 12:24:33: > On Feb 28, 2006, at 15:51, Jimmy Dixon wrote: > > > Hi fellow fopsters > > > > Im using fop to create a table in a pdf report on the fly. Space is > > at a premium and one of the values, an id, is of variable length. > > Other than using some nasty XSLT string functions to insert spaces > > into the id string when it is too long for the table cell is there > > a way to prevent it from overlapping the other table cells with > > XSL:FO and FOP? I fear not but if anyone has any cool ideas about > > how to approach this problem Id love to hear them. > > OK, I'm not sure if this'll work (= untested), but try anyway: > > > > your_extremely_long_identifier_here_... > > > > Both those properties are marked as 'implemented' on our compliance > page. If that page doesn't lie, then the above should do the trick, I > guess... > > HTH! > > Cheers, > > Andreas > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >
Re: FOP, CMYK and PDF
Le 14 mars 06 à 17:29, Pierre-Yves Landuré a écrit : Hi, you should search for pstill : this tool can convert RGB PDF to CMYK ones, but it is not free. For CMYK PDF with images, you must use CMYK images as input, so that FOP output the PDF already partially in CMYK. You can not actually produce CMYK pdf without using CMYK jpgs as input. I think that you should take a look at image magick for converting your images. This tool do pretty good RGB to CMYK conversion. Hope this help yes thank you ! to summarize the workaround : - with FOP 0.91 version and a CMYK JPEG in FO file, the FO file won't compile and output this error : " Invalid ICC profile: java.lang.IllegalArgumentException: Invalid ICC Profile Data java.lang.IllegalArgumentException: Invalid ICC Profile Data" - with FOP 0.20.5 the FO file compile and I can use succefully http:// www.pdfbox.org/commandlineutilities/ConvertColorspace.html to produce a final CMYK PDF like Pierre Yves said Maybe switching the compilation error to a simple warning will be usefull thank you Olivier Pierre-Yves Olivier Mansour a écrit : Le 14 mars 06 à 16:53, Pierre-Yves Landuré a écrit : Hi olivier, at first, you have nothing to do special to use CMYK jpg with FOP 0.20.5. It should work the same as RGB jpg. But you should know that FOP 0.20.5 as a bug with rgb color : if a component is less that 12, it set it to 0. So that : rgb(24, 12, 50) became rgb(24, 0, 50) inside PDF. Be aware of this if you want perfect colors. On my own, i've written a little java code that can replace RGB colors by CMYK ones inside a PDF. You should find it at PDFBox website. (PDFBox is a java library to manipulate PDF). I'm currently using FOP 0.20.5 to produce CMYK PDF. Thanks for your answer. I have already tested your code and it works fine for texts elements. But do you import CMYK pictures on your PDF ? If you don't, how produce CMYK PDF with RVB pictures ? That's my last problem. We use FOP 0.91 maybe its a clue. Someone was talking about free third part tools to convert RVB PDF to CMYK PDF but I can't find one. An idea ? Thank you Olivier Pierre-Yves Olivier Mansour a écrit : Hey We are evaluating fop solution to produce PDF with CMYK color- space use. I have found a solution to convert RGB definition for text- element (see : http://tinyurl.com/ewpxh) but when I import a CMJN jpg I have this error message : "Invalid ICC profile: java.lang.IllegalArgumentException: Invalid ICC Profile Data java.lang.IllegalArgumentException: Invalid ICC Profile Data"" Is there any solution to have a PDF output with CMYK ? Thanks a lot. Olivier -- Olivier Mansour http://www.clever-age.com Clever Age - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 1 53 34 66 10 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ --- -- To unsubscribe, e-mail: fop-users- [EMAIL PROTECTED] For additional commands, e-mail: fop-users- [EMAIL PROTECTED] -- Olivier Mansour http://www.clever-age.com Clever Age - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 1 53 34 66 10 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: fop-users- [EMAIL PROTECTED] -- Olivier Mansour http://www.clever-age.com Clever Age - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 1 53 34 66 10 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
fo:table within fo:footnote crashes fop 0.91
Hi, when I try to convert the following XSL-FO file to a PDF, I get a NullPointerException in TableLayoutManager.getNextKnuthElements() (tested with both the beta version and the current svn trunk version): A table within a footnote One cell shouldn't be too hard to render. leads to problems Regards, Holger Benl. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
floating text in multi-column-layout
Hello fop-experts, I want to create a three-column-layout by using fop 0.20.5. At the bottom of the first column ought to be a (optional) fixed positioned picture. The columns are filled with dynamically generated text that should flow around this image. To make things clearer I attached a picture to this mail. Is there any way to realize this layout although fop doesn't support the float-object? Thank you for your help. Jones column_layout.gif Description: GIF image - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP, CMYK and PDF
Hi, you should search for pstill : this tool can convert RGB PDF to CMYK ones, but it is not free. For CMYK PDF with images, you must use CMYK images as input, so that FOP output the PDF already partially in CMYK. You can not actually produce CMYK pdf without using CMYK jpgs as input. I think that you should take a look at image magick for converting your images. This tool do pretty good RGB to CMYK conversion. Hope this help Pierre-Yves Olivier Mansour a écrit : Le 14 mars 06 à 16:53, Pierre-Yves Landuré a écrit : Hi olivier, at first, you have nothing to do special to use CMYK jpg with FOP 0.20.5. It should work the same as RGB jpg. But you should know that FOP 0.20.5 as a bug with rgb color : if a component is less that 12, it set it to 0. So that : rgb(24, 12, 50) became rgb(24, 0, 50) inside PDF. Be aware of this if you want perfect colors. On my own, i've written a little java code that can replace RGB colors by CMYK ones inside a PDF. You should find it at PDFBox website. (PDFBox is a java library to manipulate PDF). I'm currently using FOP 0.20.5 to produce CMYK PDF. Thanks for your answer. I have already tested your code and it works fine for texts elements. But do you import CMYK pictures on your PDF ? If you don't, how produce CMYK PDF with RVB pictures ? That's my last problem. We use FOP 0.91 maybe its a clue. Someone was talking about free third part tools to convert RVB PDF to CMYK PDF but I can't find one. An idea ? Thank you Olivier Pierre-Yves Olivier Mansour a écrit : Hey We are evaluating fop solution to produce PDF with CMYK color- space use. I have found a solution to convert RGB definition for text- element (see : http://tinyurl.com/ewpxh) but when I import a CMJN jpg I have this error message : "Invalid ICC profile: java.lang.IllegalArgumentException: Invalid ICC Profile Data java.lang.IllegalArgumentException: Invalid ICC Profile Data"" Is there any solution to have a PDF output with CMYK ? Thanks a lot. Olivier -- Olivier Mansour http://www.clever-age.com Clever Age - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 1 53 34 66 10 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: fop-users- [EMAIL PROTECTED] -- Olivier Mansour http://www.clever-age.com Clever Age - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 1 53 34 66 10 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP, CMYK and PDF
Le 14 mars 06 à 16:53, Pierre-Yves Landuré a écrit : Hi olivier, at first, you have nothing to do special to use CMYK jpg with FOP 0.20.5. It should work the same as RGB jpg. But you should know that FOP 0.20.5 as a bug with rgb color : if a component is less that 12, it set it to 0. So that : rgb(24, 12, 50) became rgb(24, 0, 50) inside PDF. Be aware of this if you want perfect colors. On my own, i've written a little java code that can replace RGB colors by CMYK ones inside a PDF. You should find it at PDFBox website. (PDFBox is a java library to manipulate PDF). I'm currently using FOP 0.20.5 to produce CMYK PDF. Thanks for your answer. I have already tested your code and it works fine for texts elements. But do you import CMYK pictures on your PDF ? If you don't, how produce CMYK PDF with RVB pictures ? That's my last problem. We use FOP 0.91 maybe its a clue. Someone was talking about free third part tools to convert RVB PDF to CMYK PDF but I can't find one. An idea ? Thank you Olivier Pierre-Yves Olivier Mansour a écrit : Hey We are evaluating fop solution to produce PDF with CMYK color- space use. I have found a solution to convert RGB definition for text- element (see : http://tinyurl.com/ewpxh) but when I import a CMJN jpg I have this error message : "Invalid ICC profile: java.lang.IllegalArgumentException: Invalid ICC Profile Data java.lang.IllegalArgumentException: Invalid ICC Profile Data"" Is there any solution to have a PDF output with CMYK ? Thanks a lot. Olivier -- Olivier Mansour http://www.clever-age.com Clever Age - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 1 53 34 66 10 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: fop-users- [EMAIL PROTECTED] -- Olivier Mansour http://www.clever-age.com Clever Age - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 1 53 34 66 10 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOP, CMYK and PDF
Hi olivier, at first, you have nothing to do special to use CMYK jpg with FOP 0.20.5. It should work the same as RGB jpg. But you should know that FOP 0.20.5 as a bug with rgb color : if a component is less that 12, it set it to 0. So that : rgb(24, 12, 50) became rgb(24, 0, 50) inside PDF. Be aware of this if you want perfect colors. On my own, i've written a little java code that can replace RGB colors by CMYK ones inside a PDF. You should find it at PDFBox website. (PDFBox is a java library to manipulate PDF). I'm currently using FOP 0.20.5 to produce CMYK PDF. Pierre-Yves Olivier Mansour a écrit : Hey We are evaluating fop solution to produce PDF with CMYK color-space use. I have found a solution to convert RGB definition for text-element (see : http://tinyurl.com/ewpxh) but when I import a CMJN jpg I have this error message : "Invalid ICC profile: java.lang.IllegalArgumentException: Invalid ICC Profile Data java.lang.IllegalArgumentException: Invalid ICC Profile Data"" Is there any solution to have a PDF output with CMYK ? Thanks a lot. Olivier -- Olivier Mansour http://www.clever-age.com Clever Age - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 1 53 34 66 10 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FOP, CMYK and PDF
Hey We are evaluating fop solution to produce PDF with CMYK color-space use. I have found a solution to convert RGB definition for text-element (see : http://tinyurl.com/ewpxh) but when I import a CMJN jpg I have this error message : "Invalid ICC profile: java.lang.IllegalArgumentException: Invalid ICC Profile Data java.lang.IllegalArgumentException: Invalid ICC Profile Data"" Is there any solution to have a PDF output with CMYK ? Thanks a lot. Olivier -- Olivier Mansour http://www.clever-age.com Clever Age - conseil en architecture technique GSM: +33 6 11 03 23 77 Tél: +33 1 53 34 66 10 Clever Age vous invite à ses petits déjeuners du Jeudi http://www.clever-age.com/actualites/petits-dejeuners/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Table size spanning pages
I've run into a problem with formatting a table for an invoice. What I'm looking to do is for the table footer to be placed in the same location on the last page of the invoice. IE: the total invoice value and summary notes should be placed 1" from the bottom of the page. What's happening now is that the footer is getting printed whever the table leaves off. Is there any way to force it so that the table fills to a certain size on each page? I've thought about padding with table-rows but I can't figure out how many I need to add because of variable text lengths that wrap previous row sizes. Any advice on how to handle this? When paging through invoices people would like to have the location of table footer in the same location. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]