OpenOffice-OODoc - Re: Using tables (sections) from oowriter templates

Posted on Thu Sep 22 12:59:17 2005 by jmgdoc in response to 1020 (See the whole thread of 6)
Re: Using tables (sections) from oowriter templates

When you have a table handle (previously returned by getTable for example) you can get the table name using the generic getAttribute method, knowing that the name attribute is 'table:name'. Ex:
my $t = $doc->getTable($number); my $name = $doc->getAttribute($t, 'table:name');

In a future release, I'll probably introduce a more smart tableName read/write accessor (renameTable is already available).
Direct Responses: 1254 | Write a response