Sorry if this question doesnt belong to this sub-forum. I am working on an issue which had a PDF file generated using iText. The pdf file contains only formatted text and the requirement is to edit (add/remove content) from the PDF. For this purpose I was thinking whether this is possible using any free java api. I was looking at Google Docs where a document can be saved as a PDF again. Using iText I think I can generate RTF(also HTML minus the pagebreaks etc) but is it possible to convert it back to PDF with same formatting of text. Just wanted to buzz people to know whether something like this is possible.
I have, in fact, tweaked into the source code of and was successful in using the OpenOffice2.1 framework API to convert RTF/Word etc. documents into a pdf document on the fly.. It provides for a proper-formatting and conversion from any of the readalbe formats like text, word-docs etc into pdf without using acrobat reader.
Originally posted by moto raja: I have, in fact, tweaked into the source code of and was successful in using the OpenOffice2.1 framework API to convert RTF/Word etc. documents into a pdf document on the fly.
The question is about editing an existing PDF document, so this approach does not help, as OO can not open PDF documents.
Originally posted by moto raja: I have a version of OO Installable on my machine and I just opened a pdf doc.
That's news to me. I just tried to open a PDF with 2.2.0 on Ubuntu Linux and 2.2.1 on WinXP and they both opened the PDF as a source file (i.e. plain ASCII text) not as a rendered document. In any case, OpenOffice will not allow you to edit a PDF and save it (AFAIK).