From 260caebf8a2382bcde1fb9ff74ceb1b940654e6f Mon Sep 17 00:00:00 2001 From: Ilhan Yesil Date: Tue, 8 May 2018 14:17:56 +0200 Subject: 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 Tested-by: Jenkins --- offapi/com/sun/star/report/XReportComponent.idl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'offapi') diff --git a/offapi/com/sun/star/report/XReportComponent.idl b/offapi/com/sun/star/report/XReportComponent.idl index d7089eae9c8c..fd48f3d5cb1b 100644 --- a/offapi/com/sun/star/report/XReportComponent.idl +++ b/offapi/com/sun/star/report/XReportComponent.idl @@ -84,6 +84,16 @@ interface XReportComponent set raises ( com::sun::star::beans::PropertyVetoException ); }; + /** Specifies that the control containing data shall automatically grow to the optimal height + to show the data without wasting space. + */ + + [attribute, bound] boolean AutoGrow + { + set raises(com::sun::star::beans::UnknownPropertyException); + get raises(com::sun::star::beans::UnknownPropertyException); + }; + /** specifies the border style of the control.
-- 
cgit