[Bug 45789] automatic row height in reports

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 29 05:13:08 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=45789

--- Comment #24 from Lionel Elie Mamane <lionel at mamane.lu> ---
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.
https://lists.oasis-open.org/archives/tc-announce/201201/msg00001.html

Here, in particular, we are generating tables
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1415580_253892949
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140829/66822708/attachment.html>


More information about the LibreOffice mailing list