converting PDF to xml using JasperReport or Apache FOP
Joined: Jan 19, 2005
i got a PDF/RTF template with pictures, which i wan to convert to xml so that i can use JapserReport or Apache FOP to generate PDF.
can anyone help me how do i convert PDF to xml? thanks [ October 13, 2007: Message edited by: ks goh ]
Joined: Mar 22, 2005
PDF is -for the most part- a read-only format. While some limited alterations are possible, you can't extract the layout information. It's possible to extract the text they contain using libraries such as PDFBox and JPedal.