How to fetch cross reference URI link ?
I have been trying few python libraries to read data from a PDF made using FrameMaker. I am able to fetch hyperlinks that point to external public web pages. But I am not able to find the hyperlink URI for cross reference links. For example,
This is the annotation for cross reference hyperlinks.
{'/A': IndirectObject(2374, 0), '/BS': {'/S': '/S', '/Type': '/Border', '/W': 0}, '/Border': [0, 0, 0], '/Rect': [53.9978, 711.363, 131.515, 699.124], '/Subtype': '/Link', '/Type': '/Annot'}
This is the annotation for external hyperlinks.
{'/A': {'/S': '/URI', '/URI': 'https://en.wikipedia.org/wiki/Apple_Inc.'}, '/BS': {'/S': '/S', '/Type': '/Border', '/W': 0}, '/Border': [0, 0, 0], '/Rect': [53.9978, 673.685, 178.073, 661.685], '/Subtype': '/Link', '/Type': '/Annot'}
How can I fetch an URI like link for cross reference hyperlinks to open the pdf in a new tab, not redirect within the same tab, pointing to the exact section/figure/table mentioned in cross reference link?
