Re: Writer TextTable access via the UNO API

2019-07-05 Thread Adomas Venčkauskas
Hi, Just to update for anyone who might find this useful, I ended up using the XTextRange interface of XCell to call #getText(), which returns an object that properly supports the full Text service and which ended up allowing me to iterate over paragraphs and text portions. Adomas On Fri, 21 Jun

Re: Writer TextTable access via the UNO API

2019-06-21 Thread Andrew Pitonyak
In OOME, I do not really discuss this, but, I do in AndrewMacro.odt where I claim (in the section "Enumerating cells in any text table" that you need to first use getCellNames() and then use getCellByName(aName). If you want to be even more complete, you may need to worry about things such as

Re: Writer TextTable access via the UNO API

2019-06-21 Thread Michael Stahl
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

Writer TextTable access via the UNO API

2019-06-21 Thread Adomas Venčkauskas
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? Adomas ___