Re: FOP 1.0 line feed not visible
Hi Philippe, PDFRender was removed from FOP in rev 989178 of trunk (along with the other renders along with AFPRender, PCLRender and PSRender.) PDFPainter (and other collaborators) now implements the functionality previously handled by PDFRender. Some information about the new architecture is available at http://xmlgraphics.apache.org/fop/trunk/intermediate.html I hope that helps, Peter On Wed, Jan 12, 2011 at 9:22 AM, Simon Pepping wrote: > On Wed, Jan 12, 2011 at 10:00:14AM +0100, Philippe Pithon wrote: >> Hi, >> >> I try snapshots... >> >> But problem... in FOP 1.0 I extend class PDFRenderer and in snapshot >> this class not found > > Snapshots are binary downloads. For source downloads, see > http://xmlgraphics.apache.org/fop/download.html. > > Simon > > - > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 1.0 line feed not visible
On Wed, Jan 12, 2011 at 10:00:14AM +0100, Philippe Pithon wrote: > Hi, > > I try snapshots... > > But problem... in FOP 1.0 I extend class PDFRenderer and in snapshot > this class not found Snapshots are binary downloads. For source downloads, see http://xmlgraphics.apache.org/fop/download.html. Simon - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 1.0 line feed not visible
Hi, I try snapshots... But problem... in FOP 1.0 I extend class PDFRenderer and in snapshot this class not found Le 10/01/2011 20:04, Andreas Delmelle a écrit : On 10 Jan 2011, at 16:22, Philippe Pithon wrote: Hi Philippe Thanks ! good news ! I'll try...FOP Trunk Just FYI: if it is for testing purposes, and you cannot permit yourself to spend time on building FOP yourself, we have nightly snapshot binaries available. In case you're interested, see: http://ci.apache.org/projects/xmlgraphics/fop/snapshots/ Regards Andreas - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: FOP 1.0 line feed not visible
Building is easy lol. I downloaded the FOP 1.0 source. Then I extracted the source to a folder. Then I selected the New Project option in Eclipse "from existing Ant build file" and named the project fop-1.0 to match the folder. Then I had to run ant on the build.xml to create java files in the gensrc folder. Then I configured the build path to add ant and jai_core. Then it compiled. Then I had to put a copy of the Junit, Jai, and Xmlunit jars in the fop lib folder to run the full ant build. I actually downloaded ant as source to link to the fop build path so that's also full of fun dependancies. To get the ant project to compile I had to link jars for jai_codec, jai_core, mail, and NetRexxC, and I added it's other project dependancies as source also which include log4j, bcel, bsf, commons-logging, commons-net, jakarta-oro, jakarta-regexp, jdepend, jsch, junit, xalan, xml-commons-resolver. Of course importing dependancies as source is the hard way. It may give you the ability to do some more things most people likely don't need to do? You could just copy in the ant.jar to build. -Original Message- From: Andreas Delmelle [mailto:andreas.delme...@telenet.be] Sent: Monday, January 10, 2011 2:04 PM To: fop-users@xmlgraphics.apache.org Subject: Re: FOP 1.0 line feed not visible On 10 Jan 2011, at 16:22, Philippe Pithon wrote: Hi Philippe > Thanks ! good news ! > > I'll try...FOP Trunk Just FYI: if it is for testing purposes, and you cannot permit yourself to spend time on building FOP yourself, we have nightly snapshot binaries available. In case you're interested, see: http://ci.apache.org/projects/xmlgraphics/fop/snapshots/ Regards Andreas - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 1.0 line feed not visible
On 10 Jan 2011, at 16:22, Philippe Pithon wrote: Hi Philippe > Thanks ! good news ! > > I'll try...FOP Trunk Just FYI: if it is for testing purposes, and you cannot permit yourself to spend time on building FOP yourself, we have nightly snapshot binaries available. In case you're interested, see: http://ci.apache.org/projects/xmlgraphics/fop/snapshots/ Regards Andreas - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 1.0 line feed not visible
Thanks ! good news ! I'll try...FOP Trunk Le 10/01/2011 16:12, Chris Bowditch a écrit : On 07/01/2011 13:10, Philippe Pithon wrote: Hi, Hi Philippe, http://xmlgraphics.apache.org/fop/1.0/knownissues_overview.html "block_hyphenation_linefeed_preserve.xml (Hyphenation with preserved linefeeds): When hyphenation is enabled and linefeeds are preserved, the text is output multiple times." Andreas already answered this question on 7th January. hyphenation doesn't work in combination with linefeed-treatment="preserve" How can I bypass this problem ? Download the source of FOP Trunk and compile. The bug has been fixed there. Thanks, Chris Philippe Pithon Le 07/01/2011 13:20, Philippe Pithon a écrit : Thanks, it's works with linefeed-treatment="preserve" but if I add attributs : hyphenate="true" and language="fr" the result is strange : text is write twice there is a conflict with linefeed-treatment and hyphenate ??? Philippe Pithon - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 1.0 line feed not visible
On 07/01/2011 13:10, Philippe Pithon wrote: Hi, Hi Philippe, http://xmlgraphics.apache.org/fop/1.0/knownissues_overview.html "block_hyphenation_linefeed_preserve.xml (Hyphenation with preserved linefeeds): When hyphenation is enabled and linefeeds are preserved, the text is output multiple times." Andreas already answered this question on 7th January. hyphenation doesn't work in combination with linefeed-treatment="preserve" How can I bypass this problem ? Download the source of FOP Trunk and compile. The bug has been fixed there. Thanks, Chris Philippe Pithon Le 07/01/2011 13:20, Philippe Pithon a écrit : Thanks, it's works with linefeed-treatment="preserve" but if I add attributs : hyphenate="true" and language="fr" the result is strange : text is write twice there is a conflict with linefeed-treatment and hyphenate ??? Philippe Pithon - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 1.0 line feed not visible
Hi, http://xmlgraphics.apache.org/fop/1.0/knownissues_overview.html "block_hyphenation_linefeed_preserve.xml (Hyphenation with preserved linefeeds): When hyphenation is enabled and linefeeds are preserved, the text is output multiple times." How can I bypass this problem ? Philippe Pithon Le 07/01/2011 13:20, Philippe Pithon a écrit : Thanks, it's works with linefeed-treatment="preserve" but if I add attributs : hyphenate="true" and language="fr" the result is strange : text is write twice there is a conflict with linefeed-treatment and hyphenate ??? Philippe Pithon Le 07/01/2011 12:20, Peter Hancock a écrit : Hi Philippe, I think perhaps the linefeed-treatment='preserve' property on the fo:block may be what you require. See http://www.w3.org/TR/2006/REC-xsl11-20061205/#linefeed-treatment for more detail. I hope that works for you. Pete On Fri, Jan 7, 2011 at 10:02 AM, Philippe Pithon wrote: Hi, A little problem with FOP 1.0 (it's works with FOP 0.20.5) if I have linefeed (exa 0A) in XML node text, it's not visible in PDF result Any ideas ? Philippe Pithon XML : -- line 1 (0A) line 2 (0A) line 3 (0A) XSL : -- - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 1.0 line feed not visible
Thanks, it's works with linefeed-treatment="preserve" but if I add attributs : hyphenate="true" and language="fr" the result is strange : text is write twice there is a conflict with linefeed-treatment and hyphenate ??? Philippe Pithon Le 07/01/2011 12:20, Peter Hancock a écrit : Hi Philippe, I think perhaps the linefeed-treatment='preserve' property on the fo:block may be what you require. See http://www.w3.org/TR/2006/REC-xsl11-20061205/#linefeed-treatment for more detail. I hope that works for you. Pete On Fri, Jan 7, 2011 at 10:02 AM, Philippe Pithon wrote: Hi, A little problem with FOP 1.0 (it's works with FOP 0.20.5) if I have linefeed (exa 0A) in XML node text, it's not visible in PDF result Any ideas ? Philippe Pithon XML : -- line 1 (0A) line 2 (0A) line 3 (0A) XSL : -- - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 1.0 line feed not visible
On 07 Jan 2011, at 12:20, Peter Hancock wrote: Hi Philippe, Pete, >> A little problem with FOP 1.0 (it's works with FOP 0.20.5) >> if I have linefeed (exa 0A) in XML node text, it's not visible in PDF result >> Any ideas ? > I think perhaps the linefeed-treatment='preserve' property on the > fo:block may be what you require. > See http://www.w3.org/TR/2006/REC-xsl11-20061205/#linefeed-treatment > for more detail. That's correct, however, FOP 1.0 still has an issue when combining preserved linefeeds with hyphenate="true", so you will also want to remove that attribute from the block (or switch to FOP Trunk, where that issue was fixed a few weeks ago). Regards Andreas - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: FOP 1.0 line feed not visible
Hi Philippe, I think perhaps the linefeed-treatment='preserve' property on the fo:block may be what you require. See http://www.w3.org/TR/2006/REC-xsl11-20061205/#linefeed-treatment for more detail. I hope that works for you. Pete On Fri, Jan 7, 2011 at 10:02 AM, Philippe Pithon wrote: > Hi, > A little problem with FOP 1.0 (it's works with FOP 0.20.5) > if I have linefeed (exa 0A) in XML node text, it's not visible in PDF result > Any ideas ? > Philippe Pithon > > XML : > -- > line 1 (0A) > line 2 (0A) > line 3 (0A) > > > XSL : > -- > hyphenate="true" language="fr" text-align="left" > white-space-collapse="false"> > > > > > - > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
FOP 1.0 line feed not visible
Hi, A little problem with FOP 1.0 (it's works with FOP 0.20.5) if I have linefeed (exa 0A) in XML node text, it's not visible in PDF result Any ideas ? Philippe Pithon XML : -- line 1 (0A) line 2 (0A) line 3 (0A) XSL : -- hyphenate="true" language="fr" text-align="left" white-space-collapse="false"> - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org