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


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

--- Comment #49 from Lionel Elie Mamane <lionel@mamane.lu> ---
(In reply to kerem from comment #45)
(In reply to Lionel Elie Mamane from comment #44)

The saving of the report definition happens in C++, in
reportdesign/source/filter/xml/
I think it is particularly in reportdesign/source/filter/xml/xmlExport.cxx
function void ORptExport::exportContainer(const Reference< XSection>&
_xSection)
looks relevant; need to set the right attribute or style for "automatic
height" there.

Okey I understand. So I change something in function void
ORptExport::exportContainer(const Reference< XSection>&_xSection). I change
that about the "automatic height", is true? In addition to, are there any
your suggestions? 

Sorry it took me so long to answer. Basically, yes, that is my guess, but that
is about step 3 from comment 22. We also (first?) need to do steps 1 and 2 from
comment 22. See also comment 24 and comment 26.

To summarise: the work is to add a property "AutoGrow" to every control. It
needs to be added to the control models and to the UI that allows to user to
set that property. Then, in RptExport::exportContainer, if any of the controls
of this row has "AutoGrow" set to true, then set the "automatic row height"
attribute" on the whole row.

Code pointers are in comment 22, except that in step 3, the code pointer is
probably wrong and should be replaced by what I say in comment 44. Steps 1 and
2 are still valid. Sorry for the mixup.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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.