|
Pelase help in the investigation of behaviour of the fragment:
use OpenOffice::OODoc;
my $doc = ooDocument(file => 'tttsty.odt', create => 'spreadsheet');
my $sheet = $doc->getTable(0, 5, 5);
$sty = $doc->createStyle("RRR",
parent => 'Default',
properties => {'fo:text-align' => 'Right'});
$doc->cellValue($sheet,0,0,"aaa");
$doc->cellStyle($sheet,0,0,"RRR");
$doc->save;
RRR style is not have been saved to the document.
What wrong in this script?
OODoc version = 2.035
|