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

Igor Podolskiy commented on PDFBOX-90:
--------------------------------------

It just so happens that I needed the page labels support for my work, too, so I 
implemented it :)

The attached patch applies to current trunk (r896671) and contains the three 
new classes for page label support and a minor modification to 
PDDocumentCatalog to get access to them. The PDNumberTreeNode class is more or 
less a copy of the PDNameTreeNode but with integers as keys instead of name 
(just as described in the PDF specification). PDPageLabels and PDPageLabelRange 
are the actual page label stuff implementation.

It would be nice if you could include this in the main PDFBox tree. If you find 
something wrong with it, I'd be happy to make the corrections (we can discuss 
it either here or on the dev mailing list).

Igor

> Support explicit retrieval of page labels
> -----------------------------------------
>
>                 Key: PDFBOX-90
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-90
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: PDModel
>         Attachments: pdfbox-90.patch
>
>
> [imported from SourceForge]
> http://sourceforge.net/tracker/index.php?group_id=78314&atid=552835&aid=1283254
> Originally submitted by cvonsee on 2005-09-06 11:26.
> Please include methods in PDPage (or elsewhere) to
> allow explicit retrieval of page label information for
> the current page and for all pages.  Retrieved
> information should include everything that is available
> from the PDF, including page numbering style, label
> prefix and page number for current page.
> Thanks! Keep up the good work!
> Chris von See

-- 
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