<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - automatic row height in reports"
href="https://bugs.freedesktop.org/show_bug.cgi?id=45789#c24">Comment # 24</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - automatic row height in reports"
href="https://bugs.freedesktop.org/show_bug.cgi?id=45789">bug 45789</a>
from <span class="vcard"><a class="email" href="mailto:lionel@mamane.lu" title="Lionel Elie Mamane <lionel@mamane.lu>"> <span class="fn">Lionel Elie Mamane</span></a>
</span></b>
<pre>The reportbuilder creates an odt file (OpenDocument text), but not through
Writer. It creates the XML directly and *then* starts writer on it for display
/ print / etc.
When working on it, I've found the ODF reference a good help to understand what
is being generated and what needs to be generated.
<a href="https://lists.oasis-open.org/archives/tc-announce/201201/msg00001.html">https://lists.oasis-open.org/archives/tc-announce/201201/msg00001.html</a>
Here, in particular, we are generating tables
<a href="http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1415580_253892949">http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1415580_253892949</a>
Need to find how in the XML a table row with automatic height is coded. To find
out that kind of things, create an odt document with writer, with a table. Save
it. Then make *one* change, namely changing *one* row to "automatic height".
Save it under a different name. Compare the two documents (that is, the XML
that is within the ZIP structure). xmlindent is your friend. Most probably one
attribute is added/changed in the <table:table-row> element.
That's the result you need to produce in ReportBuilder when the "AutoGrow"
feature is on.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>