Document page numbers not starting with first page

29 views
Skip to first unread message

Volker Andres

unread,
Jun 8, 2017, 1:16:45 PM6/8/17
to PDFTron WebViewer
Hi,

We have a document which starts not with the number 1 on the first page but with something like I, II, III, IV and then with 1,2,3,4,...800. Is there a way to support this so that when you go to page number X, you go to number X within the document and not to the index X of all pages?

Best Regards,
Volker

Justin Jung

unread,
Jun 9, 2017, 7:32:24 PM6/9/17
to PDFTron WebViewer on behalf of Volker Andres
Hello Volker,

WebViewer does not support custom page numbering at the moment.
You could tweak the UI so that the page numbers are adjusted in the page number box. Easiest way to do that is to modify ReaderControl.js. You would want to look at $('#pageNumberBox').keyup handler and pageNumberUpdated event handler and adjust the page numbers here.

Justin Jung
Software Developer
PDFTron Systems Inc.
Reply all
Reply to author
Forward
0 new messages