Hi,
I have a xml file which is having some text with line break. After
generating PDF i am loosing the line break. I tried different
combinations but it is not working.
Actually after generating XSL-FO file, i checked it is not having line break.
I tried for char '#xA;' and added a fo-block
Hi,
What about using
fo:block white-space-treatment=preserve white-space-collapse=false
linefeed-treatment=preserve
Text
text
/fo:block
Thanks
-Original Message-
From: Neeraj [mailto:neerajii...@gmail.com]
Sent: Thursday, February 21, 2013 2:04 PM
To:
I recently get request to support complex script, I check out the
source code and rebuild fop today. Also realized the API has changed
http://wiki.apache.org/xmlgraphics-fop/FopFactoryConfiguration
I also spent some time with ExampleJava2D2PDF.java did not help much to
resolved the issue,
Yes, it is a bit different now. Something like this should work.
String confFile = /path/to/fop.xconf;
FopFactoryBuilder builder = new FopConfParser(new
File(confFile)).getFopFactoryBuilder();
// set here needed features if needed using