How to open a file on a defined bookmark?

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
Peter2
User
Posts: 824
Joined: Mon Sep 13, 2010 10:09 am
Location: Switzerland

How to open a file on a defined bookmark?

Post by Peter2 » Tue Oct 18, 2016 3:37 pm

How can I open a PDF and jump to a defined bookmark? Like

Code: Select all

open  c:\test.pdf /bookmark "my first chapter"
Is there a standard definition for all PDF software (like the "open" and "print" stuff) or is it dependent on the currently installed software?
How to solve it as link from a HTML-file?

Thanks

Peter
PDF-X-Change Pro German

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13424
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: How to open a file on a defined bookmark?

Post by Tracker Supp-Stefan » Tue Oct 18, 2016 4:50 pm

Hi Peter,

I am afraid that this is not part of the standard specification, and could differ from application to application. Also bookmarks could e.g. execute script behind when clicked that performs some actions and not necessarily take you to a page in the document (bookmarks in a PDF file are more than just table of contents if mostly used for that purpose).

But you should be able to go to a

specific page:
http://www.domain.com/file.pdf#page=3

named destination (bookmarks could also point to such Named Destinations):
http://www.domain.com/file.pdf#nameddest=TOC

Regards,
Stefan

Post Reply