tags:

views:

94

answers:

1

I need to edit existing properties or set new PDF properties such as author name, title, subject, etc. from a java application. Is there any way to do that? I have found the apache.pdfbox library but I don't know whether it will solve my issues or not?

+2  A: 

Yes, Apache PDFBox has an API to retrieve and update PDF metadata.

Looking at the example code, it does look like you have to get your hands dirty with XML a little, though.

Thilo
Can you tell me then how to create the document object?
dhiraj
Thanx Thilo for your reply. I think those links will be enough for me.
dhiraj