Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add August 2024 XSD updates #1781

Merged
merged 6 commits into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions data/namespaces.json
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,11 @@
"Uri": "http://schemas.microsoft.com/office/spreadsheetml/2016/pivotdefaultlayout",
"Version": "Office2019"
},
{
"Prefix": "xprd",
"Uri": "http://schemas.microsoft.com/office/spreadsheetml/2022/pivotRichData",
"Version": "Microsoft365"
},
{
"Prefix": "xr",
"Uri": "http://schemas.microsoft.com/office/spreadsheetml/2014/revision",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"TargetNamespace": "http://schemas.microsoft.com/office/spreadsheetml/2022/pivotRichData",
"Types": [
{
"Name": "xprd:CT_PivotCacheRichInfo/xprd:richInfo",
"ClassName": "PivotCacheRichInfo",
"Summary": "Defines the PivotCacheRichInfo Class.",
"BaseClass": "OpenXmlLeafElement",
"IsLeafElement": true,
"Version": "Microsoft365",
"Attributes": [
{
"QName": ":pivotCacheGuid",
"Type": "StringValue",
"Version": "Microsoft365",
"PropertyComments": "pivotCacheGuid",
"Validators": [
{
"Name": "RequiredValidator"
},
{
"Arguments": [
{
"Type": "Boolean",
"Name": "IsToken",
"Value": "True"
},
{
"Type": "String",
"Name": "Pattern",
"Value": "\\{[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\\}"
}
],
"Name": "StringValidator",
"IsInitialVersion": true
}
]
},
{
"QName": ":pivotIgnoreInvalidCache",
"Type": "BooleanValue",
"Version": "Microsoft365",
"PropertyComments": "pivotIgnoreInvalidCache"
},
{
"QName": "r:id",
"Type": "StringValue",
"Version": "Microsoft365",
"PropertyComments": "id"
}
]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@
{
"Version": "Microsoft365",
"Value": "median"
},
{
"Version": "Microsoft365",
"Value": "distinctDuplicates"
},
{
"Version": "Microsoft365",
"Value": "countValuesDuplicated"
},
{
"Version": "Microsoft365",
"Value": "countRepeatValues"
}
],
"Version": "Microsoft365"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24271,9 +24271,17 @@
"Name": "xsd:boolean/xxpim:implicitMeasureSupport",
"PropertyName": "Xsdboolean"
},
{
"Name": "xprd:CT_PivotCacheRichInfo/xprd:richInfo",
"PropertyName": "PivotCacheRichInfo"
},
{
"Name": "xxpvi:CT_CacheVersionInfo/xxpvi:cacheVersionInfo",
"PropertyName": "CacheVersionInfo"
},
{
"Name": "xsd:boolean/xlpar:autoRefresh",
"PropertyName": "Xsdboolean"
}
],
"Particle": {
Expand All @@ -24299,10 +24307,18 @@
"Name": "xsd:boolean/xxpim:implicitMeasureSupport",
"InitialVersion": "Office2021"
},
{
"Name": "xprd:CT_PivotCacheRichInfo/xprd:richInfo",
"InitialVersion": "Microsoft365"
},
{
"Name": "xxpvi:CT_CacheVersionInfo/xxpvi:cacheVersionInfo",
"InitialVersion": "Microsoft365"
},
{
"Name": "xsd:boolean/xlpar:autoRefresh",
"InitialVersion": "Microsoft365"
},
{
"Kind": "Any",
"Occurs": [
Expand Down
4 changes: 4 additions & 0 deletions data/typed/namespaces.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@
"Prefix": "xxl21",
"Namespace": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021"
},
{
"Prefix": "xprd",
"Namespace": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotRichData"
},
{
"Prefix": "xxpvi",
"Namespace": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotVersionInfo"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
{
"Name": "xprd:CT_PivotCacheRichInfo/xprd:richInfo",
"ClassName": "PivotCacheRichInfo"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ internal partial class OpenXmlNamespaceResolver
{ "http://schemas.microsoft.com/office/excel/2006/main", "xne" },
{ "http://schemas.microsoft.com/office/spreadsheetml/2019/namedsheetviews", "xnsv" },
{ "http://schemas.microsoft.com/office/spreadsheetml/2016/pivotdefaultlayout", "xpdl" },
{ "http://schemas.microsoft.com/office/spreadsheetml/2022/pivotRichData", "xprd" },
{ "http://schemas.microsoft.com/office/spreadsheetml/2014/revision", "xr" },
{ "http://schemas.microsoft.com/office/spreadsheetml/2016/revision10", "xr10" },
{ "http://schemas.microsoft.com/office/spreadsheetml/2017/revision16", "xr16" },
Expand Down Expand Up @@ -328,6 +329,7 @@ internal partial class OpenXmlNamespaceResolver
{ "xne", "http://schemas.microsoft.com/office/excel/2006/main" },
{ "xnsv", "http://schemas.microsoft.com/office/spreadsheetml/2019/namedsheetviews" },
{ "xpdl", "http://schemas.microsoft.com/office/spreadsheetml/2016/pivotdefaultlayout" },
{ "xprd", "http://schemas.microsoft.com/office/spreadsheetml/2022/pivotRichData" },
{ "xr", "http://schemas.microsoft.com/office/spreadsheetml/2014/revision" },
{ "xr10", "http://schemas.microsoft.com/office/spreadsheetml/2016/revision10" },
{ "xr16", "http://schemas.microsoft.com/office/spreadsheetml/2017/revision16" },
Expand Down Expand Up @@ -495,6 +497,7 @@ internal partial class OpenXmlNamespaceResolver
{ "xne", FileFormatVersions.Office2007 },
{ "xnsv", FileFormatVersions.Office2021 },
{ "xpdl", FileFormatVersions.Office2019 },
{ "xprd", FileFormatVersions.Microsoft365 },
{ "xr", FileFormatVersions.Office2016 },
{ "xr10", FileFormatVersions.Office2019 },
{ "xr16", FileFormatVersions.Office2019 },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14903,6 +14903,18 @@ public static partial class NoNamespace
/// </remarks>
public static readonly XName pivotButton = "pivotButton";

/// <summary>
/// Represents the pivotCacheGuid XML attribute.
/// </summary>
/// <remarks>
/// <para>As an XML attribute, it:</para>
/// <list type="bullet">
/// <item><description>is contained in the following XML elements: <see cref="XPRD.richInfo" />.</description></item>
/// <item><description>corresponds to the following strongly-typed properties: PivotCacheRichInfo.PivotCacheGuid.</description></item>
/// </list>
/// </remarks>
public static readonly XName pivotCacheGuid = "pivotCacheGuid";

/// <summary>
/// Represents the pivotCacheId XML attributes.
/// </summary>
Expand All @@ -14915,6 +14927,18 @@ public static partial class NoNamespace
/// </remarks>
public static readonly XName pivotCacheId = "pivotCacheId";

/// <summary>
/// Represents the pivotIgnoreInvalidCache XML attribute.
/// </summary>
/// <remarks>
/// <para>As an XML attribute, it:</para>
/// <list type="bullet">
/// <item><description>is contained in the following XML elements: <see cref="XPRD.richInfo" />.</description></item>
/// <item><description>corresponds to the following strongly-typed properties: PivotCacheRichInfo.PivotIgnoreInvalidCache.</description></item>
/// </list>
/// </remarks>
public static readonly XName pivotIgnoreInvalidCache = "pivotIgnoreInvalidCache";

/// <summary>
/// Represents the pivotShowAs XML attribute.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ public static partial class R
/// <remarks>
/// <para>As an XML attribute, it:</para>
/// <list type="bullet">
/// <item><description>is contained in the following XML elements: <see cref="A14.contentPart" />, <see cref="A1611.picAttrSrcUrl" />, <see cref="C.externalData" />, <see cref="CDR14.contentPart" />, <see cref="CX.externalData" />, <see cref="O.OLEObject" />, <see cref="P.contentPart" />, <see cref="P.control" />, <see cref="P.custData" />, <see cref="P.handoutMasterId" />, <see cref="P.htmlPubPr" />, <see cref="P.notesMasterId" />, <see cref="P.oleObj" />, <see cref="P.sld" />, <see cref="P.sldId" />, <see cref="P.sldLayoutId" />, <see cref="P.sldMasterId" />, <see cref="P.tags" />, <see cref="P188.commentRel" />, <see cref="V.fill" />, <see cref="V.imagedata" />, <see cref="V.stroke" />, <see cref="W.altChunk" />, <see cref="W.contentPart" />, <see cref="W.control" />, <see cref="W.hyperlink" />, <see cref="W.objectEmbed" />, <see cref="W.objectLink" />, <see cref="W.saveThroughXslt" />, <see cref="W14.contentPart" />, <see cref="WE.webextensionref" />, <see cref="WETP.webextensionref" />, <see cref="WNE.toolbarData" />, <see cref="X.control" />, <see cref="X.controlPr" />, <see cref="X.customPr" />, <see cref="X.dataRef" />, <see cref="X.drawing" />, <see cref="X.drawingHF" />, <see cref="X.externalBook" />, <see cref="X.externalReference" />, <see cref="X.header" />, <see cref="X.hyperlink" />, <see cref="X.objectPr" />, <see cref="X.oleLink" />, <see cref="X.oleObject" />, <see cref="X.pageSetup" />, <see cref="X.picture" />, <see cref="X.pivotCache" />, <see cref="X.pivotCacheDefinition" />, <see cref="X.pivotSelection" />, <see cref="X.rangeSet" />, <see cref="X.sheet" />, <see cref="X.tablePart" />, <see cref="X.worksheetSource" />, <see cref="X14.slicer" />, <see cref="X14.slicerCache" />, <see cref="X15.pivotTableReference" />, <see cref="X15.timelineCacheRef" />, <see cref="X15.timelineRef" />, <see cref="XDR.contentPart" />, <see cref="XDR14.contentPart" />.</description></item>
/// <item><description>corresponds to the following strongly-typed properties: AltChunk.Id, ChartSheetPageSetup.Id, CommentRelationship.Id, ContentPart.Id, ContentPart.RelationshipId, Control.Id, ControlProperties.Id, CustomerData.Id, CustomerDataTags.Id, CustomProperty.Id, DataReference.Id, Drawing.Id, DrawingHeaderFooter.Id, EmbeddedObjectProperties.Id, ExternalBook.Id, ExternalData.Id, ExternalReference.Id, Fill.RelationshipId, GvmlContentPart.RelationshipId, HandoutMasterId.Id, Header.Id, HtmlPublishProperties.Id, Hyperlink.Id, HyperlinkRuby.Id, ImageData.RelationshipId, NotesMasterId.Id, ObjectEmbed.Id, ObjectLink.Id, OleLink.Id, OleObject.Id, OutlineViewSlideListEntry.Id, PageSetup.Id, Picture.Id, PictureAttributionSourceURL.Id, PivotCache.Id, PivotCacheDefinition.Id, PivotSelection.Id, PivotTableReference.Id, RangeSet.Id, SaveThroughXslt.Id, Sheet.Id, SlicerCache.Id, SlicerRef.Id, SlideId.RelationshipId, SlideLayoutId.RelationshipId, SlideListEntry.Id, SlideMasterId.RelationshipId, Stroke.RelationshipId, TablePart.Id, TimelineCacheReference.Id, TimelineReference.Id, ToolbarData.Id, WebExtensionPartReference.Id, WebExtensionReference.Id, WorksheetSource.Id.</description></item>
/// <item><description>is contained in the following XML elements: <see cref="A14.contentPart" />, <see cref="A1611.picAttrSrcUrl" />, <see cref="C.externalData" />, <see cref="CDR14.contentPart" />, <see cref="CX.externalData" />, <see cref="O.OLEObject" />, <see cref="P.contentPart" />, <see cref="P.control" />, <see cref="P.custData" />, <see cref="P.handoutMasterId" />, <see cref="P.htmlPubPr" />, <see cref="P.notesMasterId" />, <see cref="P.oleObj" />, <see cref="P.sld" />, <see cref="P.sldId" />, <see cref="P.sldLayoutId" />, <see cref="P.sldMasterId" />, <see cref="P.tags" />, <see cref="P188.commentRel" />, <see cref="V.fill" />, <see cref="V.imagedata" />, <see cref="V.stroke" />, <see cref="W.altChunk" />, <see cref="W.contentPart" />, <see cref="W.control" />, <see cref="W.hyperlink" />, <see cref="W.objectEmbed" />, <see cref="W.objectLink" />, <see cref="W.saveThroughXslt" />, <see cref="W14.contentPart" />, <see cref="WE.webextensionref" />, <see cref="WETP.webextensionref" />, <see cref="WNE.toolbarData" />, <see cref="X.control" />, <see cref="X.controlPr" />, <see cref="X.customPr" />, <see cref="X.dataRef" />, <see cref="X.drawing" />, <see cref="X.drawingHF" />, <see cref="X.externalBook" />, <see cref="X.externalReference" />, <see cref="X.header" />, <see cref="X.hyperlink" />, <see cref="X.objectPr" />, <see cref="X.oleLink" />, <see cref="X.oleObject" />, <see cref="X.pageSetup" />, <see cref="X.picture" />, <see cref="X.pivotCache" />, <see cref="X.pivotCacheDefinition" />, <see cref="X.pivotSelection" />, <see cref="X.rangeSet" />, <see cref="X.sheet" />, <see cref="X.tablePart" />, <see cref="X.worksheetSource" />, <see cref="X14.slicer" />, <see cref="X14.slicerCache" />, <see cref="X15.pivotTableReference" />, <see cref="X15.timelineCacheRef" />, <see cref="X15.timelineRef" />, <see cref="XDR.contentPart" />, <see cref="XDR14.contentPart" />, <see cref="XPRD.richInfo" />.</description></item>
/// <item><description>corresponds to the following strongly-typed properties: AltChunk.Id, ChartSheetPageSetup.Id, CommentRelationship.Id, ContentPart.Id, ContentPart.RelationshipId, Control.Id, ControlProperties.Id, CustomerData.Id, CustomerDataTags.Id, CustomProperty.Id, DataReference.Id, Drawing.Id, DrawingHeaderFooter.Id, EmbeddedObjectProperties.Id, ExternalBook.Id, ExternalData.Id, ExternalReference.Id, Fill.RelationshipId, GvmlContentPart.RelationshipId, HandoutMasterId.Id, Header.Id, HtmlPublishProperties.Id, Hyperlink.Id, HyperlinkRuby.Id, ImageData.RelationshipId, NotesMasterId.Id, ObjectEmbed.Id, ObjectLink.Id, OleLink.Id, OleObject.Id, OutlineViewSlideListEntry.Id, PageSetup.Id, Picture.Id, PictureAttributionSourceURL.Id, PivotCache.Id, PivotCacheDefinition.Id, PivotCacheRichInfo.Id, PivotSelection.Id, PivotTableReference.Id, RangeSet.Id, SaveThroughXslt.Id, Sheet.Id, SlicerCache.Id, SlicerRef.Id, SlideId.RelationshipId, SlideLayoutId.RelationshipId, SlideListEntry.Id, SlideMasterId.RelationshipId, Stroke.RelationshipId, TablePart.Id, TimelineCacheReference.Id, TimelineReference.Id, ToolbarData.Id, WebExtensionPartReference.Id, WebExtensionReference.Id, WorksheetSource.Id.</description></item>
/// </list>
/// </remarks>
public static readonly XName id = r + "id";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1454,7 +1454,7 @@ public static partial class X
/// <para>As an XML element, it:</para>
/// <list type="bullet">
/// <item><description>has the following parent XML elements: <see cref="extLst" />, <see cref="X14.extLst" />, <see cref="X15.extLst" />, <see cref="XFPB.extLst" />, <see cref="XLMSFORMS.extLst" />, <see cref="XLRD.extLst" />, <see cref="XLRD2.extLst" />, <see cref="XLRDWI.extLst" />, <see cref="XLTC.extLst" />, <see cref="XNSV.extLst" />.</description></item>
/// <item><description>has the following child XML elements: <see cref="X14.cacheField" />, <see cref="X14.cacheHierarchy" />, <see cref="X14.calculatedMember" />, <see cref="X14.conditionalFormattings" />, <see cref="X14.connection" />, <see cref="X14.dataField" />, <see cref="X14.dataValidations" />, <see cref="X14.definedNames" />, <see cref="X14.dxfs" />, <see cref="X14.id" />, <see cref="X14.ignoredErrors" />, <see cref="X14.pivotCacheDefinition" />, <see cref="X14.pivotCaches" />, <see cref="X14.pivotField" />, <see cref="X14.pivotHierarchy" />, <see cref="X14.pivotTableDefinition" />, <see cref="X14.protectedRanges" />, <see cref="X14.slicerCaches" />, <see cref="X14.slicerList" />, <see cref="X14.slicerStyles" />, <see cref="X14.sourceConnection" />, <see cref="X14.sparklineGroups" />, <see cref="X14.table" />, <see cref="X14.workbookPr" />, <see cref="X15.cachedUniqueNames" />, <see cref="X15.cacheHierarchy" />, <see cref="X15.calculatedMember" />, <see cref="X15.connection" />, <see cref="X15.dataField" />, <see cref="X15.dataModel" />, <see cref="X15.dxfs" />, <see cref="X15.movingPeriodState" />, <see cref="X15.pivotCacheDecoupled" />, <see cref="X15.pivotCacheIdVersion" />, <see cref="X15.pivotCaches" />, <see cref="X15.pivotFilter" />, <see cref="X15.pivotTableData" />, <see cref="X15.pivotTableReferences" />, <see cref="X15.pivotTableUISettings" />, <see cref="X15.queryTable" />, <see cref="X15.slicerCacheHideItemsWithNoData" />, <see cref="X15.slicerCachePivotTables" />, <see cref="X15.slicerCaches" />, <see cref="X15.tableSlicerCache" />, <see cref="X15.timelineCachePivotCaches" />, <see cref="X15.timelineCacheRefs" />, <see cref="X15.timelinePivotCacheDefinition" />, <see cref="X15.timelineRefs" />, <see cref="X15.timelineStyles" />, <see cref="X15.webExtensions" />, <see cref="X15.workbookPr" />, <see cref="XLECS.externalCodeService" />, <see cref="XLMSFORMS.msForm" />, <see cref="XXPIM.implicitMeasureSupport" />, <see cref="XXPVI.cacheVersionInfo" />, <see cref="XXPVI.pivotVersionInfo" />.</description></item>
/// <item><description>has the following child XML elements: <see cref="X14.cacheField" />, <see cref="X14.cacheHierarchy" />, <see cref="X14.calculatedMember" />, <see cref="X14.conditionalFormattings" />, <see cref="X14.connection" />, <see cref="X14.dataField" />, <see cref="X14.dataValidations" />, <see cref="X14.definedNames" />, <see cref="X14.dxfs" />, <see cref="X14.id" />, <see cref="X14.ignoredErrors" />, <see cref="X14.pivotCacheDefinition" />, <see cref="X14.pivotCaches" />, <see cref="X14.pivotField" />, <see cref="X14.pivotHierarchy" />, <see cref="X14.pivotTableDefinition" />, <see cref="X14.protectedRanges" />, <see cref="X14.slicerCaches" />, <see cref="X14.slicerList" />, <see cref="X14.slicerStyles" />, <see cref="X14.sourceConnection" />, <see cref="X14.sparklineGroups" />, <see cref="X14.table" />, <see cref="X14.workbookPr" />, <see cref="X15.cachedUniqueNames" />, <see cref="X15.cacheHierarchy" />, <see cref="X15.calculatedMember" />, <see cref="X15.connection" />, <see cref="X15.dataField" />, <see cref="X15.dataModel" />, <see cref="X15.dxfs" />, <see cref="X15.movingPeriodState" />, <see cref="X15.pivotCacheDecoupled" />, <see cref="X15.pivotCacheIdVersion" />, <see cref="X15.pivotCaches" />, <see cref="X15.pivotFilter" />, <see cref="X15.pivotTableData" />, <see cref="X15.pivotTableReferences" />, <see cref="X15.pivotTableUISettings" />, <see cref="X15.queryTable" />, <see cref="X15.slicerCacheHideItemsWithNoData" />, <see cref="X15.slicerCachePivotTables" />, <see cref="X15.slicerCaches" />, <see cref="X15.tableSlicerCache" />, <see cref="X15.timelineCachePivotCaches" />, <see cref="X15.timelineCacheRefs" />, <see cref="X15.timelinePivotCacheDefinition" />, <see cref="X15.timelineRefs" />, <see cref="X15.timelineStyles" />, <see cref="X15.webExtensions" />, <see cref="X15.workbookPr" />, <see cref="XLECS.externalCodeService" />, <see cref="XLMSFORMS.msForm" />, <see cref="XLPAR.autoRefresh" />, <see cref="XPRD.richInfo" />, <see cref="XXPIM.implicitMeasureSupport" />, <see cref="XXPVI.cacheVersionInfo" />, <see cref="XXPVI.pivotVersionInfo" />.</description></item>
/// <item><description>has the following XML attributes: <see cref="NoNamespace.uri" />.</description></item>
/// <item><description>corresponds to the following strongly-typed classes: CacheFieldExtension, CacheHierarchyExtension, CacheSourceExtension, CalculatedMemberExtension, ConditionalFormattingRuleExtension, ConnectionExtension, DataFieldExtension, Extension, PivotCacheDefinitionExtension, PivotFieldExtension, PivotFilterExtension, PivotHierarchyExtension, PivotTableDefinitionExtension, QueryTableExtension, SlicerCacheDefinitionExtension, StylesheetExtension, TableExtension, WorkbookExtension, WorksheetExtension.</description></item>
/// </list>
Expand Down
Loading
Loading