summaryrefslogtreecommitdiff
path: root/reportdesign/source/filter/xml/xmlExport.hxx
diff options
context:
space:
mode:
authorIlhan Yesil <ilhanyesil@gmx.de>2018-05-08 14:17:56 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2019-09-13 10:45:01 +0200
commit260caebf8a2382bcde1fb9ff74ceb1b940654e6f (patch)
treedcf1cea94f62144c9ae533cba3e6bf7040bb1e81 /reportdesign/source/filter/xml/xmlExport.hxx
parentd27e70fce2acfc9b14f2f07c9096daa50dc2acd8 (diff)
tdf#45789 [API CHANGE] Automatic row height in reports
The controls have now an AutoGrow flag which is saved as style:min-row-height instead of style:row-height on style:table-row-properties in content.xml. In this case the table row height will be allowed to grow to accommodate the content. Note: in the conceptual model of reportdesigner this is a per-control property but in the current implementation, it is a per-row property in the ODF file. Thus, as soon as one control in the row has the AutoGrow property set, they all do. Change-Id: I95c25599e06af0f2f12e72a7cfc0881206f02039 Reviewed-on: https://gerrit.libreoffice.org/53977 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Jenkins
Diffstat (limited to 'reportdesign/source/filter/xml/xmlExport.hxx')
-rw-r--r--reportdesign/source/filter/xml/xmlExport.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/reportdesign/source/filter/xml/xmlExport.hxx b/reportdesign/source/filter/xml/xmlExport.hxx
index 5f71c3d25e37..97355c888158 100644
--- a/reportdesign/source/filter/xml/xmlExport.hxx
+++ b/reportdesign/source/filter/xml/xmlExport.hxx
@@ -131,6 +131,7 @@ private:
void exportReportComponentAutoStyles(const Reference<XSection>& _xProp);
void collectComponentStyles();
void collectStyleNames(sal_Int32 _nFamily,const ::std::vector< sal_Int32>& _aSize, std::vector<OUString>& _rStyleNames);
+ void collectStyleNames(sal_Int32 _nFamily,const ::std::vector< sal_Int32>& _aSize, const ::std::vector< sal_Int32>& _aSizeAutoGrow, std::vector<OUString>& _rStyleNames);
void exportParagraph(const Reference< XReportControlModel >& _xReportElement);
bool exportFormula(enum ::xmloff::token::XMLTokenEnum eName,const OUString& _sFormula);
void exportGroupsExpressionAsFunction(const Reference< XGroups>& _xGroups);