Date: prev next · Thread: first prev next last
2018 Archives by date, by thread · List index


Hi,

The Base report builder produces Writer (odt) documents directly (it
spits out XML, not using Writer to produce it), and then opens them in
Writer. It uses tables heavily.

In the context of
https://bugs.documentfoundation.org/show_bug.cgi?id=45789
https://gerrit.libreoffice.org/53977
Ilhan prepared a patch to make Report Builder mark some rows of some
tables as "fit to size" in row height. By reading the OpenDocument
specification, I thought this would happen by setting the
style:use-optimal-row-height attribute on the row. However, it turns
out that Ilhan had to change some sw code for that to work, and that
made me suspicious whether that was the right thing to do.

I looked into the XML generated by Writer with "Fit to Size" enabled
and disabled, and apparently that checkbox in writer replaces
"style:row-height" by "style:min-row-height, and
style:use-optimal-row-height is nowhere to be seen.

Could a Writer expert please look at the sw changes in
https://gerrit.libreoffice.org/53977
and let us know whether these changes are right or wrong with respect
to OpenDocument? Is style:use-optimal-row-height supposed to override
style:row-height or vice-versa?

Thanks in advance,

-- 
Lionel

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.