CPAN::Forum
OpenOffice-OODoc - Row height
| Posted on Mon Oct 30 12:53:17 2006 by nrodriguez |
| Row height |
|
Hello.
I've tried to set a specific height to a row, but it hasn't been able to do it. I've read the only way to do it is by setting a style. I've created a style like this:
$styles->createStyle
(
"DataRowHeight",
family => 'table-row',
properties =>
{
'style:min-row-height' => '2cm',
'style:row-height' => '2cm'
#'fo:use-optimal-row-height' => 'true'
}
);
And then apply the style:
$document->{styles}->rowStyle($table, 0, 'DataRowHeight');
which should be set the first row of the table "$table" to 2cm. What am I doing wrong?
If I set a style in a openoffice document, and take the style with the same function rowStyle, i properly get it. But it only runs for formatting style (font, color, borders...). It cannot specify the heihgt of a row in the style.
Does anyone have any idea?
Thank you
|
| Direct Responses: 3389 | 3437 | Write a response |
(4)
]