|
Hi
First of all, thanks, this is great! I'm also having some problems with styles:
$style_doc = ooStyles(file => "blank.sxw", member => STYLES);
$style_doc->createStyle .... 'Colour'
followed by:
foreach $row ( @$row_ref) {
my $text = join(":",@$row[3..5]) ;
$doc->textStyle($text,'Colour') ;
my $cell = $doc->getCell("Directory$table_counter",$row_counter, $column_counter);
$doc->cellValue($cell, $text);
and finally:
$doc->save("directory.sxw");
$style_doc->save("directory.sxw");
gives me nice tabular output but I can't find the custom style anywhere when I unzip
directory.sxw and look at it with an editor..and, of course, no custom style applied.
I think I've misunderstood (at least) one thing about how to build the structures,
but, even after reading the doc, I'm not sure what!
Best regards Hugh Barnard
|