I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2005-10-28 14:51:05-07 by bob in response to 1021
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: 1258 | 1256 | Write a response