The original FOP project was for transforming XSLFO into a PDF. Then other features were added, to transform XSLFO into other outputs including PCL, image files, and direct printouts. Now there is a new feature to FOP which is most useful to us, to create a PDF by drawing to a Graphics object as if drawing to a screen. The question of where is the API is a bit confusing. The source is on the site (http://xmlgraphics.apache.org/fop/). Old Javadocs are on the web and new ones can be created from the source. AFAIK FOP cannot read in or manipulate existing PDFs. I would suggest trying the pdfbox project for that.
-----Original Message----- From: Chris Bowditch [mailto:[email protected]] Sent: Wednesday, November 16, 2011 5:02 AM To: [email protected] Subject: Re: Question about PDF API used in FOP v0.95 On 15/11/2011 15:27, 刘寅 wrote: > Hi Liu, > > Hello,now I am doing a research about document format transformation and I > have got a lot of help from FOP. But there is a problem that I can't > distinguish the PDF API from FOP source v0.95. I want to know how > many > PDF APIs used in FOP v0.95, who are they and where are there(in which > package)? > I have successfully run all the examples in fop-0.95-src on my computer and read some of FOP API Document. Also I have tried to find my answers from FAQs but I can't find any. So could you help me or > give me some advices ? FOP doesn't publish a API to manipulate PDF. FOP can generate a PDF from XSL-FO.If you just want to build a PDF from another source using Java API then take a look at the PDF Box project. > Looking forward to your reply, thank you very much! Sincerely, liu Yin Thanks, Chris --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
