What you're describing are not page numbers, but page labels. Page numbers are not mutable. They are the actual number of each page according to its position in the file. The page labels, on the other hand, can be modified. The page labels can be accessed via the Document Catalog's getPageLabels and setPageLabels methods, and they're represented by a PDPageLabels<http://pdfbox.apache.org/apidocs/org/apache/pdfbox/pdmodel/common/PDPageLabels.html>object.
On Sat, Nov 9, 2013 at 10:34 AM, Sara RaeesMohammadi <[email protected] > wrote: > Dear Sir/Madam, > > I am using pdfbox in my java project for manipulate pdf files. I need > actual page number of pdf file. For example If the first page have number > same as "i" and twenty pages is "18" I could have new file with this page > number format. Is it any way that I could produce this format? > > Thank you for consideration, > Sara

