OpenOffice-OODoc - Cell style definition

Posted on Mon Oct 29 19:28:58 2007 by ag888
Cell style definition
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
Direct Responses: 6369 | Write a response