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 builder

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, my

RE: FOP 1.1 - Unable to break line in PDF

2013-02-26 Thread Simon Steiner
Hi, What about using Text text Thanks -Original Message- From: Neeraj [mailto:neerajii...@gmail.com] Sent: Thursday, February 21, 2013 2:04 PM To: fop-users-h...@xmlgraphics.apache.org; fop-users@xmlgraphics.apache.org Subject: FOP 1.1 - Unable to break line in PDF Hi, I have a

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 ' ' and added a fo-block for li