06-22-2022, 07:05 AM | #1 |
Groupie
Posts: 181
Karma: 304158
Join Date: Jan 2016
Device: none
|
Get list of sections to add bookmarks?
Hello,
I'd like to add bookmarks to an existing PDF that has none. Is there a way to parse a PDF and extract its structure into a text file, which I could then feed to cpdf? Code:
cpdf.exe -add-bookmarks bookmarks.txt input.pdf -o output.pdf --- Edit: Since each kind of title (H1, H2, etc.) are formatted in a specific way, it might be possible to find all objects that match (font + size). https://resources.infosecinstitute.c...sic-structure/ Last edited by Shohreh; 06-23-2022 at 12:55 PM. |
07-04-2022, 07:43 PM | #2 | |
Fuzzball, the purple cat
Posts: 1,286
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
Quote:
|
|
Advert | |
|
07-09-2022, 09:02 AM | #3 |
Groupie
Posts: 181
Karma: 304158
Join Date: Jan 2016
Device: none
|
Thanks for the tip.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to create a reading list and add book to the list? | clearskyid | Library Management | 1 | 07-05-2021 01:32 PM |
Bookmarks/sections completely wrong after conversion to PDF | mzso | Conversion | 4 | 03-02-2018 05:35 AM |
Add sections to book | Christine V | Kindle Formats | 2 | 05-14-2015 07:08 AM |
add to calibre help sections? | bauerhjb | Calibre | 0 | 02-17-2012 07:04 PM |