[ 
https://issues.apache.org/jira/browse/PDFBOX-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15515623#comment-15515623
 ] 

Maruan Sahyoun edited comment on PDFBOX-3506 at 9/23/16 6:58 AM:
-----------------------------------------------------------------

I'd think that one of the main topics here is how to process a PDF with hybrid 
XRef stream/table. Hybrid Xrefs were introduced to allow 1.4x and earlier 
parsers to process the PDF using the ref table while 1.5 onwards should process 
and follow the xref stream. Normally there is no need to switch between these 
two so we either process the xref stream or the xref table.

Having said that updating a PDF with hybrid ref information one would need to 
update both the stream and the table to keep them in sync.


was (Author: msahyoun):
I'd think that one of the main topics here is how to process a PDF with hybrid 
XRef stream/table. Hybrid Xrefs were introduced to allow 1.4x and earlier 
parsers to process the PDF while 1.5 onwards should process and follow the xref 
stream. Normally there is no need to switch between these two so we either 
process the xref stream or the xref table. 

> Not able to read the custom metadata in trailer section
> -------------------------------------------------------
>
>                 Key: PDFBOX-3506
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3506
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.3, 2.1.0
>         Environment: Windows 7, PDF version 1.5
>            Reporter: Kent Lee
>         Attachments: PDFBOX-3506.pdf, test.pdf
>
>
> When using below code does not able to retrieve custom metadata stored in 
> trailer section of pdf
> PDDocumentInformation documentInformation = document.getDocumentInformation();
>               Set<String> customMetadataKeys = 
> documentInformation.getMetadataKeys();
> Pdfbox 1.8.12 does not have this issues



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to