From 532421d208f21531d55554a356dd51105ba718bf Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Tue, 19 Feb 2013 11:38:16 +0100 Subject: fdo#52948 fix print-repeated-values=no with formatted values Factorise the "should this element be printed" decision into an utility function, which is used by 1) AbstractReportElementLayoutController (in charge of non-formatted values: string, image, OLE object, ...) which already obeyed PrintRepeatedValues. 2) TableCellLayoutController (in charge of formatted values: dates, numbers, ...) which blissfully ignored PrintRepeatedValues, but obeyed the display condition. Rename the inconsistently named PrintWhenGroupChange PrintWhenGroupChanges print-only-when-group-change print-when-group-change to PrintWhenGroupChange / print-when-group-change Change the meaning of "PrintWhenGroupChange" to "override PrintRepeatedValues in first occurrence in group". Since this feature never worked under the old semantics, no loss of feature. Since we change the XML attribute name, no ascending compatibility problem: it will be reset to its default value. Pursuant to the new meaning of PrintWhenGroupChange, change its default to *true*, which is the sane default. Change-Id: Idbe8e90565a354f70db222d047b3d51eeddbbb9f --- offapi/com/sun/star/report/XReportControlModel.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'offapi') diff --git a/offapi/com/sun/star/report/XReportControlModel.idl b/offapi/com/sun/star/report/XReportControlModel.idl index ece9a7824750..45e76c00007a 100644 --- a/offapi/com/sun/star/report/XReportControlModel.idl +++ b/offapi/com/sun/star/report/XReportControlModel.idl @@ -66,7 +66,7 @@ interface XReportControlModel }; /** Specifies that the element gets printed when the group changes. - The default value is . + The default value is . */ [attribute,bound] boolean PrintWhenGroupChange { -- cgit