Hi,

On Mon, Jan 26, 2009 at 10:42 AM, giancarlo <[email protected]> wrote:
> With this code I should be able to write a new keyword into document's
> metadata
>
> PDDocument document = PDDocument.load("/root/saper.pdf");
> PDDocumentInformation metadata = document.getDocumentInformation();
> metadata.setKeywords("javakeyword");
> document.setDocumentInformation(metadata);
>
> But nothing has been written to the file! Suggestions?

Use PDDocument.save() to safe the modified file.

BR,

Jukka Zitting

Reply via email to