Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hello,

While walking all paragraphs of a Writer document and visiting their text
content, I come across text portions (the Heading N) which have Bookmarks
whose name is something like “_Toc263250771”. However, when I walk the 
paragraphs and text portions that actually make up the ToC of the document
itself, I see no indication or reference to these bookmarks.

Likewise, when I get the ToC of the document I can find some information
about entries, where it’s anchored on the page, but no actual “unfolded”
content.

Question is also posted in the forum including some code snippets:

  https://forum.openoffice.org/en/forum/viewtopic.php?t=91448

Is there an association between the XDocumentIndex object (the ToC index
of the document) and the XTextContent objects (paragraphs that make the
actual ToC content) and how can I find it?

Thanks!
Jens

-- 
Jens Tröger
http://savage.light-speed.de/

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.