converting PDF to xml using JasperReport or Apache FOP
ks goh
Greenhorn
Joined: Jan 19, 2005
Posts: 13
posted
0
hi all
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 ]
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35252
7
posted
0
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.