| View previous topic :: View next topic |
| Author |
Message |
kuzhie General User

Joined: 08 Feb 2004 Posts: 26
|
Posted: Mon Feb 23, 2004 6:25 pm Post subject: Add row to existing TextTable |
|
|
Hi All,
I've created a doc from template which has a texttable on it. I can get the texttable object by the following code:
XTextTablesSupplier xTextTablesSupplier = (XTextTablesSupplier)UnoRuntime.queryInterface(
XTextTablesSupplier.class, xTemplateComponent);
XNameAccess xNamedTextTables = xTextTablesSupplier.getTextTables();
Object objTextTable = xNamedTextTables.getByName("InvItem");
Then I have no clue as how I can add row to text table from code;
Heellppppp !!!!!!!!!
Kusuma |
|
| Back to top |
|
 |
dfrench Moderator

Joined: 03 Mar 2003 Posts: 1605 Location: Wellington, New Zealand
|
Posted: Mon Feb 23, 2004 7:39 pm Post subject: |
|
|
insertByIndex method of xTableRows interface
see 7.3.4 Tables in the Dev Guide |
|
| Back to top |
|
 |
|