[css2xslfo-support] Observations
Brought to you by:
wdonne
From: <aro...@cl...> - 2008-10-16 18:01:33
|
Hi Everyone, After some more experimentation it seems that maybe the original file I sent was "too large to handle." Does that seem possible? The source xml file is 60kb. Again, it worked fine in PrinceXML and Flying Saucer without errors or warnings. As far as I can discern, it seems like a good xml source document. It contained 8 "visitVersions" so I just ran a report with only a single visitVersion and tried again (a 16kb file this time). This worked, in that it produced both FO and ultimately PDF when used with Apache FOP. The resulting output is not as pretty as what I saw with Flying Saucer and PrinceXML because various styles were not showing properly. Bolding for example was absent. Also, even though "landscape" was specified it was coming out in portrait mode. These style and orientation problems might not be an issue with your FO producing app... they might be more of a problem with Apache FOP but I don't really know. One last bit, either I read it wrong or the documentation needs to be updated. I tried the following command but failed: java -cp "lib/" -jar lib/css2fopnew1_6.jar visitReport.xml paper-size=letter -pdf visitReport.pdf I needed to issue the following command to get it to work: java -cp "lib/" -jar lib/css2fopnew1_6.jar visitReport.xml paper-size=letter -fop -pdf visitReport.pdf The key piece missing, the "-fop" argument. When I read the docs, it seemed that "-pdf" was something that didn't need to be escaped into an FOP specific argument... But maybe that was just me. The one line examples don't actually show PDF creation so I probably just interpreted the documentation wrong. Thanks, -- Aaron |