#[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,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:aggregationInfo")]
pub struct AggregationInfo {
#[sdk(attr(qname = ":aggregationType"))]
pub aggregation_type: AggregationType,
#[sdk(attr(qname = ":sourceField"))]
pub source_field: crate::simple_type::UInt32Value,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:featureSupportInfo")]
pub struct FeatureSupport {
#[sdk(attr(qname = ":featureName"))]
pub feature_name: crate::simple_type::StringValue,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:pivotFieldSubtotals")]
pub struct PivotFieldSubtotals {
#[sdk(child(qname = "xlpcalc:subtotal"))]
pub subtotal_pivot_item_subtotal: Vec<SubtotalPivotItemSubtotal>,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:pivotAreaReferenceSubtotals")]
pub struct PivotAreaReferenceSubtotals {
#[sdk(child(qname = "xlpcalc:subtotal"))]
pub pivot_subtotal_type: Vec<PivotSubtotalType>,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:pivotFieldSubtotalLineItems")]
pub struct PivotTableSubtotalLineItems {
#[sdk(child(qname = "xlpcalc:subtotalLineItem"))]
pub subtotal_line_item_pivot_item_subtotal: Vec<SubtotalLineItemPivotItemSubtotal>,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:subtotal")]
pub struct SubtotalPivotItemSubtotal {
#[sdk(attr(qname = ":subtotalType"))]
pub subtotal_type: AggregationType,
#[sdk(attr(qname = ":itemLocation"))]
pub item_location: crate::simple_type::UInt32Value,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:subtotalLineItem")]
pub struct SubtotalLineItemPivotItemSubtotal {
#[sdk(attr(qname = ":subtotalType"))]
pub subtotal_type: AggregationType,
#[sdk(attr(qname = ":itemLocation"))]
pub item_location: crate::simple_type::UInt32Value,
}
#[derive(Clone, Debug, Default, PartialEq, ooxmlsdk_derive::SdkType)]
#[sdk(qname = "xlpcalc:subtotal")]
pub struct PivotSubtotalType {
#[sdk(attr(qname = ":subtotalType"))]
pub subtotal_type: AggregationType,
}