OpenOffice-OODoc - Re: Cell style definition

Posted on Wed Oct 31 09:02:45 2007 by ag888 in response to 6369 (See the whole thread of 4)
Re: Cell style definition
Here the final of my investigation:
... $sty = $doc->createStyle("RRR", family => 'paragraph', parent => 'Standart', properties => { 'fo:text-align' => 'end', 'fo:color' => '#ff0000' } ); $doc->cellValue($sheet,1,1,"aaa"); #$doc->columnStyle($sheet,1,"Noname1"); # dont works (because Noname1 is the <table-cell +> style but not <table-column>) $doc->cellStyle($sheet,1,1,"Noname1"); # works only ! Noname1 - the style created by hands and +especially placed to OODoc templates #$doc->textStyle($doc->getCellParagraph($sheet,1,1), "Heading"); # cannot use <table-cell> styles ! +? - the ODF lack ? #$doc->setStyle($doc->getCell($sheet,1,1), "Noname1"); # it is acceptable combination of calls ? ...
It seems OpenOffice::OODoc dont leave (in present state?) sufficient facilities to full control of OO documents layout!? May be UNO make grant such things (i.e. full control)? But UNO at now is not fully-usable intended pure Open-Source style (OpenOffice-UNO have to build only with MS development tools)...
Direct Responses: 6372 | Write a response