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


On 21.06.19 13:22, Adomas Venčkauskas wrote:
Hello,

I need my Java extension to iterate over all hyperlinks in a Writer document. This is fine with Paragraph TextPortion enumeration, but no portion enumeration is available in TextTables. What would be the best way to enumerate all hyperlinks in TextTables?

you first need to enumerate the cells in the table, then the cells implement XText so you can enumerate the paragraphs in the cells like the paragraphs in the top-level body text.

to enumerate the cells i guess you can use getCellNames().

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.