Comment on [help] Are there tools for documents manipulating that can provide an approximate size of components (text included)?

take6056@feddit.nl ⁨9⁩ ⁨months⁩ ago

I would look into a library that does manipulation of odt (or docx). Code whatever algorithm you need to do the restructuring. Now your left with an in memory representation of the document that you can hopefully figure out how many pages it spans, or save it to a temporary file.

All depends really on how feature rich the odt libraries are and/or how deep you want to dive into the spec.

I feel like this is an XY problem. Is there an underlying issue your trying to resolve?

source
Sort:hotnewtop