I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2006-10-30 10:53:17-08 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