Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

how to show the outline related to the text from using pdf2txt #143

Open
jjhesk opened this issue Aug 22, 2016 · 1 comment
Open

how to show the outline related to the text from using pdf2txt #143

jjhesk opened this issue Aug 22, 2016 · 1 comment

Comments

@jjhesk
Copy link

jjhesk commented Aug 22, 2016

I am confused about the dumpdf for the outline. I have read about the note and guideline but it doesnt work. https://www.binpress.com/tutorial/manipulating-pdfs-with-python/167 and it might the similar cause by #74 . Can you explain a bit more? @euske assume there is a block of text discovered from the miner and how can we use to bookmark command to allocation which character in the block contains such bookmark symbol?

@euske
Copy link
Owner

euske commented Sep 11, 2016

You can't. You could match up the coordinates of each character and the location of a bookmark, but there isn't any standardized way to do this. A bookmark is just a point in a page, not associated with any letter or characters.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants