Quote:
Originally Posted by compurandom
I'd want to rely on external tools, so not sure how to make it cross platform.
|
There's no need, calibre bundles PoDoFo, which has functions to get the outline from an existing PDF. I dont think those functions are wrapped to expose them to python, but it should be a simple patch to podofo/doc.cpp to expose them.