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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With