summaryrefslogtreecommitdiff
path: root/schema
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 /schema
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 'schema')
-rw-r--r--schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng23
1 files changed, 23 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
index fa38694f9cff..f772ce223f35 100644
--- a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
+++ b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
@@ -2525,6 +2525,29 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
</rng:optional>
</rng:define>
+ <!-- TODO no proposal -->
+ <rng:define name="table-data-pilot-table-attlist" combine="interleave">
+ <rng:optional>
+ <rng:attribute name="loext:show-drill-down-buttons">
+ <rng:ref name="boolean"/>
+ </rng:attribute>
+ </rng:optional>
+ </rng:define>
+
+ <!-- TODO no proposal for pivot table compact layout-->
+ <rng:define name="table-data-pilot-layout-info-attlist" combine="interleave">
+ <rng:optional>
+ <rng:attribute name="loext:layout-mode">
+ <rng:choice>
+ <rng:value>tabular-layout</rng:value>
+ <rng:value>outline-subtotals-top</rng:value>
+ <rng:value>outline-subtotals-bottom</rng:value>
+ <rng:value>compact-layout</rng:value>
+ </rng:choice>
+ </rng:attribute>
+ </rng:optional>
+ </rng:define>
+
<!-- TODO no proposal, 9009663d -->
<rng:define name="chart-chart-attlist" combine="interleave">
<rng:optional>