-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
[Feature request] add/modify bookmark #57
Comments
You already can manipulate the bookmarks data structure manually. Yes, I'd like to add this. Bookmarks have a lot of functionality associated. |
Thanks again ! |
Finally i got what I wanted by parsing and imitating existing cases.
|
@OnlyFor , what is the variable My quest is to find the page numbers that specifically a named bookmark refers to. I'm from the javascript world, so still trying to wrap my mind around python's style. Do you have any examples that show a list of the bookmarks + their properties (namely just "Title" and "Page")? |
Have a look at the PDF reference manual (ISO32000 2008) in section H.6 for a description of how the document outline works. In short it is a tree data structure and you have to decide how you want to traverse it. It's difficult to describe without diagrams. The reference manual is linked the pikepdf documentation. |
Thanks @jbarlow83 . I'll take a look. |
Amazing work !
Why not consider adding and editing bookmarks of pages (like PyPDF2),
thanks !
The text was updated successfully, but these errors were encountered: