Hi. I want to manipulate a texttable in a textdocument. Therefore I read the dev-guide, but didn't get a view right now. Has anybody some codesnipe for orientation? At time I have the following code:
XTextTablesSupplier xTSupplier = (XTextTablesSupplier)UnoRuntime.queryInterface(XTextTablesSupplier.class, this.ooDoc);
XNameAccess xNameTextTables = xTSupplier.getTextTables();
Object textTable = xNameTextTables.getByName("table_statistics_hiddensheets");
XTableRows xTRows = (XTableRows)UnoRuntime.queryInterface(XTableRows.class, textTable);
Now how can I iterate from row to row and cell to cell? I know that cell are adressed in a row like "A1, B1, ..." but how can I get access to the cells?
Regards
Hardie
Manipulate TextTable
Manipulate TextTable
OOo 2.3.X on Ms Windows XP
Re: Manipulate TextTable
http://api.openoffice.org/docs/common/r ... Range.html
http://api.openoffice.org/docs/common/r ... Range.html
http://api.openoffice.org/docs/common/r ... Range.html
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice