Since these two functions are index based we should check
nGroupIdx >= MAXSUBTOTAL even if we only pass '0' in nGroupIdx, because
later maybe can be used multiple (3) groups in Table Styles Total rows.
Follow-up: d5c36d5e775fa48c011570eb876317c21727baa0
(Table Styles: fix not removed total function in case of)
Change-Id: Iad2981d2c82bd58f16b7bea72faeb5c51bc77635
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199472
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga@collabora.com>
Extending Table area with Total rows on and off.
Moving Table total row when we extend table area.
Show and hide/remove total row with Show Total Row buttom.
Handle Undo / Redo of resized table area.
Handle TotalsFunction (only subtotal so far - TODO) in Total row.
Handle TotalsRowLabel (also OOXML import export) in Total row.
Fix rendering issue after undo dbrange of table styles change.
TODO: handle not only Subtotal functions
TODO: Autofilter dropdown shows not only Table area values
TODO: Redo, remove autofilter flags after undo/redo horizontal
table extension (adding columns)
cherry-pick from: bb9998dcbadd81a71f97921e4ee2ff1921eefee1
Change-Id: Ifaa3df0693d716cf22e566244c449f85dcd91d8a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192920
Reviewed-by: Balazs Varga <balazs.varga@collabora.com>
Tested-by: Balazs Varga <balazs.varga@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193678
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196746
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197972
Tested-by: Jenkins
With this option we can set where the summary rows should appear,
above or below the datas when we create a new Subtotal area. The default
option is "True" (which means the summary rows are below the datas)
when we create a new subtotal area. Unless if we already have one subtotal
area on the same sheet, in that case the sheet level property, "TotalsRowBelow"
contains where should the summary rows be for the new Subtotal's.
TODO: add new ODF xml attribute for Summary below
Change-Id: Icf86c85041d75c24919cb528846d5bb2b517ca78
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175556
Tested-by: Jenkins
Reviewed-by: Balazs Varga <balazs.varga.extern@allotropia.de>
Sadly cannot forward declare "struct {...} TimeValue;".
rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h
was painful enough for now...
Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05