Skip to main content
Inspiring
October 12, 2023
Question

Creating a link to a page label (logical number) instead of the physical page number

  • October 12, 2023
  • 1 reply
  • 520 views

I have a PDF that's 100 pages, where the user created custom page labels.  The first 25 pages use roman numerals for page numbers and then page 26 is labeled as page 1 and continues until the end.  Is it possible to link to the page label reference of  a page?  For example, can I create a link (either through UI or javascript) that will link to page label 50 which is technically page 75 of 100?  Normally, I would just link to page 75 but I have multiple documents that have a different amount of roman numeral pages at the beginning and I'm trying to automate this.  Linking to a page label number would be easier because that's the reference provided to me by an external source.  See attachment for an example of what I'm trying to link too.  It's the logical number in the square.

 

Thanks.

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
October 12, 2023

A script can be used to do that, yes. You would need to scan all the labels in the file each time the link is clicked, though, looking for a match to the value you pass to it from the code associated with the link object. When a match is found, you browse to that page using its physical page number. I don't believe that's possible in any other way.