1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
//
// -----------------------------------------------------------------------------
// THIS FILE WAS @generated AUTOMATICALLY. DO NOT MODIFY THIS FILE MANUALLY.
// -----------------------------------------------------------------------------
//
#[derive(Copy, Clone, Debug, Default, PartialEq, Eq, Hash, ooxmlsdk_derive::SdkEnum)]
pub enum AggregationType {
#[sdk(rename = "distinctCount")]
#[default]
DistinctCount,
#[sdk(rename = "median")]
Median,
#[sdk(rename = "distinctDuplicates")]
DistinctDuplicates,
#[sdk(rename = "countValuesDuplicated")]
CountValuesDuplicated,
#[sdk(rename = "countRepeatValues")]
CountRepeatValues,
}
/// Defines the AggregationInfo Class.
///
/// Available in Microsoft365 and above.
///
/// When the object is serialized out as xml, it's qualified name is xlpcalc:aggregationInfo.
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:CT_AggregationInfo/xlpcalc:aggregationInfo")]
pub struct AggregationInfo {
/// aggregationType
///
/// Available in Microsoft365 and above.
///
/// Represents the following attribute in the schema: :aggregationType
#[sdk(attr(qname = ":aggregationType"))]
pub aggregation_type: AggregationType,
/// sourceField
///
/// Available in Microsoft365 and above.
///
/// Represents the following attribute in the schema: :sourceField
#[sdk(attr(qname = ":sourceField"))]
pub source_field: crate::simple_type::UInt32Value,
}
/// Defines the FeatureSupport Class.
///
/// Available in Microsoft365 and above.
///
/// When the object is serialized out as xml, it's qualified name is xlpcalc:featureSupportInfo.
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:CT_FeatureSupport/xlpcalc:featureSupportInfo")]
pub struct FeatureSupport {
/// featureName
///
/// Available in Microsoft365 and above.
///
/// Represents the following attribute in the schema: :featureName
#[sdk(attr(qname = ":featureName"))]
pub feature_name: crate::simple_type::StringValue,
}
/// Defines the PivotFieldSubtotals Class.
///
/// Available in Microsoft365 and above.
///
/// When the object is serialized out as xml, it's qualified name is xlpcalc:pivotFieldSubtotals.
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:CT_PivotFieldSubtotals/xlpcalc:pivotFieldSubtotals")]
pub struct PivotFieldSubtotals {
/// _
#[sdk(child(qname = "xlpcalc:CT_PivotItemSubtotal/xlpcalc:subtotal"))]
pub xlpcalc_subtotal: Vec<SubtotalPivotItemSubtotal>,
}
/// Defines the PivotAreaReferenceSubtotals Class.
///
/// Available in Microsoft365 and above.
///
/// When the object is serialized out as xml, it's qualified name is xlpcalc:pivotAreaReferenceSubtotals.
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:CT_PivotAreaReferenceSubtotals/xlpcalc:pivotAreaReferenceSubtotals")]
pub struct PivotAreaReferenceSubtotals {
/// _
#[sdk(child(qname = "xlpcalc:CT_PivotSubtotalType/xlpcalc:subtotal"))]
pub xlpcalc_subtotal: Vec<PivotSubtotalType>,
}
/// Defines the PivotTableSubtotalLineItems Class.
///
/// Available in Microsoft365 and above.
///
/// When the object is serialized out as xml, it's qualified name is xlpcalc:pivotFieldSubtotalLineItems.
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:CT_PivotTableSubtotalLineItems/xlpcalc:pivotFieldSubtotalLineItems")]
pub struct PivotTableSubtotalLineItems {
/// _
#[sdk(child(qname = "xlpcalc:CT_PivotItemSubtotal/xlpcalc:subtotalLineItem"))]
pub xlpcalc_subtotal_line_item: Vec<SubtotalLineItemPivotItemSubtotal>,
}
/// Defines the SubtotalPivotItemSubtotal Class.
///
/// Available in Microsoft365 and above.
///
/// When the object is serialized out as xml, it's qualified name is xlpcalc:subtotal.
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:CT_PivotItemSubtotal/xlpcalc:subtotal")]
pub struct SubtotalPivotItemSubtotal {
/// subtotalType
///
/// Available in Microsoft365 and above.
///
/// Represents the following attribute in the schema: :subtotalType
#[sdk(attr(qname = ":subtotalType"))]
pub subtotal_type: AggregationType,
/// itemLocation
///
/// Available in Microsoft365 and above.
///
/// Represents the following attribute in the schema: :itemLocation
#[sdk(attr(qname = ":itemLocation"))]
pub item_location: crate::simple_type::UInt32Value,
}
/// Defines the SubtotalLineItemPivotItemSubtotal Class.
///
/// Available in Microsoft365 and above.
///
/// When the object is serialized out as xml, it's qualified name is xlpcalc:subtotalLineItem.
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:CT_PivotItemSubtotal/xlpcalc:subtotalLineItem")]
pub struct SubtotalLineItemPivotItemSubtotal {
/// subtotalType
///
/// Available in Microsoft365 and above.
///
/// Represents the following attribute in the schema: :subtotalType
#[sdk(attr(qname = ":subtotalType"))]
pub subtotal_type: AggregationType,
/// itemLocation
///
/// Available in Microsoft365 and above.
///
/// Represents the following attribute in the schema: :itemLocation
#[sdk(attr(qname = ":itemLocation"))]
pub item_location: crate::simple_type::UInt32Value,
}
/// Defines the OpenXmlPivotItemSubtotalElement Class.
///
/// Available in Microsoft365 and above.
///
/// When the object is serialized out as xml, it's qualified name is .
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:CT_PivotItemSubtotal/")]
pub struct OpenXmlPivotItemSubtotalElement {
/// subtotalType
///
/// Available in Microsoft365 and above.
///
/// Represents the following attribute in the schema: :subtotalType
#[sdk(attr(qname = ":subtotalType"))]
pub subtotal_type: AggregationType,
/// itemLocation
///
/// Available in Microsoft365 and above.
///
/// Represents the following attribute in the schema: :itemLocation
#[sdk(attr(qname = ":itemLocation"))]
pub item_location: crate::simple_type::UInt32Value,
}
/// Defines the PivotSubtotalType Class.
///
/// Available in Microsoft365 and above.
///
/// When the object is serialized out as xml, it's qualified name is xlpcalc:subtotal.
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:CT_PivotSubtotalType/xlpcalc:subtotal")]
pub struct PivotSubtotalType {
/// subtotalType
///
/// Available in Microsoft365 and above.
///
/// Represents the following attribute in the schema: :subtotalType
#[sdk(attr(qname = ":subtotalType"))]
pub subtotal_type: AggregationType,
}