Hi,

 

We have some examples here:

 

https://xmlgraphics.apache.org/fop/2.0/embedding.html

 

Thanks

 

From: Jess Holle [mailto:je...@ptc.com] 
Sent: 08 June 2015 13:52
To: fop-users@xmlgraphics.apache.org
Subject: FOP 1.1 to 2.0 Migration Guidance?!?

 

So I downloaded FOP 2.0 to use in place of 1.x for embedded use in creating 
PDFs from XSL-FO within Java server code.

Unfortunately:

1.      The extremely simple code using FOP 1.x does not compile with 2.0

*       No big deal but....

2.      It is unclear how one should modify 1.x code to use 2.0 APIs
3.      There appears to be no migration guidance in the documentation 
whatsoever

*       This is the real kicker -- given #2.

This issue starts with the very first line of FOP 1.x API calls:

FopFactory ff = org.apache.fop.apps.FopFactory.newInstance();

What's the replacement for this line?  It's completely unclear from the 
documentation.

Any assistance here would be greatly appreciated.

--
Jess Holle

Reply via email to