OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (OFFICE-3884) Custom display names in data pilot tables


     [ https://issues.oasis-open.org/browse/OFFICE-3884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andras Timar updated OFFICE-3884:
---------------------------------

    Proposal: 
https://wiki.oasis-open.org/office/display_names_in_data_pilot

Scheme diff as requested on TC call on 2015-06-22:
--- OpenDocument-v1.2-os-schema.rng	2015-03-19 10:26:06.000000000 +0100
+++ OpenDocument-v1.2-os-schema-pivot.rng	2015-07-05 22:40:43.447730926 +0200
@@ -4747,6 +4747,32 @@
 			</zeroOrMore>
 		</element>
 	</define>
+	<define name="table-display-name">
+		<interleave>
+			<optional>
+				<attribute name="table:display-name">
+					<ref name="string"/>
+				</attribute>
+			</optional>
+		<interleave>
+	</define>
+	<define name="table-data-pilot-grand-total">
+		<element name="table:data-pilot-grand-total">
+			<group>
+				<attribute name="table:orientation">
+					<choice>
+						<value>row</value>
+						<value>column</value>
+						<value>both</value>
+					</choice>
+				</attribute>
+				<attribute name="table:display">
+					<ref name="boolean"/>
+				</attribute>
+				<ref name="table-display-name"/>
+			</group>
+		</element>    
+	</define>
 	<define name="table-data-pilot-table">
 		<element name="table:data-pilot-table">
 			<ref name="table-data-pilot-table-attlist"/>
@@ -4759,6 +4785,9 @@
 					<ref name="table-source-cell-range"/>
 				</choice>
 			</optional>
+			<zeroOrMore>
+				<ref name="table-data-pilot-grand-total"/>
+			</zeroOrMore>
 			<oneOrMore>
 				<ref name="table-data-pilot-field"/>
 			</oneOrMore>
@@ -4922,6 +4951,7 @@
 					<ref name="integer"/>
 				</attribute>
 			</optional>
+			<ref name="table-display-name"/>
 		</interleave>
 	</define>
 	<define name="table-data-pilot-level">
@@ -4965,23 +4995,30 @@
 		</element>
 	</define>
 	<define name="table-data-pilot-subtotal-attlist">
-		<attribute name="table:function">
-			<choice>
-				<value>auto</value>
-				<value>average</value>
-				<value>count</value>
-				<value>countnums</value>
-				<value>max</value>
-				<value>min</value>
-				<value>product</value>
-				<value>stdev</value>
-				<value>stdevp</value>
-				<value>sum</value>
-				<value>var</value>
-				<value>varp</value>
-				<ref name="string"/>
-			</choice>
-		</attribute>
+		<choice>
+			<attribute name="table:function">
+				<choice>
+					<value>average</value>
+					<value>count</value>
+					<value>countnums</value>
+					<value>max</value>
+					<value>min</value>
+					<value>product</value>
+					<value>stdev</value>
+					<value>stdevp</value>
+					<value>sum</value>
+					<value>var</value>
+					<value>varp</value>
+					<ref name="string"/>
+				</choice>
+			</attribute>
+			<group>
+				<attribute name="table:function"> 
+					<value>auto</value>
+				</attribute> 
+				<ref name="table-display-name"/>
+			</group>
+		</choice>
 	</define>
 	<define name="table-data-pilot-members">
 		<element name="table:data-pilot-members">
@@ -5011,6 +5048,7 @@
 					<ref name="boolean"/>
 				</attribute>
 			</optional>
+			<ref name="table-display-name"/>
 		</interleave>
 	</define>
 	<define name="table-data-pilot-display-info">

  was:https://wiki.oasis-open.org/office/display_names_in_data_pilot


> Custom display names in data pilot tables
> -----------------------------------------
>
>                 Key: OFFICE-3884
>                 URL: https://issues.oasis-open.org/browse/OFFICE-3884
>             Project: OASIS Open Document Format for Office Applications (OpenDocument) TC
>          Issue Type: New Feature
>            Reporter: Andras Timar
>            Assignee: Andras Timar
>             Fix For: ODF 1.3
>
>
> Support for custom display names in data pilot tables.



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]