|
I'm trying to figure out how to access cells in a Calc spreadsheet. The
following creates a spreadsheet with "hello" in cell 0,0... but no "world" in
0,1. What's missing here?
use OpenOffice::OODoc;
my $doc = odfDocument(
file=>'ttab.ods',create=>'spreadsheet',part=>'content'
);
$doc->autoSheetNormalizationOn('full');
my $sheet = $doc->getTable(0, 20, 20);
$doc->cellValue($sheet,0,0,"hello");
$doc->cellValue($sheet,0,1,"world");
$doc->save;
|