Manipulate TextTable

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
Hardie82
Posts: 5
Joined: Fri Oct 24, 2008 3:08 pm

Manipulate TextTable

Post by Hardie82 »

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
OOo 2.3.X on Ms Windows XP
User avatar
Villeroy
Volunteer
Posts: 31363
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Manipulate TextTable

Post by Villeroy »

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
Post Reply