Hi, Gesendet: Mo, 06. Sep 2010 Von: ????????????? ??????????<[email protected]>
> How can I know the logical page numbers of the pdf-document using PDFBox?
> For example:
> logical page <-> physical page
> i <-> 1
> ii <-> 2
> 1 <-> 3
> 2 <-> 4
The following code should do the trick:
PDDocument document = PDDocument.load("test.pdf");
PDPageLabels labels = document.getDocumentCatalog().getPageLabels();
BR
Andreas Lehmkühler

