OpenOffice-OODoc - Re: empty cell or col bug or feature of getTableText in 2.113 dist?

Posted on Wed Sep 6 04:37:48 2006 by phil in response to 2806 (See the whole thread of 18)
Re: empty cell or col bug or feature of getTableText in 2.113 dist?
using:
XML::Twig 3.26 (and 3.27 development)
OpenOffice::OODoc::Text 2.225

I see the same problem when calling normalizeSheet. It appears twig doesn't like an expression being passed to it.

I need to finish something yesterday, so I haven't really looked harder, but as an untested workaround, I did this to _expand_row() in OODdoc's Text.pm (line 2220):

original:
my @cells = $row->selectChildElements ('table:(covered-|)table-cell');
changed to:
my @cells = $row->selectChildElements ('table:covered-table-cell'); push(@cells, $row->selectChildElements ('table:table-cell'));

matt, what version of twig are you running?

Direct Responses: 2928 | Write a response