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

Posted on Fri Oct 28 17:51:05 2005 by bob in response to 1021 (See the whole thread of 6)
Re: Using tables (sections) from oowriter templates
If I understood Xpath I could probably do this more neatly, but it does return an ordered list of
table names.
sub my_getTableList { my $content=shift; my $count=scalar(($content->getTableList())) - 1; my @tables; for my $n (0 .. $count) { push (@tables, $content->getAttribute($content->getTable($n),'table:name')); } return(@tables); } # my-get-table-list
Direct Responses: 1256 | 1258 | Write a response