Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bookmark feature available? #98

Open
sludgeFudge opened this issue Oct 21, 2024 · 1 comment
Open

Bookmark feature available? #98

sludgeFudge opened this issue Oct 21, 2024 · 1 comment

Comments

@sludgeFudge
Copy link

Is there a way to create bookmarks like with pdftk?

From How to Export and Import PDF Bookmarks:

Export PDF bookmarks, metadata, etc. to a file:

pdftk C:\Users\Sid\Desktop\doc.pdf dump_data output C:\Users\Sid\Desktop\doc_data.txt

Edit bookmarks accordingly:

BookmarkBegin
BookmarkTitle: PDF Reference (Version 1.5)
BookmarkLevel: 1
BookmarkPageNumber: 1
BookmarkBegin
BookmarkTitle: Contents
BookmarkLevel: 2
BookmarkPageNumber: 3

Import PDF bookmarks from a edited file:

pdftk C:\Users\Sid\Desktop\doc.pdf update_info C:\Users\Sid\Desktop\doc_data.txt output C:\Users\Sid\Desktop\updated.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@sludgeFudge and others