You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Navendu Garg (JIRA)" <ji...@apache.org> on 2009/09/16 17:31:58 UTC

[jira] Created: (PDFBOX-532) getPageLabels method for PDocumentCatalog class.

getPageLabels method for PDocumentCatalog class.
------------------------------------------------

                 Key: PDFBOX-532
                 URL: https://issues.apache.org/jira/browse/PDFBOX-532
             Project: PDFBox
          Issue Type: Improvement
          Components: PDModel
            Reporter: Navendu Garg
            Priority: Minor


I had a requirement for adding page labels  (See PDF Reference
(http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf, page 374
(12.4.2 Page Labels). Since PDFBox does not have this functionality
currently. I ended up implementing it. 

The code contains on public method getPageLabels(), which should become a part of the PDDocumentCatalog API. This method returns an array of page labels. The array size corresponds to the number of pages in the document.

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


[jira] Updated: (PDFBOX-532) getPageLabels method for PDocumentCatalog class.

Posted by "Navendu Garg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Navendu Garg updated PDFBOX-532:
--------------------------------

    Comment: was deleted

(was: This file contains code to extract PageLabels from a PDF document.)

> getPageLabels method for PDocumentCatalog class.
> ------------------------------------------------
>
>                 Key: PDFBOX-532
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-532
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>            Reporter: Navendu Garg
>            Priority: Minor
>         Attachments: PageLabelExtractor.java, test_pagelabels.pdf, TestPageLabelExtractor.java
>
>
> I had a requirement for adding page labels  (See PDF Reference
> (http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf, page 374
> (12.4.2 Page Labels). Since PDFBox does not have this functionality
> currently. I ended up implementing it. 
> The code contains on public method getPageLabels(), which should become a part of the PDDocumentCatalog API. This method returns an array of page labels. The array size corresponds to the number of pages in the document.

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


[jira] Updated: (PDFBOX-532) getPageLabels method for PDocumentCatalog class.

Posted by "Navendu Garg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Navendu Garg updated PDFBOX-532:
--------------------------------

    Attachment:     (was: Page Labels code.txt)

> getPageLabels method for PDocumentCatalog class.
> ------------------------------------------------
>
>                 Key: PDFBOX-532
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-532
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>            Reporter: Navendu Garg
>            Priority: Minor
>
> I had a requirement for adding page labels  (See PDF Reference
> (http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf, page 374
> (12.4.2 Page Labels). Since PDFBox does not have this functionality
> currently. I ended up implementing it. 
> The code contains on public method getPageLabels(), which should become a part of the PDDocumentCatalog API. This method returns an array of page labels. The array size corresponds to the number of pages in the document.

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


[jira] Updated: (PDFBOX-532) getPageLabels method for PDocumentCatalog class.

Posted by "Navendu Garg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Navendu Garg updated PDFBOX-532:
--------------------------------

    Attachment: test_pagelabels.pdf
                TestPageLabelExtractor.java
                PageLabelExtractor.java

In order to run the test case, test_pagelabels.pdf should be placed under src/test/resources/org/apache/pdfbox/pdmodel directory.

> getPageLabels method for PDocumentCatalog class.
> ------------------------------------------------
>
>                 Key: PDFBOX-532
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-532
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>            Reporter: Navendu Garg
>            Priority: Minor
>         Attachments: PageLabelExtractor.java, test_pagelabels.pdf, TestPageLabelExtractor.java
>
>
> I had a requirement for adding page labels  (See PDF Reference
> (http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf, page 374
> (12.4.2 Page Labels). Since PDFBox does not have this functionality
> currently. I ended up implementing it. 
> The code contains on public method getPageLabels(), which should become a part of the PDDocumentCatalog API. This method returns an array of page labels. The array size corresponds to the number of pages in the document.

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


[jira] Updated: (PDFBOX-532) getPageLabels method for PDocumentCatalog class.

Posted by "Navendu Garg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Navendu Garg updated PDFBOX-532:
--------------------------------

    Attachment: Page Labels code.txt

This file contains code to extract PageLabels from a PDF document.

> getPageLabels method for PDocumentCatalog class.
> ------------------------------------------------
>
>                 Key: PDFBOX-532
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-532
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>            Reporter: Navendu Garg
>            Priority: Minor
>         Attachments: Page Labels code.txt
>
>
> I had a requirement for adding page labels  (See PDF Reference
> (http://www.adobe.com/devnet/acrobat/pdfs/PDF32000_2008.pdf, page 374
> (12.4.2 Page Labels). Since PDFBox does not have this functionality
> currently. I ended up implementing it. 
> The code contains on public method getPageLabels(), which should become a part of the PDDocumentCatalog API. This method returns an array of page labels. The array size corresponds to the number of pages in the document.

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