python-poppler
python-poppler copied to clipboard
Is it possible to know the order of the text blocks
Firstly, thanks for your contribution thus far.
I've been using Poppler for a while now and it is not clear how to sort the boxes that we receive.
I noticed in Poppler there is a "PopplerStructureElement" https://poppler.freedesktop.org/api/glib/PopplerStructureElement.html , which, I believe, allow us to understand which box comes after which.
Is there a way to replicate this? Or is there an alternative way to know the order for certain?
Thanks in advance