DocumentInformation is not visible (with Acrobat Reader)
--------------------------------------------------------

                 Key: PDFBOX-823
                 URL: https://issues.apache.org/jira/browse/PDFBOX-823
             Project: PDFBox
          Issue Type: Bug
          Components: PDModel
    Affects Versions: 1.3.0
         Environment: JDK 1.6.0_21, Windows XP 32 Bit
            Reporter: Martin Hilpert


I try to set PDF document inforamtion 
(http://pdfbox.apache.org/userguide/metadata.html), but the final PDF doesn't 
have my information set! E.g.

final PDDocumentInformation pddi = doc.getDocumentInformation();
pddi.setAuthor("MeAndMyself");

I debugged and ensured that after creation of PDF with APache FOP, this is the 
last action on the PDF done. But when viewing with Acrobat Reader, only the 
information that I set during FOP rendering is shown.

But then I noticed that when I view the PDF file with FoxIt Reader (4.0), File 
> Properties show all the properties I set like Title, Author, Producer. 
Viewing this exact same PDF file with Acrobat Reader (9.3.4), this properties 
are not shown (and some other properties are shown I set during the first FOP 
PDF Rendering to produce the PDF).

I wonder if there are multiple ways to store such information in a PDF? Why is 
showing FoxItReader the properties I set afterwards with PDFBox, but Adobe 
Reader ignores those Properties and show the properties set on the first PDF 
generation?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to