summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2023-01-25 13:51:17 +0530
committerDennis Francis <dennis.francis@collabora.com>2023-04-27 08:35:59 +0200
commit2f8d10b0b9baa03b8a713e9fd1342fe6c8094fb4 (patch)
treef008321e237e02ca032178711e27a16969718312 /offapi
parent292f422c421336c43bafe5ee048832137d617436 (diff)
sc: pivot table compact layout
This implements compact layout for pivot tables. In ooxml each row field can have a compact layout setting. Support for any such "mixed" layout of tabular/outline/compact per field is also implemented. This also implements expand/collpse toggle buttons to field labels to make pivot tables with compact layout more usable. Such buttons are also available if other layouts are used. Conflicts: sc/qa/unit/pivottable_filters_test.cxx sc/source/ui/cctrl/checklistmenu.cxx sc/source/ui/inc/checklistmenu.hxx Change-Id: Ieaa1f3bd282ebdec804d0b45a0af7b3d95a2027f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151057 Tested-by: Jenkins Reviewed-by: Dennis Francis <dennis.francis@collabora.com>
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/sheet/DataPilotFieldLayoutMode.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/offapi/com/sun/star/sheet/DataPilotFieldLayoutMode.idl b/offapi/com/sun/star/sheet/DataPilotFieldLayoutMode.idl
index 470b671a3028..4bbc233c674e 100644
--- a/offapi/com/sun/star/sheet/DataPilotFieldLayoutMode.idl
+++ b/offapi/com/sun/star/sheet/DataPilotFieldLayoutMode.idl
@@ -60,6 +60,18 @@ constants DataPilotFieldLayoutMode
const long OUTLINE_SUBTOTALS_BOTTOM = 2;
+ /** In compact layout mode, the items from the following field start in the row
+ below an item's name with an indentation but in the same column as this field's
+ items are.
+
+ <P>Subtotals are shown at the top (on the same row as the item's name). When
+ the subtotals take up more than one row (manually selected, or because there
+ are several data fields), they are always shown below the item's data,
+ regardless of the setting.</p>
+ */
+
+ const long COMPACT_LAYOUT = 3;
+
};