Re: Empty PDF (on Windows)

2009-05-19 Thread Adrian Wiesmann
Sam, Thanks for your help. > I had a very similar problem to this. Just before I transformed the fo > to pdf I needed to set the system property to headless. This would be > done like: > System.setProperty("java.awt.headless", "true"); Though I'd recommend > storing a string of the original va

PDF Bookmarks

2009-05-19 Thread Tobias Anstett [k15t.com]
Hi, we use (DocBook to) FO to PDF transformations. In the exported PDF the bookmarks doesn't work as expected. Although each bookmarks points to the correct page they don't jump to the correct section on that page - > always pointing to the beginning. Is this a known issue with Apache FO? -- Che

Re: fop + json

2009-05-19 Thread Sam Fuqua
Andreas, Thank you for such a quick and clear reply. I will try to find a way to parse the json elsewhere. Sam On Tue, May 19, 2009 at 1:16 PM, Andreas Delmelle < andreas.delme...@telenet.be> wrote: > On 19 May 2009, at 19:05, Sam Fuqua wrote: > > Hi Sam > > > I know that this isn't within th

Re: fop + json

2009-05-19 Thread Andreas Delmelle
On 19 May 2009, at 19:05, Sam Fuqua wrote: Hi Sam I know that this isn't within the bounds of the w3 standard, but I was wondering if FOP has any way of handling JSON. For example, if I have: {"menu":{"key":"value","id":"idnum"}} , is there any way to xpath into the JSON in the text node?

Re: Empty PDF on Windows

2009-05-19 Thread Sam Fuqua
Adrian, I had a very similar problem to this. Just before I transformed the fo to pdf I needed to set the system property to headless. This would be done like: System.setProperty("java.awt.headless", "true"); Though I'd recommend storing a string of the original value and resetting it to this v

fop + json

2009-05-19 Thread Sam Fuqua
Hi, I know that this isn't within the bounds of the w3 standard, but I was wondering if FOP has any way of handling JSON. For example, if I have: {"menu":{"key":"value","id":"idnum"}} , is there any way to xpath into the JSON in the text node? I've seen it used in another xml parser, but wasn

Re: FOP: Convert RFT to PDF

2009-05-19 Thread Pascal SANCHO
yazzy a écrit : Hi I have been asked to use "FOP" to convert RFT documents to PDF. "FOP" has to be embeded within ASP page (JScript). I have never used "FOP" and search found no examples to convert RFT to PDF format. The only example I found was "ExampleObj2PDF.java" but I don't think this t

AW: offo hyphenation with exceptions - Solution

2009-05-19 Thread Georg Datterl
Hi everybody, Further research with org.apache.fop.hyphenation.Hyphenator indicated: The exception section of the hyphenation XML is indeed parsed and processed. My file did not work because HyphenationTree.hyphenate transfers the word-to-be-hyphenated to lower case. AQUASYSTEM does not work,