List Info

Thread: Row height




Row height
user name
2006-10-30 10:53:25
   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:

<code>
$styles->createStyle
	(
		"DataRowHeight",
		family => 'table-row',
		properties =>
		{
			'style:min-row-height' => '2cm',
			'style:row-height' => '2cm'
			#'fo:use-optimal-row-height' => 'true'
		}
	);
</code>


And then apply the style:
<code>
$document->->rowStyle($table, 0,
'DataRowHeight');
</code>

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

To write a respons, access
http://ww
w.cpanforum.com/response_form/3366

To see the full thread, access
http://www.cpan
forum.com/threads/3366

--
You are getting this messages from www.cpanforum.com
To change your subscription information visit http://www.cpanforum.
com/mypan/

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )