• Lionel Elie Mamane's avatar
    fdo#52948 fix print-repeated-values=no with formatted values · 3b605c98
    Lionel Elie Mamane yazdı
    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
    Reviewed-on: https://gerrit.libreoffice.org/2255Reviewed-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
    Tested-by: 's avatarFridrich Strba <fridrich@documentfoundation.org>
    3b605c98
Adı
Son kayıt (commit)
Son güncelleme
..
images Loading commit data...
inc Loading commit data...
prj Loading commit data...
qa/complex/reportdesign Loading commit data...
source Loading commit data...
uiconfig/dbreport Loading commit data...
util Loading commit data...
AllLangResTarget_rpt.mk Loading commit data...
AllLangResTarget_rptui.mk Loading commit data...
JunitTest_reportdesign_complex.mk Loading commit data...
Library_rpt.mk Loading commit data...
Library_rptui.mk Loading commit data...
Library_rptxml.mk Loading commit data...
Makefile Loading commit data...
Module_reportdesign.mk Loading commit data...
Package_uiconfig.mk Loading commit data...
README Loading commit data...