FOP 1.1 - Unable to break line in PDF

2013-02-26 Thread Neeraj
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

RE: FOP 1.1 - Unable to break line in PDF

2013-02-26 Thread Simon Steiner
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:

Fop trunk unable to load configuration file correcly

2013-02-26 Thread Chen Yang
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,

Re: Fop trunk unable to load configuration file correcly

2013-02-26 Thread Luis Bernardo
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