From b1b6682b73de875a23db7ed805f5d549b930c867 Mon Sep 17 00:00:00 2001 From: Michael Bowen Date: Tue, 21 May 2024 12:53:30 -0700 Subject: [PATCH] add Feb24 Schema updates without specialized Extension and ExtensionList classes (#1721) --- data/namespaces.json | 20 + ...spreadsheetml_2022_featurepropertybag.json | 21 + ...readsheetml_2023_dataSourceVersioning.json | 76 + ...preadsheetml_2023_externalCodeService.json | 27 + ...com_office_spreadsheetml_2023_msForms.json | 159 + ...readsheetml_2023_pivot2023Calculation.json | 75 + ...mlformats_org_spreadsheetml_2006_main.json | 2950 ++++++------ data/typed/namespaces.json | 16 + ...spreadsheetml_2022_featurepropertybag.json | 4 + ...readsheetml_2023_dataSourceVersioning.json | 18 + ...preadsheetml_2023_externalCodeService.json | 6 + ...com_office_spreadsheetml_2023_msForms.json | 18 + ...readsheetml_2023_pivot2023Calculation.json | 10 + .../Namespaces.g.cs | 12 + .../Linq.NoNamespace.g.cs | 58 +- .../Linq.X.g.cs | 4 +- .../Linq.XLECS.g.cs | 31 + .../Linq.XLMSFORMS.g.cs | 57 + ...spreadsheetml_2022_featurepropertybag.g.cs | 40 + ...readsheetml_2023_dataSourceVersioning.g.cs | 198 + ...preadsheetml_2023_externalCodeService.g.cs | 66 + ...com_office_spreadsheetml_2023_msForms.g.cs | 322 ++ ...readsheetml_2023_pivot2023Calculation.g.cs | 145 + ...mlformats_org_spreadsheetml_2006_main.g.cs | 4184 +++++++++-------- .../ElementChildren.json | 88 + .../OpenXmlNamespaceTests.cs | 2 +- .../data/Particles.json | 166 +- 27 files changed, 5208 insertions(+), 3565 deletions(-) create mode 100644 data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_dataSourceVersioning.json create mode 100644 data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_externalCodeService.json create mode 100644 data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_msForms.json create mode 100644 data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_pivot2023Calculation.json create mode 100644 data/typed/schemas_microsoft_com_office_spreadsheetml_2023_dataSourceVersioning.json create mode 100644 data/typed/schemas_microsoft_com_office_spreadsheetml_2023_externalCodeService.json create mode 100644 data/typed/schemas_microsoft_com_office_spreadsheetml_2023_msForms.json create mode 100644 data/typed/schemas_microsoft_com_office_spreadsheetml_2023_pivot2023Calculation.json create mode 100644 generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.XLECS.g.cs create mode 100644 generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.XLMSFORMS.g.cs create mode 100644 generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_dataSourceVersioning.g.cs create mode 100644 generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_externalCodeService.g.cs create mode 100644 generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_msForms.g.cs create mode 100644 generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_pivot2023Calculation.g.cs diff --git a/data/namespaces.json b/data/namespaces.json index b3bfc1909..9b77f7f9a 100644 --- a/data/namespaces.json +++ b/data/namespaces.json @@ -611,6 +611,21 @@ "Uri": "http://schemas.microsoft.com/office/spreadsheetml/2022/featurepropertybag", "Version": "Microsoft365" }, + { + "Prefix": "xlecs", + "Uri": "http://schemas.microsoft.com/office/spreadsheetml/2023/externalCodeService", + "Version": "Microsoft365" + }, + { + "Prefix": "xlmsforms", + "Uri": "http://schemas.microsoft.com/office/spreadsheetml/2023/msForms", + "Version": "Microsoft365" + }, + { + "Prefix": "xlpcalc", + "Uri": "http://schemas.microsoft.com/office/spreadsheetml/2023/pivot2023Calculation", + "Version": "Microsoft365" + }, { "Prefix": "xlPr", "Uri": "http://schemas.microsoft.com/office/spreadsheetml/2016/01/main", @@ -717,6 +732,11 @@ "Prefix": "xvml", "Uri": "urn:schemas-microsoft-com:office:excel" }, + { + "Prefix": "xxdsv", + "Uri": "http://schemas.microsoft.com/office/spreadsheetml/2023/dataSourceVersioning", + "Version": "Microsoft365" + }, { "Prefix": "xxl21", "Uri": "http://schemas.microsoft.com/office/spreadsheetml/2021/extlinks2021", diff --git a/data/schemas/schemas_microsoft_com_office_spreadsheetml_2022_featurepropertybag.json b/data/schemas/schemas_microsoft_com_office_spreadsheetml_2022_featurepropertybag.json index c04606722..8c47b9abb 100644 --- a/data/schemas/schemas_microsoft_com_office_spreadsheetml_2022_featurepropertybag.json +++ b/data/schemas/schemas_microsoft_com_office_spreadsheetml_2022_featurepropertybag.json @@ -76,6 +76,27 @@ } ] }, + { + "Name": "xfpb:CT_DXFComplement/xfpb:DXFComplement", + "ClassName": "DXFComplement", + "Summary": "Defines the DXFComplement Class.", + "BaseClass": "OpenXmlLeafElement", + "IsLeafElement": true, + "Version": "Microsoft365", + "Attributes": [ + { + "QName": ":i", + "Type": "UInt32Value", + "Version": "Microsoft365", + "PropertyComments": "i", + "Validators": [ + { + "Name": "RequiredValidator" + } + ] + } + ] + }, { "Name": "xfpb:CT_BagExtensions/xfpb:bagExt", "ClassName": "BagExtensions", diff --git a/data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_dataSourceVersioning.json b/data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_dataSourceVersioning.json new file mode 100644 index 000000000..1c8506570 --- /dev/null +++ b/data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_dataSourceVersioning.json @@ -0,0 +1,76 @@ +{ + "TargetNamespace": "http://schemas.microsoft.com/office/spreadsheetml/2023/dataSourceVersioning", + "Types": [ + { + "Name": "xxdsv:CT_VersionInfo/xxdsv:versionInfo", + "ClassName": "VersionInfo", + "Summary": "Defines the VersionInfo Class.", + "BaseClass": "OpenXmlCompositeElement", + "Version": "Microsoft365", + "Children": [ + { + "Name": "xsd:string/xxdsv:requiredFeature" + }, + { + "Name": "xsd:string/xxdsv:lastRefreshFeature" + }, + { + "Name": "xsd:string/xxdsv:lastEditFeature" + } + ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Name": "xsd:string/xxdsv:requiredFeature", + "Occurs": [ + {} + ], + "InitialVersion": "Microsoft365" + }, + { + "Name": "xsd:string/xxdsv:lastRefreshFeature", + "Occurs": [ + {} + ], + "InitialVersion": "Microsoft365" + }, + { + "Name": "xsd:string/xxdsv:lastEditFeature", + "Occurs": [ + {} + ], + "InitialVersion": "Microsoft365" + } + ] + } + }, + { + "Name": "xsd:string/xxdsv:requiredFeature", + "ClassName": "RequiredFeatureXsdstring", + "Summary": "Defines the RequiredFeatureXsdstring Class.", + "BaseClass": "OpenXmlLeafTextElement", + "IsDerived": true, + "IsLeafText": true, + "Version": "Microsoft365" + }, + { + "Name": "xsd:string/xxdsv:lastRefreshFeature", + "ClassName": "LastRefreshFeatureXsdstring", + "Summary": "Defines the LastRefreshFeatureXsdstring Class.", + "BaseClass": "OpenXmlLeafTextElement", + "IsDerived": true, + "IsLeafText": true, + "Version": "Microsoft365" + }, + { + "Name": "xsd:string/xxdsv:lastEditFeature", + "ClassName": "LastEditFeatureXsdstring", + "Summary": "Defines the LastEditFeatureXsdstring Class.", + "BaseClass": "OpenXmlLeafTextElement", + "IsDerived": true, + "IsLeafText": true, + "Version": "Microsoft365" + } + ] +} \ No newline at end of file diff --git a/data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_externalCodeService.json b/data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_externalCodeService.json new file mode 100644 index 000000000..3341b1bd5 --- /dev/null +++ b/data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_externalCodeService.json @@ -0,0 +1,27 @@ +{ + "TargetNamespace": "http://schemas.microsoft.com/office/spreadsheetml/2023/externalCodeService", + "Types": [ + { + "Name": "xlecs:CT_ExternalCodeService/xlecs:externalCodeService", + "ClassName": "ExternalCodeService", + "Summary": "Defines the ExternalCodeService Class.", + "BaseClass": "OpenXmlLeafElement", + "IsLeafElement": true, + "Version": "Microsoft365", + "Attributes": [ + { + "QName": ":autoShow", + "Type": "UInt32Value", + "Version": "Microsoft365", + "PropertyComments": "autoShow" + }, + { + "QName": ":timeout", + "Type": "UInt32Value", + "Version": "Microsoft365", + "PropertyComments": "timeout" + } + ] + } + ] +} \ No newline at end of file diff --git a/data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_msForms.json b/data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_msForms.json new file mode 100644 index 000000000..1e3ad458b --- /dev/null +++ b/data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_msForms.json @@ -0,0 +1,159 @@ +{ + "TargetNamespace": "http://schemas.microsoft.com/office/spreadsheetml/2023/msForms", + "Types": [ + { + "Name": "xlmsforms:CT_Question/xlmsforms:question", + "ClassName": "Question", + "Summary": "Defines the Question Class.", + "CompositeType": "OneSequence", + "BaseClass": "OpenXmlCompositeElement", + "Version": "Microsoft365", + "Attributes": [ + { + "QName": ":id", + "Type": "StringValue", + "Version": "Microsoft365", + "PropertyComments": "id", + "Validators": [ + { + "Name": "RequiredValidator" + } + ] + } + ], + "Children": [ + { + "Name": "x:CT_ExtensionList/xlmsforms:extLst", + "PropertyName": "ExtensionList" + } + ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Name": "x:CT_ExtensionList/xlmsforms:extLst", + "Occurs": [ + { + "Max": 1 + } + ], + "InitialVersion": "Microsoft365" + } + ] + } + }, + { + "Name": "xlmsforms:CT_MsForm/xlmsforms:msForm", + "ClassName": "MsForm", + "Summary": "Defines the MsForm Class.", + "BaseClass": "OpenXmlCompositeElement", + "Version": "Microsoft365", + "Attributes": [ + { + "QName": ":id", + "Type": "StringValue", + "Version": "Microsoft365", + "PropertyComments": "id", + "Validators": [ + { + "Name": "RequiredValidator" + } + ] + }, + { + "QName": ":isFormConnected", + "Type": "BooleanValue", + "Version": "Microsoft365", + "PropertyComments": "isFormConnected" + }, + { + "QName": ":maxResponseId", + "Type": "Int32Value", + "Version": "Microsoft365", + "PropertyComments": "maxResponseId" + }, + { + "QName": ":latestEventMarker", + "Type": "StringValue", + "Version": "Microsoft365", + "PropertyComments": "latestEventMarker" + } + ], + "Children": [ + { + "Name": "x:ST_Xstring/xlmsforms:syncedQuestionId" + }, + { + "Name": "x:CT_ExtensionList/xlmsforms:extLst" + } + ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Name": "x:ST_Xstring/xlmsforms:syncedQuestionId", + "Occurs": [ + {} + ], + "InitialVersion": "Microsoft365" + }, + { + "Name": "x:CT_ExtensionList/xlmsforms:extLst", + "Occurs": [ + { + "Max": 1 + } + ], + "InitialVersion": "Microsoft365" + } + ] + } + }, + { + "Name": "x:ST_Xstring/xlmsforms:syncedQuestionId", + "ClassName": "SyncedQuestionId", + "Summary": "Defines the SyncedQuestionId Class.", + "BaseClass": "OpenXmlLeafTextElement", + "IsLeafText": true, + "Version": "Microsoft365" + }, + { + "Name": "x:CT_ExtensionList/xlmsforms:extLst", + "ClassName": "ExtensionList", + "Summary": "Defines the ExtensionList Class.", + "BaseClass": "OpenXmlCompositeElement", + "Version": "Microsoft365", + "Children": [ + { + "Name": "x:CT_Extension/x:ext" + } + ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Kind": "Group", + "Occurs": [ + { + "Max": 1 + } + ], + "Items": [ + { + "Kind": "Sequence", + "Items": [ + { + "Name": "x:CT_Extension/x:ext", + "Occurs": [ + {} + ] + } + ] + } + ] + } + ] + } + } + ] +} \ No newline at end of file diff --git a/data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_pivot2023Calculation.json b/data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_pivot2023Calculation.json new file mode 100644 index 000000000..c507fd49c --- /dev/null +++ b/data/schemas/schemas_microsoft_com_office_spreadsheetml_2023_pivot2023Calculation.json @@ -0,0 +1,75 @@ +{ + "TargetNamespace": "http://schemas.microsoft.com/office/spreadsheetml/2023/pivot2023Calculation", + "Types": [ + { + "Name": "xlpcalc:CT_AggregationInfo/xlpcalc:aggregationInfo", + "ClassName": "AggregationInfo", + "Summary": "Defines the AggregationInfo Class.", + "BaseClass": "OpenXmlLeafElement", + "IsLeafElement": true, + "Version": "Microsoft365", + "Attributes": [ + { + "QName": ":aggregationType", + "Type": "EnumValue\u003CDocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.Pivot2023Calculation.AggregationType\u003E", + "Version": "Microsoft365", + "PropertyComments": "aggregationType", + "Validators": [ + { + "Name": "RequiredValidator" + } + ] + }, + { + "QName": ":sourceField", + "Type": "UInt32Value", + "Version": "Microsoft365", + "PropertyComments": "sourceField", + "Validators": [ + { + "Name": "RequiredValidator" + } + ] + } + ] + }, + { + "Name": "xlpcalc:CT_FeatureSupport/xlpcalc:featureSupportInfo", + "ClassName": "FeatureSupport", + "Summary": "Defines the FeatureSupport Class.", + "BaseClass": "OpenXmlLeafElement", + "IsLeafElement": true, + "Version": "Microsoft365", + "Attributes": [ + { + "QName": ":featureName", + "Type": "StringValue", + "Version": "Microsoft365", + "PropertyComments": "featureName", + "Validators": [ + { + "Name": "RequiredValidator" + } + ] + } + ] + } + ], + "Enums": [ + { + "Type": "xlpcalc:ST_AggregationType", + "Name": "AggregationType", + "Facets": [ + { + "Version": "Microsoft365", + "Value": "distinctCount" + }, + { + "Version": "Microsoft365", + "Value": "median" + } + ], + "Version": "Microsoft365" + } + ] +} \ No newline at end of file diff --git a/data/schemas/schemas_openxmlformats_org_spreadsheetml_2006_main.json b/data/schemas/schemas_openxmlformats_org_spreadsheetml_2006_main.json index 88de641e5..8de8251ca 100644 --- a/data/schemas/schemas_openxmlformats_org_spreadsheetml_2006_main.json +++ b/data/schemas/schemas_openxmlformats_org_spreadsheetml_2006_main.json @@ -18017,58 +18017,6 @@ } ] }, - { - "Name": "x:CT_TableExtension/x:ext", - "ClassName": "TableExtension", - "Summary": "Defines the TableExtension Class.", - "BaseClass": "OpenXmlCompositeElement", - "Attributes": [ - { - "QName": ":uri", - "Type": "StringValue", - "PropertyComments": "URI", - "Validators": [ - { - "Name": "RequiredValidator" - }, - { - "Arguments": [ - { - "Type": "Boolean", - "Name": "IsToken", - "Value": "True" - } - ], - "Name": "StringValidator", - "IsInitialVersion": true - } - ] - } - ], - "Children": [ - { - "Name": "x14:CT_Table/x14:table", - "PropertyName": "Table" - } - ], - "Particle": { - "Kind": "Choice", - "Items": [ - { - "Name": "x14:CT_Table/x14:table", - "InitialVersion": "Office2010" - }, - { - "Kind": "Any", - "Occurs": [ - { - "Max": 1 - } - ] - } - ] - } - }, { "Name": "x:CT_ObjectAnchor/x:anchor", "ClassName": "ObjectAnchor", @@ -18458,99 +18406,6 @@ ] } }, - { - "Name": "x:CT_TableColumns/x:tableColumns", - "ClassName": "TableColumns", - "Summary": "Table Columns.", - "BaseClass": "OpenXmlCompositeElement", - "Attributes": [ - { - "QName": ":count", - "PropertyName": "Count", - "Type": "UInt32Value", - "PropertyComments": "Column Count" - } - ], - "Children": [ - { - "Name": "x:CT_TableColumn/x:tableColumn" - } - ], - "Particle": { - "Kind": "Sequence", - "Items": [ - { - "Name": "x:CT_TableColumn/x:tableColumn", - "Occurs": [ - { - "Min": 1 - } - ] - } - ] - } - }, - { - "Name": "x:CT_TableStyleInfo/x:tableStyleInfo", - "ClassName": "TableStyleInfo", - "Summary": "Table Style.", - "BaseClass": "OpenXmlLeafElement", - "IsLeafElement": true, - "Attributes": [ - { - "QName": ":name", - "PropertyName": "Name", - "Type": "StringValue", - "PropertyComments": "Style Name" - }, - { - "QName": ":showFirstColumn", - "PropertyName": "ShowFirstColumn", - "Type": "BooleanValue", - "PropertyComments": "Show First Column" - }, - { - "QName": ":showLastColumn", - "PropertyName": "ShowLastColumn", - "Type": "BooleanValue", - "PropertyComments": "Show Last Column" - }, - { - "QName": ":showRowStripes", - "PropertyName": "ShowRowStripes", - "Type": "BooleanValue", - "PropertyComments": "Show Row Stripes" - }, - { - "QName": ":showColumnStripes", - "PropertyName": "ShowColumnStripes", - "Type": "BooleanValue", - "PropertyComments": "Show Column Stripes" - } - ] - }, - { - "Name": "x:CT_TableExtensionList/x:extLst", - "ClassName": "TableExtensionList", - "Summary": "Future Feature Data Storage Area.", - "BaseClass": "OpenXmlCompositeElement", - "Children": [ - { - "Name": "x:CT_TableExtension/x:ext" - } - ], - "Particle": { - "Kind": "Sequence", - "Items": [ - { - "Name": "x:CT_TableExtension/x:ext", - "Occurs": [ - {} - ] - } - ] - } - }, { "Name": "x:CT_OleItem/x:oleItem", "ClassName": "OleItem", @@ -23300,389 +23155,287 @@ } }, { - "Name": "x:CT_FileVersion/x:fileVersion", - "ClassName": "FileVersion", - "Summary": "Defines the FileVersion Class.", + "Name": "x:CT_Location/x:location", + "ClassName": "Location", + "Summary": "Defines the Location Class.", "BaseClass": "OpenXmlLeafElement", "IsLeafElement": true, "Attributes": [ { - "QName": ":appName", - "PropertyName": "ApplicationName", - "Type": "StringValue", - "PropertyComments": "Application Name" - }, - { - "QName": ":lastEdited", - "PropertyName": "LastEdited", + "QName": ":ref", + "PropertyName": "Reference", "Type": "StringValue", - "PropertyComments": "Last Edited Version" + "PropertyComments": "Reference", + "Validators": [ + { + "Name": "RequiredValidator" + } + ] }, { - "QName": ":lowestEdited", - "PropertyName": "LowestEdited", - "Type": "StringValue", - "PropertyComments": "Lowest Edited Version" + "QName": ":firstHeaderRow", + "PropertyName": "FirstHeaderRow", + "Type": "UInt32Value", + "PropertyComments": "First Header Row", + "Validators": [ + { + "Name": "RequiredValidator" + } + ] }, { - "QName": ":rupBuild", - "PropertyName": "BuildVersion", - "Type": "StringValue", - "PropertyComments": "Build Version" + "QName": ":firstDataRow", + "PropertyName": "FirstDataRow", + "Type": "UInt32Value", + "PropertyComments": "PivotTable Data First Row", + "Validators": [ + { + "Name": "RequiredValidator" + } + ] }, { - "QName": ":codeName", - "PropertyName": "CodeName", - "Type": "StringValue", - "PropertyComments": "Code Name", + "QName": ":firstDataCol", + "PropertyName": "FirstDataColumn", + "Type": "UInt32Value", + "PropertyComments": "First Data Column", "Validators": [ { - "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 + "Name": "RequiredValidator" } ] + }, + { + "QName": ":rowPageCount", + "PropertyName": "RowPageCount", + "Type": "UInt32Value", + "PropertyComments": "Rows Per Page Count" + }, + { + "QName": ":colPageCount", + "PropertyName": "ColumnsPerPage", + "Type": "UInt32Value", + "PropertyComments": "Columns Per Page" } ] }, { - "Name": "x:CT_FileSharing/x:fileSharing", - "ClassName": "FileSharing", - "Summary": "Defines the FileSharing Class.", - "BaseClass": "OpenXmlLeafElement", - "IsLeafElement": true, + "Name": "x:CT_PivotFields/x:pivotFields", + "ClassName": "PivotFields", + "Summary": "Defines the PivotFields Class.", + "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { - "QName": ":readOnlyRecommended", - "PropertyName": "ReadOnlyRecommended", - "Type": "BooleanValue", - "PropertyComments": "Read Only Recommended" - }, - { - "QName": ":userName", - "PropertyName": "UserName", - "Type": "StringValue", - "PropertyComments": "User Name" - }, + "QName": ":count", + "PropertyName": "Count", + "Type": "UInt32Value", + "PropertyComments": "Field Count" + } + ], + "Children": [ { - "QName": ":reservationPassword", - "PropertyName": "ReservationPassword", - "Type": "HexBinaryValue", - "PropertyComments": "Write Reservation Password", - "Validators": [ - { - "Arguments": [ - { - "Type": "Long", - "Name": "Length", - "Value": "2" - } - ], - "Name": "StringValidator", - "IsInitialVersion": true - } - ] - }, - { - "QName": ":algorithmName", - "PropertyName": "AlgorithmName", - "Type": "StringValue", - "PropertyComments": "Password hash algorithm" - }, - { - "QName": ":hashValue", - "PropertyName": "HashValue", - "Type": "Base64BinaryValue", - "PropertyComments": "Password hash" - }, - { - "QName": ":saltValue", - "PropertyName": "SaltValue", - "Type": "Base64BinaryValue", - "PropertyComments": "Salt for password hash" - }, - { - "QName": ":spinCount", - "PropertyName": "SpinCount", - "Type": "UInt32Value", - "PropertyComments": "Spin count for password hash" + "Name": "x:CT_PivotField/x:pivotField" } - ] + ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Name": "x:CT_PivotField/x:pivotField", + "Occurs": [ + { + "Min": 1 + } + ] + } + ] + } }, { - "Name": "x:CT_WorkbookPr/x:workbookPr", - "ClassName": "WorkbookProperties", - "Summary": "Defines the WorkbookProperties Class.", - "BaseClass": "OpenXmlLeafElement", - "IsLeafElement": true, + "Name": "x:CT_RowFields/x:rowFields", + "ClassName": "RowFields", + "Summary": "Defines the RowFields Class.", + "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { - "QName": ":date1904", - "PropertyName": "Date1904", - "Type": "BooleanValue", - "PropertyComments": "Date 1904" - }, - { - "QName": ":dateCompatibility", - "PropertyName": "DateCompatibility", - "Type": "BooleanValue", - "Version": "Office2010", - "PropertyComments": "dateCompatibility", - "Validators": [ - { - "Arguments": [ - { - "Type": "Version", - "Value": "Office2010" - } - ], - "Name": "OfficeVersionValidator" - } - ] - }, - { - "QName": ":showObjects", - "PropertyName": "ShowObjects", - "Type": "EnumValue\u003CDocumentFormat.OpenXml.Spreadsheet.ObjectDisplayValues\u003E", - "PropertyComments": "Show Objects" - }, - { - "QName": ":showBorderUnselectedTables", - "PropertyName": "ShowBorderUnselectedTables", - "Type": "BooleanValue", - "PropertyComments": "Show Border Unselected Table" - }, - { - "QName": ":filterPrivacy", - "PropertyName": "FilterPrivacy", - "Type": "BooleanValue", - "PropertyComments": "Filter Privacy" - }, - { - "QName": ":promptedSolutions", - "PropertyName": "PromptedSolutions", - "Type": "BooleanValue", - "PropertyComments": "Prompted Solutions" - }, - { - "QName": ":showInkAnnotation", - "PropertyName": "ShowInkAnnotation", - "Type": "BooleanValue", - "PropertyComments": "Show Ink Annotations" - }, - { - "QName": ":backupFile", - "PropertyName": "BackupFile", - "Type": "BooleanValue", - "PropertyComments": "Create Backup File" - }, - { - "QName": ":saveExternalLinkValues", - "PropertyName": "SaveExternalLinkValues", - "Type": "BooleanValue", - "PropertyComments": "Save External Link Values" - }, - { - "QName": ":updateLinks", - "PropertyName": "UpdateLinks", - "Type": "EnumValue\u003CDocumentFormat.OpenXml.Spreadsheet.UpdateLinksBehaviorValues\u003E", - "PropertyComments": "Update Links Behavior" - }, - { - "QName": ":codeName", - "PropertyName": "CodeName", - "Type": "StringValue", - "PropertyComments": "Code Name" - }, - { - "QName": ":hidePivotFieldList", - "PropertyName": "HidePivotFieldList", - "Type": "BooleanValue", - "PropertyComments": "Hide Pivot Field List" - }, - { - "QName": ":showPivotChartFilter", - "PropertyName": "ShowPivotChartFilter", - "Type": "BooleanValue", - "PropertyComments": "Show Pivot Chart Filter" - }, - { - "QName": ":allowRefreshQuery", - "PropertyName": "AllowRefreshQuery", - "Type": "BooleanValue", - "PropertyComments": "Allow Refresh Query" - }, - { - "QName": ":publishItems", - "PropertyName": "PublishItems", - "Type": "BooleanValue", - "PropertyComments": "Publish Items" - }, - { - "QName": ":checkCompatibility", - "PropertyName": "CheckCompatibility", - "Type": "BooleanValue", - "PropertyComments": "Check Compatibility On Save" - }, - { - "QName": ":autoCompressPictures", - "PropertyName": "AutoCompressPictures", - "Type": "BooleanValue", - "PropertyComments": "Auto Compress Pictures" - }, - { - "QName": ":refreshAllConnections", - "PropertyName": "RefreshAllConnections", - "Type": "BooleanValue", - "PropertyComments": "Refresh all Connections on Open" - }, - { - "QName": ":defaultThemeVersion", - "PropertyName": "DefaultThemeVersion", + "QName": ":count", + "PropertyName": "Count", "Type": "UInt32Value", - "PropertyComments": "Default Theme Version" + "PropertyComments": "Repeated Items Count" } - ] + ], + "Children": [ + { + "Name": "x:CT_Field/x:field" + } + ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Name": "x:CT_Field/x:field", + "Occurs": [ + { + "Min": 1 + } + ] + } + ] + } }, { - "Name": "x:CT_WorkbookProtection/x:workbookProtection", - "ClassName": "WorkbookProtection", - "Summary": "Defines the WorkbookProtection Class.", - "BaseClass": "OpenXmlLeafElement", - "IsLeafElement": true, + "Name": "x:CT_rowItems/x:rowItems", + "ClassName": "RowItems", + "Summary": "Defines the RowItems Class.", + "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { - "QName": ":workbookPassword", - "PropertyName": "WorkbookPassword", - "Type": "HexBinaryValue", - "PropertyComments": "Workbook Password", - "Validators": [ - { - "Arguments": [ - { - "Type": "Long", - "Name": "Length", - "Value": "2" - } - ], - "Name": "StringValidator", - "IsInitialVersion": true - } - ] - }, - { - "QName": ":revisionsPassword", - "PropertyName": "RevisionsPassword", - "Type": "HexBinaryValue", - "PropertyComments": "Revisions Password", - "Validators": [ - { - "Arguments": [ - { - "Type": "Long", - "Name": "Length", - "Value": "2" - } - ], - "Name": "StringValidator", - "IsInitialVersion": true - } - ] - }, - { - "QName": ":lockStructure", - "PropertyName": "LockStructure", - "Type": "BooleanValue", - "PropertyComments": "Lock Structure" - }, - { - "QName": ":lockWindows", - "PropertyName": "LockWindows", - "Type": "BooleanValue", - "PropertyComments": "Lock Windows" - }, - { - "QName": ":lockRevision", - "PropertyName": "LockRevision", - "Type": "BooleanValue", - "PropertyComments": "Lock Revisions" - }, - { - "QName": ":revisionsAlgorithmName", - "PropertyName": "RevisionsAlgorithmName", - "Type": "StringValue", - "PropertyComments": "Cryptographic Algorithm Name" - }, - { - "QName": ":revisionsHashValue", - "PropertyName": "RevisionsHashValue", - "Type": "Base64BinaryValue", - "PropertyComments": "Password Hash Value" - }, + "QName": ":count", + "PropertyName": "Count", + "Type": "UInt32Value", + "PropertyComments": "Items in a Row Count" + } + ], + "Children": [ { - "QName": ":revisionsSaltValue", - "PropertyName": "RevisionsSaltValue", - "Type": "Base64BinaryValue", - "PropertyComments": "Salt Value for Password Verifier" - }, + "Name": "x:CT_I/x:i" + } + ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Name": "x:CT_I/x:i", + "Occurs": [ + { + "Min": 1 + } + ] + } + ] + } + }, + { + "Name": "x:CT_ColFields/x:colFields", + "ClassName": "ColumnFields", + "Summary": "Defines the ColumnFields Class.", + "BaseClass": "OpenXmlCompositeElement", + "Attributes": [ { - "QName": ":revisionsSpinCount", - "PropertyName": "RevisionsSpinCount", + "QName": ":count", + "PropertyName": "Count", "Type": "UInt32Value", - "PropertyComments": "Iterations to Run Hashing Algorithm" - }, + "PropertyComments": "Repeated Items Count" + } + ], + "Children": [ { - "QName": ":workbookAlgorithmName", - "PropertyName": "WorkbookAlgorithmName", - "Type": "StringValue", - "PropertyComments": "Cryptographic Algorithm Name" - }, + "Name": "x:CT_Field/x:field" + } + ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Name": "x:CT_Field/x:field", + "Occurs": [ + { + "Min": 1 + } + ] + } + ] + } + }, + { + "Name": "x:CT_colItems/x:colItems", + "ClassName": "ColumnItems", + "Summary": "Defines the ColumnItems Class.", + "BaseClass": "OpenXmlCompositeElement", + "Attributes": [ { - "QName": ":workbookHashValue", - "PropertyName": "WorkbookHashValue", - "Type": "Base64BinaryValue", - "PropertyComments": "Password Hash Value" - }, + "QName": ":count", + "PropertyName": "Count", + "Type": "UInt32Value", + "PropertyComments": "Column Item Count" + } + ], + "Children": [ { - "QName": ":workbookSaltValue", - "PropertyName": "WorkbookSaltValue", - "Type": "Base64BinaryValue", - "PropertyComments": "Salt Value for Password Verifier" - }, + "Name": "x:CT_I/x:i" + } + ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Name": "x:CT_I/x:i", + "Occurs": [ + { + "Min": 1, + "Max": 1048576 + } + ] + } + ] + } + }, + { + "Name": "x:CT_PageFields/x:pageFields", + "ClassName": "PageFields", + "Summary": "Defines the PageFields Class.", + "BaseClass": "OpenXmlCompositeElement", + "Attributes": [ { - "QName": ":workbookSpinCount", - "PropertyName": "WorkbookSpinCount", + "QName": ":count", + "PropertyName": "Count", "Type": "UInt32Value", - "PropertyComments": "Iterations to Run Hashing Algorithm" + "PropertyComments": "Page Item Count" } - ] + ], + "Children": [ + { + "Name": "x:CT_PageField/x:pageField" + } + ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Name": "x:CT_PageField/x:pageField", + "Occurs": [ + { + "Min": 1, + "Max": 256 + } + ] + } + ] + } }, { - "Name": "x:CT_BookViews/x:bookViews", - "ClassName": "BookViews", - "Summary": "Defines the BookViews Class.", + "Name": "x:CT_DataFields/x:dataFields", + "ClassName": "DataFields", + "Summary": "Defines the DataFields Class.", "BaseClass": "OpenXmlCompositeElement", + "Attributes": [ + { + "QName": ":count", + "PropertyName": "Count", + "Type": "UInt32Value", + "PropertyComments": "Data Items Count" + } + ], "Children": [ { - "Name": "x:CT_BookView/x:workbookView" + "Name": "x:CT_DataField/x:dataField" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_BookView/x:workbookView", + "Name": "x:CT_DataField/x:dataField", "Occurs": [ { "Min": 1 @@ -23693,24 +23446,31 @@ } }, { - "Name": "x:CT_Sheets/x:sheets", - "ClassName": "Sheets", - "Summary": "Defines the Sheets Class.", + "Name": "x:CT_Formats/x:formats", + "ClassName": "Formats", + "Summary": "Defines the Formats Class.", "BaseClass": "OpenXmlCompositeElement", + "Attributes": [ + { + "QName": ":count", + "PropertyName": "Count", + "Type": "UInt32Value", + "PropertyComments": "Formats Count" + } + ], "Children": [ { - "Name": "x:CT_Sheet/x:sheet" + "Name": "x:CT_Format/x:format" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_Sheet/x:sheet", + "Name": "x:CT_Format/x:format", "Occurs": [ { - "Min": 1, - "Max": 32767 + "Min": 1 } ] } @@ -23718,36 +23478,31 @@ } }, { - "Name": "x:CT_FunctionGroups/x:functionGroups", - "ClassName": "FunctionGroups", - "Summary": "Defines the FunctionGroups Class.", + "Name": "x:CT_ConditionalFormats/x:conditionalFormats", + "ClassName": "ConditionalFormats", + "Summary": "Defines the ConditionalFormats Class.", "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { - "QName": ":builtInGroupCount", - "PropertyName": "BuiltInGroupCount", + "QName": ":count", + "PropertyName": "Count", "Type": "UInt32Value", - "PropertyComments": "Built-in Function Group Count" + "PropertyComments": "Conditional Format Count" } ], "Children": [ { - "Name": "x:CT_FunctionGroup/x:functionGroup" + "Name": "x:CT_ConditionalFormat/x:conditionalFormat" } ], "Particle": { "Kind": "Sequence", - "Occurs": [ - { - "Min": 1 - } - ], "Items": [ { - "Name": "x:CT_FunctionGroup/x:functionGroup", + "Name": "x:CT_ConditionalFormat/x:conditionalFormat", "Occurs": [ { - "Max": 255 + "Min": 1 } ] } @@ -23755,24 +23510,31 @@ } }, { - "Name": "x:CT_ExternalReferences/x:externalReferences", - "ClassName": "ExternalReferences", - "Summary": "Defines the ExternalReferences Class.", + "Name": "x:CT_ChartFormats/x:chartFormats", + "ClassName": "ChartFormats", + "Summary": "Defines the ChartFormats Class.", "BaseClass": "OpenXmlCompositeElement", + "Attributes": [ + { + "QName": ":count", + "PropertyName": "Count", + "Type": "UInt32Value", + "PropertyComments": "Format Count" + } + ], "Children": [ { - "Name": "x:CT_ExternalReference/x:externalReference" + "Name": "x:CT_ChartFormat/x:chartFormat" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_ExternalReference/x:externalReference", + "Name": "x:CT_ChartFormat/x:chartFormat", "Occurs": [ { - "Min": 1, - "Max": 65534 + "Min": 1 } ] } @@ -23780,173 +23542,135 @@ } }, { - "Name": "x:CT_DefinedNames/x:definedNames", - "ClassName": "DefinedNames", - "Summary": "Defines the DefinedNames Class.", + "Name": "x:CT_PivotHierarchies/x:pivotHierarchies", + "ClassName": "PivotHierarchies", + "Summary": "Defines the PivotHierarchies Class.", "BaseClass": "OpenXmlCompositeElement", + "Attributes": [ + { + "QName": ":count", + "PropertyName": "Count", + "Type": "UInt32Value", + "PropertyComments": "OLAP Hierarchy Count" + } + ], "Children": [ { - "Name": "x:CT_DefinedName/x:definedName" + "Name": "x:CT_PivotHierarchy/x:pivotHierarchy" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_DefinedName/x:definedName", + "Name": "x:CT_PivotHierarchy/x:pivotHierarchy", "Occurs": [ - {} + { + "Min": 1 + } ] } ] } }, { - "Name": "x:CT_CalcPr/x:calcPr", - "ClassName": "CalculationProperties", - "Summary": "Defines the CalculationProperties Class.", + "Name": "x:CT_PivotTableStyle/x:pivotTableStyleInfo", + "ClassName": "PivotTableStyle", + "Summary": "Defines the PivotTableStyle Class.", "BaseClass": "OpenXmlLeafElement", "IsLeafElement": true, "Attributes": [ { - "QName": ":calcId", - "PropertyName": "CalculationId", - "Type": "UInt32Value", - "PropertyComments": "Calculation Id" - }, - { - "QName": ":calcMode", - "PropertyName": "CalculationMode", - "Type": "EnumValue\u003CDocumentFormat.OpenXml.Spreadsheet.CalculateModeValues\u003E", - "PropertyComments": "Calculation Mode" - }, - { - "QName": ":fullCalcOnLoad", - "PropertyName": "FullCalculationOnLoad", - "Type": "BooleanValue", - "PropertyComments": "Full Calculation On Load" - }, - { - "QName": ":refMode", - "PropertyName": "ReferenceMode", - "Type": "EnumValue\u003CDocumentFormat.OpenXml.Spreadsheet.ReferenceModeValues\u003E", - "PropertyComments": "Reference Mode" - }, - { - "QName": ":iterate", - "PropertyName": "Iterate", - "Type": "BooleanValue", - "PropertyComments": "Calculation Iteration" - }, - { - "QName": ":iterateCount", - "PropertyName": "IterateCount", - "Type": "UInt32Value", - "PropertyComments": "Iteration Count" - }, - { - "QName": ":iterateDelta", - "PropertyName": "IterateDelta", - "Type": "DoubleValue", - "PropertyComments": "Iterative Calculation Delta" + "QName": ":name", + "PropertyName": "Name", + "Type": "StringValue", + "PropertyComments": "Table Style Name" }, { - "QName": ":fullPrecision", - "PropertyName": "FullPrecision", + "QName": ":showRowHeaders", + "PropertyName": "ShowRowHeaders", "Type": "BooleanValue", - "PropertyComments": "Full Precision Calculation" + "PropertyComments": "Show Row Header Formatting" }, { - "QName": ":calcCompleted", - "PropertyName": "CalculationCompleted", + "QName": ":showColHeaders", + "PropertyName": "ShowColumnHeaders", "Type": "BooleanValue", - "PropertyComments": "Calc Completed" + "PropertyComments": "Show Table Style Column Header Formatting" }, { - "QName": ":calcOnSave", - "PropertyName": "CalculationOnSave", + "QName": ":showRowStripes", + "PropertyName": "ShowRowStripes", "Type": "BooleanValue", - "PropertyComments": "Calculate On Save" + "PropertyComments": "Show Row Stripes" }, { - "QName": ":concurrentCalc", - "PropertyName": "ConcurrentCalculation", + "QName": ":showColStripes", + "PropertyName": "ShowColumnStripes", "Type": "BooleanValue", - "PropertyComments": "Concurrent Calculations" - }, - { - "QName": ":concurrentManualCount", - "PropertyName": "ConcurrentManualCount", - "Type": "UInt32Value", - "PropertyComments": "Concurrent Thread Manual Count" + "PropertyComments": "Show Column Stripes" }, { - "QName": ":forceFullCalc", - "PropertyName": "ForceFullCalculation", + "QName": ":showLastColumn", + "PropertyName": "ShowLastColumn", "Type": "BooleanValue", - "PropertyComments": "Force Full Calculation" - } - ] - }, - { - "Name": "x:CT_OleSize/x:oleSize", - "ClassName": "OleSize", - "Summary": "Defines the OleSize Class.", - "BaseClass": "OpenXmlLeafElement", - "IsLeafElement": true, - "Attributes": [ - { - "QName": ":ref", - "PropertyName": "Reference", - "Type": "StringValue", - "PropertyComments": "Reference", - "Validators": [ - { - "Name": "RequiredValidator" - } - ] + "PropertyComments": "Show Last Column" } ] }, { - "Name": "x:CT_CustomWorkbookViews/x:customWorkbookViews", - "ClassName": "CustomWorkbookViews", - "Summary": "Defines the CustomWorkbookViews Class.", + "Name": "x:CT_PivotFilters/x:filters", + "ClassName": "PivotFilters", + "Summary": "Defines the PivotFilters Class.", "BaseClass": "OpenXmlCompositeElement", + "Attributes": [ + { + "QName": ":count", + "PropertyName": "Count", + "Type": "UInt32Value", + "PropertyComments": "Pivot Filter Count" + } + ], "Children": [ { - "Name": "x:CT_CustomWorkbookView/x:customWorkbookView" + "Name": "x:CT_PivotFilter/x:filter" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_CustomWorkbookView/x:customWorkbookView", + "Name": "x:CT_PivotFilter/x:filter", "Occurs": [ - { - "Min": 1 - } + {} ] } ] } }, { - "Name": "x:CT_PivotCaches/x:pivotCaches", - "ClassName": "PivotCaches", - "Summary": "Defines the PivotCaches Class.", + "Name": "x:CT_RowHierarchiesUsage/x:rowHierarchiesUsage", + "ClassName": "RowHierarchiesUsage", + "Summary": "Defines the RowHierarchiesUsage Class.", "BaseClass": "OpenXmlCompositeElement", + "Attributes": [ + { + "QName": ":count", + "PropertyName": "Count", + "Type": "UInt32Value", + "PropertyComments": "Item Count" + } + ], "Children": [ { - "Name": "x:CT_PivotCache/x:pivotCache" + "Name": "x:CT_HierarchyUsage/x:rowHierarchyUsage" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_PivotCache/x:pivotCache", + "Name": "x:CT_HierarchyUsage/x:rowHierarchyUsage", "Occurs": [ { "Min": 1 @@ -23957,375 +23681,394 @@ } }, { - "Name": "x:CT_WebPublishing/x:webPublishing", - "ClassName": "WebPublishing", - "Summary": "Defines the WebPublishing Class.", - "BaseClass": "OpenXmlLeafElement", - "IsLeafElement": true, + "Name": "x:CT_ColHierarchiesUsage/x:colHierarchiesUsage", + "ClassName": "ColumnHierarchiesUsage", + "Summary": "Defines the ColumnHierarchiesUsage Class.", + "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { - "QName": ":css", - "PropertyName": "UseCss", - "Type": "BooleanValue", - "PropertyComments": "css" - }, - { - "QName": ":thicket", - "PropertyName": "Thicket", - "Type": "BooleanValue", - "PropertyComments": "thicket" - }, + "QName": ":count", + "PropertyName": "Count", + "Type": "UInt32Value", + "PropertyComments": "Items Count" + } + ], + "Children": [ { - "QName": ":longFileNames", - "PropertyName": "LongFileNames", - "Type": "BooleanValue", - "PropertyComments": "longFileNames" - }, + "Name": "x:CT_HierarchyUsage/x:colHierarchyUsage" + } + ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Name": "x:CT_HierarchyUsage/x:colHierarchyUsage", + "Occurs": [ + { + "Min": 1, + "Max": 16384 + } + ] + } + ] + } + }, + { + "Name": "x:CT_pivotTableDefinitionExtensionList/x:extLst", + "ClassName": "PivotTableDefinitionExtensionList", + "Summary": "Defines the PivotTableDefinitionExtensionList Class.", + "BaseClass": "OpenXmlCompositeElement", + "Children": [ { - "QName": ":vml", - "PropertyName": "UseVml", - "Type": "BooleanValue", - "PropertyComments": "vml" - }, + "Name": "x:CT_pivotTableDefinitionExtension/x:ext" + } + ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Name": "x:CT_pivotTableDefinitionExtension/x:ext", + "Occurs": [ + {} + ] + } + ] + } + }, + { + "Name": "x:CT_pivotTableDefinitionExtension/x:ext", + "ClassName": "PivotTableDefinitionExtension", + "Summary": "Defines the PivotTableDefinitionExtension Class.", + "BaseClass": "OpenXmlCompositeElement", + "Attributes": [ { - "QName": ":allowPng", - "PropertyName": "AllowPng", - "Type": "BooleanValue", - "PropertyComments": "allowPng" - }, + "QName": ":uri", + "Type": "StringValue", + "PropertyComments": "URI", + "Validators": [ + { + "Name": "RequiredValidator" + }, + { + "Arguments": [ + { + "Type": "Boolean", + "Name": "IsToken", + "Value": "True" + } + ], + "Name": "StringValidator", + "IsInitialVersion": true + } + ] + } + ], + "Children": [ { - "QName": ":targetScreenSize", - "PropertyName": "TargetScreenSize", - "Type": "EnumValue\u003CDocumentFormat.OpenXml.Spreadsheet.TargetScreenSizeValues\u003E", - "PropertyComments": "targetScreenSize" + "Name": "x14:CT_PivotTableDefinition/x14:pivotTableDefinition", + "PropertyName": "PivotTableDefinition" }, { - "QName": ":dpi", - "PropertyName": "Dpi", - "Type": "UInt32Value", - "PropertyComments": "dpi" + "Name": "x15:CT_PivotTableData/x15:pivotTableData", + "PropertyName": "PivotTableData" }, { - "QName": ":codePage", - "PropertyName": "CodePage", - "Type": "UInt32Value", - "PropertyComments": "codePage" + "Name": "x15:CT_PivotTableUISettings/x15:pivotTableUISettings", + "PropertyName": "PivotTableUISettings" }, { - "QName": ":characterSet", - "PropertyName": "CharacterSet", - "Type": "StringValue", - "PropertyComments": "characterSet" + "Name": "xxpvi:CT_PivotVersionInfo/xxpvi:pivotVersionInfo", + "PropertyName": "PivotVersionInfo" } - ] + ], + "Particle": { + "Kind": "Choice", + "Items": [ + { + "Name": "x14:CT_PivotTableDefinition/x14:pivotTableDefinition", + "InitialVersion": "Office2010" + }, + { + "Name": "x15:CT_PivotTableData/x15:pivotTableData", + "InitialVersion": "Office2013" + }, + { + "Name": "x15:CT_PivotTableUISettings/x15:pivotTableUISettings", + "InitialVersion": "Office2013" + }, + { + "Name": "xxpvi:CT_PivotVersionInfo/xxpvi:pivotVersionInfo", + "InitialVersion": "Microsoft365" + }, + { + "Kind": "Any", + "Occurs": [ + { + "Max": 1 + } + ] + } + ] + } }, { - "Name": "x:CT_FileRecoveryPr/x:fileRecoveryPr", - "ClassName": "FileRecoveryProperties", - "Summary": "Defines the FileRecoveryProperties Class.", - "BaseClass": "OpenXmlLeafElement", - "IsLeafElement": true, + "Name": "x:CT_CacheSource/x:cacheSource", + "ClassName": "CacheSource", + "Summary": "Defines the CacheSource Class.", + "CompositeType": "OneChoice", + "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { - "QName": ":autoRecover", - "PropertyName": "AutoRecover", - "Type": "BooleanValue", - "PropertyComments": "Auto Recover" + "QName": ":type", + "PropertyName": "Type", + "Type": "EnumValue\u003CDocumentFormat.OpenXml.Spreadsheet.SourceValues\u003E", + "PropertyComments": "type", + "Validators": [ + { + "Name": "RequiredValidator" + } + ] }, { - "QName": ":crashSave", - "PropertyName": "CrashSave", - "Type": "BooleanValue", - "PropertyComments": "Crash Save" + "QName": ":connectionId", + "PropertyName": "ConnectionId", + "Type": "UInt32Value", + "PropertyComments": "connectionId" + } + ], + "Children": [ + { + "Name": "x:CT_WorksheetSource/x:worksheetSource", + "PropertyName": "WorksheetSource" }, { - "QName": ":dataExtractLoad", - "PropertyName": "DataExtractLoad", - "Type": "BooleanValue", - "PropertyComments": "Data Extract Load" + "Name": "x:CT_Consolidation/x:consolidation", + "PropertyName": "Consolidation" }, { - "QName": ":repairLoad", - "PropertyName": "RepairLoad", - "Type": "BooleanValue", - "PropertyComments": "Repair Load" + "Name": "x:CT_CacheSourceExtensionList/x:extLst", + "PropertyName": "CacheSourceExtensionList" } - ] + ], + "Particle": { + "Kind": "Choice", + "Occurs": [ + { + "Max": 1 + } + ], + "Items": [ + { + "Name": "x:CT_WorksheetSource/x:worksheetSource" + }, + { + "Name": "x:CT_Consolidation/x:consolidation" + }, + { + "Name": "x:CT_CacheSourceExtensionList/x:extLst", + "Occurs": [ + { + "Max": 1 + } + ] + } + ] + } }, { - "Name": "x:CT_WebPublishObjects/x:webPublishObjects", - "ClassName": "WebPublishObjects", - "Summary": "Defines the WebPublishObjects Class.", + "Name": "x:CT_CacheFields/x:cacheFields", + "ClassName": "CacheFields", + "Summary": "Defines the CacheFields Class.", "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { "QName": ":count", "PropertyName": "Count", "Type": "UInt32Value", - "PropertyComments": "Count" + "PropertyComments": "Field Count" } ], "Children": [ { - "Name": "x:CT_WebPublishObject/x:webPublishObject" + "Name": "x:CT_CacheField/x:cacheField" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_WebPublishObject/x:webPublishObject", + "Name": "x:CT_CacheField/x:cacheField", "Occurs": [ - { - "Min": 1 - } + {} ] } ] } }, { - "Name": "x:CT_WorkbookExtensionList/x:extLst", - "ClassName": "WorkbookExtensionList", - "Summary": "Defines the WorkbookExtensionList Class.", + "Name": "x:CT_CacheHierarchies/x:cacheHierarchies", + "ClassName": "CacheHierarchies", + "Summary": "Defines the CacheHierarchies Class.", "BaseClass": "OpenXmlCompositeElement", + "Attributes": [ + { + "QName": ":count", + "PropertyName": "Count", + "Type": "UInt32Value", + "PropertyComments": "Hierarchy Count" + } + ], "Children": [ { - "Name": "x:CT_WorkbookExtension/x:ext" + "Name": "x:CT_CacheHierarchy/x:cacheHierarchy" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_WorkbookExtension/x:ext", + "Name": "x:CT_CacheHierarchy/x:cacheHierarchy", "Occurs": [ - {} + { + "Min": 1 + } ] } ] } }, { - "Name": "x:CT_WorkbookExtension/x:ext", - "ClassName": "WorkbookExtension", - "Summary": "Defines the WorkbookExtension Class.", + "Name": "x:CT_PCDKPIs/x:kpis", + "ClassName": "Kpis", + "Summary": "Defines the Kpis Class.", "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { - "QName": ":uri", - "Type": "StringValue", - "PropertyComments": "URI", - "Validators": [ - { - "Name": "RequiredValidator" - }, - { - "Arguments": [ - { - "Type": "Boolean", - "Name": "IsToken", - "Value": "True" - } - ], - "Name": "StringValidator", - "IsInitialVersion": true - } - ] + "QName": ":count", + "PropertyName": "Count", + "Type": "UInt32Value", + "PropertyComments": "KPI Count" } ], "Children": [ { - "Name": "x14:CT_DefinedNames/x14:definedNames", - "PropertyName": "DefinedNames" - }, - { - "Name": "x:CT_PivotCaches/x14:pivotCaches", - "PropertyName": "PivotCaches" - }, - { - "Name": "x14:CT_SlicerCaches/x14:slicerCaches", - "PropertyName": "SlicerCaches" - }, - { - "Name": "x14:CT_SlicerCaches/x15:slicerCaches", - "PropertyName": "SlicerCaches" - }, - { - "Name": "x14:CT_WorkbookPr/x14:workbookPr", - "PropertyName": "WorkbookProperties" - }, - { - "Name": "x:CT_PivotCaches/x15:pivotCaches", - "PropertyName": "PivotCaches" - }, - { - "Name": "x15:CT_PivotTableReferences/x15:pivotTableReferences", - "PropertyName": "PivotTableReferences" - }, - { - "Name": "x:CT_PivotCaches/x15:timelineCachePivotCaches", - "PropertyName": "TimelineCachePivotCaches" - }, - { - "Name": "x15:CT_TimelineCacheRefs/x15:timelineCacheRefs", - "PropertyName": "TimelineCacheReferences" - }, - { - "Name": "x15:CT_WorkbookPr/x15:workbookPr", - "PropertyName": "WorkbookProperties" - }, - { - "Name": "x15:CT_DataModel/x15:dataModel", - "PropertyName": "DataModel" + "Name": "x:CT_PCDKPI/x:kpi" } ], "Particle": { - "Kind": "Choice", + "Kind": "Sequence", "Items": [ { - "Name": "x14:CT_DefinedNames/x14:definedNames", - "InitialVersion": "Office2010" - }, - { - "Name": "x:CT_PivotCaches/x14:pivotCaches", - "InitialVersion": "Office2010" - }, - { - "Name": "x14:CT_SlicerCaches/x14:slicerCaches", - "InitialVersion": "Office2010" - }, - { - "Name": "x14:CT_SlicerCaches/x15:slicerCaches", - "InitialVersion": "Office2013" - }, - { - "Name": "x14:CT_WorkbookPr/x14:workbookPr", - "InitialVersion": "Office2010" - }, - { - "Name": "x:CT_PivotCaches/x15:pivotCaches", - "InitialVersion": "Office2013" - }, - { - "Name": "x15:CT_PivotTableReferences/x15:pivotTableReferences", - "InitialVersion": "Office2013" - }, - { - "Name": "x:CT_PivotCaches/x15:timelineCachePivotCaches", - "InitialVersion": "Office2013" - }, - { - "Name": "x15:CT_TimelineCacheRefs/x15:timelineCacheRefs", - "InitialVersion": "Office2013" - }, - { - "Name": "x15:CT_WorkbookPr/x15:workbookPr", - "InitialVersion": "Office2013" - }, - { - "Name": "x15:CT_DataModel/x15:dataModel", - "InitialVersion": "Office2013" - }, - { - "Kind": "Any", + "Name": "x:CT_PCDKPI/x:kpi", "Occurs": [ - { - "Max": 1 - } + {} ] } ] } }, { - "Name": "x:CT_Location/x:location", - "ClassName": "Location", - "Summary": "Defines the Location Class.", - "BaseClass": "OpenXmlLeafElement", - "IsLeafElement": true, - "Attributes": [ - { - "QName": ":ref", - "PropertyName": "Reference", - "Type": "StringValue", - "PropertyComments": "Reference", - "Validators": [ - { - "Name": "RequiredValidator" - } - ] - }, + "Name": "x:CT_TupleCache/x:tupleCache", + "ClassName": "TupleCache", + "Summary": "Defines the TupleCache Class.", + "CompositeType": "OneSequence", + "BaseClass": "OpenXmlCompositeElement", + "Children": [ { - "QName": ":firstHeaderRow", - "PropertyName": "FirstHeaderRow", - "Type": "UInt32Value", - "PropertyComments": "First Header Row", - "Validators": [ - { - "Name": "RequiredValidator" - } - ] + "Name": "x:CT_PCDSDTCEntries/x:entries", + "PropertyName": "Entries", + "PropertyComments": "Entries" }, { - "QName": ":firstDataRow", - "PropertyName": "FirstDataRow", - "Type": "UInt32Value", - "PropertyComments": "PivotTable Data First Row", - "Validators": [ - { - "Name": "RequiredValidator" - } - ] + "Name": "x:CT_Sets/x:sets", + "PropertyName": "Sets", + "PropertyComments": "Sets" }, { - "QName": ":firstDataCol", - "PropertyName": "FirstDataColumn", - "Type": "UInt32Value", - "PropertyComments": "First Data Column", - "Validators": [ - { - "Name": "RequiredValidator" - } - ] + "Name": "x:CT_QueryCache/x:queryCache", + "PropertyName": "QueryCache", + "PropertyComments": "OLAP Query Cache" }, { - "QName": ":rowPageCount", - "PropertyName": "RowPageCount", - "Type": "UInt32Value", - "PropertyComments": "Rows Per Page Count" + "Name": "x:CT_ServerFormats/x:serverFormats", + "PropertyName": "ServerFormats", + "PropertyComments": "Server Formats" }, { - "QName": ":colPageCount", - "PropertyName": "ColumnsPerPage", - "Type": "UInt32Value", - "PropertyComments": "Columns Per Page" + "Name": "x:CT_ExtensionList/x:extLst", + "PropertyName": "ExtensionList", + "PropertyComments": "Future Feature Data Storage Area" } - ] + ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Name": "x:CT_PCDSDTCEntries/x:entries", + "Occurs": [ + { + "Max": 1 + } + ] + }, + { + "Name": "x:CT_Sets/x:sets", + "Occurs": [ + { + "Max": 1 + } + ] + }, + { + "Name": "x:CT_QueryCache/x:queryCache", + "Occurs": [ + { + "Max": 1 + } + ] + }, + { + "Name": "x:CT_ServerFormats/x:serverFormats", + "Occurs": [ + { + "Max": 1 + } + ] + }, + { + "Name": "x:CT_ExtensionList/x:extLst", + "Occurs": [ + { + "Max": 1 + } + ] + } + ] + } }, { - "Name": "x:CT_PivotFields/x:pivotFields", - "ClassName": "PivotFields", - "Summary": "Defines the PivotFields Class.", + "Name": "x:CT_CalculatedItems/x:calculatedItems", + "ClassName": "CalculatedItems", + "Summary": "Defines the CalculatedItems Class.", "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { "QName": ":count", "PropertyName": "Count", "Type": "UInt32Value", - "PropertyComments": "Field Count" + "PropertyComments": "Calculated Item Formula Count" } ], "Children": [ { - "Name": "x:CT_PivotField/x:pivotField" + "Name": "x:CT_CalculatedItem/x:calculatedItem" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_PivotField/x:pivotField", + "Name": "x:CT_CalculatedItem/x:calculatedItem", "Occurs": [ { "Min": 1 @@ -24336,28 +24079,28 @@ } }, { - "Name": "x:CT_RowFields/x:rowFields", - "ClassName": "RowFields", - "Summary": "Defines the RowFields Class.", + "Name": "x:CT_CalculatedMembers/x:calculatedMembers", + "ClassName": "CalculatedMembers", + "Summary": "Defines the CalculatedMembers Class.", "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { "QName": ":count", "PropertyName": "Count", "Type": "UInt32Value", - "PropertyComments": "Repeated Items Count" + "PropertyComments": "Calculated Members Count" } ], "Children": [ { - "Name": "x:CT_Field/x:field" + "Name": "x:CT_CalculatedMember/x:calculatedMember" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_Field/x:field", + "Name": "x:CT_CalculatedMember/x:calculatedMember", "Occurs": [ { "Min": 1 @@ -24368,129 +24111,203 @@ } }, { - "Name": "x:CT_rowItems/x:rowItems", - "ClassName": "RowItems", - "Summary": "Defines the RowItems Class.", + "Name": "x:CT_Dimensions/x:dimensions", + "ClassName": "Dimensions", + "Summary": "Defines the Dimensions Class.", "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { "QName": ":count", "PropertyName": "Count", "Type": "UInt32Value", - "PropertyComments": "Items in a Row Count" + "PropertyComments": "OLAP Dimensions Count" } ], "Children": [ { - "Name": "x:CT_I/x:i" + "Name": "x:CT_PivotDimension/x:dimension" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_I/x:i", + "Name": "x:CT_PivotDimension/x:dimension", "Occurs": [ - { - "Min": 1 - } + {} ] } ] } }, { - "Name": "x:CT_ColFields/x:colFields", - "ClassName": "ColumnFields", - "Summary": "Defines the ColumnFields Class.", + "Name": "x:CT_MeasureGroups/x:measureGroups", + "ClassName": "MeasureGroups", + "Summary": "Defines the MeasureGroups Class.", "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { "QName": ":count", "PropertyName": "Count", "Type": "UInt32Value", - "PropertyComments": "Repeated Items Count" + "PropertyComments": "Measure Group Count" } ], "Children": [ { - "Name": "x:CT_Field/x:field" + "Name": "x:CT_MeasureGroup/x:measureGroup" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_Field/x:field", + "Name": "x:CT_MeasureGroup/x:measureGroup", "Occurs": [ - { - "Min": 1 - } + {} ] } ] } }, { - "Name": "x:CT_colItems/x:colItems", - "ClassName": "ColumnItems", - "Summary": "Defines the ColumnItems Class.", + "Name": "x:CT_MeasureDimensionMaps/x:maps", + "ClassName": "Maps", + "Summary": "Defines the Maps Class.", "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { "QName": ":count", "PropertyName": "Count", "Type": "UInt32Value", - "PropertyComments": "Column Item Count" + "PropertyComments": "Measure Group Count" } ], "Children": [ { - "Name": "x:CT_I/x:i" + "Name": "x:CT_MeasureDimensionMap/x:map" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_I/x:i", + "Name": "x:CT_MeasureDimensionMap/x:map", "Occurs": [ - { - "Min": 1, - "Max": 1048576 - } + {} ] } ] } }, { - "Name": "x:CT_PageFields/x:pageFields", - "ClassName": "PageFields", - "Summary": "Defines the PageFields Class.", + "Name": "x:CT_PivotCacheDefinitionExtensionList/x:extLst", + "ClassName": "PivotCacheDefinitionExtensionList", + "Summary": "Defines the PivotCacheDefinitionExtensionList Class.", + "BaseClass": "OpenXmlCompositeElement", + "Children": [ + { + "Name": "x:CT_PivotCacheDefinitionExtension/x:ext" + } + ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Name": "x:CT_PivotCacheDefinitionExtension/x:ext", + "Occurs": [ + {} + ] + } + ] + } + }, + { + "Name": "x:CT_PivotCacheDefinitionExtension/x:ext", + "ClassName": "PivotCacheDefinitionExtension", + "Summary": "Defines the PivotCacheDefinitionExtension Class.", "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { - "QName": ":count", - "PropertyName": "Count", - "Type": "UInt32Value", - "PropertyComments": "Page Item Count" + "QName": ":uri", + "Type": "StringValue", + "PropertyComments": "URI", + "Validators": [ + { + "Name": "RequiredValidator" + }, + { + "Arguments": [ + { + "Type": "Boolean", + "Name": "IsToken", + "Value": "True" + } + ], + "Name": "StringValidator", + "IsInitialVersion": true + } + ] } ], "Children": [ { - "Name": "x:CT_PageField/x:pageField" + "Name": "x14:CT_PivotCacheDefinition/x14:pivotCacheDefinition", + "PropertyName": "PivotCacheDefinition" + }, + { + "Name": "x15:CT_PivotCacheDecoupled/x15:pivotCacheDecoupled", + "PropertyName": "PivotCacheDecoupled" + }, + { + "Name": "x15:CT_TimelinePivotCacheDefinition/x15:timelinePivotCacheDefinition", + "PropertyName": "TimelinePivotCacheDefinition" + }, + { + "Name": "x15:CT_PivotCacheIdVersion/x15:pivotCacheIdVersion", + "PropertyName": "PivotCacheIdVersion" + }, + { + "Name": "xsd:boolean/xxpim:implicitMeasureSupport", + "PropertyName": "Xsdboolean" + }, + { + "Name": "xxpvi:CT_CacheVersionInfo/xxpvi:cacheVersionInfo", + "PropertyName": "CacheVersionInfo" } ], "Particle": { - "Kind": "Sequence", + "Kind": "Choice", "Items": [ { - "Name": "x:CT_PageField/x:pageField", + "Name": "x14:CT_PivotCacheDefinition/x14:pivotCacheDefinition", + "InitialVersion": "Office2010" + }, + { + "Name": "x15:CT_PivotCacheDecoupled/x15:pivotCacheDecoupled", + "InitialVersion": "Office2013" + }, + { + "Name": "x15:CT_TimelinePivotCacheDefinition/x15:timelinePivotCacheDefinition", + "InitialVersion": "Office2013" + }, + { + "Name": "x15:CT_PivotCacheIdVersion/x15:pivotCacheIdVersion", + "InitialVersion": "Office2013" + }, + { + "Name": "xsd:boolean/xxpim:implicitMeasureSupport", + "InitialVersion": "Office2021" + }, + { + "Name": "xxpvi:CT_CacheVersionInfo/xxpvi:cacheVersionInfo", + "InitialVersion": "Microsoft365" + }, + { + "Kind": "Any", "Occurs": [ { - "Min": 1, - "Max": 256 + "Max": 1 } ] } @@ -24498,60 +24315,67 @@ } }, { - "Name": "x:CT_DataFields/x:dataFields", - "ClassName": "DataFields", - "Summary": "Defines the DataFields Class.", + "Name": "x:CT_ExternalSheetNames/x:sheetNames", + "ClassName": "SheetNames", + "Summary": "Sheet names of supporting book.", "BaseClass": "OpenXmlCompositeElement", - "Attributes": [ + "Children": [ { - "QName": ":count", - "PropertyName": "Count", - "Type": "UInt32Value", - "PropertyComments": "Data Items Count" + "Name": "x:CT_ExternalSheetName/x:sheetName" } ], + "Particle": { + "Kind": "Sequence", + "Items": [ + { + "Name": "x:CT_ExternalSheetName/x:sheetName", + "Occurs": [ + { + "Min": 1, + "Max": 65534 + } + ] + } + ] + } + }, + { + "Name": "x:CT_ExternalDefinedNames/x:definedNames", + "ClassName": "ExternalDefinedNames", + "Summary": "Defined names associated with supporting book..", + "BaseClass": "OpenXmlCompositeElement", "Children": [ { - "Name": "x:CT_DataField/x:dataField" + "Name": "x:CT_ExternalDefinedName/x:definedName" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_DataField/x:dataField", + "Name": "x:CT_ExternalDefinedName/x:definedName", "Occurs": [ - { - "Min": 1 - } + {} ] } ] } }, { - "Name": "x:CT_Formats/x:formats", - "ClassName": "Formats", - "Summary": "Defines the Formats Class.", + "Name": "x:CT_ExternalSheetDataSet/x:sheetDataSet", + "ClassName": "SheetDataSet", + "Summary": "Cached worksheet data associated with supporting book.", "BaseClass": "OpenXmlCompositeElement", - "Attributes": [ - { - "QName": ":count", - "PropertyName": "Count", - "Type": "UInt32Value", - "PropertyComments": "Formats Count" - } - ], "Children": [ { - "Name": "x:CT_Format/x:format" + "Name": "x:CT_ExternalSheetData/x:sheetData" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_Format/x:format", + "Name": "x:CT_ExternalSheetData/x:sheetData", "Occurs": [ { "Min": 1 @@ -24562,28 +24386,28 @@ } }, { - "Name": "x:CT_ConditionalFormats/x:conditionalFormats", - "ClassName": "ConditionalFormats", - "Summary": "Defines the ConditionalFormats Class.", + "Name": "x:CT_TableColumns/x:tableColumns", + "ClassName": "TableColumns", + "Summary": "Table Columns.", "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { "QName": ":count", "PropertyName": "Count", "Type": "UInt32Value", - "PropertyComments": "Conditional Format Count" + "PropertyComments": "Column Count" } ], "Children": [ { - "Name": "x:CT_ConditionalFormat/x:conditionalFormat" + "Name": "x:CT_TableColumn/x:tableColumn" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_ConditionalFormat/x:conditionalFormat", + "Name": "x:CT_TableColumn/x:tableColumn", "Occurs": [ { "Min": 1 @@ -24594,63 +24418,120 @@ } }, { - "Name": "x:CT_ChartFormats/x:chartFormats", - "ClassName": "ChartFormats", - "Summary": "Defines the ChartFormats Class.", - "BaseClass": "OpenXmlCompositeElement", + "Name": "x:CT_TableStyleInfo/x:tableStyleInfo", + "ClassName": "TableStyleInfo", + "Summary": "Table Style.", + "BaseClass": "OpenXmlLeafElement", + "IsLeafElement": true, "Attributes": [ { - "QName": ":count", - "PropertyName": "Count", - "Type": "UInt32Value", - "PropertyComments": "Format Count" + "QName": ":name", + "PropertyName": "Name", + "Type": "StringValue", + "PropertyComments": "Style Name" + }, + { + "QName": ":showFirstColumn", + "PropertyName": "ShowFirstColumn", + "Type": "BooleanValue", + "PropertyComments": "Show First Column" + }, + { + "QName": ":showLastColumn", + "PropertyName": "ShowLastColumn", + "Type": "BooleanValue", + "PropertyComments": "Show Last Column" + }, + { + "QName": ":showRowStripes", + "PropertyName": "ShowRowStripes", + "Type": "BooleanValue", + "PropertyComments": "Show Row Stripes" + }, + { + "QName": ":showColumnStripes", + "PropertyName": "ShowColumnStripes", + "Type": "BooleanValue", + "PropertyComments": "Show Column Stripes" } - ], + ] + }, + { + "Name": "x:CT_TableExtensionList/x:extLst", + "ClassName": "TableExtensionList", + "Summary": "Future Feature Data Storage Area.", + "BaseClass": "OpenXmlCompositeElement", "Children": [ { - "Name": "x:CT_ChartFormat/x:chartFormat" + "Name": "x:CT_TableExtension/x:ext" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_ChartFormat/x:chartFormat", + "Name": "x:CT_TableExtension/x:ext", "Occurs": [ - { - "Min": 1 - } + {} ] } ] } }, { - "Name": "x:CT_PivotHierarchies/x:pivotHierarchies", - "ClassName": "PivotHierarchies", - "Summary": "Defines the PivotHierarchies Class.", + "Name": "x:CT_TableExtension/x:ext", + "ClassName": "TableExtension", + "Summary": "Defines the TableExtension Class.", "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { - "QName": ":count", - "PropertyName": "Count", - "Type": "UInt32Value", - "PropertyComments": "OLAP Hierarchy Count" + "QName": ":uri", + "Type": "StringValue", + "PropertyComments": "URI", + "Validators": [ + { + "Name": "RequiredValidator" + }, + { + "Arguments": [ + { + "Type": "Boolean", + "Name": "IsToken", + "Value": "True" + } + ], + "Name": "StringValidator", + "IsInitialVersion": true + } + ] } ], "Children": [ { - "Name": "x:CT_PivotHierarchy/x:pivotHierarchy" + "Name": "x14:CT_Table/x14:table", + "PropertyName": "Table" + }, + { + "Name": "xlmsforms:CT_MsForm/xlmsforms:msForm", + "PropertyName": "MsForm" } ], "Particle": { - "Kind": "Sequence", + "Kind": "Choice", "Items": [ { - "Name": "x:CT_PivotHierarchy/x:pivotHierarchy", + "Name": "x14:CT_Table/x14:table", + "InitialVersion": "Office2010" + }, + { + "Name": "xlmsforms:CT_MsForm/xlmsforms:msForm", + "InitialVersion": "Microsoft365" + }, + { + "Kind": "Any", "Occurs": [ { - "Min": 1 + "Max": 1 } ] } @@ -24658,237 +24539,392 @@ } }, { - "Name": "x:CT_PivotTableStyle/x:pivotTableStyleInfo", - "ClassName": "PivotTableStyle", - "Summary": "Defines the PivotTableStyle Class.", + "Name": "x:CT_FileVersion/x:fileVersion", + "ClassName": "FileVersion", + "Summary": "Defines the FileVersion Class.", + "BaseClass": "OpenXmlLeafElement", + "IsLeafElement": true, + "Attributes": [ + { + "QName": ":appName", + "PropertyName": "ApplicationName", + "Type": "StringValue", + "PropertyComments": "Application Name" + }, + { + "QName": ":lastEdited", + "PropertyName": "LastEdited", + "Type": "StringValue", + "PropertyComments": "Last Edited Version" + }, + { + "QName": ":lowestEdited", + "PropertyName": "LowestEdited", + "Type": "StringValue", + "PropertyComments": "Lowest Edited Version" + }, + { + "QName": ":rupBuild", + "PropertyName": "BuildVersion", + "Type": "StringValue", + "PropertyComments": "Build Version" + }, + { + "QName": ":codeName", + "PropertyName": "CodeName", + "Type": "StringValue", + "PropertyComments": "Code Name", + "Validators": [ + { + "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 + } + ] + } + ] + }, + { + "Name": "x:CT_FileSharing/x:fileSharing", + "ClassName": "FileSharing", + "Summary": "Defines the FileSharing Class.", + "BaseClass": "OpenXmlLeafElement", + "IsLeafElement": true, + "Attributes": [ + { + "QName": ":readOnlyRecommended", + "PropertyName": "ReadOnlyRecommended", + "Type": "BooleanValue", + "PropertyComments": "Read Only Recommended" + }, + { + "QName": ":userName", + "PropertyName": "UserName", + "Type": "StringValue", + "PropertyComments": "User Name" + }, + { + "QName": ":reservationPassword", + "PropertyName": "ReservationPassword", + "Type": "HexBinaryValue", + "PropertyComments": "Write Reservation Password", + "Validators": [ + { + "Arguments": [ + { + "Type": "Long", + "Name": "Length", + "Value": "2" + } + ], + "Name": "StringValidator", + "IsInitialVersion": true + } + ] + }, + { + "QName": ":algorithmName", + "PropertyName": "AlgorithmName", + "Type": "StringValue", + "PropertyComments": "Password hash algorithm" + }, + { + "QName": ":hashValue", + "PropertyName": "HashValue", + "Type": "Base64BinaryValue", + "PropertyComments": "Password hash" + }, + { + "QName": ":saltValue", + "PropertyName": "SaltValue", + "Type": "Base64BinaryValue", + "PropertyComments": "Salt for password hash" + }, + { + "QName": ":spinCount", + "PropertyName": "SpinCount", + "Type": "UInt32Value", + "PropertyComments": "Spin count for password hash" + } + ] + }, + { + "Name": "x:CT_WorkbookPr/x:workbookPr", + "ClassName": "WorkbookProperties", + "Summary": "Defines the WorkbookProperties Class.", "BaseClass": "OpenXmlLeafElement", "IsLeafElement": true, "Attributes": [ { - "QName": ":name", - "PropertyName": "Name", - "Type": "StringValue", - "PropertyComments": "Table Style Name" + "QName": ":date1904", + "PropertyName": "Date1904", + "Type": "BooleanValue", + "PropertyComments": "Date 1904" }, { - "QName": ":showRowHeaders", - "PropertyName": "ShowRowHeaders", + "QName": ":dateCompatibility", + "PropertyName": "DateCompatibility", "Type": "BooleanValue", - "PropertyComments": "Show Row Header Formatting" + "Version": "Office2010", + "PropertyComments": "dateCompatibility", + "Validators": [ + { + "Arguments": [ + { + "Type": "Version", + "Value": "Office2010" + } + ], + "Name": "OfficeVersionValidator" + } + ] }, { - "QName": ":showColHeaders", - "PropertyName": "ShowColumnHeaders", + "QName": ":showObjects", + "PropertyName": "ShowObjects", + "Type": "EnumValue\u003CDocumentFormat.OpenXml.Spreadsheet.ObjectDisplayValues\u003E", + "PropertyComments": "Show Objects" + }, + { + "QName": ":showBorderUnselectedTables", + "PropertyName": "ShowBorderUnselectedTables", "Type": "BooleanValue", - "PropertyComments": "Show Table Style Column Header Formatting" + "PropertyComments": "Show Border Unselected Table" }, { - "QName": ":showRowStripes", - "PropertyName": "ShowRowStripes", + "QName": ":filterPrivacy", + "PropertyName": "FilterPrivacy", "Type": "BooleanValue", - "PropertyComments": "Show Row Stripes" + "PropertyComments": "Filter Privacy" }, { - "QName": ":showColStripes", - "PropertyName": "ShowColumnStripes", + "QName": ":promptedSolutions", + "PropertyName": "PromptedSolutions", "Type": "BooleanValue", - "PropertyComments": "Show Column Stripes" + "PropertyComments": "Prompted Solutions" }, { - "QName": ":showLastColumn", - "PropertyName": "ShowLastColumn", + "QName": ":showInkAnnotation", + "PropertyName": "ShowInkAnnotation", "Type": "BooleanValue", - "PropertyComments": "Show Last Column" - } - ] - }, - { - "Name": "x:CT_PivotFilters/x:filters", - "ClassName": "PivotFilters", - "Summary": "Defines the PivotFilters Class.", - "BaseClass": "OpenXmlCompositeElement", - "Attributes": [ + "PropertyComments": "Show Ink Annotations" + }, { - "QName": ":count", - "PropertyName": "Count", - "Type": "UInt32Value", - "PropertyComments": "Pivot Filter Count" - } - ], - "Children": [ + "QName": ":backupFile", + "PropertyName": "BackupFile", + "Type": "BooleanValue", + "PropertyComments": "Create Backup File" + }, { - "Name": "x:CT_PivotFilter/x:filter" - } - ], - "Particle": { - "Kind": "Sequence", - "Items": [ - { - "Name": "x:CT_PivotFilter/x:filter", - "Occurs": [ - {} - ] - } - ] - } - }, - { - "Name": "x:CT_RowHierarchiesUsage/x:rowHierarchiesUsage", - "ClassName": "RowHierarchiesUsage", - "Summary": "Defines the RowHierarchiesUsage Class.", - "BaseClass": "OpenXmlCompositeElement", - "Attributes": [ + "QName": ":saveExternalLinkValues", + "PropertyName": "SaveExternalLinkValues", + "Type": "BooleanValue", + "PropertyComments": "Save External Link Values" + }, { - "QName": ":count", - "PropertyName": "Count", - "Type": "UInt32Value", - "PropertyComments": "Item Count" - } - ], - "Children": [ + "QName": ":updateLinks", + "PropertyName": "UpdateLinks", + "Type": "EnumValue\u003CDocumentFormat.OpenXml.Spreadsheet.UpdateLinksBehaviorValues\u003E", + "PropertyComments": "Update Links Behavior" + }, { - "Name": "x:CT_HierarchyUsage/x:rowHierarchyUsage" - } - ], - "Particle": { - "Kind": "Sequence", - "Items": [ - { - "Name": "x:CT_HierarchyUsage/x:rowHierarchyUsage", - "Occurs": [ - { - "Min": 1 - } - ] - } - ] - } - }, - { - "Name": "x:CT_ColHierarchiesUsage/x:colHierarchiesUsage", - "ClassName": "ColumnHierarchiesUsage", - "Summary": "Defines the ColumnHierarchiesUsage Class.", - "BaseClass": "OpenXmlCompositeElement", - "Attributes": [ + "QName": ":codeName", + "PropertyName": "CodeName", + "Type": "StringValue", + "PropertyComments": "Code Name" + }, { - "QName": ":count", - "PropertyName": "Count", - "Type": "UInt32Value", - "PropertyComments": "Items Count" - } - ], - "Children": [ + "QName": ":hidePivotFieldList", + "PropertyName": "HidePivotFieldList", + "Type": "BooleanValue", + "PropertyComments": "Hide Pivot Field List" + }, { - "Name": "x:CT_HierarchyUsage/x:colHierarchyUsage" - } - ], - "Particle": { - "Kind": "Sequence", - "Items": [ - { - "Name": "x:CT_HierarchyUsage/x:colHierarchyUsage", - "Occurs": [ - { - "Min": 1, - "Max": 16384 - } - ] - } - ] - } - }, - { - "Name": "x:CT_pivotTableDefinitionExtensionList/x:extLst", - "ClassName": "PivotTableDefinitionExtensionList", - "Summary": "Defines the PivotTableDefinitionExtensionList Class.", - "BaseClass": "OpenXmlCompositeElement", - "Children": [ + "QName": ":showPivotChartFilter", + "PropertyName": "ShowPivotChartFilter", + "Type": "BooleanValue", + "PropertyComments": "Show Pivot Chart Filter" + }, { - "Name": "x:CT_pivotTableDefinitionExtension/x:ext" + "QName": ":allowRefreshQuery", + "PropertyName": "AllowRefreshQuery", + "Type": "BooleanValue", + "PropertyComments": "Allow Refresh Query" + }, + { + "QName": ":publishItems", + "PropertyName": "PublishItems", + "Type": "BooleanValue", + "PropertyComments": "Publish Items" + }, + { + "QName": ":checkCompatibility", + "PropertyName": "CheckCompatibility", + "Type": "BooleanValue", + "PropertyComments": "Check Compatibility On Save" + }, + { + "QName": ":autoCompressPictures", + "PropertyName": "AutoCompressPictures", + "Type": "BooleanValue", + "PropertyComments": "Auto Compress Pictures" + }, + { + "QName": ":refreshAllConnections", + "PropertyName": "RefreshAllConnections", + "Type": "BooleanValue", + "PropertyComments": "Refresh all Connections on Open" + }, + { + "QName": ":defaultThemeVersion", + "PropertyName": "DefaultThemeVersion", + "Type": "UInt32Value", + "PropertyComments": "Default Theme Version" } - ], - "Particle": { - "Kind": "Sequence", - "Items": [ - { - "Name": "x:CT_pivotTableDefinitionExtension/x:ext", - "Occurs": [ - {} - ] - } - ] - } + ] }, { - "Name": "x:CT_pivotTableDefinitionExtension/x:ext", - "ClassName": "PivotTableDefinitionExtension", - "Summary": "Defines the PivotTableDefinitionExtension Class.", - "BaseClass": "OpenXmlCompositeElement", + "Name": "x:CT_WorkbookProtection/x:workbookProtection", + "ClassName": "WorkbookProtection", + "Summary": "Defines the WorkbookProtection Class.", + "BaseClass": "OpenXmlLeafElement", + "IsLeafElement": true, "Attributes": [ { - "QName": ":uri", - "Type": "StringValue", - "PropertyComments": "URI", + "QName": ":workbookPassword", + "PropertyName": "WorkbookPassword", + "Type": "HexBinaryValue", + "PropertyComments": "Workbook Password", "Validators": [ { - "Name": "RequiredValidator" - }, + "Arguments": [ + { + "Type": "Long", + "Name": "Length", + "Value": "2" + } + ], + "Name": "StringValidator", + "IsInitialVersion": true + } + ] + }, + { + "QName": ":revisionsPassword", + "PropertyName": "RevisionsPassword", + "Type": "HexBinaryValue", + "PropertyComments": "Revisions Password", + "Validators": [ { "Arguments": [ { - "Type": "Boolean", - "Name": "IsToken", - "Value": "True" + "Type": "Long", + "Name": "Length", + "Value": "2" } ], "Name": "StringValidator", "IsInitialVersion": true } ] - } - ], - "Children": [ + }, { - "Name": "x14:CT_PivotTableDefinition/x14:pivotTableDefinition", - "PropertyName": "PivotTableDefinition" + "QName": ":lockStructure", + "PropertyName": "LockStructure", + "Type": "BooleanValue", + "PropertyComments": "Lock Structure" }, { - "Name": "x15:CT_PivotTableData/x15:pivotTableData", - "PropertyName": "PivotTableData" + "QName": ":lockWindows", + "PropertyName": "LockWindows", + "Type": "BooleanValue", + "PropertyComments": "Lock Windows" }, { - "Name": "x15:CT_PivotTableUISettings/x15:pivotTableUISettings", - "PropertyName": "PivotTableUISettings" + "QName": ":lockRevision", + "PropertyName": "LockRevision", + "Type": "BooleanValue", + "PropertyComments": "Lock Revisions" }, { - "Name": "xxpvi:CT_PivotVersionInfo/xxpvi:pivotVersionInfo", - "PropertyName": "PivotVersionInfo" + "QName": ":revisionsAlgorithmName", + "PropertyName": "RevisionsAlgorithmName", + "Type": "StringValue", + "PropertyComments": "Cryptographic Algorithm Name" + }, + { + "QName": ":revisionsHashValue", + "PropertyName": "RevisionsHashValue", + "Type": "Base64BinaryValue", + "PropertyComments": "Password Hash Value" + }, + { + "QName": ":revisionsSaltValue", + "PropertyName": "RevisionsSaltValue", + "Type": "Base64BinaryValue", + "PropertyComments": "Salt Value for Password Verifier" + }, + { + "QName": ":revisionsSpinCount", + "PropertyName": "RevisionsSpinCount", + "Type": "UInt32Value", + "PropertyComments": "Iterations to Run Hashing Algorithm" + }, + { + "QName": ":workbookAlgorithmName", + "PropertyName": "WorkbookAlgorithmName", + "Type": "StringValue", + "PropertyComments": "Cryptographic Algorithm Name" + }, + { + "QName": ":workbookHashValue", + "PropertyName": "WorkbookHashValue", + "Type": "Base64BinaryValue", + "PropertyComments": "Password Hash Value" + }, + { + "QName": ":workbookSaltValue", + "PropertyName": "WorkbookSaltValue", + "Type": "Base64BinaryValue", + "PropertyComments": "Salt Value for Password Verifier" + }, + { + "QName": ":workbookSpinCount", + "PropertyName": "WorkbookSpinCount", + "Type": "UInt32Value", + "PropertyComments": "Iterations to Run Hashing Algorithm" + } + ] + }, + { + "Name": "x:CT_BookViews/x:bookViews", + "ClassName": "BookViews", + "Summary": "Defines the BookViews Class.", + "BaseClass": "OpenXmlCompositeElement", + "Children": [ + { + "Name": "x:CT_BookView/x:workbookView" } ], "Particle": { - "Kind": "Choice", + "Kind": "Sequence", "Items": [ { - "Name": "x14:CT_PivotTableDefinition/x14:pivotTableDefinition", - "InitialVersion": "Office2010" - }, - { - "Name": "x15:CT_PivotTableData/x15:pivotTableData", - "InitialVersion": "Office2013" - }, - { - "Name": "x15:CT_PivotTableUISettings/x15:pivotTableUISettings", - "InitialVersion": "Office2013" - }, - { - "Name": "xxpvi:CT_PivotVersionInfo/xxpvi:pivotVersionInfo", - "InitialVersion": "Microsoft365" - }, - { - "Kind": "Any", + "Name": "x:CT_BookView/x:workbookView", "Occurs": [ { - "Max": 1 + "Min": 1 } ] } @@ -24896,63 +24932,24 @@ } }, { - "Name": "x:CT_CacheSource/x:cacheSource", - "ClassName": "CacheSource", - "Summary": "Defines the CacheSource Class.", - "CompositeType": "OneChoice", + "Name": "x:CT_Sheets/x:sheets", + "ClassName": "Sheets", + "Summary": "Defines the Sheets Class.", "BaseClass": "OpenXmlCompositeElement", - "Attributes": [ - { - "QName": ":type", - "PropertyName": "Type", - "Type": "EnumValue\u003CDocumentFormat.OpenXml.Spreadsheet.SourceValues\u003E", - "PropertyComments": "type", - "Validators": [ - { - "Name": "RequiredValidator" - } - ] - }, - { - "QName": ":connectionId", - "PropertyName": "ConnectionId", - "Type": "UInt32Value", - "PropertyComments": "connectionId" - } - ], "Children": [ { - "Name": "x:CT_WorksheetSource/x:worksheetSource", - "PropertyName": "WorksheetSource" - }, - { - "Name": "x:CT_Consolidation/x:consolidation", - "PropertyName": "Consolidation" - }, - { - "Name": "x:CT_CacheSourceExtensionList/x:extLst", - "PropertyName": "CacheSourceExtensionList" + "Name": "x:CT_Sheet/x:sheet" } ], "Particle": { - "Kind": "Choice", - "Occurs": [ - { - "Max": 1 - } - ], + "Kind": "Sequence", "Items": [ { - "Name": "x:CT_WorksheetSource/x:worksheetSource" - }, - { - "Name": "x:CT_Consolidation/x:consolidation" - }, - { - "Name": "x:CT_CacheSourceExtensionList/x:extLst", + "Name": "x:CT_Sheet/x:sheet", "Occurs": [ { - "Max": 1 + "Min": 1, + "Max": 32767 } ] } @@ -24960,61 +24957,61 @@ } }, { - "Name": "x:CT_CacheFields/x:cacheFields", - "ClassName": "CacheFields", - "Summary": "Defines the CacheFields Class.", + "Name": "x:CT_FunctionGroups/x:functionGroups", + "ClassName": "FunctionGroups", + "Summary": "Defines the FunctionGroups Class.", "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { - "QName": ":count", - "PropertyName": "Count", + "QName": ":builtInGroupCount", + "PropertyName": "BuiltInGroupCount", "Type": "UInt32Value", - "PropertyComments": "Field Count" + "PropertyComments": "Built-in Function Group Count" } ], "Children": [ { - "Name": "x:CT_CacheField/x:cacheField" + "Name": "x:CT_FunctionGroup/x:functionGroup" } ], "Particle": { "Kind": "Sequence", + "Occurs": [ + { + "Min": 1 + } + ], "Items": [ { - "Name": "x:CT_CacheField/x:cacheField", + "Name": "x:CT_FunctionGroup/x:functionGroup", "Occurs": [ - {} + { + "Max": 255 + } ] } ] } }, { - "Name": "x:CT_CacheHierarchies/x:cacheHierarchies", - "ClassName": "CacheHierarchies", - "Summary": "Defines the CacheHierarchies Class.", + "Name": "x:CT_ExternalReferences/x:externalReferences", + "ClassName": "ExternalReferences", + "Summary": "Defines the ExternalReferences Class.", "BaseClass": "OpenXmlCompositeElement", - "Attributes": [ - { - "QName": ":count", - "PropertyName": "Count", - "Type": "UInt32Value", - "PropertyComments": "Hierarchy Count" - } - ], "Children": [ { - "Name": "x:CT_CacheHierarchy/x:cacheHierarchy" + "Name": "x:CT_ExternalReference/x:externalReference" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_CacheHierarchy/x:cacheHierarchy", + "Name": "x:CT_ExternalReference/x:externalReference", "Occurs": [ { - "Min": 1 + "Min": 1, + "Max": 65534 } ] } @@ -25022,28 +25019,20 @@ } }, { - "Name": "x:CT_PCDKPIs/x:kpis", - "ClassName": "Kpis", - "Summary": "Defines the Kpis Class.", + "Name": "x:CT_DefinedNames/x:definedNames", + "ClassName": "DefinedNames", + "Summary": "Defines the DefinedNames Class.", "BaseClass": "OpenXmlCompositeElement", - "Attributes": [ - { - "QName": ":count", - "PropertyName": "Count", - "Type": "UInt32Value", - "PropertyComments": "KPI Count" - } - ], "Children": [ { - "Name": "x:CT_PCDKPI/x:kpi" + "Name": "x:CT_DefinedName/x:definedName" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_PCDKPI/x:kpi", + "Name": "x:CT_DefinedName/x:definedName", "Occurs": [ {} ] @@ -25052,107 +25041,127 @@ } }, { - "Name": "x:CT_TupleCache/x:tupleCache", - "ClassName": "TupleCache", - "Summary": "Defines the TupleCache Class.", - "CompositeType": "OneSequence", - "BaseClass": "OpenXmlCompositeElement", - "Children": [ + "Name": "x:CT_CalcPr/x:calcPr", + "ClassName": "CalculationProperties", + "Summary": "Defines the CalculationProperties Class.", + "BaseClass": "OpenXmlLeafElement", + "IsLeafElement": true, + "Attributes": [ { - "Name": "x:CT_PCDSDTCEntries/x:entries", - "PropertyName": "Entries", - "PropertyComments": "Entries" + "QName": ":calcId", + "PropertyName": "CalculationId", + "Type": "UInt32Value", + "PropertyComments": "Calculation Id" }, { - "Name": "x:CT_Sets/x:sets", - "PropertyName": "Sets", - "PropertyComments": "Sets" + "QName": ":calcMode", + "PropertyName": "CalculationMode", + "Type": "EnumValue\u003CDocumentFormat.OpenXml.Spreadsheet.CalculateModeValues\u003E", + "PropertyComments": "Calculation Mode" }, { - "Name": "x:CT_QueryCache/x:queryCache", - "PropertyName": "QueryCache", - "PropertyComments": "OLAP Query Cache" + "QName": ":fullCalcOnLoad", + "PropertyName": "FullCalculationOnLoad", + "Type": "BooleanValue", + "PropertyComments": "Full Calculation On Load" }, { - "Name": "x:CT_ServerFormats/x:serverFormats", - "PropertyName": "ServerFormats", - "PropertyComments": "Server Formats" + "QName": ":refMode", + "PropertyName": "ReferenceMode", + "Type": "EnumValue\u003CDocumentFormat.OpenXml.Spreadsheet.ReferenceModeValues\u003E", + "PropertyComments": "Reference Mode" }, { - "Name": "x:CT_ExtensionList/x:extLst", - "PropertyName": "ExtensionList", - "PropertyComments": "Future Feature Data Storage Area" + "QName": ":iterate", + "PropertyName": "Iterate", + "Type": "BooleanValue", + "PropertyComments": "Calculation Iteration" + }, + { + "QName": ":iterateCount", + "PropertyName": "IterateCount", + "Type": "UInt32Value", + "PropertyComments": "Iteration Count" + }, + { + "QName": ":iterateDelta", + "PropertyName": "IterateDelta", + "Type": "DoubleValue", + "PropertyComments": "Iterative Calculation Delta" + }, + { + "QName": ":fullPrecision", + "PropertyName": "FullPrecision", + "Type": "BooleanValue", + "PropertyComments": "Full Precision Calculation" + }, + { + "QName": ":calcCompleted", + "PropertyName": "CalculationCompleted", + "Type": "BooleanValue", + "PropertyComments": "Calc Completed" + }, + { + "QName": ":calcOnSave", + "PropertyName": "CalculationOnSave", + "Type": "BooleanValue", + "PropertyComments": "Calculate On Save" + }, + { + "QName": ":concurrentCalc", + "PropertyName": "ConcurrentCalculation", + "Type": "BooleanValue", + "PropertyComments": "Concurrent Calculations" + }, + { + "QName": ":concurrentManualCount", + "PropertyName": "ConcurrentManualCount", + "Type": "UInt32Value", + "PropertyComments": "Concurrent Thread Manual Count" + }, + { + "QName": ":forceFullCalc", + "PropertyName": "ForceFullCalculation", + "Type": "BooleanValue", + "PropertyComments": "Force Full Calculation" } - ], - "Particle": { - "Kind": "Sequence", - "Items": [ - { - "Name": "x:CT_PCDSDTCEntries/x:entries", - "Occurs": [ - { - "Max": 1 - } - ] - }, - { - "Name": "x:CT_Sets/x:sets", - "Occurs": [ - { - "Max": 1 - } - ] - }, - { - "Name": "x:CT_QueryCache/x:queryCache", - "Occurs": [ - { - "Max": 1 - } - ] - }, - { - "Name": "x:CT_ServerFormats/x:serverFormats", - "Occurs": [ - { - "Max": 1 - } - ] - }, - { - "Name": "x:CT_ExtensionList/x:extLst", - "Occurs": [ - { - "Max": 1 - } - ] - } - ] - } + ] }, { - "Name": "x:CT_CalculatedItems/x:calculatedItems", - "ClassName": "CalculatedItems", - "Summary": "Defines the CalculatedItems Class.", - "BaseClass": "OpenXmlCompositeElement", + "Name": "x:CT_OleSize/x:oleSize", + "ClassName": "OleSize", + "Summary": "Defines the OleSize Class.", + "BaseClass": "OpenXmlLeafElement", + "IsLeafElement": true, "Attributes": [ { - "QName": ":count", - "PropertyName": "Count", - "Type": "UInt32Value", - "PropertyComments": "Calculated Item Formula Count" + "QName": ":ref", + "PropertyName": "Reference", + "Type": "StringValue", + "PropertyComments": "Reference", + "Validators": [ + { + "Name": "RequiredValidator" + } + ] } - ], + ] + }, + { + "Name": "x:CT_CustomWorkbookViews/x:customWorkbookViews", + "ClassName": "CustomWorkbookViews", + "Summary": "Defines the CustomWorkbookViews Class.", + "BaseClass": "OpenXmlCompositeElement", "Children": [ { - "Name": "x:CT_CalculatedItem/x:calculatedItem" + "Name": "x:CT_CustomWorkbookView/x:customWorkbookView" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_CalculatedItem/x:calculatedItem", + "Name": "x:CT_CustomWorkbookView/x:customWorkbookView", "Occurs": [ { "Min": 1 @@ -25163,28 +25172,20 @@ } }, { - "Name": "x:CT_CalculatedMembers/x:calculatedMembers", - "ClassName": "CalculatedMembers", - "Summary": "Defines the CalculatedMembers Class.", + "Name": "x:CT_PivotCaches/x:pivotCaches", + "ClassName": "PivotCaches", + "Summary": "Defines the PivotCaches Class.", "BaseClass": "OpenXmlCompositeElement", - "Attributes": [ - { - "QName": ":count", - "PropertyName": "Count", - "Type": "UInt32Value", - "PropertyComments": "Calculated Members Count" - } - ], "Children": [ { - "Name": "x:CT_CalculatedMember/x:calculatedMember" + "Name": "x:CT_PivotCache/x:pivotCache" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_CalculatedMember/x:calculatedMember", + "Name": "x:CT_PivotCache/x:pivotCache", "Occurs": [ { "Min": 1 @@ -25195,110 +25196,148 @@ } }, { - "Name": "x:CT_Dimensions/x:dimensions", - "ClassName": "Dimensions", - "Summary": "Defines the Dimensions Class.", - "BaseClass": "OpenXmlCompositeElement", + "Name": "x:CT_WebPublishing/x:webPublishing", + "ClassName": "WebPublishing", + "Summary": "Defines the WebPublishing Class.", + "BaseClass": "OpenXmlLeafElement", + "IsLeafElement": true, "Attributes": [ { - "QName": ":count", - "PropertyName": "Count", + "QName": ":css", + "PropertyName": "UseCss", + "Type": "BooleanValue", + "PropertyComments": "css" + }, + { + "QName": ":thicket", + "PropertyName": "Thicket", + "Type": "BooleanValue", + "PropertyComments": "thicket" + }, + { + "QName": ":longFileNames", + "PropertyName": "LongFileNames", + "Type": "BooleanValue", + "PropertyComments": "longFileNames" + }, + { + "QName": ":vml", + "PropertyName": "UseVml", + "Type": "BooleanValue", + "PropertyComments": "vml" + }, + { + "QName": ":allowPng", + "PropertyName": "AllowPng", + "Type": "BooleanValue", + "PropertyComments": "allowPng" + }, + { + "QName": ":targetScreenSize", + "PropertyName": "TargetScreenSize", + "Type": "EnumValue\u003CDocumentFormat.OpenXml.Spreadsheet.TargetScreenSizeValues\u003E", + "PropertyComments": "targetScreenSize" + }, + { + "QName": ":dpi", + "PropertyName": "Dpi", "Type": "UInt32Value", - "PropertyComments": "OLAP Dimensions Count" - } - ], - "Children": [ + "PropertyComments": "dpi" + }, + { + "QName": ":codePage", + "PropertyName": "CodePage", + "Type": "UInt32Value", + "PropertyComments": "codePage" + }, { - "Name": "x:CT_PivotDimension/x:dimension" + "QName": ":characterSet", + "PropertyName": "CharacterSet", + "Type": "StringValue", + "PropertyComments": "characterSet" } - ], - "Particle": { - "Kind": "Sequence", - "Items": [ - { - "Name": "x:CT_PivotDimension/x:dimension", - "Occurs": [ - {} - ] - } - ] - } + ] }, { - "Name": "x:CT_MeasureGroups/x:measureGroups", - "ClassName": "MeasureGroups", - "Summary": "Defines the MeasureGroups Class.", - "BaseClass": "OpenXmlCompositeElement", + "Name": "x:CT_FileRecoveryPr/x:fileRecoveryPr", + "ClassName": "FileRecoveryProperties", + "Summary": "Defines the FileRecoveryProperties Class.", + "BaseClass": "OpenXmlLeafElement", + "IsLeafElement": true, "Attributes": [ { - "QName": ":count", - "PropertyName": "Count", - "Type": "UInt32Value", - "PropertyComments": "Measure Group Count" - } - ], - "Children": [ + "QName": ":autoRecover", + "PropertyName": "AutoRecover", + "Type": "BooleanValue", + "PropertyComments": "Auto Recover" + }, { - "Name": "x:CT_MeasureGroup/x:measureGroup" + "QName": ":crashSave", + "PropertyName": "CrashSave", + "Type": "BooleanValue", + "PropertyComments": "Crash Save" + }, + { + "QName": ":dataExtractLoad", + "PropertyName": "DataExtractLoad", + "Type": "BooleanValue", + "PropertyComments": "Data Extract Load" + }, + { + "QName": ":repairLoad", + "PropertyName": "RepairLoad", + "Type": "BooleanValue", + "PropertyComments": "Repair Load" } - ], - "Particle": { - "Kind": "Sequence", - "Items": [ - { - "Name": "x:CT_MeasureGroup/x:measureGroup", - "Occurs": [ - {} - ] - } - ] - } + ] }, { - "Name": "x:CT_MeasureDimensionMaps/x:maps", - "ClassName": "Maps", - "Summary": "Defines the Maps Class.", + "Name": "x:CT_WebPublishObjects/x:webPublishObjects", + "ClassName": "WebPublishObjects", + "Summary": "Defines the WebPublishObjects Class.", "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { "QName": ":count", "PropertyName": "Count", "Type": "UInt32Value", - "PropertyComments": "Measure Group Count" + "PropertyComments": "Count" } ], "Children": [ { - "Name": "x:CT_MeasureDimensionMap/x:map" + "Name": "x:CT_WebPublishObject/x:webPublishObject" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_MeasureDimensionMap/x:map", + "Name": "x:CT_WebPublishObject/x:webPublishObject", "Occurs": [ - {} + { + "Min": 1 + } ] } ] } }, { - "Name": "x:CT_PivotCacheDefinitionExtensionList/x:extLst", - "ClassName": "PivotCacheDefinitionExtensionList", - "Summary": "Defines the PivotCacheDefinitionExtensionList Class.", + "Name": "x:CT_WorkbookExtensionList/x:extLst", + "ClassName": "WorkbookExtensionList", + "Summary": "Defines the WorkbookExtensionList Class.", "BaseClass": "OpenXmlCompositeElement", "Children": [ { - "Name": "x:CT_PivotCacheDefinitionExtension/x:ext" + "Name": "x:CT_WorkbookExtension/x:ext" } ], "Particle": { "Kind": "Sequence", "Items": [ { - "Name": "x:CT_PivotCacheDefinitionExtension/x:ext", + "Name": "x:CT_WorkbookExtension/x:ext", "Occurs": [ {} ] @@ -25307,9 +25346,9 @@ } }, { - "Name": "x:CT_PivotCacheDefinitionExtension/x:ext", - "ClassName": "PivotCacheDefinitionExtension", - "Summary": "Defines the PivotCacheDefinitionExtension Class.", + "Name": "x:CT_WorkbookExtension/x:ext", + "ClassName": "WorkbookExtension", + "Summary": "Defines the WorkbookExtension Class.", "BaseClass": "OpenXmlCompositeElement", "Attributes": [ { @@ -25336,133 +25375,110 @@ ], "Children": [ { - "Name": "x14:CT_PivotCacheDefinition/x14:pivotCacheDefinition", - "PropertyName": "PivotCacheDefinition" + "Name": "x14:CT_DefinedNames/x14:definedNames", + "PropertyName": "DefinedNames" }, { - "Name": "x15:CT_PivotCacheDecoupled/x15:pivotCacheDecoupled", - "PropertyName": "PivotCacheDecoupled" + "Name": "x:CT_PivotCaches/x14:pivotCaches", + "PropertyName": "PivotCaches" }, { - "Name": "x15:CT_TimelinePivotCacheDefinition/x15:timelinePivotCacheDefinition", - "PropertyName": "TimelinePivotCacheDefinition" + "Name": "x14:CT_SlicerCaches/x14:slicerCaches", + "PropertyName": "SlicerCaches" }, { - "Name": "x15:CT_PivotCacheIdVersion/x15:pivotCacheIdVersion", - "PropertyName": "PivotCacheIdVersion" + "Name": "x14:CT_SlicerCaches/x15:slicerCaches", + "PropertyName": "SlicerCaches" }, { - "Name": "xsd:boolean/xxpim:implicitMeasureSupport", - "PropertyName": "Xsdboolean" + "Name": "x14:CT_WorkbookPr/x14:workbookPr", + "PropertyName": "WorkbookProperties" }, { - "Name": "xxpvi:CT_CacheVersionInfo/xxpvi:cacheVersionInfo", - "PropertyName": "CacheVersionInfo" + "Name": "x:CT_PivotCaches/x15:pivotCaches", + "PropertyName": "PivotCaches" + }, + { + "Name": "x15:CT_PivotTableReferences/x15:pivotTableReferences", + "PropertyName": "PivotTableReferences" + }, + { + "Name": "x:CT_PivotCaches/x15:timelineCachePivotCaches", + "PropertyName": "TimelineCachePivotCaches" + }, + { + "Name": "x15:CT_TimelineCacheRefs/x15:timelineCacheRefs", + "PropertyName": "TimelineCacheReferences" + }, + { + "Name": "x15:CT_WorkbookPr/x15:workbookPr", + "PropertyName": "WorkbookProperties" + }, + { + "Name": "x15:CT_DataModel/x15:dataModel", + "PropertyName": "DataModel" + }, + { + "Name": "xlecs:CT_ExternalCodeService/xlecs:externalCodeService", + "PropertyName": "ExternalCodeService" } ], "Particle": { "Kind": "Choice", "Items": [ { - "Name": "x14:CT_PivotCacheDefinition/x14:pivotCacheDefinition", + "Name": "x14:CT_DefinedNames/x14:definedNames", "InitialVersion": "Office2010" }, { - "Name": "x15:CT_PivotCacheDecoupled/x15:pivotCacheDecoupled", + "Name": "x:CT_PivotCaches/x14:pivotCaches", + "InitialVersion": "Office2010" + }, + { + "Name": "x14:CT_SlicerCaches/x14:slicerCaches", + "InitialVersion": "Office2010" + }, + { + "Name": "x14:CT_SlicerCaches/x15:slicerCaches", "InitialVersion": "Office2013" }, { - "Name": "x15:CT_TimelinePivotCacheDefinition/x15:timelinePivotCacheDefinition", + "Name": "x14:CT_WorkbookPr/x14:workbookPr", + "InitialVersion": "Office2010" + }, + { + "Name": "x:CT_PivotCaches/x15:pivotCaches", "InitialVersion": "Office2013" }, { - "Name": "x15:CT_PivotCacheIdVersion/x15:pivotCacheIdVersion", + "Name": "x15:CT_PivotTableReferences/x15:pivotTableReferences", "InitialVersion": "Office2013" }, { - "Name": "xsd:boolean/xxpim:implicitMeasureSupport", - "InitialVersion": "Office2021" + "Name": "x:CT_PivotCaches/x15:timelineCachePivotCaches", + "InitialVersion": "Office2013" }, { - "Name": "xxpvi:CT_CacheVersionInfo/xxpvi:cacheVersionInfo", - "InitialVersion": "Microsoft365" + "Name": "x15:CT_TimelineCacheRefs/x15:timelineCacheRefs", + "InitialVersion": "Office2013" }, { - "Kind": "Any", - "Occurs": [ - { - "Max": 1 - } - ] - } - ] - } - }, - { - "Name": "x:CT_ExternalSheetNames/x:sheetNames", - "ClassName": "SheetNames", - "Summary": "Sheet names of supporting book.", - "BaseClass": "OpenXmlCompositeElement", - "Children": [ - { - "Name": "x:CT_ExternalSheetName/x:sheetName" - } - ], - "Particle": { - "Kind": "Sequence", - "Items": [ + "Name": "x15:CT_WorkbookPr/x15:workbookPr", + "InitialVersion": "Office2013" + }, { - "Name": "x:CT_ExternalSheetName/x:sheetName", - "Occurs": [ - { - "Min": 1, - "Max": 65534 - } - ] - } - ] - } - }, - { - "Name": "x:CT_ExternalDefinedNames/x:definedNames", - "ClassName": "ExternalDefinedNames", - "Summary": "Defined names associated with supporting book..", - "BaseClass": "OpenXmlCompositeElement", - "Children": [ - { - "Name": "x:CT_ExternalDefinedName/x:definedName" - } - ], - "Particle": { - "Kind": "Sequence", - "Items": [ + "Name": "x15:CT_DataModel/x15:dataModel", + "InitialVersion": "Office2013" + }, { - "Name": "x:CT_ExternalDefinedName/x:definedName", - "Occurs": [ - {} - ] - } - ] - } - }, - { - "Name": "x:CT_ExternalSheetDataSet/x:sheetDataSet", - "ClassName": "SheetDataSet", - "Summary": "Cached worksheet data associated with supporting book.", - "BaseClass": "OpenXmlCompositeElement", - "Children": [ - { - "Name": "x:CT_ExternalSheetData/x:sheetData" - } - ], - "Particle": { - "Kind": "Sequence", - "Items": [ + "Name": "xlecs:CT_ExternalCodeService/xlecs:externalCodeService", + "InitialVersion": "Microsoft365" + }, { - "Name": "x:CT_ExternalSheetData/x:sheetData", + "Kind": "Any", "Occurs": [ { - "Min": 1 + "Max": 1 } ] } diff --git a/data/typed/namespaces.json b/data/typed/namespaces.json index a9864f8a9..03319508f 100644 --- a/data/typed/namespaces.json +++ b/data/typed/namespaces.json @@ -155,6 +155,22 @@ "Prefix": "xxpvi", "Namespace": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotVersionInfo" }, + { + "Prefix": "xxdsv", + "Namespace": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.DataSourceVersioning" + }, + { + "Prefix": "xlecs", + "Namespace": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.ExternalCodeService" + }, + { + "Prefix": "xlmsforms", + "Namespace": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms" + }, + { + "Prefix": "xlpcalc", + "Namespace": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.Pivot2023Calculation" + }, { "Prefix": "wne", "Namespace": "DocumentFormat.OpenXml.Office.Word" diff --git a/data/typed/schemas_microsoft_com_office_spreadsheetml_2022_featurepropertybag.json b/data/typed/schemas_microsoft_com_office_spreadsheetml_2022_featurepropertybag.json index 6705b9386..4691f3b2b 100644 --- a/data/typed/schemas_microsoft_com_office_spreadsheetml_2022_featurepropertybag.json +++ b/data/typed/schemas_microsoft_com_office_spreadsheetml_2022_featurepropertybag.json @@ -35,6 +35,10 @@ "Name": "xsd:double/xfpb:d", "ClassName": "Xsddouble" }, + { + "Name": "xfpb:CT_DXFComplement/xfpb:DXFComplement", + "ClassName": "DXFComplement" + }, { "Name": "x:CT_ExtensionList/xfpb:extLst", "ClassName": "ExtensionList" diff --git a/data/typed/schemas_microsoft_com_office_spreadsheetml_2023_dataSourceVersioning.json b/data/typed/schemas_microsoft_com_office_spreadsheetml_2023_dataSourceVersioning.json new file mode 100644 index 000000000..b641dbc8a --- /dev/null +++ b/data/typed/schemas_microsoft_com_office_spreadsheetml_2023_dataSourceVersioning.json @@ -0,0 +1,18 @@ +[ + { + "Name": "xsd:string/xxdsv:lastEditFeature", + "ClassName": "LastEditFeatureXsdstring" + }, + { + "Name": "xsd:string/xxdsv:lastRefreshFeature", + "ClassName": "LastRefreshFeatureXsdstring" + }, + { + "Name": "xsd:string/xxdsv:requiredFeature", + "ClassName": "RequiredFeatureXsdstring" + }, + { + "Name": "xxdsv:CT_VersionInfo/xxdsv:versionInfo", + "ClassName": "VersionInfo" + } +] \ No newline at end of file diff --git a/data/typed/schemas_microsoft_com_office_spreadsheetml_2023_externalCodeService.json b/data/typed/schemas_microsoft_com_office_spreadsheetml_2023_externalCodeService.json new file mode 100644 index 000000000..9ffd16b6e --- /dev/null +++ b/data/typed/schemas_microsoft_com_office_spreadsheetml_2023_externalCodeService.json @@ -0,0 +1,6 @@ +[ + { + "Name": "xlecs:CT_ExternalCodeService/xlecs:externalCodeService", + "ClassName": "ExternalCodeService" + } +] \ No newline at end of file diff --git a/data/typed/schemas_microsoft_com_office_spreadsheetml_2023_msForms.json b/data/typed/schemas_microsoft_com_office_spreadsheetml_2023_msForms.json new file mode 100644 index 000000000..e44d9d791 --- /dev/null +++ b/data/typed/schemas_microsoft_com_office_spreadsheetml_2023_msForms.json @@ -0,0 +1,18 @@ +[ + { + "Name": "x:CT_ExtensionList/xlmsforms:extLst", + "ClassName": "ExtensionList" + }, + { + "Name": "xlmsforms:CT_MsForm/xlmsforms:msForm", + "ClassName": "MsForm" + }, + { + "Name": "xlmsforms:CT_Question/xlmsforms:question", + "ClassName": "Question" + }, + { + "Name": "x:ST_Xstring/xlmsforms:syncedQuestionId", + "ClassName": "SyncedQuestionId" + } +] \ No newline at end of file diff --git a/data/typed/schemas_microsoft_com_office_spreadsheetml_2023_pivot2023Calculation.json b/data/typed/schemas_microsoft_com_office_spreadsheetml_2023_pivot2023Calculation.json new file mode 100644 index 000000000..ba637e7d7 --- /dev/null +++ b/data/typed/schemas_microsoft_com_office_spreadsheetml_2023_pivot2023Calculation.json @@ -0,0 +1,10 @@ +[ + { + "Name": "xlpcalc:CT_AggregationInfo/xlpcalc:aggregationInfo", + "ClassName": "AggregationInfo" + }, + { + "Name": "xlpcalc:CT_FeatureSupport/xlpcalc:featureSupportInfo", + "ClassName": "FeatureSupport" + } +] \ No newline at end of file diff --git a/generated/DocumentFormat.OpenXml.Framework/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Namespaces.g.cs b/generated/DocumentFormat.OpenXml.Framework/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Namespaces.g.cs index 4877a351c..608490021 100644 --- a/generated/DocumentFormat.OpenXml.Framework/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Namespaces.g.cs +++ b/generated/DocumentFormat.OpenXml.Framework/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Namespaces.g.cs @@ -144,6 +144,9 @@ internal partial class OpenXmlNamespaceResolver { "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing", "xdr" }, { "http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing", "xdr14" }, { "http://schemas.microsoft.com/office/spreadsheetml/2022/featurepropertybag", "xfpb" }, + { "http://schemas.microsoft.com/office/spreadsheetml/2023/externalCodeService", "xlecs" }, + { "http://schemas.microsoft.com/office/spreadsheetml/2023/msForms", "xlmsforms" }, + { "http://schemas.microsoft.com/office/spreadsheetml/2023/pivot2023Calculation", "xlpcalc" }, { "http://schemas.microsoft.com/office/spreadsheetml/2016/01/main", "xlPr" }, { "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata", "xlrd" }, { "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2", "xlrd2" }, @@ -166,6 +169,7 @@ internal partial class OpenXmlNamespaceResolver { "http://schemas.microsoft.com/office/spreadsheetml/2016/revision9", "xr9" }, { "http://www.w3.org/2001/XMLSchema", "xsd" }, { "urn:schemas-microsoft-com:office:excel", "xvml" }, + { "http://schemas.microsoft.com/office/spreadsheetml/2023/dataSourceVersioning", "xxdsv" }, { "http://schemas.microsoft.com/office/spreadsheetml/2021/extlinks2021", "xxl21" }, { "http://schemas.microsoft.com/office/spreadsheetml/2019/extlinksprops", "xxlnp" }, { "http://schemas.microsoft.com/office/spreadsheetml/2020/pivotNov2020", "xxpim" }, @@ -305,6 +309,9 @@ internal partial class OpenXmlNamespaceResolver { "xdr", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing" }, { "xdr14", "http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing" }, { "xfpb", "http://schemas.microsoft.com/office/spreadsheetml/2022/featurepropertybag" }, + { "xlecs", "http://schemas.microsoft.com/office/spreadsheetml/2023/externalCodeService" }, + { "xlmsforms", "http://schemas.microsoft.com/office/spreadsheetml/2023/msForms" }, + { "xlpcalc", "http://schemas.microsoft.com/office/spreadsheetml/2023/pivot2023Calculation" }, { "xlPr", "http://schemas.microsoft.com/office/spreadsheetml/2016/01/main" }, { "xlrd", "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" }, { "xlrd2", "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2" }, @@ -327,6 +334,7 @@ internal partial class OpenXmlNamespaceResolver { "xr9", "http://schemas.microsoft.com/office/spreadsheetml/2016/revision9" }, { "xsd", "http://www.w3.org/2001/XMLSchema" }, { "xvml", "urn:schemas-microsoft-com:office:excel" }, + { "xxdsv", "http://schemas.microsoft.com/office/spreadsheetml/2023/dataSourceVersioning" }, { "xxl21", "http://schemas.microsoft.com/office/spreadsheetml/2021/extlinks2021" }, { "xxlnp", "http://schemas.microsoft.com/office/spreadsheetml/2019/extlinksprops" }, { "xxpim", "http://schemas.microsoft.com/office/spreadsheetml/2020/pivotNov2020" }, @@ -466,6 +474,9 @@ internal partial class OpenXmlNamespaceResolver { "xdr", FileFormatVersions.Office2007 }, { "xdr14", FileFormatVersions.Office2010 }, { "xfpb", FileFormatVersions.Microsoft365 }, + { "xlecs", FileFormatVersions.Microsoft365 }, + { "xlmsforms", FileFormatVersions.Microsoft365 }, + { "xlpcalc", FileFormatVersions.Microsoft365 }, { "xlPr", FileFormatVersions.Office2019 }, { "xlrd", FileFormatVersions.Office2019 }, { "xlrd2", FileFormatVersions.Office2019 }, @@ -488,6 +499,7 @@ internal partial class OpenXmlNamespaceResolver { "xr9", FileFormatVersions.Office2019 }, { "xsd", FileFormatVersions.Office2007 }, { "xvml", FileFormatVersions.Office2007 }, + { "xxdsv", FileFormatVersions.Microsoft365 }, { "xxl21", FileFormatVersions.Microsoft365 }, { "xxlnp", FileFormatVersions.Office2021 }, { "xxpim", FileFormatVersions.Office2021 }, diff --git a/generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.NoNamespace.g.cs b/generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.NoNamespace.g.cs index 150069fc4..b6f702124 100644 --- a/generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.NoNamespace.g.cs +++ b/generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.NoNamespace.g.cs @@ -1560,13 +1560,13 @@ public static class NoNamespace public static readonly XName autoScale = "autoScale"; /// - /// Represents the autoShow XML attribute. + /// Represents the autoShow XML attributes. /// /// /// As an XML attribute, it: /// - /// is contained in the following XML elements: . - /// corresponds to the following strongly-typed properties: PivotField.AutoShow. + /// is contained in the following XML elements: , . + /// corresponds to the following strongly-typed properties: ExternalCodeService.AutoShow, PivotField.AutoShow. /// /// public static readonly XName autoShow = "autoShow"; @@ -9653,8 +9653,8 @@ public static class NoNamespace /// /// As an XML attribute, it: /// - /// is contained in the following XML elements: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , . - /// corresponds to the following strongly-typed properties: Arc.Id, Author.Id, Axis.Id, Background.Id, BackstageCheckBox.Id, BackstageComboBox.Id, BackstageDropDown.Id, BackstageEditBox.Id, BackstageFastCommandButton.Id, BackstageGroup.Id, BackstageGroupButton.Id, BackstageLabelControl.Id, BackstageMenuButton.Id, BackstageMenuCheckBox.Id, BackstageMenuGroup.Id, BackstageMenuToggleButton.Id, BackstagePrimaryMenu.Id, BackstageRegularButton.Id, BackstageSubMenu.Id, BackstageTab.Id, Box.Id, Break.Id, Button.Id, ButtonGroup.Id, ButtonRegular.Id, ChartStyle.Id, CheckBox.Id, ClassificationLabel.Id, ColorStyle.Id, ColumnFilter.Id, ComboBox.Id, Comment.Id, CommentAnchor.Id, CommentAuthor.Id, CommentReply.Id, CommonTimeNode.Id, ConditionalFormat.Id, ConditionalFormattingRule.Id, Connection.Id, ConnectorMoniker.Id, ContextNode.Id, ControlCloneQat.Id, CreationId.Id, Curve.Id, CustomShow.Id, CustomShowReference.Id, Data.Id, DatastoreItem.Id, Diagram.Id, DocProperties.Id, DropDown.Id, DropDownRegular.Id, DynamicMenu.Id, DynamicMenuRegular.Id, EditBox.Id, EndPoint.Id, EndPointInfo.Id, ExtendedGuide.Id, Field.Id, Fill.Id, Gallery.Id, GalleryRegular.Id, Grammar.Id, GraphicFrameMoniker.Id, Group.Id, GroupBox.Id, GroupShapeMoniker.Id, Hyperlink.Id, ImageControl.Id, ImageData.Id, ImageFile.Id, Info.Id, InkMoniker.Id, Interpretation.Id, Item.Id, LabelControl.Id, LayoutContainer.Id, Line.Id, LinkedTextBox.Id, Menu.Id, MenuRegular.Id, MenuSeparator.Id, MenuSeparatorNoTitle.Id, MenuWithTitle.Id, Model.Id, ModelTable.Id, NamedSheetView.Id, NonVisualDrawingProperties.Id, NonVisualDrawingProps.Id, OneOf.Id, Oval.Id, Path.Id, Person.Id, PictureMoniker.Id, PivotFilter.Id, PolyLine.Id, QueryTableField.Id, QuickAccessToolbarControlClone.Id, RadioGroup.Id, Rectangle.Id, RoundRectangle.Id, Rule.Id, Section.Id, SectionOld.Id, SectionSlideIdListEntry.Id, Separator.Id, Sequence.Id, Shadow.Id, Shape.Id, ShapeMoniker.Id, Shapetype.Id, SignatureLine.Id, SingleXmlCell.Id, Skew.Id, SlideId.Id, SlideLayoutId.Id, SlideMasterId.Id, SortRule.Id, SplitButton.Id, SplitButtonRegular.Id, SplitButtonWithTitle.Id, Stroke.Id, Tab.Id, Table.Id, TableColumn.Id, Task.Id, TaskFormGroup.Id, TaskFormGroupCategory.Id, TaskFormGroupTask.Id, TaskGroup.Id, TaskGroupCategory.Id, TaskGroupTask.Id, TaskHistoryDetails.Id, TaskHistoryEvent.Id, TaskUndo.Id, TextBox.Id, TextBoxInfo2.Id, TextData.Id, TextLabel.Id, TextPath.Id, ThemeFamily.Id, ThreadedComment.Id, ToggleButton.Id, ToggleButtonRegular.Id, UnsizedButton.Id, UnsizedDynamicMenu.Id, UnsizedGallery.Id, UnsizedMenu.Id, UnsizedSplitButton.Id, UnsizedToggleButton.Id, UserInfo.Id, VerticalSeparator.Id, VisibleButton.Id, VisibleToggleButton.Id, WebExtension.Id, WebExtensionBinding.Id, WebExtensionStoreReference.Id, WebPublishItem.Id, WebPublishObject.Id, XmlCellProperties.Id. + /// is contained in the following XML elements: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , . + /// corresponds to the following strongly-typed properties: Arc.Id, Author.Id, Axis.Id, Background.Id, BackstageCheckBox.Id, BackstageComboBox.Id, BackstageDropDown.Id, BackstageEditBox.Id, BackstageFastCommandButton.Id, BackstageGroup.Id, BackstageGroupButton.Id, BackstageLabelControl.Id, BackstageMenuButton.Id, BackstageMenuCheckBox.Id, BackstageMenuGroup.Id, BackstageMenuToggleButton.Id, BackstagePrimaryMenu.Id, BackstageRegularButton.Id, BackstageSubMenu.Id, BackstageTab.Id, Box.Id, Break.Id, Button.Id, ButtonGroup.Id, ButtonRegular.Id, ChartStyle.Id, CheckBox.Id, ClassificationLabel.Id, ColorStyle.Id, ColumnFilter.Id, ComboBox.Id, Comment.Id, CommentAnchor.Id, CommentAuthor.Id, CommentReply.Id, CommonTimeNode.Id, ConditionalFormat.Id, ConditionalFormattingRule.Id, Connection.Id, ConnectorMoniker.Id, ContextNode.Id, ControlCloneQat.Id, CreationId.Id, Curve.Id, CustomShow.Id, CustomShowReference.Id, Data.Id, DatastoreItem.Id, Diagram.Id, DocProperties.Id, DropDown.Id, DropDownRegular.Id, DynamicMenu.Id, DynamicMenuRegular.Id, EditBox.Id, EndPoint.Id, EndPointInfo.Id, ExtendedGuide.Id, Field.Id, Fill.Id, Gallery.Id, GalleryRegular.Id, Grammar.Id, GraphicFrameMoniker.Id, Group.Id, GroupBox.Id, GroupShapeMoniker.Id, Hyperlink.Id, ImageControl.Id, ImageData.Id, ImageFile.Id, Info.Id, InkMoniker.Id, Interpretation.Id, Item.Id, LabelControl.Id, LayoutContainer.Id, Line.Id, LinkedTextBox.Id, Menu.Id, MenuRegular.Id, MenuSeparator.Id, MenuSeparatorNoTitle.Id, MenuWithTitle.Id, Model.Id, ModelTable.Id, MsForm.Id, NamedSheetView.Id, NonVisualDrawingProperties.Id, NonVisualDrawingProps.Id, OneOf.Id, Oval.Id, Path.Id, Person.Id, PictureMoniker.Id, PivotFilter.Id, PolyLine.Id, QueryTableField.Id, QuickAccessToolbarControlClone.Id, RadioGroup.Id, Rectangle.Id, RoundRectangle.Id, Rule.Id, Section.Id, SectionOld.Id, SectionSlideIdListEntry.Id, Separator.Id, Sequence.Id, Shadow.Id, Shape.Id, ShapeMoniker.Id, Shapetype.Id, SignatureLine.Id, SingleXmlCell.Id, Skew.Id, SlideId.Id, SlideLayoutId.Id, SlideMasterId.Id, SortRule.Id, SplitButton.Id, SplitButtonRegular.Id, SplitButtonWithTitle.Id, Stroke.Id, Tab.Id, Table.Id, TableColumn.Id, Task.Id, TaskFormGroup.Id, TaskFormGroupCategory.Id, TaskFormGroupTask.Id, TaskGroup.Id, TaskGroupCategory.Id, TaskGroupTask.Id, TaskHistoryDetails.Id, TaskHistoryEvent.Id, TaskUndo.Id, TextBox.Id, TextBoxInfo2.Id, TextData.Id, TextLabel.Id, TextPath.Id, ThemeFamily.Id, ThreadedComment.Id, ToggleButton.Id, ToggleButtonRegular.Id, UnsizedButton.Id, UnsizedDynamicMenu.Id, UnsizedGallery.Id, UnsizedMenu.Id, UnsizedSplitButton.Id, UnsizedToggleButton.Id, UserInfo.Id, VerticalSeparator.Id, VisibleButton.Id, VisibleToggleButton.Id, WebExtension.Id, WebExtensionBinding.Id, WebExtensionStoreReference.Id, WebPublishItem.Id, WebPublishObject.Id, XmlCellProperties.Id. /// /// public static readonly XName id = "id"; @@ -10463,6 +10463,18 @@ public static class NoNamespace /// public static readonly XName isDefinitive = "isDefinitive"; + /// + /// Represents the isFormConnected XML attribute. + /// + /// + /// As an XML attribute, it: + /// + /// is contained in the following XML elements: . + /// corresponds to the following strongly-typed properties: MsForm.IsFormConnected. + /// + /// + public static readonly XName isFormConnected = "isFormConnected"; + /// /// Represents the isInverted XML attribute. /// @@ -10967,6 +10979,18 @@ public static class NoNamespace /// public static readonly XName lat = "lat"; + /// + /// Represents the latestEventMarker XML attribute. + /// + /// + /// As an XML attribute, it: + /// + /// is contained in the following XML elements: . + /// corresponds to the following strongly-typed properties: MsForm.LatestEventMarker. + /// + /// + public static readonly XName latestEventMarker = "latestEventMarker"; + /// /// Represents the latitude XML attributes. /// @@ -12095,6 +12119,18 @@ public static class NoNamespace /// public static readonly XName maxRank = "maxRank"; + /// + /// Represents the maxResponseId XML attribute. + /// + /// + /// As an XML attribute, it: + /// + /// is contained in the following XML elements: . + /// corresponds to the following strongly-typed properties: MsForm.MaxResponseId. + /// + /// + public static readonly XName maxResponseId = "maxResponseId"; + /// /// Represents the maxRId XML attribute. /// @@ -20855,6 +20891,18 @@ public static class NoNamespace /// public static readonly XName timeOffset = "timeOffset"; + /// + /// Represents the timeout XML attribute. + /// + /// + /// As an XML attribute, it: + /// + /// is contained in the following XML elements: . + /// corresponds to the following strongly-typed properties: ExternalCodeService.Timeout. + /// + /// + public static readonly XName timeout = "timeout"; + /// /// Represents the timePeriod XML attribute. /// diff --git a/generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.X.g.cs b/generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.X.g.cs index 34d33c41c..c5c120859 100644 --- a/generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.X.g.cs +++ b/generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.X.g.cs @@ -1453,8 +1453,8 @@ public static class X /// /// As an XML element, it: /// - /// has the following parent XML elements: , , , , , , , . - /// has the following child XML elements: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , . + /// has the following parent XML elements: , , , , , , , , . + /// has the following child XML elements: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , . /// has the following XML attributes: . /// 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. /// diff --git a/generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.XLECS.g.cs b/generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.XLECS.g.cs new file mode 100644 index 000000000..258fdba21 --- /dev/null +++ b/generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.XLECS.g.cs @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Xml.Linq; + +namespace DocumentFormat.OpenXml.Linq +{ + /// + /// Declares XNamespace and XName fields for the xmlns:xlecs="http://schemas.microsoft.com/office/spreadsheetml/2023/externalCodeService" namespace. + /// + public static class XLECS + { + /// + /// Defines the XML namespace associated with the xlecs prefix. + /// + public static readonly XNamespace xlecs = "http://schemas.microsoft.com/office/spreadsheetml/2023/externalCodeService"; + + /// + /// Represents the xlecs:externalCodeService XML element. + /// + /// + /// As an XML element, it: + /// + /// has the following parent XML elements: . + /// has the following XML attributes: , . + /// corresponds to the following strongly-typed classes: ExternalCodeService. + /// + /// + public static readonly XName externalCodeService = xlecs + "externalCodeService"; + } +} diff --git a/generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.XLMSFORMS.g.cs b/generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.XLMSFORMS.g.cs new file mode 100644 index 000000000..537e98067 --- /dev/null +++ b/generated/DocumentFormat.OpenXml.Linq/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/Linq.XLMSFORMS.g.cs @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Xml.Linq; + +namespace DocumentFormat.OpenXml.Linq +{ + /// + /// Declares XNamespace and XName fields for the xmlns:xlmsforms="http://schemas.microsoft.com/office/spreadsheetml/2023/msForms" namespace. + /// + public static class XLMSFORMS + { + /// + /// Defines the XML namespace associated with the xlmsforms prefix. + /// + public static readonly XNamespace xlmsforms = "http://schemas.microsoft.com/office/spreadsheetml/2023/msForms"; + + /// + /// Represents the xlmsforms:extLst XML element. + /// + /// + /// As an XML element, it: + /// + /// has the following parent XML elements: . + /// has the following child XML elements: . + /// corresponds to the following strongly-typed classes: ExtensionList. + /// + /// + public static readonly XName extLst = xlmsforms + "extLst"; + + /// + /// Represents the xlmsforms:msForm XML element. + /// + /// + /// As an XML element, it: + /// + /// has the following parent XML elements: . + /// has the following child XML elements: , . + /// has the following XML attributes: , , , . + /// corresponds to the following strongly-typed classes: MsForm. + /// + /// + public static readonly XName msForm = xlmsforms + "msForm"; + + /// + /// Represents the xlmsforms:syncedQuestionId XML element. + /// + /// + /// As an XML element, it: + /// + /// has the following parent XML elements: . + /// corresponds to the following strongly-typed classes: SyncedQuestionId. + /// + /// + public static readonly XName syncedQuestionId = xlmsforms + "syncedQuestionId"; + } +} diff --git a/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2022_featurepropertybag.g.cs b/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2022_featurepropertybag.g.cs index 66f9f5841..772128a52 100644 --- a/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2022_featurepropertybag.g.cs +++ b/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2022_featurepropertybag.g.cs @@ -135,6 +135,46 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder) public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } + /// + /// Defines the DXFComplement Class. + /// This class is available in Microsoft365 and above. + /// When the object is serialized out as xml, it's qualified name is xfpb:DXFComplement. + /// + public partial class DXFComplement : OpenXmlLeafElement + { + /// + /// Initializes a new instance of the DXFComplement class. + /// + public DXFComplement() : base() + { + } + + /// + /// i, this property is only available in Microsoft365 and later. + /// Represents the following attribute in the schema: i + /// + public UInt32Value? I + { + get => GetAttribute(); + set => SetAttribute(value); + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("xfpb:DXFComplement"); + builder.Availability = FileFormatVersions.Microsoft365; + builder.AddElement() + .AddAttribute("i", a => a.I, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + }); + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + /// /// Defines the BagExtensions Class. /// This class is available in Microsoft365 and above. diff --git a/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_dataSourceVersioning.g.cs b/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_dataSourceVersioning.g.cs new file mode 100644 index 000000000..cb3402bc1 --- /dev/null +++ b/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_dataSourceVersioning.g.cs @@ -0,0 +1,198 @@ +// + +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +#nullable enable + +using DocumentFormat.OpenXml; +using DocumentFormat.OpenXml.Framework; +using DocumentFormat.OpenXml.Framework.Metadata; +using DocumentFormat.OpenXml.Packaging; +using DocumentFormat.OpenXml.Validation.Schema; +using System; +using System.Collections.Generic; +using System.IO.Packaging; + +namespace DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.DataSourceVersioning +{ + /// + /// Defines the VersionInfo Class. + /// This class is available in Microsoft365 and above. + /// When the object is serialized out as xml, it's qualified name is xxdsv:versionInfo. + /// + /// + /// The following table lists the possible child types: + /// + /// <xxdsv:requiredFeature> + /// <xxdsv:lastRefreshFeature> + /// <xxdsv:lastEditFeature> + /// + /// + public partial class VersionInfo : OpenXmlCompositeElement + { + /// + /// Initializes a new instance of the VersionInfo class. + /// + public VersionInfo() : base() + { + } + + /// + /// Initializes a new instance of the VersionInfo class with the specified child elements. + /// + /// Specifies the child elements. + public VersionInfo(IEnumerable childElements) : base(childElements) + { + } + + /// + /// Initializes a new instance of the VersionInfo class with the specified child elements. + /// + /// Specifies the child elements. + public VersionInfo(params OpenXmlElement[] childElements) : base(childElements) + { + } + + /// + /// Initializes a new instance of the VersionInfo class from outer XML. + /// + /// Specifies the outer XML of the element. + public VersionInfo(string outerXml) : base(outerXml) + { + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("xxdsv:versionInfo"); + builder.Availability = FileFormatVersions.Microsoft365; + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.DataSourceVersioning.RequiredFeatureXsdstring), 0, 0, version: FileFormatVersions.Microsoft365), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.DataSourceVersioning.LastRefreshFeatureXsdstring), 0, 0, version: FileFormatVersions.Microsoft365), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.DataSourceVersioning.LastEditFeatureXsdstring), 0, 0, version: FileFormatVersions.Microsoft365) + }; + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + + /// + /// Defines the RequiredFeatureXsdstring Class. + /// This class is available in Microsoft365 and above. + /// When the object is serialized out as xml, it's qualified name is xxdsv:requiredFeature. + /// + public partial class RequiredFeatureXsdstring : OpenXmlLeafTextElement + { + /// + /// Initializes a new instance of the RequiredFeatureXsdstring class. + /// + public RequiredFeatureXsdstring() : base() + { + } + + /// + /// Initializes a new instance of the RequiredFeatureXsdstring class with the specified text content. + /// + /// Specifies the text content of the element. + public RequiredFeatureXsdstring(string text) : base(text) + { + } + + internal override OpenXmlSimpleType InnerTextToValue(string text) + { + return new StringValue { InnerText = text }; + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("xxdsv:requiredFeature"); + builder.Availability = FileFormatVersions.Microsoft365; + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + + /// + /// Defines the LastRefreshFeatureXsdstring Class. + /// This class is available in Microsoft365 and above. + /// When the object is serialized out as xml, it's qualified name is xxdsv:lastRefreshFeature. + /// + public partial class LastRefreshFeatureXsdstring : OpenXmlLeafTextElement + { + /// + /// Initializes a new instance of the LastRefreshFeatureXsdstring class. + /// + public LastRefreshFeatureXsdstring() : base() + { + } + + /// + /// Initializes a new instance of the LastRefreshFeatureXsdstring class with the specified text content. + /// + /// Specifies the text content of the element. + public LastRefreshFeatureXsdstring(string text) : base(text) + { + } + + internal override OpenXmlSimpleType InnerTextToValue(string text) + { + return new StringValue { InnerText = text }; + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("xxdsv:lastRefreshFeature"); + builder.Availability = FileFormatVersions.Microsoft365; + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + + /// + /// Defines the LastEditFeatureXsdstring Class. + /// This class is available in Microsoft365 and above. + /// When the object is serialized out as xml, it's qualified name is xxdsv:lastEditFeature. + /// + public partial class LastEditFeatureXsdstring : OpenXmlLeafTextElement + { + /// + /// Initializes a new instance of the LastEditFeatureXsdstring class. + /// + public LastEditFeatureXsdstring() : base() + { + } + + /// + /// Initializes a new instance of the LastEditFeatureXsdstring class with the specified text content. + /// + /// Specifies the text content of the element. + public LastEditFeatureXsdstring(string text) : base(text) + { + } + + internal override OpenXmlSimpleType InnerTextToValue(string text) + { + return new StringValue { InnerText = text }; + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("xxdsv:lastEditFeature"); + builder.Availability = FileFormatVersions.Microsoft365; + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } +} \ No newline at end of file diff --git a/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_externalCodeService.g.cs b/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_externalCodeService.g.cs new file mode 100644 index 000000000..e75e75621 --- /dev/null +++ b/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_externalCodeService.g.cs @@ -0,0 +1,66 @@ +// + +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +#nullable enable + +using DocumentFormat.OpenXml; +using DocumentFormat.OpenXml.Framework; +using DocumentFormat.OpenXml.Framework.Metadata; +using DocumentFormat.OpenXml.Packaging; +using DocumentFormat.OpenXml.Validation.Schema; +using System; +using System.Collections.Generic; +using System.IO.Packaging; + +namespace DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.ExternalCodeService +{ + /// + /// Defines the ExternalCodeService Class. + /// This class is available in Microsoft365 and above. + /// When the object is serialized out as xml, it's qualified name is xlecs:externalCodeService. + /// + public partial class ExternalCodeService : OpenXmlLeafElement + { + /// + /// Initializes a new instance of the ExternalCodeService class. + /// + public ExternalCodeService() : base() + { + } + + /// + /// autoShow, this property is only available in Microsoft365 and later. + /// Represents the following attribute in the schema: autoShow + /// + public UInt32Value? AutoShow + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// timeout, this property is only available in Microsoft365 and later. + /// Represents the following attribute in the schema: timeout + /// + public UInt32Value? Timeout + { + get => GetAttribute(); + set => SetAttribute(value); + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("xlecs:externalCodeService"); + builder.Availability = FileFormatVersions.Microsoft365; + builder.AddElement() + .AddAttribute("autoShow", a => a.AutoShow) + .AddAttribute("timeout", a => a.Timeout); + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } +} \ No newline at end of file diff --git a/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_msForms.g.cs b/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_msForms.g.cs new file mode 100644 index 000000000..f6d3bf35c --- /dev/null +++ b/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_msForms.g.cs @@ -0,0 +1,322 @@ +// + +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +#nullable enable + +using DocumentFormat.OpenXml; +using DocumentFormat.OpenXml.Framework; +using DocumentFormat.OpenXml.Framework.Metadata; +using DocumentFormat.OpenXml.Packaging; +using DocumentFormat.OpenXml.Spreadsheet; +using DocumentFormat.OpenXml.Validation.Schema; +using System; +using System.Collections.Generic; +using System.IO.Packaging; + +namespace DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms +{ + /// + /// Defines the Question Class. + /// This class is available in Microsoft365 and above. + /// When the object is serialized out as xml, it's qualified name is xlmsforms:question. + /// + /// + /// The following table lists the possible child types: + /// + /// <xlmsforms:extLst> + /// + /// + public partial class Question : OpenXmlCompositeElement + { + /// + /// Initializes a new instance of the Question class. + /// + public Question() : base() + { + } + + /// + /// Initializes a new instance of the Question class with the specified child elements. + /// + /// Specifies the child elements. + public Question(IEnumerable childElements) : base(childElements) + { + } + + /// + /// Initializes a new instance of the Question class with the specified child elements. + /// + /// Specifies the child elements. + public Question(params OpenXmlElement[] childElements) : base(childElements) + { + } + + /// + /// Initializes a new instance of the Question class from outer XML. + /// + /// Specifies the outer XML of the element. + public Question(string outerXml) : base(outerXml) + { + } + + /// + /// id, this property is only available in Microsoft365 and later. + /// Represents the following attribute in the schema: id + /// + public StringValue? Id + { + get => GetAttribute(); + set => SetAttribute(value); + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("xlmsforms:question"); + builder.Availability = FileFormatVersions.Microsoft365; + builder.AddChild(); + builder.AddElement() + .AddAttribute("id", a => a.Id, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + }); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.ExtensionList), 0, 1, version: FileFormatVersions.Microsoft365) + }; + } + + /// + /// ExtensionList. + /// Represents the following element tag in the schema: xlmsforms:extLst. + /// + /// + /// xmlns:xlmsforms = http://schemas.microsoft.com/office/spreadsheetml/2023/msForms + /// + public DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.ExtensionList? ExtensionList + { + get => GetElement(); + set => SetElement(value); + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + + /// + /// Defines the MsForm Class. + /// This class is available in Microsoft365 and above. + /// When the object is serialized out as xml, it's qualified name is xlmsforms:msForm. + /// + /// + /// The following table lists the possible child types: + /// + /// <xlmsforms:extLst> + /// <xlmsforms:syncedQuestionId> + /// + /// + public partial class MsForm : OpenXmlCompositeElement + { + /// + /// Initializes a new instance of the MsForm class. + /// + public MsForm() : base() + { + } + + /// + /// Initializes a new instance of the MsForm class with the specified child elements. + /// + /// Specifies the child elements. + public MsForm(IEnumerable childElements) : base(childElements) + { + } + + /// + /// Initializes a new instance of the MsForm class with the specified child elements. + /// + /// Specifies the child elements. + public MsForm(params OpenXmlElement[] childElements) : base(childElements) + { + } + + /// + /// Initializes a new instance of the MsForm class from outer XML. + /// + /// Specifies the outer XML of the element. + public MsForm(string outerXml) : base(outerXml) + { + } + + /// + /// id, this property is only available in Microsoft365 and later. + /// Represents the following attribute in the schema: id + /// + public StringValue? Id + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// isFormConnected, this property is only available in Microsoft365 and later. + /// Represents the following attribute in the schema: isFormConnected + /// + public BooleanValue? IsFormConnected + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// maxResponseId, this property is only available in Microsoft365 and later. + /// Represents the following attribute in the schema: maxResponseId + /// + public Int32Value? MaxResponseId + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// latestEventMarker, this property is only available in Microsoft365 and later. + /// Represents the following attribute in the schema: latestEventMarker + /// + public StringValue? LatestEventMarker + { + get => GetAttribute(); + set => SetAttribute(value); + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("xlmsforms:msForm"); + builder.Availability = FileFormatVersions.Microsoft365; + builder.AddChild(); + builder.AddChild(); + builder.AddElement() + .AddAttribute("id", a => a.Id, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + }) + .AddAttribute("isFormConnected", a => a.IsFormConnected) + .AddAttribute("maxResponseId", a => a.MaxResponseId) + .AddAttribute("latestEventMarker", a => a.LatestEventMarker); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.SyncedQuestionId), 0, 0, version: FileFormatVersions.Microsoft365), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.ExtensionList), 0, 1, version: FileFormatVersions.Microsoft365) + }; + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + + /// + /// Defines the SyncedQuestionId Class. + /// This class is available in Microsoft365 and above. + /// When the object is serialized out as xml, it's qualified name is xlmsforms:syncedQuestionId. + /// + public partial class SyncedQuestionId : OpenXmlLeafTextElement + { + /// + /// Initializes a new instance of the SyncedQuestionId class. + /// + public SyncedQuestionId() : base() + { + } + + /// + /// Initializes a new instance of the SyncedQuestionId class with the specified text content. + /// + /// Specifies the text content of the element. + public SyncedQuestionId(string text) : base(text) + { + } + + internal override OpenXmlSimpleType InnerTextToValue(string text) + { + return new StringValue { InnerText = text }; + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("xlmsforms:syncedQuestionId"); + builder.Availability = FileFormatVersions.Microsoft365; + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + + /// + /// Defines the ExtensionList Class. + /// This class is available in Microsoft365 and above. + /// When the object is serialized out as xml, it's qualified name is xlmsforms:extLst. + /// + /// + /// The following table lists the possible child types: + /// + /// <x:ext> + /// + /// + public partial class ExtensionList : OpenXmlCompositeElement + { + /// + /// Initializes a new instance of the ExtensionList class. + /// + public ExtensionList() : base() + { + } + + /// + /// Initializes a new instance of the ExtensionList class with the specified child elements. + /// + /// Specifies the child elements. + public ExtensionList(IEnumerable childElements) : base(childElements) + { + } + + /// + /// Initializes a new instance of the ExtensionList class with the specified child elements. + /// + /// Specifies the child elements. + public ExtensionList(params OpenXmlElement[] childElements) : base(childElements) + { + } + + /// + /// Initializes a new instance of the ExtensionList class from outer XML. + /// + /// Specifies the outer XML of the element. + public ExtensionList(string outerXml) : base(outerXml) + { + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("xlmsforms:extLst"); + builder.Availability = FileFormatVersions.Microsoft365; + builder.AddChild(); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new CompositeParticle.Builder(ParticleType.Group, 0, 1) + { + new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Extension), 0, 0) + } + } + }; + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } +} \ No newline at end of file diff --git a/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_pivot2023Calculation.g.cs b/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_pivot2023Calculation.g.cs new file mode 100644 index 000000000..1754061af --- /dev/null +++ b/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2023_pivot2023Calculation.g.cs @@ -0,0 +1,145 @@ +// + +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +#nullable enable + +using DocumentFormat.OpenXml; +using DocumentFormat.OpenXml.Framework; +using DocumentFormat.OpenXml.Framework.Metadata; +using DocumentFormat.OpenXml.Packaging; +using DocumentFormat.OpenXml.Validation.Schema; +using System; +using System.Collections.Generic; +using System.IO.Packaging; + +namespace DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.Pivot2023Calculation +{ + /// + /// Defines the AggregationInfo Class. + /// This class is available in Microsoft365 and above. + /// When the object is serialized out as xml, it's qualified name is xlpcalc:aggregationInfo. + /// + public partial class AggregationInfo : OpenXmlLeafElement + { + /// + /// Initializes a new instance of the AggregationInfo class. + /// + public AggregationInfo() : base() + { + } + + /// + /// aggregationType, this property is only available in Microsoft365 and later. + /// Represents the following attribute in the schema: aggregationType + /// + public EnumValue? AggregationType + { + get => GetAttribute>(); + set => SetAttribute(value); + } + + /// + /// sourceField, this property is only available in Microsoft365 and later. + /// Represents the following attribute in the schema: sourceField + /// + public UInt32Value? SourceField + { + get => GetAttribute(); + set => SetAttribute(value); + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("xlpcalc:aggregationInfo"); + builder.Availability = FileFormatVersions.Microsoft365; + builder.AddElement() + .AddAttribute("aggregationType", a => a.AggregationType, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + }) + .AddAttribute("sourceField", a => a.SourceField, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + }); + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + + /// + /// Defines the FeatureSupport Class. + /// This class is available in Microsoft365 and above. + /// When the object is serialized out as xml, it's qualified name is xlpcalc:featureSupportInfo. + /// + public partial class FeatureSupport : OpenXmlLeafElement + { + /// + /// Initializes a new instance of the FeatureSupport class. + /// + public FeatureSupport() : base() + { + } + + /// + /// featureName, this property is only available in Microsoft365 and later. + /// Represents the following attribute in the schema: featureName + /// + public StringValue? FeatureName + { + get => GetAttribute(); + set => SetAttribute(value); + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("xlpcalc:featureSupportInfo"); + builder.Availability = FileFormatVersions.Microsoft365; + builder.AddElement() + .AddAttribute("featureName", a => a.FeatureName, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + }); + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + + /// + /// Defines the AggregationType enumeration. + /// + public readonly record struct AggregationType : IEnumValue, IEnumValueFactory + { + private readonly string? _value; + /// + /// Creates a new AggregationType enum instance + /// + public AggregationType(string value) => _value = value; + AggregationType IEnumValueFactory.Create(string name) => new(name); + bool IEnumValue.IsValid => InternalValue switch + { + "distinctCount" => true, + "median" => true, + _ => false + }; + string IEnumValue.Value => InternalValue; + private string InternalValue => _value ?? "distinctCount"; + FileFormatVersions IEnumValue.Version => FileFormatVersions.Microsoft365; + /// + /// distinctCount. + /// When the item is serialized out as xml, its value is "distinctCount". + /// + public static AggregationType DistinctCount => new("distinctCount"); + /// + /// median. + /// When the item is serialized out as xml, its value is "median". + /// + public static AggregationType Median => new("median"); + + } +} \ No newline at end of file diff --git a/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_openxmlformats_org_spreadsheetml_2006_main.g.cs b/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_openxmlformats_org_spreadsheetml_2006_main.g.cs index 9b16cdd69..40650b2ab 100644 --- a/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_openxmlformats_org_spreadsheetml_2006_main.g.cs +++ b/generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_openxmlformats_org_spreadsheetml_2006_main.g.cs @@ -12,6 +12,8 @@ using DocumentFormat.OpenXml.Framework.Metadata; using DocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021; using DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotVersionInfo; +using DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.ExternalCodeService; +using DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms; using DocumentFormat.OpenXml.Office2010.Excel; using DocumentFormat.OpenXml.Office2013.Excel; using DocumentFormat.OpenXml.Office2013.ExcelAc; @@ -32735,82 +32737,6 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder) public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } - /// - /// Defines the TableExtension Class. - /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:ext. - /// - /// - /// The following table lists the possible child types: - /// - /// <x14:table> - /// - /// - public partial class TableExtension : OpenXmlCompositeElement - { - /// - /// Initializes a new instance of the TableExtension class. - /// - public TableExtension() : base() - { - } - - /// - /// Initializes a new instance of the TableExtension class with the specified child elements. - /// - /// Specifies the child elements. - public TableExtension(IEnumerable childElements) : base(childElements) - { - } - - /// - /// Initializes a new instance of the TableExtension class with the specified child elements. - /// - /// Specifies the child elements. - public TableExtension(params OpenXmlElement[] childElements) : base(childElements) - { - } - - /// - /// Initializes a new instance of the TableExtension class from outer XML. - /// - /// Specifies the outer XML of the element. - public TableExtension(string outerXml) : base(outerXml) - { - } - - /// - /// URI - /// Represents the following attribute in the schema: uri - /// - public StringValue? Uri - { - get => GetAttribute(); - set => SetAttribute(value); - } - - internal override void ConfigureMetadata(ElementMetadata.Builder builder) - { - base.ConfigureMetadata(builder); - builder.SetSchema("x:ext"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("uri", a => a.Uri, aBuilder => - { - aBuilder.AddValidator(RequiredValidator.Instance); - aBuilder.AddValidator(new StringValidator() { IsToken = (true) }); - }); - builder.Particle = new CompositeParticle.Builder(ParticleType.Choice, 1, 1) - { - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.Table), 1, 1, version: FileFormatVersions.Office2010), - new AnyParticle(0, 1) - }; - } - - /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); - } - /// /// Defines the ObjectAnchor Class. /// This class is available in Office 2010 and above. @@ -33477,217 +33403,6 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder) public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } - /// - /// Table Columns. - /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:tableColumns. - /// - /// - /// The following table lists the possible child types: - /// - /// <x:tableColumn> - /// - /// - public partial class TableColumns : OpenXmlCompositeElement - { - /// - /// Initializes a new instance of the TableColumns class. - /// - public TableColumns() : base() - { - } - - /// - /// Initializes a new instance of the TableColumns class with the specified child elements. - /// - /// Specifies the child elements. - public TableColumns(IEnumerable childElements) : base(childElements) - { - } - - /// - /// Initializes a new instance of the TableColumns class with the specified child elements. - /// - /// Specifies the child elements. - public TableColumns(params OpenXmlElement[] childElements) : base(childElements) - { - } - - /// - /// Initializes a new instance of the TableColumns class from outer XML. - /// - /// Specifies the outer XML of the element. - public TableColumns(string outerXml) : base(outerXml) - { - } - - /// - /// Column Count - /// Represents the following attribute in the schema: count - /// - public UInt32Value? Count - { - get => GetAttribute(); - set => SetAttribute(value); - } - - internal override void ConfigureMetadata(ElementMetadata.Builder builder) - { - base.ConfigureMetadata(builder); - builder.SetSchema("x:tableColumns"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); - builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) - { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.TableColumn), 1, 0) - }; - } - - /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); - } - - /// - /// Table Style. - /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:tableStyleInfo. - /// - public partial class TableStyleInfo : OpenXmlLeafElement - { - /// - /// Initializes a new instance of the TableStyleInfo class. - /// - public TableStyleInfo() : base() - { - } - - /// - /// Style Name - /// Represents the following attribute in the schema: name - /// - public StringValue? Name - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// Show First Column - /// Represents the following attribute in the schema: showFirstColumn - /// - public BooleanValue? ShowFirstColumn - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// Show Last Column - /// Represents the following attribute in the schema: showLastColumn - /// - public BooleanValue? ShowLastColumn - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// Show Row Stripes - /// Represents the following attribute in the schema: showRowStripes - /// - public BooleanValue? ShowRowStripes - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// Show Column Stripes - /// Represents the following attribute in the schema: showColumnStripes - /// - public BooleanValue? ShowColumnStripes - { - get => GetAttribute(); - set => SetAttribute(value); - } - - internal override void ConfigureMetadata(ElementMetadata.Builder builder) - { - base.ConfigureMetadata(builder); - builder.SetSchema("x:tableStyleInfo"); - builder.AddElement() - .AddAttribute("name", a => a.Name) - .AddAttribute("showFirstColumn", a => a.ShowFirstColumn) - .AddAttribute("showLastColumn", a => a.ShowLastColumn) - .AddAttribute("showRowStripes", a => a.ShowRowStripes) - .AddAttribute("showColumnStripes", a => a.ShowColumnStripes); - builder.AddConstraint(new AttributeValueLengthConstraint(builder.CreateQName("x:name"), 1, 255) { Application = ApplicationType.Excel }); - } - - /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); - } - - /// - /// Future Feature Data Storage Area. - /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:extLst. - /// - /// - /// The following table lists the possible child types: - /// - /// <x:ext> - /// - /// - public partial class TableExtensionList : OpenXmlCompositeElement - { - /// - /// Initializes a new instance of the TableExtensionList class. - /// - public TableExtensionList() : base() - { - } - - /// - /// Initializes a new instance of the TableExtensionList class with the specified child elements. - /// - /// Specifies the child elements. - public TableExtensionList(IEnumerable childElements) : base(childElements) - { - } - - /// - /// Initializes a new instance of the TableExtensionList class with the specified child elements. - /// - /// Specifies the child elements. - public TableExtensionList(params OpenXmlElement[] childElements) : base(childElements) - { - } - - /// - /// Initializes a new instance of the TableExtensionList class from outer XML. - /// - /// Specifies the outer XML of the element. - public TableExtensionList(string outerXml) : base(outerXml) - { - } - - internal override void ConfigureMetadata(ElementMetadata.Builder builder) - { - base.ConfigureMetadata(builder); - builder.SetSchema("x:extLst"); - builder.AddChild(); - builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) - { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.TableExtension), 0, 0) - }; - } - - /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); - } - /// /// OLE Link Item. /// This class is available in Office 2007 and above. @@ -43082,171 +42797,157 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder) } /// - /// Defines the FileVersion Class. + /// Defines the Location Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:fileVersion. + /// When the object is serialized out as xml, it's qualified name is x:location. /// - public partial class FileVersion : OpenXmlLeafElement + public partial class Location : OpenXmlLeafElement { /// - /// Initializes a new instance of the FileVersion class. + /// Initializes a new instance of the Location class. /// - public FileVersion() : base() + public Location() : base() { } /// - /// Application Name - /// Represents the following attribute in the schema: appName + /// Reference + /// Represents the following attribute in the schema: ref /// - public StringValue? ApplicationName + public StringValue? Reference { get => GetAttribute(); set => SetAttribute(value); } /// - /// Last Edited Version - /// Represents the following attribute in the schema: lastEdited + /// First Header Row + /// Represents the following attribute in the schema: firstHeaderRow /// - public StringValue? LastEdited + public UInt32Value? FirstHeaderRow { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } /// - /// Lowest Edited Version - /// Represents the following attribute in the schema: lowestEdited + /// PivotTable Data First Row + /// Represents the following attribute in the schema: firstDataRow /// - public StringValue? LowestEdited + public UInt32Value? FirstDataRow { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } /// - /// Build Version - /// Represents the following attribute in the schema: rupBuild + /// First Data Column + /// Represents the following attribute in the schema: firstDataCol /// - public StringValue? BuildVersion + public UInt32Value? FirstDataColumn { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } /// - /// Code Name - /// Represents the following attribute in the schema: codeName + /// Rows Per Page Count + /// Represents the following attribute in the schema: rowPageCount /// - public StringValue? CodeName + public UInt32Value? RowPageCount { - get => GetAttribute(); + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Columns Per Page + /// Represents the following attribute in the schema: colPageCount + /// + public UInt32Value? ColumnsPerPage + { + get => GetAttribute(); set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:fileVersion"); - builder.AddElement() - .AddAttribute("appName", a => a.ApplicationName) - .AddAttribute("lastEdited", a => a.LastEdited) - .AddAttribute("lowestEdited", a => a.LowestEdited) - .AddAttribute("rupBuild", a => a.BuildVersion) - .AddAttribute("codeName", a => a.CodeName, aBuilder => + builder.SetSchema("x:location"); + builder.AddElement() + .AddAttribute("ref", a => a.Reference, aBuilder => { - aBuilder.AddValidator(new StringValidator() { IsToken = (true), Pattern = ("\\{[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\\}") }); - }); - builder.AddConstraint(new AttributeValueLengthConstraint(builder.CreateQName("x:appName"), 0, 65535)); - builder.AddConstraint(new AttributeValueLengthConstraint(builder.CreateQName("x:lastEdited"), 0, 65535)); - builder.AddConstraint(new AttributeValueLengthConstraint(builder.CreateQName("x:lowestEdited"), 0, 65535)); - builder.AddConstraint(new AttributeValueLengthConstraint(builder.CreateQName("x:rupBuild"), 0, 65535)); + aBuilder.AddValidator(RequiredValidator.Instance); + }) + .AddAttribute("firstHeaderRow", a => a.FirstHeaderRow, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + }) + .AddAttribute("firstDataRow", a => a.FirstDataRow, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + }) + .AddAttribute("firstDataCol", a => a.FirstDataColumn, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + }) + .AddAttribute("rowPageCount", a => a.RowPageCount) + .AddAttribute("colPageCount", a => a.ColumnsPerPage); } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the FileSharing Class. + /// Defines the PivotFields Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:fileSharing. + /// When the object is serialized out as xml, it's qualified name is x:pivotFields. /// - public partial class FileSharing : OpenXmlLeafElement + /// + /// The following table lists the possible child types: + /// + /// <x:pivotField> + /// + /// + public partial class PivotFields : OpenXmlCompositeElement { /// - /// Initializes a new instance of the FileSharing class. - /// - public FileSharing() : base() - { - } - - /// - /// Read Only Recommended - /// Represents the following attribute in the schema: readOnlyRecommended - /// - public BooleanValue? ReadOnlyRecommended - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// User Name - /// Represents the following attribute in the schema: userName - /// - public StringValue? UserName - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// Write Reservation Password - /// Represents the following attribute in the schema: reservationPassword + /// Initializes a new instance of the PivotFields class. /// - public HexBinaryValue? ReservationPassword + public PivotFields() : base() { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Password hash algorithm - /// Represents the following attribute in the schema: algorithmName + /// Initializes a new instance of the PivotFields class with the specified child elements. /// - public StringValue? AlgorithmName + /// Specifies the child elements. + public PivotFields(IEnumerable childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Password hash - /// Represents the following attribute in the schema: hashValue + /// Initializes a new instance of the PivotFields class with the specified child elements. /// - public Base64BinaryValue? HashValue + /// Specifies the child elements. + public PivotFields(params OpenXmlElement[] childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Salt for password hash - /// Represents the following attribute in the schema: saltValue + /// Initializes a new instance of the PivotFields class from outer XML. /// - public Base64BinaryValue? SaltValue + /// Specifies the outer XML of the element. + public PivotFields(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Spin count for password hash - /// Represents the following attribute in the schema: spinCount + /// Field Count + /// Represents the following attribute in the schema: count /// - public UInt32Value? SpinCount + public UInt32Value? Count { get => GetAttribute(); set => SetAttribute(value); @@ -43255,224 +42956,282 @@ public UInt32Value? SpinCount internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:fileSharing"); - builder.AddElement() - .AddAttribute("readOnlyRecommended", a => a.ReadOnlyRecommended) - .AddAttribute("userName", a => a.UserName) - .AddAttribute("reservationPassword", a => a.ReservationPassword, aBuilder => - { - aBuilder.AddValidator(new StringValidator() { Length = (2L) }); - }) - .AddAttribute("algorithmName", a => a.AlgorithmName) - .AddAttribute("hashValue", a => a.HashValue) - .AddAttribute("saltValue", a => a.SaltValue) - .AddAttribute("spinCount", a => a.SpinCount); - builder.AddConstraint(new AttributeValueLengthConstraint(builder.CreateQName("x:userName"), 1, 54)); + builder.SetSchema("x:pivotFields"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.PivotField), 1, 0) + }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the WorkbookProperties Class. + /// Defines the RowFields Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:workbookPr. + /// When the object is serialized out as xml, it's qualified name is x:rowFields. /// - public partial class WorkbookProperties : OpenXmlLeafElement + /// + /// The following table lists the possible child types: + /// + /// <x:field> + /// + /// + public partial class RowFields : OpenXmlCompositeElement { /// - /// Initializes a new instance of the WorkbookProperties class. + /// Initializes a new instance of the RowFields class. /// - public WorkbookProperties() : base() + public RowFields() : base() { } /// - /// Date 1904 - /// Represents the following attribute in the schema: date1904 + /// Initializes a new instance of the RowFields class with the specified child elements. /// - public BooleanValue? Date1904 + /// Specifies the child elements. + public RowFields(IEnumerable childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// dateCompatibility, this property is only available in Office 2010 and later. - /// Represents the following attribute in the schema: dateCompatibility + /// Initializes a new instance of the RowFields class with the specified child elements. /// - public BooleanValue? DateCompatibility + /// Specifies the child elements. + public RowFields(params OpenXmlElement[] childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Show Objects - /// Represents the following attribute in the schema: showObjects + /// Initializes a new instance of the RowFields class from outer XML. /// - public EnumValue? ShowObjects + /// Specifies the outer XML of the element. + public RowFields(string outerXml) : base(outerXml) { - get => GetAttribute>(); - set => SetAttribute(value); } /// - /// Show Border Unselected Table - /// Represents the following attribute in the schema: showBorderUnselectedTables + /// Repeated Items Count + /// Represents the following attribute in the schema: count /// - public BooleanValue? ShowBorderUnselectedTables + public UInt32Value? Count { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("x:rowFields"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Field), 1, 0) + }; + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + + /// + /// Defines the RowItems Class. + /// This class is available in Office 2007 and above. + /// When the object is serialized out as xml, it's qualified name is x:rowItems. + /// + /// + /// The following table lists the possible child types: + /// + /// <x:i> + /// + /// + public partial class RowItems : OpenXmlCompositeElement + { /// - /// Filter Privacy - /// Represents the following attribute in the schema: filterPrivacy + /// Initializes a new instance of the RowItems class. /// - public BooleanValue? FilterPrivacy + public RowItems() : base() { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Prompted Solutions - /// Represents the following attribute in the schema: promptedSolutions + /// Initializes a new instance of the RowItems class with the specified child elements. /// - public BooleanValue? PromptedSolutions + /// Specifies the child elements. + public RowItems(IEnumerable childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Show Ink Annotations - /// Represents the following attribute in the schema: showInkAnnotation + /// Initializes a new instance of the RowItems class with the specified child elements. /// - public BooleanValue? ShowInkAnnotation + /// Specifies the child elements. + public RowItems(params OpenXmlElement[] childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Create Backup File - /// Represents the following attribute in the schema: backupFile + /// Initializes a new instance of the RowItems class from outer XML. /// - public BooleanValue? BackupFile + /// Specifies the outer XML of the element. + public RowItems(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Save External Link Values - /// Represents the following attribute in the schema: saveExternalLinkValues + /// Items in a Row Count + /// Represents the following attribute in the schema: count /// - public BooleanValue? SaveExternalLinkValues + public UInt32Value? Count { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("x:rowItems"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.RowItem), 1, 0) + }; + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + + /// + /// Defines the ColumnFields Class. + /// This class is available in Office 2007 and above. + /// When the object is serialized out as xml, it's qualified name is x:colFields. + /// + /// + /// The following table lists the possible child types: + /// + /// <x:field> + /// + /// + public partial class ColumnFields : OpenXmlCompositeElement + { /// - /// Update Links Behavior - /// Represents the following attribute in the schema: updateLinks + /// Initializes a new instance of the ColumnFields class. /// - public EnumValue? UpdateLinks + public ColumnFields() : base() { - get => GetAttribute>(); - set => SetAttribute(value); } /// - /// Code Name - /// Represents the following attribute in the schema: codeName + /// Initializes a new instance of the ColumnFields class with the specified child elements. /// - public StringValue? CodeName + /// Specifies the child elements. + public ColumnFields(IEnumerable childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Hide Pivot Field List - /// Represents the following attribute in the schema: hidePivotFieldList + /// Initializes a new instance of the ColumnFields class with the specified child elements. /// - public BooleanValue? HidePivotFieldList + /// Specifies the child elements. + public ColumnFields(params OpenXmlElement[] childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Show Pivot Chart Filter - /// Represents the following attribute in the schema: showPivotChartFilter + /// Initializes a new instance of the ColumnFields class from outer XML. /// - public BooleanValue? ShowPivotChartFilter + /// Specifies the outer XML of the element. + public ColumnFields(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Allow Refresh Query - /// Represents the following attribute in the schema: allowRefreshQuery + /// Repeated Items Count + /// Represents the following attribute in the schema: count /// - public BooleanValue? AllowRefreshQuery + public UInt32Value? Count { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("x:colFields"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Field), 1, 0) + }; + } + + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + + /// + /// Defines the ColumnItems Class. + /// This class is available in Office 2007 and above. + /// When the object is serialized out as xml, it's qualified name is x:colItems. + /// + /// + /// The following table lists the possible child types: + /// + /// <x:i> + /// + /// + public partial class ColumnItems : OpenXmlCompositeElement + { /// - /// Publish Items - /// Represents the following attribute in the schema: publishItems + /// Initializes a new instance of the ColumnItems class. /// - public BooleanValue? PublishItems + public ColumnItems() : base() { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Check Compatibility On Save - /// Represents the following attribute in the schema: checkCompatibility + /// Initializes a new instance of the ColumnItems class with the specified child elements. /// - public BooleanValue? CheckCompatibility + /// Specifies the child elements. + public ColumnItems(IEnumerable childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Auto Compress Pictures - /// Represents the following attribute in the schema: autoCompressPictures + /// Initializes a new instance of the ColumnItems class with the specified child elements. /// - public BooleanValue? AutoCompressPictures + /// Specifies the child elements. + public ColumnItems(params OpenXmlElement[] childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Refresh all Connections on Open - /// Represents the following attribute in the schema: refreshAllConnections + /// Initializes a new instance of the ColumnItems class from outer XML. /// - public BooleanValue? RefreshAllConnections + /// Specifies the outer XML of the element. + public ColumnItems(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Default Theme Version - /// Represents the following attribute in the schema: defaultThemeVersion + /// Column Item Count + /// Represents the following attribute in the schema: count /// - public UInt32Value? DefaultThemeVersion + public UInt32Value? Count { get => GetAttribute(); set => SetAttribute(value); @@ -43481,175 +43240,69 @@ public UInt32Value? DefaultThemeVersion internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:workbookPr"); - builder.AddElement() - .AddAttribute("date1904", a => a.Date1904) - .AddAttribute("dateCompatibility", a => a.DateCompatibility, aBuilder => - { - aBuilder.AddValidator(new OfficeVersionValidator(FileFormatVersions.Office2010)); - }) - .AddAttribute("showObjects", a => a.ShowObjects) - .AddAttribute("showBorderUnselectedTables", a => a.ShowBorderUnselectedTables) - .AddAttribute("filterPrivacy", a => a.FilterPrivacy) - .AddAttribute("promptedSolutions", a => a.PromptedSolutions) - .AddAttribute("showInkAnnotation", a => a.ShowInkAnnotation) - .AddAttribute("backupFile", a => a.BackupFile) - .AddAttribute("saveExternalLinkValues", a => a.SaveExternalLinkValues) - .AddAttribute("updateLinks", a => a.UpdateLinks) - .AddAttribute("codeName", a => a.CodeName) - .AddAttribute("hidePivotFieldList", a => a.HidePivotFieldList) - .AddAttribute("showPivotChartFilter", a => a.ShowPivotChartFilter) - .AddAttribute("allowRefreshQuery", a => a.AllowRefreshQuery) - .AddAttribute("publishItems", a => a.PublishItems) - .AddAttribute("checkCompatibility", a => a.CheckCompatibility) - .AddAttribute("autoCompressPictures", a => a.AutoCompressPictures) - .AddAttribute("refreshAllConnections", a => a.RefreshAllConnections) - .AddAttribute("defaultThemeVersion", a => a.DefaultThemeVersion); + builder.SetSchema("x:colItems"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.RowItem), 1, 1048576) + }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the WorkbookProtection Class. + /// Defines the PageFields Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:workbookProtection. + /// When the object is serialized out as xml, it's qualified name is x:pageFields. /// - public partial class WorkbookProtection : OpenXmlLeafElement + /// + /// The following table lists the possible child types: + /// + /// <x:pageField> + /// + /// + public partial class PageFields : OpenXmlCompositeElement { /// - /// Initializes a new instance of the WorkbookProtection class. + /// Initializes a new instance of the PageFields class. /// - public WorkbookProtection() : base() + public PageFields() : base() { } /// - /// Workbook Password - /// Represents the following attribute in the schema: workbookPassword + /// Initializes a new instance of the PageFields class with the specified child elements. /// - public HexBinaryValue? WorkbookPassword + /// Specifies the child elements. + public PageFields(IEnumerable childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Revisions Password - /// Represents the following attribute in the schema: revisionsPassword + /// Initializes a new instance of the PageFields class with the specified child elements. /// - public HexBinaryValue? RevisionsPassword + /// Specifies the child elements. + public PageFields(params OpenXmlElement[] childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Lock Structure - /// Represents the following attribute in the schema: lockStructure - /// - public BooleanValue? LockStructure - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// Lock Windows - /// Represents the following attribute in the schema: lockWindows - /// - public BooleanValue? LockWindows - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// Lock Revisions - /// Represents the following attribute in the schema: lockRevision - /// - public BooleanValue? LockRevision - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// Cryptographic Algorithm Name - /// Represents the following attribute in the schema: revisionsAlgorithmName - /// - public StringValue? RevisionsAlgorithmName - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// Password Hash Value - /// Represents the following attribute in the schema: revisionsHashValue - /// - public Base64BinaryValue? RevisionsHashValue - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// Salt Value for Password Verifier - /// Represents the following attribute in the schema: revisionsSaltValue - /// - public Base64BinaryValue? RevisionsSaltValue - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// Iterations to Run Hashing Algorithm - /// Represents the following attribute in the schema: revisionsSpinCount - /// - public UInt32Value? RevisionsSpinCount - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// Cryptographic Algorithm Name - /// Represents the following attribute in the schema: workbookAlgorithmName - /// - public StringValue? WorkbookAlgorithmName - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// Password Hash Value - /// Represents the following attribute in the schema: workbookHashValue - /// - public Base64BinaryValue? WorkbookHashValue - { - get => GetAttribute(); - set => SetAttribute(value); - } - - /// - /// Salt Value for Password Verifier - /// Represents the following attribute in the schema: workbookSaltValue + /// Initializes a new instance of the PageFields class from outer XML. /// - public Base64BinaryValue? WorkbookSaltValue + /// Specifies the outer XML of the element. + public PageFields(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Iterations to Run Hashing Algorithm - /// Represents the following attribute in the schema: workbookSpinCount + /// Page Item Count + /// Represents the following attribute in the schema: count /// - public UInt32Value? WorkbookSpinCount + public UInt32Value? Count { get => GetAttribute(); set => SetAttribute(value); @@ -43658,200 +43311,211 @@ public UInt32Value? WorkbookSpinCount internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:workbookProtection"); - builder.AddElement() - .AddAttribute("workbookPassword", a => a.WorkbookPassword, aBuilder => - { - aBuilder.AddValidator(new StringValidator() { Length = (2L) }); - }) - .AddAttribute("revisionsPassword", a => a.RevisionsPassword, aBuilder => - { - aBuilder.AddValidator(new StringValidator() { Length = (2L) }); - }) - .AddAttribute("lockStructure", a => a.LockStructure) - .AddAttribute("lockWindows", a => a.LockWindows) - .AddAttribute("lockRevision", a => a.LockRevision) - .AddAttribute("revisionsAlgorithmName", a => a.RevisionsAlgorithmName) - .AddAttribute("revisionsHashValue", a => a.RevisionsHashValue) - .AddAttribute("revisionsSaltValue", a => a.RevisionsSaltValue) - .AddAttribute("revisionsSpinCount", a => a.RevisionsSpinCount) - .AddAttribute("workbookAlgorithmName", a => a.WorkbookAlgorithmName) - .AddAttribute("workbookHashValue", a => a.WorkbookHashValue) - .AddAttribute("workbookSaltValue", a => a.WorkbookSaltValue) - .AddAttribute("workbookSpinCount", a => a.WorkbookSpinCount); + builder.SetSchema("x:pageFields"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.PageField), 1, 256) + }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the BookViews Class. + /// Defines the DataFields Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:bookViews. + /// When the object is serialized out as xml, it's qualified name is x:dataFields. /// /// /// The following table lists the possible child types: /// - /// <x:workbookView> + /// <x:dataField> /// /// - public partial class BookViews : OpenXmlCompositeElement + public partial class DataFields : OpenXmlCompositeElement { /// - /// Initializes a new instance of the BookViews class. + /// Initializes a new instance of the DataFields class. /// - public BookViews() : base() + public DataFields() : base() { } /// - /// Initializes a new instance of the BookViews class with the specified child elements. + /// Initializes a new instance of the DataFields class with the specified child elements. /// /// Specifies the child elements. - public BookViews(IEnumerable childElements) : base(childElements) + public DataFields(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the BookViews class with the specified child elements. + /// Initializes a new instance of the DataFields class with the specified child elements. /// /// Specifies the child elements. - public BookViews(params OpenXmlElement[] childElements) : base(childElements) + public DataFields(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the BookViews class from outer XML. + /// Initializes a new instance of the DataFields class from outer XML. /// /// Specifies the outer XML of the element. - public BookViews(string outerXml) : base(outerXml) + public DataFields(string outerXml) : base(outerXml) + { + } + + /// + /// Data Items Count + /// Represents the following attribute in the schema: count + /// + public UInt32Value? Count { + get => GetAttribute(); + set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:bookViews"); - builder.AddChild(); + builder.SetSchema("x:dataFields"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.WorkbookView), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.DataField), 1, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the Sheets Class. + /// Defines the Formats Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:sheets. + /// When the object is serialized out as xml, it's qualified name is x:formats. /// /// /// The following table lists the possible child types: /// - /// <x:sheet> + /// <x:format> /// /// - public partial class Sheets : OpenXmlCompositeElement + public partial class Formats : OpenXmlCompositeElement { /// - /// Initializes a new instance of the Sheets class. + /// Initializes a new instance of the Formats class. /// - public Sheets() : base() + public Formats() : base() { } /// - /// Initializes a new instance of the Sheets class with the specified child elements. + /// Initializes a new instance of the Formats class with the specified child elements. /// /// Specifies the child elements. - public Sheets(IEnumerable childElements) : base(childElements) + public Formats(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the Sheets class with the specified child elements. + /// Initializes a new instance of the Formats class with the specified child elements. /// /// Specifies the child elements. - public Sheets(params OpenXmlElement[] childElements) : base(childElements) + public Formats(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the Sheets class from outer XML. + /// Initializes a new instance of the Formats class from outer XML. /// /// Specifies the outer XML of the element. - public Sheets(string outerXml) : base(outerXml) + public Formats(string outerXml) : base(outerXml) + { + } + + /// + /// Formats Count + /// Represents the following attribute in the schema: count + /// + public UInt32Value? Count { + get => GetAttribute(); + set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:sheets"); - builder.AddChild(); + builder.SetSchema("x:formats"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Sheet), 1, 32767) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Format), 1, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the FunctionGroups Class. + /// Defines the ConditionalFormats Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:functionGroups. + /// When the object is serialized out as xml, it's qualified name is x:conditionalFormats. /// /// /// The following table lists the possible child types: /// - /// <x:functionGroup> + /// <x:conditionalFormat> /// /// - public partial class FunctionGroups : OpenXmlCompositeElement + public partial class ConditionalFormats : OpenXmlCompositeElement { /// - /// Initializes a new instance of the FunctionGroups class. + /// Initializes a new instance of the ConditionalFormats class. /// - public FunctionGroups() : base() + public ConditionalFormats() : base() { } /// - /// Initializes a new instance of the FunctionGroups class with the specified child elements. + /// Initializes a new instance of the ConditionalFormats class with the specified child elements. /// /// Specifies the child elements. - public FunctionGroups(IEnumerable childElements) : base(childElements) + public ConditionalFormats(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the FunctionGroups class with the specified child elements. + /// Initializes a new instance of the ConditionalFormats class with the specified child elements. /// /// Specifies the child elements. - public FunctionGroups(params OpenXmlElement[] childElements) : base(childElements) + public ConditionalFormats(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the FunctionGroups class from outer XML. + /// Initializes a new instance of the ConditionalFormats class from outer XML. /// /// Specifies the outer XML of the element. - public FunctionGroups(string outerXml) : base(outerXml) + public ConditionalFormats(string outerXml) : base(outerXml) { } /// - /// Built-in Function Group Count - /// Represents the following attribute in the schema: builtInGroupCount + /// Conditional Format Count + /// Represents the following attribute in the schema: count /// - public UInt32Value? BuiltInGroupCount + public UInt32Value? Count { get => GetAttribute(); set => SetAttribute(value); @@ -43860,563 +43524,578 @@ public UInt32Value? BuiltInGroupCount internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:functionGroups"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("builtInGroupCount", a => a.BuiltInGroupCount); - builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 0) + builder.SetSchema("x:conditionalFormats"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.FunctionGroup), 0, 255) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ConditionalFormat), 1, 0) }; - builder.AddConstraint(new AttributeValueRangeConstraint(builder.CreateQName("x:builtInGroupCount"), true, double.NegativeInfinity, true, 255, true)); } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the ExternalReferences Class. + /// Defines the ChartFormats Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:externalReferences. + /// When the object is serialized out as xml, it's qualified name is x:chartFormats. /// /// /// The following table lists the possible child types: /// - /// <x:externalReference> + /// <x:chartFormat> /// /// - public partial class ExternalReferences : OpenXmlCompositeElement + public partial class ChartFormats : OpenXmlCompositeElement { /// - /// Initializes a new instance of the ExternalReferences class. + /// Initializes a new instance of the ChartFormats class. /// - public ExternalReferences() : base() + public ChartFormats() : base() { } /// - /// Initializes a new instance of the ExternalReferences class with the specified child elements. + /// Initializes a new instance of the ChartFormats class with the specified child elements. /// /// Specifies the child elements. - public ExternalReferences(IEnumerable childElements) : base(childElements) + public ChartFormats(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the ExternalReferences class with the specified child elements. + /// Initializes a new instance of the ChartFormats class with the specified child elements. /// /// Specifies the child elements. - public ExternalReferences(params OpenXmlElement[] childElements) : base(childElements) + public ChartFormats(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the ExternalReferences class from outer XML. + /// Initializes a new instance of the ChartFormats class from outer XML. /// /// Specifies the outer XML of the element. - public ExternalReferences(string outerXml) : base(outerXml) + public ChartFormats(string outerXml) : base(outerXml) + { + } + + /// + /// Format Count + /// Represents the following attribute in the schema: count + /// + public UInt32Value? Count { + get => GetAttribute(); + set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:externalReferences"); - builder.AddChild(); + builder.SetSchema("x:chartFormats"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ExternalReference), 1, 65534) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ChartFormat), 1, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the DefinedNames Class. + /// Defines the PivotHierarchies Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:definedNames. + /// When the object is serialized out as xml, it's qualified name is x:pivotHierarchies. /// /// /// The following table lists the possible child types: /// - /// <x:definedName> + /// <x:pivotHierarchy> /// /// - public partial class DefinedNames : OpenXmlCompositeElement + public partial class PivotHierarchies : OpenXmlCompositeElement { /// - /// Initializes a new instance of the DefinedNames class. + /// Initializes a new instance of the PivotHierarchies class. /// - public DefinedNames() : base() + public PivotHierarchies() : base() { } /// - /// Initializes a new instance of the DefinedNames class with the specified child elements. + /// Initializes a new instance of the PivotHierarchies class with the specified child elements. /// /// Specifies the child elements. - public DefinedNames(IEnumerable childElements) : base(childElements) + public PivotHierarchies(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the DefinedNames class with the specified child elements. + /// Initializes a new instance of the PivotHierarchies class with the specified child elements. /// /// Specifies the child elements. - public DefinedNames(params OpenXmlElement[] childElements) : base(childElements) + public PivotHierarchies(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the DefinedNames class from outer XML. + /// Initializes a new instance of the PivotHierarchies class from outer XML. /// /// Specifies the outer XML of the element. - public DefinedNames(string outerXml) : base(outerXml) + public PivotHierarchies(string outerXml) : base(outerXml) + { + } + + /// + /// OLAP Hierarchy Count + /// Represents the following attribute in the schema: count + /// + public UInt32Value? Count { + get => GetAttribute(); + set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:definedNames"); - builder.AddChild(); + builder.SetSchema("x:pivotHierarchies"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.DefinedName), 0, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.PivotHierarchy), 1, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the CalculationProperties Class. + /// Defines the PivotTableStyle Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:calcPr. + /// When the object is serialized out as xml, it's qualified name is x:pivotTableStyleInfo. /// - public partial class CalculationProperties : OpenXmlLeafElement + public partial class PivotTableStyle : OpenXmlLeafElement { /// - /// Initializes a new instance of the CalculationProperties class. + /// Initializes a new instance of the PivotTableStyle class. /// - public CalculationProperties() : base() + public PivotTableStyle() : base() { } /// - /// Calculation Id - /// Represents the following attribute in the schema: calcId + /// Table Style Name + /// Represents the following attribute in the schema: name /// - public UInt32Value? CalculationId + public StringValue? Name { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } /// - /// Calculation Mode - /// Represents the following attribute in the schema: calcMode + /// Show Row Header Formatting + /// Represents the following attribute in the schema: showRowHeaders /// - public EnumValue? CalculationMode + public BooleanValue? ShowRowHeaders { - get => GetAttribute>(); + get => GetAttribute(); set => SetAttribute(value); } /// - /// Full Calculation On Load - /// Represents the following attribute in the schema: fullCalcOnLoad + /// Show Table Style Column Header Formatting + /// Represents the following attribute in the schema: showColHeaders /// - public BooleanValue? FullCalculationOnLoad + public BooleanValue? ShowColumnHeaders { get => GetAttribute(); set => SetAttribute(value); } /// - /// Reference Mode - /// Represents the following attribute in the schema: refMode + /// Show Row Stripes + /// Represents the following attribute in the schema: showRowStripes /// - public EnumValue? ReferenceMode + public BooleanValue? ShowRowStripes { - get => GetAttribute>(); + get => GetAttribute(); set => SetAttribute(value); } /// - /// Calculation Iteration - /// Represents the following attribute in the schema: iterate + /// Show Column Stripes + /// Represents the following attribute in the schema: showColStripes /// - public BooleanValue? Iterate + public BooleanValue? ShowColumnStripes { get => GetAttribute(); set => SetAttribute(value); } /// - /// Iteration Count - /// Represents the following attribute in the schema: iterateCount + /// Show Last Column + /// Represents the following attribute in the schema: showLastColumn /// - public UInt32Value? IterateCount + public BooleanValue? ShowLastColumn { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } - /// - /// Iterative Calculation Delta - /// Represents the following attribute in the schema: iterateDelta - /// - public DoubleValue? IterateDelta + internal override void ConfigureMetadata(ElementMetadata.Builder builder) { - get => GetAttribute(); - set => SetAttribute(value); + base.ConfigureMetadata(builder); + builder.SetSchema("x:pivotTableStyleInfo"); + builder.AddElement() + .AddAttribute("name", a => a.Name) + .AddAttribute("showRowHeaders", a => a.ShowRowHeaders) + .AddAttribute("showColHeaders", a => a.ShowColumnHeaders) + .AddAttribute("showRowStripes", a => a.ShowRowStripes) + .AddAttribute("showColStripes", a => a.ShowColumnStripes) + .AddAttribute("showLastColumn", a => a.ShowLastColumn); + builder.AddConstraint(new AttributeValueLengthConstraint(builder.CreateQName("x:name"), 0, 255) { Application = ApplicationType.Excel }); } - /// - /// Full Precision Calculation - /// Represents the following attribute in the schema: fullPrecision - /// - public BooleanValue? FullPrecision - { - get => GetAttribute(); - set => SetAttribute(value); - } + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + /// + /// Defines the PivotFilters Class. + /// This class is available in Office 2007 and above. + /// When the object is serialized out as xml, it's qualified name is x:filters. + /// + /// + /// The following table lists the possible child types: + /// + /// <x:filter> + /// + /// + public partial class PivotFilters : OpenXmlCompositeElement + { /// - /// Calc Completed - /// Represents the following attribute in the schema: calcCompleted + /// Initializes a new instance of the PivotFilters class. /// - public BooleanValue? CalculationCompleted + public PivotFilters() : base() { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Calculate On Save - /// Represents the following attribute in the schema: calcOnSave + /// Initializes a new instance of the PivotFilters class with the specified child elements. /// - public BooleanValue? CalculationOnSave + /// Specifies the child elements. + public PivotFilters(IEnumerable childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Concurrent Calculations - /// Represents the following attribute in the schema: concurrentCalc + /// Initializes a new instance of the PivotFilters class with the specified child elements. /// - public BooleanValue? ConcurrentCalculation + /// Specifies the child elements. + public PivotFilters(params OpenXmlElement[] childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Concurrent Thread Manual Count - /// Represents the following attribute in the schema: concurrentManualCount + /// Initializes a new instance of the PivotFilters class from outer XML. /// - public UInt32Value? ConcurrentManualCount + /// Specifies the outer XML of the element. + public PivotFilters(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Force Full Calculation - /// Represents the following attribute in the schema: forceFullCalc + /// Pivot Filter Count + /// Represents the following attribute in the schema: count /// - public BooleanValue? ForceFullCalculation + public UInt32Value? Count { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:calcPr"); - builder.AddElement() - .AddAttribute("calcId", a => a.CalculationId) - .AddAttribute("calcMode", a => a.CalculationMode) - .AddAttribute("fullCalcOnLoad", a => a.FullCalculationOnLoad) - .AddAttribute("refMode", a => a.ReferenceMode) - .AddAttribute("iterate", a => a.Iterate) - .AddAttribute("iterateCount", a => a.IterateCount) - .AddAttribute("iterateDelta", a => a.IterateDelta) - .AddAttribute("fullPrecision", a => a.FullPrecision) - .AddAttribute("calcCompleted", a => a.CalculationCompleted) - .AddAttribute("calcOnSave", a => a.CalculationOnSave) - .AddAttribute("concurrentCalc", a => a.ConcurrentCalculation) - .AddAttribute("concurrentManualCount", a => a.ConcurrentManualCount) - .AddAttribute("forceFullCalc", a => a.ForceFullCalculation); - } - - /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); - } - - /// - /// Defines the OleSize Class. - /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:oleSize. - /// - public partial class OleSize : OpenXmlLeafElement - { - /// - /// Initializes a new instance of the OleSize class. - /// - public OleSize() : base() - { - } - - /// - /// Reference - /// Represents the following attribute in the schema: ref - /// - public StringValue? Reference - { - get => GetAttribute(); - set => SetAttribute(value); - } - - internal override void ConfigureMetadata(ElementMetadata.Builder builder) - { - base.ConfigureMetadata(builder); - builder.SetSchema("x:oleSize"); - builder.AddElement() - .AddAttribute("ref", a => a.Reference, aBuilder => - { - aBuilder.AddValidator(RequiredValidator.Instance); - }); + builder.SetSchema("x:filters"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.PivotFilter), 0, 0) + }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the CustomWorkbookViews Class. + /// Defines the RowHierarchiesUsage Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:customWorkbookViews. + /// When the object is serialized out as xml, it's qualified name is x:rowHierarchiesUsage. /// /// /// The following table lists the possible child types: /// - /// <x:customWorkbookView> + /// <x:rowHierarchyUsage> /// /// - public partial class CustomWorkbookViews : OpenXmlCompositeElement + public partial class RowHierarchiesUsage : OpenXmlCompositeElement { /// - /// Initializes a new instance of the CustomWorkbookViews class. + /// Initializes a new instance of the RowHierarchiesUsage class. /// - public CustomWorkbookViews() : base() + public RowHierarchiesUsage() : base() { } /// - /// Initializes a new instance of the CustomWorkbookViews class with the specified child elements. + /// Initializes a new instance of the RowHierarchiesUsage class with the specified child elements. /// /// Specifies the child elements. - public CustomWorkbookViews(IEnumerable childElements) : base(childElements) + public RowHierarchiesUsage(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the CustomWorkbookViews class with the specified child elements. + /// Initializes a new instance of the RowHierarchiesUsage class with the specified child elements. /// /// Specifies the child elements. - public CustomWorkbookViews(params OpenXmlElement[] childElements) : base(childElements) + public RowHierarchiesUsage(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the CustomWorkbookViews class from outer XML. + /// Initializes a new instance of the RowHierarchiesUsage class from outer XML. /// /// Specifies the outer XML of the element. - public CustomWorkbookViews(string outerXml) : base(outerXml) + public RowHierarchiesUsage(string outerXml) : base(outerXml) + { + } + + /// + /// Item Count + /// Represents the following attribute in the schema: count + /// + public UInt32Value? Count { + get => GetAttribute(); + set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:customWorkbookViews"); - builder.AddChild(); + builder.SetSchema("x:rowHierarchiesUsage"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.CustomWorkbookView), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.RowHierarchyUsage), 1, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the PivotCaches Class. + /// Defines the ColumnHierarchiesUsage Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:pivotCaches. + /// When the object is serialized out as xml, it's qualified name is x:colHierarchiesUsage. /// /// /// The following table lists the possible child types: /// - /// <x:pivotCache> + /// <x:colHierarchyUsage> /// /// - public partial class PivotCaches : OpenXmlCompositeElement + public partial class ColumnHierarchiesUsage : OpenXmlCompositeElement { /// - /// Initializes a new instance of the PivotCaches class. + /// Initializes a new instance of the ColumnHierarchiesUsage class. /// - public PivotCaches() : base() + public ColumnHierarchiesUsage() : base() { } /// - /// Initializes a new instance of the PivotCaches class with the specified child elements. + /// Initializes a new instance of the ColumnHierarchiesUsage class with the specified child elements. /// /// Specifies the child elements. - public PivotCaches(IEnumerable childElements) : base(childElements) + public ColumnHierarchiesUsage(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the PivotCaches class with the specified child elements. + /// Initializes a new instance of the ColumnHierarchiesUsage class with the specified child elements. /// /// Specifies the child elements. - public PivotCaches(params OpenXmlElement[] childElements) : base(childElements) + public ColumnHierarchiesUsage(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the PivotCaches class from outer XML. + /// Initializes a new instance of the ColumnHierarchiesUsage class from outer XML. /// /// Specifies the outer XML of the element. - public PivotCaches(string outerXml) : base(outerXml) + public ColumnHierarchiesUsage(string outerXml) : base(outerXml) + { + } + + /// + /// Items Count + /// Represents the following attribute in the schema: count + /// + public UInt32Value? Count { + get => GetAttribute(); + set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:pivotCaches"); - builder.AddChild(); + builder.SetSchema("x:colHierarchiesUsage"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.PivotCache), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ColumnHierarchyUsage), 1, 16384) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the WebPublishing Class. + /// Defines the PivotTableDefinitionExtensionList Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:webPublishing. + /// When the object is serialized out as xml, it's qualified name is x:extLst. /// - public partial class WebPublishing : OpenXmlLeafElement + /// + /// The following table lists the possible child types: + /// + /// <x:ext> + /// + /// + public partial class PivotTableDefinitionExtensionList : OpenXmlCompositeElement { /// - /// Initializes a new instance of the WebPublishing class. + /// Initializes a new instance of the PivotTableDefinitionExtensionList class. /// - public WebPublishing() : base() + public PivotTableDefinitionExtensionList() : base() { } /// - /// css - /// Represents the following attribute in the schema: css + /// Initializes a new instance of the PivotTableDefinitionExtensionList class with the specified child elements. /// - public BooleanValue? UseCss + /// Specifies the child elements. + public PivotTableDefinitionExtensionList(IEnumerable childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// thicket - /// Represents the following attribute in the schema: thicket + /// Initializes a new instance of the PivotTableDefinitionExtensionList class with the specified child elements. /// - public BooleanValue? Thicket + /// Specifies the child elements. + public PivotTableDefinitionExtensionList(params OpenXmlElement[] childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// longFileNames - /// Represents the following attribute in the schema: longFileNames + /// Initializes a new instance of the PivotTableDefinitionExtensionList class from outer XML. /// - public BooleanValue? LongFileNames + /// Specifies the outer XML of the element. + public PivotTableDefinitionExtensionList(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } - /// - /// vml - /// Represents the following attribute in the schema: vml - /// - public BooleanValue? UseVml + internal override void ConfigureMetadata(ElementMetadata.Builder builder) { - get => GetAttribute(); - set => SetAttribute(value); + base.ConfigureMetadata(builder); + builder.SetSchema("x:extLst"); + builder.AddChild(); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.PivotTableDefinitionExtension), 0, 0) + }; } + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + + /// + /// Defines the PivotTableDefinitionExtension Class. + /// This class is available in Office 2007 and above. + /// When the object is serialized out as xml, it's qualified name is x:ext. + /// + /// + /// The following table lists the possible child types: + /// + /// <x14:pivotTableDefinition> + /// <x15:pivotTableData> + /// <x15:pivotTableUISettings> + /// <xxpvi:pivotVersionInfo> + /// + /// + public partial class PivotTableDefinitionExtension : OpenXmlCompositeElement + { /// - /// allowPng - /// Represents the following attribute in the schema: allowPng + /// Initializes a new instance of the PivotTableDefinitionExtension class. /// - public BooleanValue? AllowPng + public PivotTableDefinitionExtension() : base() { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// targetScreenSize - /// Represents the following attribute in the schema: targetScreenSize + /// Initializes a new instance of the PivotTableDefinitionExtension class with the specified child elements. /// - public EnumValue? TargetScreenSize + /// Specifies the child elements. + public PivotTableDefinitionExtension(IEnumerable childElements) : base(childElements) { - get => GetAttribute>(); - set => SetAttribute(value); } /// - /// dpi - /// Represents the following attribute in the schema: dpi + /// Initializes a new instance of the PivotTableDefinitionExtension class with the specified child elements. /// - public UInt32Value? Dpi + /// Specifies the child elements. + public PivotTableDefinitionExtension(params OpenXmlElement[] childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// codePage - /// Represents the following attribute in the schema: codePage + /// Initializes a new instance of the PivotTableDefinitionExtension class from outer XML. /// - public UInt32Value? CodePage + /// Specifies the outer XML of the element. + public PivotTableDefinitionExtension(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// characterSet - /// Represents the following attribute in the schema: characterSet + /// URI + /// Represents the following attribute in the schema: uri /// - public StringValue? CharacterSet + public StringValue? Uri { get => GetAttribute(); set => SetAttribute(value); @@ -44425,138 +44104,209 @@ public StringValue? CharacterSet internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:webPublishing"); - builder.AddElement() - .AddAttribute("css", a => a.UseCss) - .AddAttribute("thicket", a => a.Thicket) - .AddAttribute("longFileNames", a => a.LongFileNames) - .AddAttribute("vml", a => a.UseVml) - .AddAttribute("allowPng", a => a.AllowPng) - .AddAttribute("targetScreenSize", a => a.TargetScreenSize) - .AddAttribute("dpi", a => a.Dpi) - .AddAttribute("codePage", a => a.CodePage) - .AddAttribute("characterSet", a => a.CharacterSet); + builder.SetSchema("x:ext"); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddElement() + .AddAttribute("uri", a => a.Uri, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + aBuilder.AddValidator(new StringValidator() { IsToken = (true) }); + }); + builder.Particle = new CompositeParticle.Builder(ParticleType.Choice, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.PivotTableDefinition), 1, 1, version: FileFormatVersions.Office2010), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.PivotTableData), 1, 1, version: FileFormatVersions.Office2013), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.PivotTableUISettings), 1, 1, version: FileFormatVersions.Office2013), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotVersionInfo.PivotVersionInfo), 1, 1, version: FileFormatVersions.Microsoft365), + new AnyParticle(0, 1) + }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the FileRecoveryProperties Class. + /// Defines the CacheSource Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:fileRecoveryPr. + /// When the object is serialized out as xml, it's qualified name is x:cacheSource. /// - public partial class FileRecoveryProperties : OpenXmlLeafElement + /// + /// The following table lists the possible child types: + /// + /// <x:extLst> + /// <x:consolidation> + /// <x:worksheetSource> + /// + /// + public partial class CacheSource : OpenXmlCompositeElement { /// - /// Initializes a new instance of the FileRecoveryProperties class. + /// Initializes a new instance of the CacheSource class. /// - public FileRecoveryProperties() : base() + public CacheSource() : base() { } /// - /// Auto Recover - /// Represents the following attribute in the schema: autoRecover + /// Initializes a new instance of the CacheSource class with the specified child elements. /// - public BooleanValue? AutoRecover + /// Specifies the child elements. + public CacheSource(IEnumerable childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Crash Save - /// Represents the following attribute in the schema: crashSave + /// Initializes a new instance of the CacheSource class with the specified child elements. /// - public BooleanValue? CrashSave + /// Specifies the child elements. + public CacheSource(params OpenXmlElement[] childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// Data Extract Load - /// Represents the following attribute in the schema: dataExtractLoad + /// Initializes a new instance of the CacheSource class from outer XML. /// - public BooleanValue? DataExtractLoad + /// Specifies the outer XML of the element. + public CacheSource(string outerXml) : base(outerXml) { - get => GetAttribute(); + } + + /// + /// type + /// Represents the following attribute in the schema: type + /// + public EnumValue? Type + { + get => GetAttribute>(); set => SetAttribute(value); } /// - /// Repair Load - /// Represents the following attribute in the schema: repairLoad + /// connectionId + /// Represents the following attribute in the schema: connectionId /// - public BooleanValue? RepairLoad + public UInt32Value? ConnectionId { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:fileRecoveryPr"); - builder.AddElement() - .AddAttribute("autoRecover", a => a.AutoRecover) - .AddAttribute("crashSave", a => a.CrashSave) - .AddAttribute("dataExtractLoad", a => a.DataExtractLoad) - .AddAttribute("repairLoad", a => a.RepairLoad); + builder.SetSchema("x:cacheSource"); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddElement() + .AddAttribute("type", a => a.Type, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + }) + .AddAttribute("connectionId", a => a.ConnectionId); + builder.Particle = new CompositeParticle.Builder(ParticleType.Choice, 0, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.WorksheetSource), 1, 1), + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Consolidation), 1, 1), + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.CacheSourceExtensionList), 0, 1) + }; + builder.AddConstraint(new ReferenceExistConstraint(builder.CreateQName("x:connectionId"), "/WorkbookPart/ConnectionsPart", builder.CreateQName("x:connection"), "x:connection", builder.CreateQName("x:id"))); + builder.AddConstraint(new UniqueAttributeValueConstraint(builder.CreateQName("x:connectionId"), true, null)); + } + + /// + /// WorksheetSource. + /// Represents the following element tag in the schema: x:worksheetSource. + /// + /// + /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main + /// + public DocumentFormat.OpenXml.Spreadsheet.WorksheetSource? WorksheetSource + { + get => GetElement(); + set => SetElement(value); + } + + /// + /// Consolidation. + /// Represents the following element tag in the schema: x:consolidation. + /// + /// + /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main + /// + public DocumentFormat.OpenXml.Spreadsheet.Consolidation? Consolidation + { + get => GetElement(); + set => SetElement(value); + } + + /// + /// CacheSourceExtensionList. + /// Represents the following element tag in the schema: x:extLst. + /// + /// + /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main + /// + public DocumentFormat.OpenXml.Spreadsheet.CacheSourceExtensionList? CacheSourceExtensionList + { + get => GetElement(); + set => SetElement(value); } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the WebPublishObjects Class. + /// Defines the CacheFields Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:webPublishObjects. + /// When the object is serialized out as xml, it's qualified name is x:cacheFields. /// /// /// The following table lists the possible child types: /// - /// <x:webPublishObject> + /// <x:cacheField> /// /// - public partial class WebPublishObjects : OpenXmlCompositeElement + public partial class CacheFields : OpenXmlCompositeElement { /// - /// Initializes a new instance of the WebPublishObjects class. + /// Initializes a new instance of the CacheFields class. /// - public WebPublishObjects() : base() + public CacheFields() : base() { } /// - /// Initializes a new instance of the WebPublishObjects class with the specified child elements. + /// Initializes a new instance of the CacheFields class with the specified child elements. /// /// Specifies the child elements. - public WebPublishObjects(IEnumerable childElements) : base(childElements) + public CacheFields(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the WebPublishObjects class with the specified child elements. + /// Initializes a new instance of the CacheFields class with the specified child elements. /// /// Specifies the child elements. - public WebPublishObjects(params OpenXmlElement[] childElements) : base(childElements) + public CacheFields(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the WebPublishObjects class from outer XML. + /// Initializes a new instance of the CacheFields class from outer XML. /// /// Specifies the outer XML of the element. - public WebPublishObjects(string outerXml) : base(outerXml) + public CacheFields(string outerXml) : base(outerXml) { } /// - /// Count + /// Field Count /// Represents the following attribute in the schema: count /// public UInt32Value? Count @@ -44568,334 +44318,344 @@ public UInt32Value? Count internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:webPublishObjects"); - builder.AddChild(); - builder.AddElement() + builder.SetSchema("x:cacheFields"); + builder.AddChild(); + builder.AddElement() .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.WebPublishObject), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.CacheField), 0, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the WorkbookExtensionList Class. + /// Defines the CacheHierarchies Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:extLst. + /// When the object is serialized out as xml, it's qualified name is x:cacheHierarchies. /// /// /// The following table lists the possible child types: /// - /// <x:ext> + /// <x:cacheHierarchy> /// /// - public partial class WorkbookExtensionList : OpenXmlCompositeElement + public partial class CacheHierarchies : OpenXmlCompositeElement { /// - /// Initializes a new instance of the WorkbookExtensionList class. + /// Initializes a new instance of the CacheHierarchies class. /// - public WorkbookExtensionList() : base() + public CacheHierarchies() : base() { } /// - /// Initializes a new instance of the WorkbookExtensionList class with the specified child elements. + /// Initializes a new instance of the CacheHierarchies class with the specified child elements. /// /// Specifies the child elements. - public WorkbookExtensionList(IEnumerable childElements) : base(childElements) + public CacheHierarchies(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the WorkbookExtensionList class with the specified child elements. + /// Initializes a new instance of the CacheHierarchies class with the specified child elements. /// /// Specifies the child elements. - public WorkbookExtensionList(params OpenXmlElement[] childElements) : base(childElements) + public CacheHierarchies(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the WorkbookExtensionList class from outer XML. + /// Initializes a new instance of the CacheHierarchies class from outer XML. /// /// Specifies the outer XML of the element. - public WorkbookExtensionList(string outerXml) : base(outerXml) + public CacheHierarchies(string outerXml) : base(outerXml) + { + } + + /// + /// Hierarchy Count + /// Represents the following attribute in the schema: count + /// + public UInt32Value? Count { + get => GetAttribute(); + set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:extLst"); - builder.AddChild(); + builder.SetSchema("x:cacheHierarchies"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.WorkbookExtension), 0, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.CacheHierarchy), 1, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the WorkbookExtension Class. + /// Defines the Kpis Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:ext. + /// When the object is serialized out as xml, it's qualified name is x:kpis. /// /// /// The following table lists the possible child types: /// - /// <x14:pivotCaches> - /// <x15:pivotCaches> - /// <x15:timelineCachePivotCaches> - /// <x14:definedNames> - /// <x14:slicerCaches> - /// <x15:slicerCaches> - /// <x14:workbookPr> - /// <x15:dataModel> - /// <x15:pivotTableReferences> - /// <x15:timelineCacheRefs> - /// <x15:workbookPr> + /// <x:kpi> /// /// - public partial class WorkbookExtension : OpenXmlCompositeElement + public partial class Kpis : OpenXmlCompositeElement { /// - /// Initializes a new instance of the WorkbookExtension class. + /// Initializes a new instance of the Kpis class. /// - public WorkbookExtension() : base() + public Kpis() : base() { } /// - /// Initializes a new instance of the WorkbookExtension class with the specified child elements. + /// Initializes a new instance of the Kpis class with the specified child elements. /// /// Specifies the child elements. - public WorkbookExtension(IEnumerable childElements) : base(childElements) + public Kpis(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the WorkbookExtension class with the specified child elements. + /// Initializes a new instance of the Kpis class with the specified child elements. /// /// Specifies the child elements. - public WorkbookExtension(params OpenXmlElement[] childElements) : base(childElements) + public Kpis(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the WorkbookExtension class from outer XML. + /// Initializes a new instance of the Kpis class from outer XML. /// /// Specifies the outer XML of the element. - public WorkbookExtension(string outerXml) : base(outerXml) + public Kpis(string outerXml) : base(outerXml) { } /// - /// URI - /// Represents the following attribute in the schema: uri + /// KPI Count + /// Represents the following attribute in the schema: count /// - public StringValue? Uri + public UInt32Value? Count { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:ext"); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddElement() - .AddAttribute("uri", a => a.Uri, aBuilder => - { - aBuilder.AddValidator(RequiredValidator.Instance); - aBuilder.AddValidator(new StringValidator() { IsToken = (true) }); - }); - builder.Particle = new CompositeParticle.Builder(ParticleType.Choice, 1, 1) + builder.SetSchema("x:kpis"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.DefinedNames), 1, 1, version: FileFormatVersions.Office2010), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.PivotCaches), 1, 1, version: FileFormatVersions.Office2010), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.SlicerCaches), 1, 1, version: FileFormatVersions.Office2010), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.SlicerCaches), 1, 1, version: FileFormatVersions.Office2013), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.WorkbookProperties), 1, 1, version: FileFormatVersions.Office2010), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.PivotCaches), 1, 1, version: FileFormatVersions.Office2013), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.PivotTableReferences), 1, 1, version: FileFormatVersions.Office2013), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.TimelineCachePivotCaches), 1, 1, version: FileFormatVersions.Office2013), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.TimelineCacheReferences), 1, 1, version: FileFormatVersions.Office2013), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.WorkbookProperties), 1, 1, version: FileFormatVersions.Office2013), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.DataModel), 1, 1, version: FileFormatVersions.Office2013), - new AnyParticle(0, 1) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Kpi), 0, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the Location Class. + /// Defines the TupleCache Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:location. + /// When the object is serialized out as xml, it's qualified name is x:tupleCache. /// - public partial class Location : OpenXmlLeafElement + /// + /// The following table lists the possible child types: + /// + /// <x:extLst> + /// <x:entries> + /// <x:queryCache> + /// <x:serverFormats> + /// <x:sets> + /// + /// + public partial class TupleCache : OpenXmlCompositeElement { /// - /// Initializes a new instance of the Location class. + /// Initializes a new instance of the TupleCache class. /// - public Location() : base() + public TupleCache() : base() { } /// - /// Reference - /// Represents the following attribute in the schema: ref + /// Initializes a new instance of the TupleCache class with the specified child elements. /// - public StringValue? Reference + /// Specifies the child elements. + public TupleCache(IEnumerable childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// First Header Row - /// Represents the following attribute in the schema: firstHeaderRow + /// Initializes a new instance of the TupleCache class with the specified child elements. /// - public UInt32Value? FirstHeaderRow + /// Specifies the child elements. + public TupleCache(params OpenXmlElement[] childElements) : base(childElements) { - get => GetAttribute(); - set => SetAttribute(value); } /// - /// PivotTable Data First Row - /// Represents the following attribute in the schema: firstDataRow + /// Initializes a new instance of the TupleCache class from outer XML. /// - public UInt32Value? FirstDataRow + /// Specifies the outer XML of the element. + public TupleCache(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("x:tupleCache"); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Entries), 0, 1), + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Sets), 0, 1), + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.QueryCache), 0, 1), + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ServerFormats), 0, 1), + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ExtensionList), 0, 1) + }; } /// - /// First Data Column - /// Represents the following attribute in the schema: firstDataCol + /// Entries. + /// Represents the following element tag in the schema: x:entries. /// - public UInt32Value? FirstDataColumn + /// + /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main + /// + public DocumentFormat.OpenXml.Spreadsheet.Entries? Entries { - get => GetAttribute(); - set => SetAttribute(value); + get => GetElement(); + set => SetElement(value); } /// - /// Rows Per Page Count - /// Represents the following attribute in the schema: rowPageCount + /// Sets. + /// Represents the following element tag in the schema: x:sets. /// - public UInt32Value? RowPageCount + /// + /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main + /// + public DocumentFormat.OpenXml.Spreadsheet.Sets? Sets { - get => GetAttribute(); - set => SetAttribute(value); + get => GetElement(); + set => SetElement(value); } /// - /// Columns Per Page - /// Represents the following attribute in the schema: colPageCount + /// OLAP Query Cache. + /// Represents the following element tag in the schema: x:queryCache. /// - public UInt32Value? ColumnsPerPage + /// + /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main + /// + public DocumentFormat.OpenXml.Spreadsheet.QueryCache? QueryCache { - get => GetAttribute(); - set => SetAttribute(value); + get => GetElement(); + set => SetElement(value); } - internal override void ConfigureMetadata(ElementMetadata.Builder builder) + /// + /// Server Formats. + /// Represents the following element tag in the schema: x:serverFormats. + /// + /// + /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main + /// + public DocumentFormat.OpenXml.Spreadsheet.ServerFormats? ServerFormats { - base.ConfigureMetadata(builder); - builder.SetSchema("x:location"); - builder.AddElement() - .AddAttribute("ref", a => a.Reference, aBuilder => - { - aBuilder.AddValidator(RequiredValidator.Instance); - }) - .AddAttribute("firstHeaderRow", a => a.FirstHeaderRow, aBuilder => - { - aBuilder.AddValidator(RequiredValidator.Instance); - }) - .AddAttribute("firstDataRow", a => a.FirstDataRow, aBuilder => - { - aBuilder.AddValidator(RequiredValidator.Instance); - }) - .AddAttribute("firstDataCol", a => a.FirstDataColumn, aBuilder => - { - aBuilder.AddValidator(RequiredValidator.Instance); - }) - .AddAttribute("rowPageCount", a => a.RowPageCount) - .AddAttribute("colPageCount", a => a.ColumnsPerPage); + get => GetElement(); + set => SetElement(value); + } + + /// + /// Future Feature Data Storage Area. + /// Represents the following element tag in the schema: x:extLst. + /// + /// + /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main + /// + public DocumentFormat.OpenXml.Spreadsheet.ExtensionList? ExtensionList + { + get => GetElement(); + set => SetElement(value); } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the PivotFields Class. + /// Defines the CalculatedItems Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:pivotFields. + /// When the object is serialized out as xml, it's qualified name is x:calculatedItems. /// /// /// The following table lists the possible child types: /// - /// <x:pivotField> + /// <x:calculatedItem> /// /// - public partial class PivotFields : OpenXmlCompositeElement + public partial class CalculatedItems : OpenXmlCompositeElement { /// - /// Initializes a new instance of the PivotFields class. + /// Initializes a new instance of the CalculatedItems class. /// - public PivotFields() : base() + public CalculatedItems() : base() { } /// - /// Initializes a new instance of the PivotFields class with the specified child elements. + /// Initializes a new instance of the CalculatedItems class with the specified child elements. /// /// Specifies the child elements. - public PivotFields(IEnumerable childElements) : base(childElements) + public CalculatedItems(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the PivotFields class with the specified child elements. + /// Initializes a new instance of the CalculatedItems class with the specified child elements. /// /// Specifies the child elements. - public PivotFields(params OpenXmlElement[] childElements) : base(childElements) + public CalculatedItems(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the PivotFields class from outer XML. + /// Initializes a new instance of the CalculatedItems class from outer XML. /// /// Specifies the outer XML of the element. - public PivotFields(string outerXml) : base(outerXml) + public CalculatedItems(string outerXml) : base(outerXml) { } /// - /// Field Count + /// Calculated Item Formula Count /// Represents the following attribute in the schema: count /// public UInt32Value? Count @@ -44907,66 +44667,66 @@ public UInt32Value? Count internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:pivotFields"); - builder.AddChild(); - builder.AddElement() + builder.SetSchema("x:calculatedItems"); + builder.AddChild(); + builder.AddElement() .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.PivotField), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.CalculatedItem), 1, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the RowFields Class. + /// Defines the CalculatedMembers Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:rowFields. + /// When the object is serialized out as xml, it's qualified name is x:calculatedMembers. /// /// /// The following table lists the possible child types: /// - /// <x:field> + /// <x:calculatedMember> /// /// - public partial class RowFields : OpenXmlCompositeElement + public partial class CalculatedMembers : OpenXmlCompositeElement { /// - /// Initializes a new instance of the RowFields class. + /// Initializes a new instance of the CalculatedMembers class. /// - public RowFields() : base() + public CalculatedMembers() : base() { } /// - /// Initializes a new instance of the RowFields class with the specified child elements. + /// Initializes a new instance of the CalculatedMembers class with the specified child elements. /// /// Specifies the child elements. - public RowFields(IEnumerable childElements) : base(childElements) + public CalculatedMembers(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the RowFields class with the specified child elements. + /// Initializes a new instance of the CalculatedMembers class with the specified child elements. /// /// Specifies the child elements. - public RowFields(params OpenXmlElement[] childElements) : base(childElements) + public CalculatedMembers(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the RowFields class from outer XML. + /// Initializes a new instance of the CalculatedMembers class from outer XML. /// /// Specifies the outer XML of the element. - public RowFields(string outerXml) : base(outerXml) + public CalculatedMembers(string outerXml) : base(outerXml) { } /// - /// Repeated Items Count + /// Calculated Members Count /// Represents the following attribute in the schema: count /// public UInt32Value? Count @@ -44978,66 +44738,66 @@ public UInt32Value? Count internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:rowFields"); - builder.AddChild(); - builder.AddElement() + builder.SetSchema("x:calculatedMembers"); + builder.AddChild(); + builder.AddElement() .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Field), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.CalculatedMember), 1, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the RowItems Class. + /// Defines the Dimensions Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:rowItems. + /// When the object is serialized out as xml, it's qualified name is x:dimensions. /// /// /// The following table lists the possible child types: /// - /// <x:i> + /// <x:dimension> /// /// - public partial class RowItems : OpenXmlCompositeElement + public partial class Dimensions : OpenXmlCompositeElement { /// - /// Initializes a new instance of the RowItems class. + /// Initializes a new instance of the Dimensions class. /// - public RowItems() : base() + public Dimensions() : base() { } /// - /// Initializes a new instance of the RowItems class with the specified child elements. + /// Initializes a new instance of the Dimensions class with the specified child elements. /// /// Specifies the child elements. - public RowItems(IEnumerable childElements) : base(childElements) + public Dimensions(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the RowItems class with the specified child elements. + /// Initializes a new instance of the Dimensions class with the specified child elements. /// /// Specifies the child elements. - public RowItems(params OpenXmlElement[] childElements) : base(childElements) + public Dimensions(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the RowItems class from outer XML. + /// Initializes a new instance of the Dimensions class from outer XML. /// /// Specifies the outer XML of the element. - public RowItems(string outerXml) : base(outerXml) + public Dimensions(string outerXml) : base(outerXml) { } /// - /// Items in a Row Count + /// OLAP Dimensions Count /// Represents the following attribute in the schema: count /// public UInt32Value? Count @@ -45049,66 +44809,66 @@ public UInt32Value? Count internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:rowItems"); - builder.AddChild(); - builder.AddElement() + builder.SetSchema("x:dimensions"); + builder.AddChild(); + builder.AddElement() .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.RowItem), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Dimension), 0, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the ColumnFields Class. + /// Defines the MeasureGroups Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:colFields. + /// When the object is serialized out as xml, it's qualified name is x:measureGroups. /// /// /// The following table lists the possible child types: /// - /// <x:field> + /// <x:measureGroup> /// /// - public partial class ColumnFields : OpenXmlCompositeElement + public partial class MeasureGroups : OpenXmlCompositeElement { /// - /// Initializes a new instance of the ColumnFields class. + /// Initializes a new instance of the MeasureGroups class. /// - public ColumnFields() : base() + public MeasureGroups() : base() { } /// - /// Initializes a new instance of the ColumnFields class with the specified child elements. + /// Initializes a new instance of the MeasureGroups class with the specified child elements. /// /// Specifies the child elements. - public ColumnFields(IEnumerable childElements) : base(childElements) + public MeasureGroups(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the ColumnFields class with the specified child elements. + /// Initializes a new instance of the MeasureGroups class with the specified child elements. /// /// Specifies the child elements. - public ColumnFields(params OpenXmlElement[] childElements) : base(childElements) + public MeasureGroups(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the ColumnFields class from outer XML. + /// Initializes a new instance of the MeasureGroups class from outer XML. /// /// Specifies the outer XML of the element. - public ColumnFields(string outerXml) : base(outerXml) + public MeasureGroups(string outerXml) : base(outerXml) { } /// - /// Repeated Items Count + /// Measure Group Count /// Represents the following attribute in the schema: count /// public UInt32Value? Count @@ -45120,66 +44880,66 @@ public UInt32Value? Count internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:colFields"); - builder.AddChild(); - builder.AddElement() + builder.SetSchema("x:measureGroups"); + builder.AddChild(); + builder.AddElement() .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Field), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.MeasureGroup), 0, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the ColumnItems Class. + /// Defines the Maps Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:colItems. + /// When the object is serialized out as xml, it's qualified name is x:maps. /// /// /// The following table lists the possible child types: /// - /// <x:i> + /// <x:map> /// /// - public partial class ColumnItems : OpenXmlCompositeElement + public partial class Maps : OpenXmlCompositeElement { /// - /// Initializes a new instance of the ColumnItems class. + /// Initializes a new instance of the Maps class. /// - public ColumnItems() : base() + public Maps() : base() { } /// - /// Initializes a new instance of the ColumnItems class with the specified child elements. + /// Initializes a new instance of the Maps class with the specified child elements. /// /// Specifies the child elements. - public ColumnItems(IEnumerable childElements) : base(childElements) + public Maps(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the ColumnItems class with the specified child elements. + /// Initializes a new instance of the Maps class with the specified child elements. /// /// Specifies the child elements. - public ColumnItems(params OpenXmlElement[] childElements) : base(childElements) + public Maps(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the ColumnItems class from outer XML. + /// Initializes a new instance of the Maps class from outer XML. /// /// Specifies the outer XML of the element. - public ColumnItems(string outerXml) : base(outerXml) + public Maps(string outerXml) : base(outerXml) { } /// - /// Column Item Count + /// Measure Group Count /// Represents the following attribute in the schema: count /// public UInt32Value? Count @@ -45191,421 +44951,393 @@ public UInt32Value? Count internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:colItems"); - builder.AddChild(); - builder.AddElement() + builder.SetSchema("x:maps"); + builder.AddChild(); + builder.AddElement() .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.RowItem), 1, 1048576) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.MeasureDimensionMap), 0, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the PageFields Class. + /// Defines the PivotCacheDefinitionExtensionList Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:pageFields. + /// When the object is serialized out as xml, it's qualified name is x:extLst. /// /// /// The following table lists the possible child types: /// - /// <x:pageField> + /// <x:ext> /// /// - public partial class PageFields : OpenXmlCompositeElement + public partial class PivotCacheDefinitionExtensionList : OpenXmlCompositeElement { /// - /// Initializes a new instance of the PageFields class. + /// Initializes a new instance of the PivotCacheDefinitionExtensionList class. /// - public PageFields() : base() + public PivotCacheDefinitionExtensionList() : base() { } /// - /// Initializes a new instance of the PageFields class with the specified child elements. + /// Initializes a new instance of the PivotCacheDefinitionExtensionList class with the specified child elements. /// /// Specifies the child elements. - public PageFields(IEnumerable childElements) : base(childElements) + public PivotCacheDefinitionExtensionList(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the PageFields class with the specified child elements. + /// Initializes a new instance of the PivotCacheDefinitionExtensionList class with the specified child elements. /// /// Specifies the child elements. - public PageFields(params OpenXmlElement[] childElements) : base(childElements) + public PivotCacheDefinitionExtensionList(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the PageFields class from outer XML. + /// Initializes a new instance of the PivotCacheDefinitionExtensionList class from outer XML. /// /// Specifies the outer XML of the element. - public PageFields(string outerXml) : base(outerXml) - { - } - - /// - /// Page Item Count - /// Represents the following attribute in the schema: count - /// - public UInt32Value? Count + public PivotCacheDefinitionExtensionList(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:pageFields"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); + builder.SetSchema("x:extLst"); + builder.AddChild(); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.PageField), 1, 256) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.PivotCacheDefinitionExtension), 0, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the DataFields Class. + /// Defines the PivotCacheDefinitionExtension Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:dataFields. + /// When the object is serialized out as xml, it's qualified name is x:ext. /// /// /// The following table lists the possible child types: /// - /// <x:dataField> + /// <x14:pivotCacheDefinition> + /// <x15:pivotCacheDecoupled> + /// <x15:pivotCacheIdVersion> + /// <x15:timelinePivotCacheDefinition> + /// <xxpim:implicitMeasureSupport> + /// <xxpvi:cacheVersionInfo> /// /// - public partial class DataFields : OpenXmlCompositeElement + public partial class PivotCacheDefinitionExtension : OpenXmlCompositeElement { /// - /// Initializes a new instance of the DataFields class. + /// Initializes a new instance of the PivotCacheDefinitionExtension class. /// - public DataFields() : base() + public PivotCacheDefinitionExtension() : base() { } /// - /// Initializes a new instance of the DataFields class with the specified child elements. + /// Initializes a new instance of the PivotCacheDefinitionExtension class with the specified child elements. /// /// Specifies the child elements. - public DataFields(IEnumerable childElements) : base(childElements) + public PivotCacheDefinitionExtension(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the DataFields class with the specified child elements. + /// Initializes a new instance of the PivotCacheDefinitionExtension class with the specified child elements. /// /// Specifies the child elements. - public DataFields(params OpenXmlElement[] childElements) : base(childElements) + public PivotCacheDefinitionExtension(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the DataFields class from outer XML. + /// Initializes a new instance of the PivotCacheDefinitionExtension class from outer XML. /// /// Specifies the outer XML of the element. - public DataFields(string outerXml) : base(outerXml) + public PivotCacheDefinitionExtension(string outerXml) : base(outerXml) { } /// - /// Data Items Count - /// Represents the following attribute in the schema: count + /// URI + /// Represents the following attribute in the schema: uri /// - public UInt32Value? Count + public StringValue? Uri { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:dataFields"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); - builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + builder.SetSchema("x:ext"); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddElement() + .AddAttribute("uri", a => a.Uri, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + aBuilder.AddValidator(new StringValidator() { IsToken = (true) }); + }); + builder.Particle = new CompositeParticle.Builder(ParticleType.Choice, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.DataField), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.PivotCacheDefinition), 1, 1, version: FileFormatVersions.Office2010), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.PivotCacheDecoupled), 1, 1, version: FileFormatVersions.Office2013), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.TimelinePivotCacheDefinition), 1, 1, version: FileFormatVersions.Office2013), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.PivotCacheIdVersion), 1, 1, version: FileFormatVersions.Office2013), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Excel.Pivot.Xsdboolean), 1, 1, version: FileFormatVersions.Office2021), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotVersionInfo.CacheVersionInfo), 1, 1, version: FileFormatVersions.Microsoft365), + new AnyParticle(0, 1) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the Formats Class. + /// Sheet names of supporting book. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:formats. + /// When the object is serialized out as xml, it's qualified name is x:sheetNames. /// /// /// The following table lists the possible child types: /// - /// <x:format> + /// <x:sheetName> /// /// - public partial class Formats : OpenXmlCompositeElement + public partial class SheetNames : OpenXmlCompositeElement { /// - /// Initializes a new instance of the Formats class. + /// Initializes a new instance of the SheetNames class. /// - public Formats() : base() + public SheetNames() : base() { } /// - /// Initializes a new instance of the Formats class with the specified child elements. + /// Initializes a new instance of the SheetNames class with the specified child elements. /// /// Specifies the child elements. - public Formats(IEnumerable childElements) : base(childElements) + public SheetNames(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the Formats class with the specified child elements. + /// Initializes a new instance of the SheetNames class with the specified child elements. /// /// Specifies the child elements. - public Formats(params OpenXmlElement[] childElements) : base(childElements) + public SheetNames(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the Formats class from outer XML. + /// Initializes a new instance of the SheetNames class from outer XML. /// /// Specifies the outer XML of the element. - public Formats(string outerXml) : base(outerXml) + public SheetNames(string outerXml) : base(outerXml) { } - /// - /// Formats Count - /// Represents the following attribute in the schema: count - /// - public UInt32Value? Count - { - get => GetAttribute(); - set => SetAttribute(value); - } - internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:formats"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); + builder.SetSchema("x:sheetNames"); + builder.AddChild(); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Format), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.SheetName), 1, 65534) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the ConditionalFormats Class. + /// Defined names associated with supporting book.. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:conditionalFormats. + /// When the object is serialized out as xml, it's qualified name is x:definedNames. /// /// /// The following table lists the possible child types: /// - /// <x:conditionalFormat> + /// <x:definedName> /// /// - public partial class ConditionalFormats : OpenXmlCompositeElement + public partial class ExternalDefinedNames : OpenXmlCompositeElement { /// - /// Initializes a new instance of the ConditionalFormats class. + /// Initializes a new instance of the ExternalDefinedNames class. /// - public ConditionalFormats() : base() + public ExternalDefinedNames() : base() { } /// - /// Initializes a new instance of the ConditionalFormats class with the specified child elements. + /// Initializes a new instance of the ExternalDefinedNames class with the specified child elements. /// /// Specifies the child elements. - public ConditionalFormats(IEnumerable childElements) : base(childElements) + public ExternalDefinedNames(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the ConditionalFormats class with the specified child elements. + /// Initializes a new instance of the ExternalDefinedNames class with the specified child elements. /// /// Specifies the child elements. - public ConditionalFormats(params OpenXmlElement[] childElements) : base(childElements) + public ExternalDefinedNames(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the ConditionalFormats class from outer XML. + /// Initializes a new instance of the ExternalDefinedNames class from outer XML. /// /// Specifies the outer XML of the element. - public ConditionalFormats(string outerXml) : base(outerXml) - { - } - - /// - /// Conditional Format Count - /// Represents the following attribute in the schema: count - /// - public UInt32Value? Count + public ExternalDefinedNames(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:conditionalFormats"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); + builder.SetSchema("x:definedNames"); + builder.AddChild(); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ConditionalFormat), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ExternalDefinedName), 0, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the ChartFormats Class. + /// Cached worksheet data associated with supporting book. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:chartFormats. + /// When the object is serialized out as xml, it's qualified name is x:sheetDataSet. /// /// /// The following table lists the possible child types: /// - /// <x:chartFormat> + /// <x:sheetData> /// /// - public partial class ChartFormats : OpenXmlCompositeElement + public partial class SheetDataSet : OpenXmlCompositeElement { /// - /// Initializes a new instance of the ChartFormats class. + /// Initializes a new instance of the SheetDataSet class. /// - public ChartFormats() : base() + public SheetDataSet() : base() { } /// - /// Initializes a new instance of the ChartFormats class with the specified child elements. + /// Initializes a new instance of the SheetDataSet class with the specified child elements. /// /// Specifies the child elements. - public ChartFormats(IEnumerable childElements) : base(childElements) + public SheetDataSet(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the ChartFormats class with the specified child elements. + /// Initializes a new instance of the SheetDataSet class with the specified child elements. /// /// Specifies the child elements. - public ChartFormats(params OpenXmlElement[] childElements) : base(childElements) + public SheetDataSet(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the ChartFormats class from outer XML. + /// Initializes a new instance of the SheetDataSet class from outer XML. /// /// Specifies the outer XML of the element. - public ChartFormats(string outerXml) : base(outerXml) - { - } - - /// - /// Format Count - /// Represents the following attribute in the schema: count - /// - public UInt32Value? Count + public SheetDataSet(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:chartFormats"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); + builder.SetSchema("x:sheetDataSet"); + builder.AddChild(); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ChartFormat), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ExternalSheetData), 1, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the PivotHierarchies Class. + /// Table Columns. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:pivotHierarchies. + /// When the object is serialized out as xml, it's qualified name is x:tableColumns. /// /// /// The following table lists the possible child types: /// - /// <x:pivotHierarchy> + /// <x:tableColumn> /// /// - public partial class PivotHierarchies : OpenXmlCompositeElement + public partial class TableColumns : OpenXmlCompositeElement { /// - /// Initializes a new instance of the PivotHierarchies class. + /// Initializes a new instance of the TableColumns class. /// - public PivotHierarchies() : base() + public TableColumns() : base() { } /// - /// Initializes a new instance of the PivotHierarchies class with the specified child elements. + /// Initializes a new instance of the TableColumns class with the specified child elements. /// /// Specifies the child elements. - public PivotHierarchies(IEnumerable childElements) : base(childElements) + public TableColumns(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the PivotHierarchies class with the specified child elements. + /// Initializes a new instance of the TableColumns class with the specified child elements. /// /// Specifies the child elements. - public PivotHierarchies(params OpenXmlElement[] childElements) : base(childElements) + public TableColumns(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the PivotHierarchies class from outer XML. + /// Initializes a new instance of the TableColumns class from outer XML. /// /// Specifies the outer XML of the element. - public PivotHierarchies(string outerXml) : base(outerXml) + public TableColumns(string outerXml) : base(outerXml) { } /// - /// OLAP Hierarchy Count + /// Column Count /// Represents the following attribute in the schema: count /// public UInt32Value? Count @@ -45617,36 +45349,36 @@ public UInt32Value? Count internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:pivotHierarchies"); - builder.AddChild(); - builder.AddElement() + builder.SetSchema("x:tableColumns"); + builder.AddChild(); + builder.AddElement() .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.PivotHierarchy), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.TableColumn), 1, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the PivotTableStyle Class. + /// Table Style. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:pivotTableStyleInfo. + /// When the object is serialized out as xml, it's qualified name is x:tableStyleInfo. /// - public partial class PivotTableStyle : OpenXmlLeafElement + public partial class TableStyleInfo : OpenXmlLeafElement { /// - /// Initializes a new instance of the PivotTableStyle class. + /// Initializes a new instance of the TableStyleInfo class. /// - public PivotTableStyle() : base() + public TableStyleInfo() : base() { } /// - /// Table Style Name + /// Style Name /// Represents the following attribute in the schema: name /// public StringValue? Name @@ -45656,20 +45388,20 @@ public StringValue? Name } /// - /// Show Row Header Formatting - /// Represents the following attribute in the schema: showRowHeaders + /// Show First Column + /// Represents the following attribute in the schema: showFirstColumn /// - public BooleanValue? ShowRowHeaders + public BooleanValue? ShowFirstColumn { get => GetAttribute(); set => SetAttribute(value); } /// - /// Show Table Style Column Header Formatting - /// Represents the following attribute in the schema: showColHeaders + /// Show Last Column + /// Represents the following attribute in the schema: showLastColumn /// - public BooleanValue? ShowColumnHeaders + public BooleanValue? ShowLastColumn { get => GetAttribute(); set => SetAttribute(value); @@ -45687,7 +45419,7 @@ public BooleanValue? ShowRowStripes /// /// Show Column Stripes - /// Represents the following attribute in the schema: showColStripes + /// Represents the following attribute in the schema: showColumnStripes /// public BooleanValue? ShowColumnStripes { @@ -45695,452 +45427,730 @@ public BooleanValue? ShowColumnStripes set => SetAttribute(value); } - /// - /// Show Last Column - /// Represents the following attribute in the schema: showLastColumn - /// - public BooleanValue? ShowLastColumn - { - get => GetAttribute(); - set => SetAttribute(value); - } - internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:pivotTableStyleInfo"); - builder.AddElement() + builder.SetSchema("x:tableStyleInfo"); + builder.AddElement() .AddAttribute("name", a => a.Name) - .AddAttribute("showRowHeaders", a => a.ShowRowHeaders) - .AddAttribute("showColHeaders", a => a.ShowColumnHeaders) + .AddAttribute("showFirstColumn", a => a.ShowFirstColumn) + .AddAttribute("showLastColumn", a => a.ShowLastColumn) .AddAttribute("showRowStripes", a => a.ShowRowStripes) - .AddAttribute("showColStripes", a => a.ShowColumnStripes) - .AddAttribute("showLastColumn", a => a.ShowLastColumn); - builder.AddConstraint(new AttributeValueLengthConstraint(builder.CreateQName("x:name"), 0, 255) { Application = ApplicationType.Excel }); + .AddAttribute("showColumnStripes", a => a.ShowColumnStripes); + builder.AddConstraint(new AttributeValueLengthConstraint(builder.CreateQName("x:name"), 1, 255) { Application = ApplicationType.Excel }); } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the PivotFilters Class. + /// Future Feature Data Storage Area. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:filters. + /// When the object is serialized out as xml, it's qualified name is x:extLst. /// /// /// The following table lists the possible child types: /// - /// <x:filter> + /// <x:ext> /// /// - public partial class PivotFilters : OpenXmlCompositeElement + public partial class TableExtensionList : OpenXmlCompositeElement { /// - /// Initializes a new instance of the PivotFilters class. + /// Initializes a new instance of the TableExtensionList class. /// - public PivotFilters() : base() + public TableExtensionList() : base() { } /// - /// Initializes a new instance of the PivotFilters class with the specified child elements. + /// Initializes a new instance of the TableExtensionList class with the specified child elements. /// /// Specifies the child elements. - public PivotFilters(IEnumerable childElements) : base(childElements) + public TableExtensionList(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the PivotFilters class with the specified child elements. + /// Initializes a new instance of the TableExtensionList class with the specified child elements. /// /// Specifies the child elements. - public PivotFilters(params OpenXmlElement[] childElements) : base(childElements) + public TableExtensionList(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the PivotFilters class from outer XML. + /// Initializes a new instance of the TableExtensionList class from outer XML. /// /// Specifies the outer XML of the element. - public PivotFilters(string outerXml) : base(outerXml) - { - } - - /// - /// Pivot Filter Count - /// Represents the following attribute in the schema: count - /// - public UInt32Value? Count + public TableExtensionList(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:filters"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); + builder.SetSchema("x:extLst"); + builder.AddChild(); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.PivotFilter), 0, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.TableExtension), 0, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the RowHierarchiesUsage Class. + /// Defines the TableExtension Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:rowHierarchiesUsage. + /// When the object is serialized out as xml, it's qualified name is x:ext. /// /// /// The following table lists the possible child types: /// - /// <x:rowHierarchyUsage> + /// <x14:table> + /// <xlmsforms:msForm> /// /// - public partial class RowHierarchiesUsage : OpenXmlCompositeElement + public partial class TableExtension : OpenXmlCompositeElement { /// - /// Initializes a new instance of the RowHierarchiesUsage class. + /// Initializes a new instance of the TableExtension class. /// - public RowHierarchiesUsage() : base() + public TableExtension() : base() { } /// - /// Initializes a new instance of the RowHierarchiesUsage class with the specified child elements. + /// Initializes a new instance of the TableExtension class with the specified child elements. /// /// Specifies the child elements. - public RowHierarchiesUsage(IEnumerable childElements) : base(childElements) + public TableExtension(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the RowHierarchiesUsage class with the specified child elements. + /// Initializes a new instance of the TableExtension class with the specified child elements. /// /// Specifies the child elements. - public RowHierarchiesUsage(params OpenXmlElement[] childElements) : base(childElements) + public TableExtension(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the RowHierarchiesUsage class from outer XML. + /// Initializes a new instance of the TableExtension class from outer XML. /// /// Specifies the outer XML of the element. - public RowHierarchiesUsage(string outerXml) : base(outerXml) + public TableExtension(string outerXml) : base(outerXml) { } /// - /// Item Count - /// Represents the following attribute in the schema: count + /// URI + /// Represents the following attribute in the schema: uri /// - public UInt32Value? Count + public StringValue? Uri { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:rowHierarchiesUsage"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); - builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + builder.SetSchema("x:ext"); + builder.AddChild(); + builder.AddChild(); + builder.AddElement() + .AddAttribute("uri", a => a.Uri, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + aBuilder.AddValidator(new StringValidator() { IsToken = (true) }); + }); + builder.Particle = new CompositeParticle.Builder(ParticleType.Choice, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.RowHierarchyUsage), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.Table), 1, 1, version: FileFormatVersions.Office2010), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.MsForm), 1, 1, version: FileFormatVersions.Microsoft365), + new AnyParticle(0, 1) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the ColumnHierarchiesUsage Class. + /// Defines the FileVersion Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:colHierarchiesUsage. + /// When the object is serialized out as xml, it's qualified name is x:fileVersion. /// - /// - /// The following table lists the possible child types: - /// - /// <x:colHierarchyUsage> - /// - /// - public partial class ColumnHierarchiesUsage : OpenXmlCompositeElement + public partial class FileVersion : OpenXmlLeafElement { /// - /// Initializes a new instance of the ColumnHierarchiesUsage class. + /// Initializes a new instance of the FileVersion class. /// - public ColumnHierarchiesUsage() : base() + public FileVersion() : base() { } /// - /// Initializes a new instance of the ColumnHierarchiesUsage class with the specified child elements. + /// Application Name + /// Represents the following attribute in the schema: appName /// - /// Specifies the child elements. - public ColumnHierarchiesUsage(IEnumerable childElements) : base(childElements) + public StringValue? ApplicationName { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the ColumnHierarchiesUsage class with the specified child elements. + /// Last Edited Version + /// Represents the following attribute in the schema: lastEdited /// - /// Specifies the child elements. - public ColumnHierarchiesUsage(params OpenXmlElement[] childElements) : base(childElements) + public StringValue? LastEdited { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the ColumnHierarchiesUsage class from outer XML. + /// Lowest Edited Version + /// Represents the following attribute in the schema: lowestEdited /// - /// Specifies the outer XML of the element. - public ColumnHierarchiesUsage(string outerXml) : base(outerXml) + public StringValue? LowestEdited { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Items Count - /// Represents the following attribute in the schema: count + /// Build Version + /// Represents the following attribute in the schema: rupBuild /// - public UInt32Value? Count + public StringValue? BuildVersion { - get => GetAttribute(); + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Code Name + /// Represents the following attribute in the schema: codeName + /// + public StringValue? CodeName + { + get => GetAttribute(); set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:colHierarchiesUsage"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); - builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) - { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ColumnHierarchyUsage), 1, 16384) - }; + builder.SetSchema("x:fileVersion"); + builder.AddElement() + .AddAttribute("appName", a => a.ApplicationName) + .AddAttribute("lastEdited", a => a.LastEdited) + .AddAttribute("lowestEdited", a => a.LowestEdited) + .AddAttribute("rupBuild", a => a.BuildVersion) + .AddAttribute("codeName", a => a.CodeName, aBuilder => + { + aBuilder.AddValidator(new StringValidator() { IsToken = (true), Pattern = ("\\{[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}\\}") }); + }); + builder.AddConstraint(new AttributeValueLengthConstraint(builder.CreateQName("x:appName"), 0, 65535)); + builder.AddConstraint(new AttributeValueLengthConstraint(builder.CreateQName("x:lastEdited"), 0, 65535)); + builder.AddConstraint(new AttributeValueLengthConstraint(builder.CreateQName("x:lowestEdited"), 0, 65535)); + builder.AddConstraint(new AttributeValueLengthConstraint(builder.CreateQName("x:rupBuild"), 0, 65535)); } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the PivotTableDefinitionExtensionList Class. + /// Defines the FileSharing Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:extLst. + /// When the object is serialized out as xml, it's qualified name is x:fileSharing. /// - /// - /// The following table lists the possible child types: - /// - /// <x:ext> - /// - /// - public partial class PivotTableDefinitionExtensionList : OpenXmlCompositeElement + public partial class FileSharing : OpenXmlLeafElement { /// - /// Initializes a new instance of the PivotTableDefinitionExtensionList class. + /// Initializes a new instance of the FileSharing class. /// - public PivotTableDefinitionExtensionList() : base() + public FileSharing() : base() { } /// - /// Initializes a new instance of the PivotTableDefinitionExtensionList class with the specified child elements. + /// Read Only Recommended + /// Represents the following attribute in the schema: readOnlyRecommended /// - /// Specifies the child elements. - public PivotTableDefinitionExtensionList(IEnumerable childElements) : base(childElements) + public BooleanValue? ReadOnlyRecommended { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the PivotTableDefinitionExtensionList class with the specified child elements. + /// User Name + /// Represents the following attribute in the schema: userName /// - /// Specifies the child elements. - public PivotTableDefinitionExtensionList(params OpenXmlElement[] childElements) : base(childElements) + public StringValue? UserName { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the PivotTableDefinitionExtensionList class from outer XML. + /// Write Reservation Password + /// Represents the following attribute in the schema: reservationPassword /// - /// Specifies the outer XML of the element. - public PivotTableDefinitionExtensionList(string outerXml) : base(outerXml) + public HexBinaryValue? ReservationPassword { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Password hash algorithm + /// Represents the following attribute in the schema: algorithmName + /// + public StringValue? AlgorithmName + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Password hash + /// Represents the following attribute in the schema: hashValue + /// + public Base64BinaryValue? HashValue + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Salt for password hash + /// Represents the following attribute in the schema: saltValue + /// + public Base64BinaryValue? SaltValue + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Spin count for password hash + /// Represents the following attribute in the schema: spinCount + /// + public UInt32Value? SpinCount + { + get => GetAttribute(); + set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:extLst"); - builder.AddChild(); - builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) - { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.PivotTableDefinitionExtension), 0, 0) - }; + builder.SetSchema("x:fileSharing"); + builder.AddElement() + .AddAttribute("readOnlyRecommended", a => a.ReadOnlyRecommended) + .AddAttribute("userName", a => a.UserName) + .AddAttribute("reservationPassword", a => a.ReservationPassword, aBuilder => + { + aBuilder.AddValidator(new StringValidator() { Length = (2L) }); + }) + .AddAttribute("algorithmName", a => a.AlgorithmName) + .AddAttribute("hashValue", a => a.HashValue) + .AddAttribute("saltValue", a => a.SaltValue) + .AddAttribute("spinCount", a => a.SpinCount); + builder.AddConstraint(new AttributeValueLengthConstraint(builder.CreateQName("x:userName"), 1, 54)); } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the PivotTableDefinitionExtension Class. + /// Defines the WorkbookProperties Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:ext. + /// When the object is serialized out as xml, it's qualified name is x:workbookPr. /// - /// - /// The following table lists the possible child types: - /// - /// <x14:pivotTableDefinition> - /// <x15:pivotTableData> - /// <x15:pivotTableUISettings> - /// <xxpvi:pivotVersionInfo> - /// - /// - public partial class PivotTableDefinitionExtension : OpenXmlCompositeElement + public partial class WorkbookProperties : OpenXmlLeafElement { /// - /// Initializes a new instance of the PivotTableDefinitionExtension class. + /// Initializes a new instance of the WorkbookProperties class. /// - public PivotTableDefinitionExtension() : base() + public WorkbookProperties() : base() { } /// - /// Initializes a new instance of the PivotTableDefinitionExtension class with the specified child elements. + /// Date 1904 + /// Represents the following attribute in the schema: date1904 /// - /// Specifies the child elements. - public PivotTableDefinitionExtension(IEnumerable childElements) : base(childElements) + public BooleanValue? Date1904 { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the PivotTableDefinitionExtension class with the specified child elements. + /// dateCompatibility, this property is only available in Office 2010 and later. + /// Represents the following attribute in the schema: dateCompatibility /// - /// Specifies the child elements. - public PivotTableDefinitionExtension(params OpenXmlElement[] childElements) : base(childElements) + public BooleanValue? DateCompatibility { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the PivotTableDefinitionExtension class from outer XML. + /// Show Objects + /// Represents the following attribute in the schema: showObjects /// - /// Specifies the outer XML of the element. - public PivotTableDefinitionExtension(string outerXml) : base(outerXml) + public EnumValue? ShowObjects { + get => GetAttribute>(); + set => SetAttribute(value); } /// - /// URI - /// Represents the following attribute in the schema: uri + /// Show Border Unselected Table + /// Represents the following attribute in the schema: showBorderUnselectedTables /// - public StringValue? Uri + public BooleanValue? ShowBorderUnselectedTables + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Filter Privacy + /// Represents the following attribute in the schema: filterPrivacy + /// + public BooleanValue? FilterPrivacy + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Prompted Solutions + /// Represents the following attribute in the schema: promptedSolutions + /// + public BooleanValue? PromptedSolutions + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Show Ink Annotations + /// Represents the following attribute in the schema: showInkAnnotation + /// + public BooleanValue? ShowInkAnnotation + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Create Backup File + /// Represents the following attribute in the schema: backupFile + /// + public BooleanValue? BackupFile + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Save External Link Values + /// Represents the following attribute in the schema: saveExternalLinkValues + /// + public BooleanValue? SaveExternalLinkValues + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Update Links Behavior + /// Represents the following attribute in the schema: updateLinks + /// + public EnumValue? UpdateLinks + { + get => GetAttribute>(); + set => SetAttribute(value); + } + + /// + /// Code Name + /// Represents the following attribute in the schema: codeName + /// + public StringValue? CodeName { get => GetAttribute(); set => SetAttribute(value); } + /// + /// Hide Pivot Field List + /// Represents the following attribute in the schema: hidePivotFieldList + /// + public BooleanValue? HidePivotFieldList + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Show Pivot Chart Filter + /// Represents the following attribute in the schema: showPivotChartFilter + /// + public BooleanValue? ShowPivotChartFilter + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Allow Refresh Query + /// Represents the following attribute in the schema: allowRefreshQuery + /// + public BooleanValue? AllowRefreshQuery + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Publish Items + /// Represents the following attribute in the schema: publishItems + /// + public BooleanValue? PublishItems + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Check Compatibility On Save + /// Represents the following attribute in the schema: checkCompatibility + /// + public BooleanValue? CheckCompatibility + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Auto Compress Pictures + /// Represents the following attribute in the schema: autoCompressPictures + /// + public BooleanValue? AutoCompressPictures + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Refresh all Connections on Open + /// Represents the following attribute in the schema: refreshAllConnections + /// + public BooleanValue? RefreshAllConnections + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Default Theme Version + /// Represents the following attribute in the schema: defaultThemeVersion + /// + public UInt32Value? DefaultThemeVersion + { + get => GetAttribute(); + set => SetAttribute(value); + } + internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:ext"); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddElement() - .AddAttribute("uri", a => a.Uri, aBuilder => + builder.SetSchema("x:workbookPr"); + builder.AddElement() + .AddAttribute("date1904", a => a.Date1904) + .AddAttribute("dateCompatibility", a => a.DateCompatibility, aBuilder => { - aBuilder.AddValidator(RequiredValidator.Instance); - aBuilder.AddValidator(new StringValidator() { IsToken = (true) }); - }); - builder.Particle = new CompositeParticle.Builder(ParticleType.Choice, 1, 1) - { - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.PivotTableDefinition), 1, 1, version: FileFormatVersions.Office2010), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.PivotTableData), 1, 1, version: FileFormatVersions.Office2013), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.PivotTableUISettings), 1, 1, version: FileFormatVersions.Office2013), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotVersionInfo.PivotVersionInfo), 1, 1, version: FileFormatVersions.Microsoft365), - new AnyParticle(0, 1) - }; + aBuilder.AddValidator(new OfficeVersionValidator(FileFormatVersions.Office2010)); + }) + .AddAttribute("showObjects", a => a.ShowObjects) + .AddAttribute("showBorderUnselectedTables", a => a.ShowBorderUnselectedTables) + .AddAttribute("filterPrivacy", a => a.FilterPrivacy) + .AddAttribute("promptedSolutions", a => a.PromptedSolutions) + .AddAttribute("showInkAnnotation", a => a.ShowInkAnnotation) + .AddAttribute("backupFile", a => a.BackupFile) + .AddAttribute("saveExternalLinkValues", a => a.SaveExternalLinkValues) + .AddAttribute("updateLinks", a => a.UpdateLinks) + .AddAttribute("codeName", a => a.CodeName) + .AddAttribute("hidePivotFieldList", a => a.HidePivotFieldList) + .AddAttribute("showPivotChartFilter", a => a.ShowPivotChartFilter) + .AddAttribute("allowRefreshQuery", a => a.AllowRefreshQuery) + .AddAttribute("publishItems", a => a.PublishItems) + .AddAttribute("checkCompatibility", a => a.CheckCompatibility) + .AddAttribute("autoCompressPictures", a => a.AutoCompressPictures) + .AddAttribute("refreshAllConnections", a => a.RefreshAllConnections) + .AddAttribute("defaultThemeVersion", a => a.DefaultThemeVersion); } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the CacheSource Class. + /// Defines the WorkbookProtection Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:cacheSource. + /// When the object is serialized out as xml, it's qualified name is x:workbookProtection. /// - /// - /// The following table lists the possible child types: - /// - /// <x:extLst> - /// <x:consolidation> - /// <x:worksheetSource> - /// - /// - public partial class CacheSource : OpenXmlCompositeElement + public partial class WorkbookProtection : OpenXmlLeafElement { /// - /// Initializes a new instance of the CacheSource class. + /// Initializes a new instance of the WorkbookProtection class. /// - public CacheSource() : base() + public WorkbookProtection() : base() { } /// - /// Initializes a new instance of the CacheSource class with the specified child elements. + /// Workbook Password + /// Represents the following attribute in the schema: workbookPassword /// - /// Specifies the child elements. - public CacheSource(IEnumerable childElements) : base(childElements) + public HexBinaryValue? WorkbookPassword + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Revisions Password + /// Represents the following attribute in the schema: revisionsPassword + /// + public HexBinaryValue? RevisionsPassword + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Lock Structure + /// Represents the following attribute in the schema: lockStructure + /// + public BooleanValue? LockStructure + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Lock Windows + /// Represents the following attribute in the schema: lockWindows + /// + public BooleanValue? LockWindows { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Lock Revisions + /// Represents the following attribute in the schema: lockRevision + /// + public BooleanValue? LockRevision + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Cryptographic Algorithm Name + /// Represents the following attribute in the schema: revisionsAlgorithmName + /// + public StringValue? RevisionsAlgorithmName + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Password Hash Value + /// Represents the following attribute in the schema: revisionsHashValue + /// + public Base64BinaryValue? RevisionsHashValue + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Salt Value for Password Verifier + /// Represents the following attribute in the schema: revisionsSaltValue + /// + public Base64BinaryValue? RevisionsSaltValue + { + get => GetAttribute(); + set => SetAttribute(value); + } + + /// + /// Iterations to Run Hashing Algorithm + /// Represents the following attribute in the schema: revisionsSpinCount + /// + public UInt32Value? RevisionsSpinCount + { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the CacheSource class with the specified child elements. + /// Cryptographic Algorithm Name + /// Represents the following attribute in the schema: workbookAlgorithmName /// - /// Specifies the child elements. - public CacheSource(params OpenXmlElement[] childElements) : base(childElements) + public StringValue? WorkbookAlgorithmName { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the CacheSource class from outer XML. + /// Password Hash Value + /// Represents the following attribute in the schema: workbookHashValue /// - /// Specifies the outer XML of the element. - public CacheSource(string outerXml) : base(outerXml) + public Base64BinaryValue? WorkbookHashValue { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// type - /// Represents the following attribute in the schema: type + /// Salt Value for Password Verifier + /// Represents the following attribute in the schema: workbookSaltValue /// - public EnumValue? Type + public Base64BinaryValue? WorkbookSaltValue { - get => GetAttribute>(); + get => GetAttribute(); set => SetAttribute(value); } /// - /// connectionId - /// Represents the following attribute in the schema: connectionId + /// Iterations to Run Hashing Algorithm + /// Represents the following attribute in the schema: workbookSpinCount /// - public UInt32Value? ConnectionId + public UInt32Value? WorkbookSpinCount { get => GetAttribute(); set => SetAttribute(value); @@ -46149,189 +46159,200 @@ public UInt32Value? ConnectionId internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:cacheSource"); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddElement() - .AddAttribute("type", a => a.Type, aBuilder => + builder.SetSchema("x:workbookProtection"); + builder.AddElement() + .AddAttribute("workbookPassword", a => a.WorkbookPassword, aBuilder => { - aBuilder.AddValidator(RequiredValidator.Instance); + aBuilder.AddValidator(new StringValidator() { Length = (2L) }); }) - .AddAttribute("connectionId", a => a.ConnectionId); - builder.Particle = new CompositeParticle.Builder(ParticleType.Choice, 0, 1) - { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.WorksheetSource), 1, 1), - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Consolidation), 1, 1), - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.CacheSourceExtensionList), 0, 1) - }; - builder.AddConstraint(new ReferenceExistConstraint(builder.CreateQName("x:connectionId"), "/WorkbookPart/ConnectionsPart", builder.CreateQName("x:connection"), "x:connection", builder.CreateQName("x:id"))); - builder.AddConstraint(new UniqueAttributeValueConstraint(builder.CreateQName("x:connectionId"), true, null)); + .AddAttribute("revisionsPassword", a => a.RevisionsPassword, aBuilder => + { + aBuilder.AddValidator(new StringValidator() { Length = (2L) }); + }) + .AddAttribute("lockStructure", a => a.LockStructure) + .AddAttribute("lockWindows", a => a.LockWindows) + .AddAttribute("lockRevision", a => a.LockRevision) + .AddAttribute("revisionsAlgorithmName", a => a.RevisionsAlgorithmName) + .AddAttribute("revisionsHashValue", a => a.RevisionsHashValue) + .AddAttribute("revisionsSaltValue", a => a.RevisionsSaltValue) + .AddAttribute("revisionsSpinCount", a => a.RevisionsSpinCount) + .AddAttribute("workbookAlgorithmName", a => a.WorkbookAlgorithmName) + .AddAttribute("workbookHashValue", a => a.WorkbookHashValue) + .AddAttribute("workbookSaltValue", a => a.WorkbookSaltValue) + .AddAttribute("workbookSpinCount", a => a.WorkbookSpinCount); } + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + + /// + /// Defines the BookViews Class. + /// This class is available in Office 2007 and above. + /// When the object is serialized out as xml, it's qualified name is x:bookViews. + /// + /// + /// The following table lists the possible child types: + /// + /// <x:workbookView> + /// + /// + public partial class BookViews : OpenXmlCompositeElement + { /// - /// WorksheetSource. - /// Represents the following element tag in the schema: x:worksheetSource. + /// Initializes a new instance of the BookViews class. /// - /// - /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main - /// - public DocumentFormat.OpenXml.Spreadsheet.WorksheetSource? WorksheetSource + public BookViews() : base() { - get => GetElement(); - set => SetElement(value); } /// - /// Consolidation. - /// Represents the following element tag in the schema: x:consolidation. + /// Initializes a new instance of the BookViews class with the specified child elements. /// - /// - /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main - /// - public DocumentFormat.OpenXml.Spreadsheet.Consolidation? Consolidation + /// Specifies the child elements. + public BookViews(IEnumerable childElements) : base(childElements) { - get => GetElement(); - set => SetElement(value); } /// - /// CacheSourceExtensionList. - /// Represents the following element tag in the schema: x:extLst. + /// Initializes a new instance of the BookViews class with the specified child elements. /// - /// - /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main - /// - public DocumentFormat.OpenXml.Spreadsheet.CacheSourceExtensionList? CacheSourceExtensionList + /// Specifies the child elements. + public BookViews(params OpenXmlElement[] childElements) : base(childElements) { - get => GetElement(); - set => SetElement(value); + } + + /// + /// Initializes a new instance of the BookViews class from outer XML. + /// + /// Specifies the outer XML of the element. + public BookViews(string outerXml) : base(outerXml) + { + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) + { + base.ConfigureMetadata(builder); + builder.SetSchema("x:bookViews"); + builder.AddChild(); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + { + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.WorkbookView), 1, 0) + }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the CacheFields Class. + /// Defines the Sheets Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:cacheFields. + /// When the object is serialized out as xml, it's qualified name is x:sheets. /// /// /// The following table lists the possible child types: /// - /// <x:cacheField> + /// <x:sheet> /// /// - public partial class CacheFields : OpenXmlCompositeElement + public partial class Sheets : OpenXmlCompositeElement { /// - /// Initializes a new instance of the CacheFields class. + /// Initializes a new instance of the Sheets class. /// - public CacheFields() : base() + public Sheets() : base() { } /// - /// Initializes a new instance of the CacheFields class with the specified child elements. + /// Initializes a new instance of the Sheets class with the specified child elements. /// /// Specifies the child elements. - public CacheFields(IEnumerable childElements) : base(childElements) + public Sheets(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the CacheFields class with the specified child elements. + /// Initializes a new instance of the Sheets class with the specified child elements. /// /// Specifies the child elements. - public CacheFields(params OpenXmlElement[] childElements) : base(childElements) + public Sheets(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the CacheFields class from outer XML. + /// Initializes a new instance of the Sheets class from outer XML. /// /// Specifies the outer XML of the element. - public CacheFields(string outerXml) : base(outerXml) - { - } - - /// - /// Field Count - /// Represents the following attribute in the schema: count - /// - public UInt32Value? Count + public Sheets(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:cacheFields"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); + builder.SetSchema("x:sheets"); + builder.AddChild(); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.CacheField), 0, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Sheet), 1, 32767) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the CacheHierarchies Class. + /// Defines the FunctionGroups Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:cacheHierarchies. + /// When the object is serialized out as xml, it's qualified name is x:functionGroups. /// /// /// The following table lists the possible child types: /// - /// <x:cacheHierarchy> + /// <x:functionGroup> /// /// - public partial class CacheHierarchies : OpenXmlCompositeElement + public partial class FunctionGroups : OpenXmlCompositeElement { /// - /// Initializes a new instance of the CacheHierarchies class. + /// Initializes a new instance of the FunctionGroups class. /// - public CacheHierarchies() : base() + public FunctionGroups() : base() { } /// - /// Initializes a new instance of the CacheHierarchies class with the specified child elements. + /// Initializes a new instance of the FunctionGroups class with the specified child elements. /// /// Specifies the child elements. - public CacheHierarchies(IEnumerable childElements) : base(childElements) + public FunctionGroups(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the CacheHierarchies class with the specified child elements. + /// Initializes a new instance of the FunctionGroups class with the specified child elements. /// /// Specifies the child elements. - public CacheHierarchies(params OpenXmlElement[] childElements) : base(childElements) + public FunctionGroups(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the CacheHierarchies class from outer XML. + /// Initializes a new instance of the FunctionGroups class from outer XML. /// /// Specifies the outer XML of the element. - public CacheHierarchies(string outerXml) : base(outerXml) + public FunctionGroups(string outerXml) : base(outerXml) { } /// - /// Hierarchy Count - /// Represents the following attribute in the schema: count + /// Built-in Function Group Count + /// Represents the following attribute in the schema: builtInGroupCount /// - public UInt32Value? Count + public UInt32Value? BuiltInGroupCount { get => GetAttribute(); set => SetAttribute(value); @@ -46340,907 +46361,894 @@ public UInt32Value? Count internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:cacheHierarchies"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); - builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + builder.SetSchema("x:functionGroups"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("builtInGroupCount", a => a.BuiltInGroupCount); + builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 0) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.CacheHierarchy), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.FunctionGroup), 0, 255) }; + builder.AddConstraint(new AttributeValueRangeConstraint(builder.CreateQName("x:builtInGroupCount"), true, double.NegativeInfinity, true, 255, true)); } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the Kpis Class. + /// Defines the ExternalReferences Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:kpis. + /// When the object is serialized out as xml, it's qualified name is x:externalReferences. /// /// /// The following table lists the possible child types: /// - /// <x:kpi> + /// <x:externalReference> /// /// - public partial class Kpis : OpenXmlCompositeElement + public partial class ExternalReferences : OpenXmlCompositeElement { /// - /// Initializes a new instance of the Kpis class. + /// Initializes a new instance of the ExternalReferences class. /// - public Kpis() : base() + public ExternalReferences() : base() { } /// - /// Initializes a new instance of the Kpis class with the specified child elements. + /// Initializes a new instance of the ExternalReferences class with the specified child elements. /// /// Specifies the child elements. - public Kpis(IEnumerable childElements) : base(childElements) + public ExternalReferences(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the Kpis class with the specified child elements. + /// Initializes a new instance of the ExternalReferences class with the specified child elements. /// /// Specifies the child elements. - public Kpis(params OpenXmlElement[] childElements) : base(childElements) + public ExternalReferences(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the Kpis class from outer XML. + /// Initializes a new instance of the ExternalReferences class from outer XML. /// /// Specifies the outer XML of the element. - public Kpis(string outerXml) : base(outerXml) - { - } - - /// - /// KPI Count - /// Represents the following attribute in the schema: count - /// - public UInt32Value? Count + public ExternalReferences(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:kpis"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); + builder.SetSchema("x:externalReferences"); + builder.AddChild(); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Kpi), 0, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ExternalReference), 1, 65534) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the TupleCache Class. + /// Defines the DefinedNames Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:tupleCache. + /// When the object is serialized out as xml, it's qualified name is x:definedNames. /// /// /// The following table lists the possible child types: /// - /// <x:extLst> - /// <x:entries> - /// <x:queryCache> - /// <x:serverFormats> - /// <x:sets> + /// <x:definedName> /// /// - public partial class TupleCache : OpenXmlCompositeElement + public partial class DefinedNames : OpenXmlCompositeElement { /// - /// Initializes a new instance of the TupleCache class. + /// Initializes a new instance of the DefinedNames class. /// - public TupleCache() : base() + public DefinedNames() : base() { } /// - /// Initializes a new instance of the TupleCache class with the specified child elements. + /// Initializes a new instance of the DefinedNames class with the specified child elements. /// /// Specifies the child elements. - public TupleCache(IEnumerable childElements) : base(childElements) + public DefinedNames(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the TupleCache class with the specified child elements. + /// Initializes a new instance of the DefinedNames class with the specified child elements. /// /// Specifies the child elements. - public TupleCache(params OpenXmlElement[] childElements) : base(childElements) + public DefinedNames(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the TupleCache class from outer XML. + /// Initializes a new instance of the DefinedNames class from outer XML. /// /// Specifies the outer XML of the element. - public TupleCache(string outerXml) : base(outerXml) + public DefinedNames(string outerXml) : base(outerXml) { } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:tupleCache"); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); + builder.SetSchema("x:definedNames"); + builder.AddChild(); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Entries), 0, 1), - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Sets), 0, 1), - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.QueryCache), 0, 1), - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ServerFormats), 0, 1), - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ExtensionList), 0, 1) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.DefinedName), 0, 0) }; } + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + + /// + /// Defines the CalculationProperties Class. + /// This class is available in Office 2007 and above. + /// When the object is serialized out as xml, it's qualified name is x:calcPr. + /// + public partial class CalculationProperties : OpenXmlLeafElement + { /// - /// Entries. - /// Represents the following element tag in the schema: x:entries. + /// Initializes a new instance of the CalculationProperties class. /// - /// - /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main - /// - public DocumentFormat.OpenXml.Spreadsheet.Entries? Entries + public CalculationProperties() : base() { - get => GetElement(); - set => SetElement(value); } /// - /// Sets. - /// Represents the following element tag in the schema: x:sets. + /// Calculation Id + /// Represents the following attribute in the schema: calcId /// - /// - /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main - /// - public DocumentFormat.OpenXml.Spreadsheet.Sets? Sets + public UInt32Value? CalculationId { - get => GetElement(); - set => SetElement(value); + get => GetAttribute(); + set => SetAttribute(value); } /// - /// OLAP Query Cache. - /// Represents the following element tag in the schema: x:queryCache. + /// Calculation Mode + /// Represents the following attribute in the schema: calcMode /// - /// - /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main - /// - public DocumentFormat.OpenXml.Spreadsheet.QueryCache? QueryCache + public EnumValue? CalculationMode { - get => GetElement(); - set => SetElement(value); + get => GetAttribute>(); + set => SetAttribute(value); } /// - /// Server Formats. - /// Represents the following element tag in the schema: x:serverFormats. + /// Full Calculation On Load + /// Represents the following attribute in the schema: fullCalcOnLoad /// - /// - /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main - /// - public DocumentFormat.OpenXml.Spreadsheet.ServerFormats? ServerFormats + public BooleanValue? FullCalculationOnLoad { - get => GetElement(); - set => SetElement(value); + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Future Feature Data Storage Area. - /// Represents the following element tag in the schema: x:extLst. + /// Reference Mode + /// Represents the following attribute in the schema: refMode /// - /// - /// xmlns:x = http://schemas.openxmlformats.org/spreadsheetml/2006/main - /// - public DocumentFormat.OpenXml.Spreadsheet.ExtensionList? ExtensionList + public EnumValue? ReferenceMode { - get => GetElement(); - set => SetElement(value); + get => GetAttribute>(); + set => SetAttribute(value); } - /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); - } - - /// - /// Defines the CalculatedItems Class. - /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:calculatedItems. - /// - /// - /// The following table lists the possible child types: - /// - /// <x:calculatedItem> - /// - /// - public partial class CalculatedItems : OpenXmlCompositeElement - { /// - /// Initializes a new instance of the CalculatedItems class. + /// Calculation Iteration + /// Represents the following attribute in the schema: iterate /// - public CalculatedItems() : base() + public BooleanValue? Iterate { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the CalculatedItems class with the specified child elements. + /// Iteration Count + /// Represents the following attribute in the schema: iterateCount /// - /// Specifies the child elements. - public CalculatedItems(IEnumerable childElements) : base(childElements) + public UInt32Value? IterateCount { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the CalculatedItems class with the specified child elements. + /// Iterative Calculation Delta + /// Represents the following attribute in the schema: iterateDelta /// - /// Specifies the child elements. - public CalculatedItems(params OpenXmlElement[] childElements) : base(childElements) + public DoubleValue? IterateDelta { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the CalculatedItems class from outer XML. + /// Full Precision Calculation + /// Represents the following attribute in the schema: fullPrecision /// - /// Specifies the outer XML of the element. - public CalculatedItems(string outerXml) : base(outerXml) + public BooleanValue? FullPrecision { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Calculated Item Formula Count - /// Represents the following attribute in the schema: count + /// Calc Completed + /// Represents the following attribute in the schema: calcCompleted /// - public UInt32Value? Count + public BooleanValue? CalculationCompleted { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } - internal override void ConfigureMetadata(ElementMetadata.Builder builder) + /// + /// Calculate On Save + /// Represents the following attribute in the schema: calcOnSave + /// + public BooleanValue? CalculationOnSave { - base.ConfigureMetadata(builder); - builder.SetSchema("x:calculatedItems"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); - builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) - { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.CalculatedItem), 1, 0) - }; + get => GetAttribute(); + set => SetAttribute(value); } - /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); - } + /// + /// Concurrent Calculations + /// Represents the following attribute in the schema: concurrentCalc + /// + public BooleanValue? ConcurrentCalculation + { + get => GetAttribute(); + set => SetAttribute(value); + } - /// - /// Defines the CalculatedMembers Class. - /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:calculatedMembers. - /// - /// - /// The following table lists the possible child types: - /// - /// <x:calculatedMember> - /// - /// - public partial class CalculatedMembers : OpenXmlCompositeElement - { /// - /// Initializes a new instance of the CalculatedMembers class. + /// Concurrent Thread Manual Count + /// Represents the following attribute in the schema: concurrentManualCount /// - public CalculatedMembers() : base() + public UInt32Value? ConcurrentManualCount { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the CalculatedMembers class with the specified child elements. + /// Force Full Calculation + /// Represents the following attribute in the schema: forceFullCalc /// - /// Specifies the child elements. - public CalculatedMembers(IEnumerable childElements) : base(childElements) + public BooleanValue? ForceFullCalculation + { + get => GetAttribute(); + set => SetAttribute(value); + } + + internal override void ConfigureMetadata(ElementMetadata.Builder builder) { + base.ConfigureMetadata(builder); + builder.SetSchema("x:calcPr"); + builder.AddElement() + .AddAttribute("calcId", a => a.CalculationId) + .AddAttribute("calcMode", a => a.CalculationMode) + .AddAttribute("fullCalcOnLoad", a => a.FullCalculationOnLoad) + .AddAttribute("refMode", a => a.ReferenceMode) + .AddAttribute("iterate", a => a.Iterate) + .AddAttribute("iterateCount", a => a.IterateCount) + .AddAttribute("iterateDelta", a => a.IterateDelta) + .AddAttribute("fullPrecision", a => a.FullPrecision) + .AddAttribute("calcCompleted", a => a.CalculationCompleted) + .AddAttribute("calcOnSave", a => a.CalculationOnSave) + .AddAttribute("concurrentCalc", a => a.ConcurrentCalculation) + .AddAttribute("concurrentManualCount", a => a.ConcurrentManualCount) + .AddAttribute("forceFullCalc", a => a.ForceFullCalculation); } - /// - /// Initializes a new instance of the CalculatedMembers class with the specified child elements. - /// - /// Specifies the child elements. - public CalculatedMembers(params OpenXmlElement[] childElements) : base(childElements) - { - } + /// + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + } + /// + /// Defines the OleSize Class. + /// This class is available in Office 2007 and above. + /// When the object is serialized out as xml, it's qualified name is x:oleSize. + /// + public partial class OleSize : OpenXmlLeafElement + { /// - /// Initializes a new instance of the CalculatedMembers class from outer XML. + /// Initializes a new instance of the OleSize class. /// - /// Specifies the outer XML of the element. - public CalculatedMembers(string outerXml) : base(outerXml) + public OleSize() : base() { } /// - /// Calculated Members Count - /// Represents the following attribute in the schema: count + /// Reference + /// Represents the following attribute in the schema: ref /// - public UInt32Value? Count + public StringValue? Reference { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:calculatedMembers"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); - builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) - { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.CalculatedMember), 1, 0) - }; + builder.SetSchema("x:oleSize"); + builder.AddElement() + .AddAttribute("ref", a => a.Reference, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + }); } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the Dimensions Class. + /// Defines the CustomWorkbookViews Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:dimensions. + /// When the object is serialized out as xml, it's qualified name is x:customWorkbookViews. /// /// /// The following table lists the possible child types: /// - /// <x:dimension> + /// <x:customWorkbookView> /// /// - public partial class Dimensions : OpenXmlCompositeElement + public partial class CustomWorkbookViews : OpenXmlCompositeElement { /// - /// Initializes a new instance of the Dimensions class. + /// Initializes a new instance of the CustomWorkbookViews class. /// - public Dimensions() : base() + public CustomWorkbookViews() : base() { } /// - /// Initializes a new instance of the Dimensions class with the specified child elements. + /// Initializes a new instance of the CustomWorkbookViews class with the specified child elements. /// /// Specifies the child elements. - public Dimensions(IEnumerable childElements) : base(childElements) + public CustomWorkbookViews(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the Dimensions class with the specified child elements. + /// Initializes a new instance of the CustomWorkbookViews class with the specified child elements. /// /// Specifies the child elements. - public Dimensions(params OpenXmlElement[] childElements) : base(childElements) + public CustomWorkbookViews(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the Dimensions class from outer XML. + /// Initializes a new instance of the CustomWorkbookViews class from outer XML. /// /// Specifies the outer XML of the element. - public Dimensions(string outerXml) : base(outerXml) - { - } - - /// - /// OLAP Dimensions Count - /// Represents the following attribute in the schema: count - /// - public UInt32Value? Count + public CustomWorkbookViews(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:dimensions"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); + builder.SetSchema("x:customWorkbookViews"); + builder.AddChild(); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.Dimension), 0, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.CustomWorkbookView), 1, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the MeasureGroups Class. + /// Defines the PivotCaches Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:measureGroups. + /// When the object is serialized out as xml, it's qualified name is x:pivotCaches. /// /// /// The following table lists the possible child types: /// - /// <x:measureGroup> + /// <x:pivotCache> /// /// - public partial class MeasureGroups : OpenXmlCompositeElement + public partial class PivotCaches : OpenXmlCompositeElement { /// - /// Initializes a new instance of the MeasureGroups class. + /// Initializes a new instance of the PivotCaches class. /// - public MeasureGroups() : base() + public PivotCaches() : base() { } /// - /// Initializes a new instance of the MeasureGroups class with the specified child elements. + /// Initializes a new instance of the PivotCaches class with the specified child elements. /// /// Specifies the child elements. - public MeasureGroups(IEnumerable childElements) : base(childElements) + public PivotCaches(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the MeasureGroups class with the specified child elements. + /// Initializes a new instance of the PivotCaches class with the specified child elements. /// /// Specifies the child elements. - public MeasureGroups(params OpenXmlElement[] childElements) : base(childElements) + public PivotCaches(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the MeasureGroups class from outer XML. + /// Initializes a new instance of the PivotCaches class from outer XML. /// /// Specifies the outer XML of the element. - public MeasureGroups(string outerXml) : base(outerXml) - { - } - - /// - /// Measure Group Count - /// Represents the following attribute in the schema: count - /// - public UInt32Value? Count + public PivotCaches(string outerXml) : base(outerXml) { - get => GetAttribute(); - set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:measureGroups"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); + builder.SetSchema("x:pivotCaches"); + builder.AddChild(); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.MeasureGroup), 0, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.PivotCache), 1, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the Maps Class. + /// Defines the WebPublishing Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:maps. + /// When the object is serialized out as xml, it's qualified name is x:webPublishing. /// - /// - /// The following table lists the possible child types: - /// - /// <x:map> - /// - /// - public partial class Maps : OpenXmlCompositeElement + public partial class WebPublishing : OpenXmlLeafElement { /// - /// Initializes a new instance of the Maps class. + /// Initializes a new instance of the WebPublishing class. /// - public Maps() : base() + public WebPublishing() : base() { } /// - /// Initializes a new instance of the Maps class with the specified child elements. + /// css + /// Represents the following attribute in the schema: css /// - /// Specifies the child elements. - public Maps(IEnumerable childElements) : base(childElements) + public BooleanValue? UseCss { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the Maps class with the specified child elements. + /// thicket + /// Represents the following attribute in the schema: thicket /// - /// Specifies the child elements. - public Maps(params OpenXmlElement[] childElements) : base(childElements) + public BooleanValue? Thicket { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the Maps class from outer XML. + /// longFileNames + /// Represents the following attribute in the schema: longFileNames /// - /// Specifies the outer XML of the element. - public Maps(string outerXml) : base(outerXml) + public BooleanValue? LongFileNames { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Measure Group Count - /// Represents the following attribute in the schema: count + /// vml + /// Represents the following attribute in the schema: vml /// - public UInt32Value? Count + public BooleanValue? UseVml { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } - internal override void ConfigureMetadata(ElementMetadata.Builder builder) + /// + /// allowPng + /// Represents the following attribute in the schema: allowPng + /// + public BooleanValue? AllowPng { - base.ConfigureMetadata(builder); - builder.SetSchema("x:maps"); - builder.AddChild(); - builder.AddElement() - .AddAttribute("count", a => a.Count); - builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) - { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.MeasureDimensionMap), 0, 0) - }; + get => GetAttribute(); + set => SetAttribute(value); } - /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); - } - - /// - /// Defines the PivotCacheDefinitionExtensionList Class. - /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:extLst. - /// - /// - /// The following table lists the possible child types: - /// - /// <x:ext> - /// - /// - public partial class PivotCacheDefinitionExtensionList : OpenXmlCompositeElement - { /// - /// Initializes a new instance of the PivotCacheDefinitionExtensionList class. + /// targetScreenSize + /// Represents the following attribute in the schema: targetScreenSize /// - public PivotCacheDefinitionExtensionList() : base() + public EnumValue? TargetScreenSize { + get => GetAttribute>(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the PivotCacheDefinitionExtensionList class with the specified child elements. + /// dpi + /// Represents the following attribute in the schema: dpi /// - /// Specifies the child elements. - public PivotCacheDefinitionExtensionList(IEnumerable childElements) : base(childElements) + public UInt32Value? Dpi { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the PivotCacheDefinitionExtensionList class with the specified child elements. + /// codePage + /// Represents the following attribute in the schema: codePage /// - /// Specifies the child elements. - public PivotCacheDefinitionExtensionList(params OpenXmlElement[] childElements) : base(childElements) + public UInt32Value? CodePage { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the PivotCacheDefinitionExtensionList class from outer XML. + /// characterSet + /// Represents the following attribute in the schema: characterSet /// - /// Specifies the outer XML of the element. - public PivotCacheDefinitionExtensionList(string outerXml) : base(outerXml) + public StringValue? CharacterSet { + get => GetAttribute(); + set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:extLst"); - builder.AddChild(); - builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) - { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.PivotCacheDefinitionExtension), 0, 0) - }; + builder.SetSchema("x:webPublishing"); + builder.AddElement() + .AddAttribute("css", a => a.UseCss) + .AddAttribute("thicket", a => a.Thicket) + .AddAttribute("longFileNames", a => a.LongFileNames) + .AddAttribute("vml", a => a.UseVml) + .AddAttribute("allowPng", a => a.AllowPng) + .AddAttribute("targetScreenSize", a => a.TargetScreenSize) + .AddAttribute("dpi", a => a.Dpi) + .AddAttribute("codePage", a => a.CodePage) + .AddAttribute("characterSet", a => a.CharacterSet); } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defines the PivotCacheDefinitionExtension Class. + /// Defines the FileRecoveryProperties Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:ext. + /// When the object is serialized out as xml, it's qualified name is x:fileRecoveryPr. /// - /// - /// The following table lists the possible child types: - /// - /// <x14:pivotCacheDefinition> - /// <x15:pivotCacheDecoupled> - /// <x15:pivotCacheIdVersion> - /// <x15:timelinePivotCacheDefinition> - /// <xxpim:implicitMeasureSupport> - /// <xxpvi:cacheVersionInfo> - /// - /// - public partial class PivotCacheDefinitionExtension : OpenXmlCompositeElement + public partial class FileRecoveryProperties : OpenXmlLeafElement { /// - /// Initializes a new instance of the PivotCacheDefinitionExtension class. + /// Initializes a new instance of the FileRecoveryProperties class. /// - public PivotCacheDefinitionExtension() : base() + public FileRecoveryProperties() : base() { } /// - /// Initializes a new instance of the PivotCacheDefinitionExtension class with the specified child elements. + /// Auto Recover + /// Represents the following attribute in the schema: autoRecover /// - /// Specifies the child elements. - public PivotCacheDefinitionExtension(IEnumerable childElements) : base(childElements) + public BooleanValue? AutoRecover { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the PivotCacheDefinitionExtension class with the specified child elements. + /// Crash Save + /// Represents the following attribute in the schema: crashSave /// - /// Specifies the child elements. - public PivotCacheDefinitionExtension(params OpenXmlElement[] childElements) : base(childElements) + public BooleanValue? CrashSave { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// Initializes a new instance of the PivotCacheDefinitionExtension class from outer XML. + /// Data Extract Load + /// Represents the following attribute in the schema: dataExtractLoad /// - /// Specifies the outer XML of the element. - public PivotCacheDefinitionExtension(string outerXml) : base(outerXml) + public BooleanValue? DataExtractLoad { + get => GetAttribute(); + set => SetAttribute(value); } /// - /// URI - /// Represents the following attribute in the schema: uri + /// Repair Load + /// Represents the following attribute in the schema: repairLoad /// - public StringValue? Uri + public BooleanValue? RepairLoad { - get => GetAttribute(); + get => GetAttribute(); set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:ext"); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddChild(); - builder.AddElement() - .AddAttribute("uri", a => a.Uri, aBuilder => - { - aBuilder.AddValidator(RequiredValidator.Instance); - aBuilder.AddValidator(new StringValidator() { IsToken = (true) }); - }); - builder.Particle = new CompositeParticle.Builder(ParticleType.Choice, 1, 1) - { - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.PivotCacheDefinition), 1, 1, version: FileFormatVersions.Office2010), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.PivotCacheDecoupled), 1, 1, version: FileFormatVersions.Office2013), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.TimelinePivotCacheDefinition), 1, 1, version: FileFormatVersions.Office2013), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.PivotCacheIdVersion), 1, 1, version: FileFormatVersions.Office2013), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Excel.Pivot.Xsdboolean), 1, 1, version: FileFormatVersions.Office2021), - new ElementParticle(typeof(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotVersionInfo.CacheVersionInfo), 1, 1, version: FileFormatVersions.Microsoft365), - new AnyParticle(0, 1) - }; + builder.SetSchema("x:fileRecoveryPr"); + builder.AddElement() + .AddAttribute("autoRecover", a => a.AutoRecover) + .AddAttribute("crashSave", a => a.CrashSave) + .AddAttribute("dataExtractLoad", a => a.DataExtractLoad) + .AddAttribute("repairLoad", a => a.RepairLoad); } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Sheet names of supporting book. + /// Defines the WebPublishObjects Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:sheetNames. + /// When the object is serialized out as xml, it's qualified name is x:webPublishObjects. /// /// /// The following table lists the possible child types: /// - /// <x:sheetName> + /// <x:webPublishObject> /// /// - public partial class SheetNames : OpenXmlCompositeElement + public partial class WebPublishObjects : OpenXmlCompositeElement { /// - /// Initializes a new instance of the SheetNames class. + /// Initializes a new instance of the WebPublishObjects class. /// - public SheetNames() : base() + public WebPublishObjects() : base() { } /// - /// Initializes a new instance of the SheetNames class with the specified child elements. + /// Initializes a new instance of the WebPublishObjects class with the specified child elements. /// /// Specifies the child elements. - public SheetNames(IEnumerable childElements) : base(childElements) + public WebPublishObjects(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the SheetNames class with the specified child elements. + /// Initializes a new instance of the WebPublishObjects class with the specified child elements. /// /// Specifies the child elements. - public SheetNames(params OpenXmlElement[] childElements) : base(childElements) + public WebPublishObjects(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the SheetNames class from outer XML. + /// Initializes a new instance of the WebPublishObjects class from outer XML. /// /// Specifies the outer XML of the element. - public SheetNames(string outerXml) : base(outerXml) + public WebPublishObjects(string outerXml) : base(outerXml) + { + } + + /// + /// Count + /// Represents the following attribute in the schema: count + /// + public UInt32Value? Count { + get => GetAttribute(); + set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:sheetNames"); - builder.AddChild(); + builder.SetSchema("x:webPublishObjects"); + builder.AddChild(); + builder.AddElement() + .AddAttribute("count", a => a.Count); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.SheetName), 1, 65534) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.WebPublishObject), 1, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Defined names associated with supporting book.. + /// Defines the WorkbookExtensionList Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:definedNames. + /// When the object is serialized out as xml, it's qualified name is x:extLst. /// /// /// The following table lists the possible child types: /// - /// <x:definedName> + /// <x:ext> /// /// - public partial class ExternalDefinedNames : OpenXmlCompositeElement + public partial class WorkbookExtensionList : OpenXmlCompositeElement { /// - /// Initializes a new instance of the ExternalDefinedNames class. + /// Initializes a new instance of the WorkbookExtensionList class. /// - public ExternalDefinedNames() : base() + public WorkbookExtensionList() : base() { } /// - /// Initializes a new instance of the ExternalDefinedNames class with the specified child elements. + /// Initializes a new instance of the WorkbookExtensionList class with the specified child elements. /// /// Specifies the child elements. - public ExternalDefinedNames(IEnumerable childElements) : base(childElements) + public WorkbookExtensionList(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the ExternalDefinedNames class with the specified child elements. + /// Initializes a new instance of the WorkbookExtensionList class with the specified child elements. /// /// Specifies the child elements. - public ExternalDefinedNames(params OpenXmlElement[] childElements) : base(childElements) + public WorkbookExtensionList(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the ExternalDefinedNames class from outer XML. + /// Initializes a new instance of the WorkbookExtensionList class from outer XML. /// /// Specifies the outer XML of the element. - public ExternalDefinedNames(string outerXml) : base(outerXml) + public WorkbookExtensionList(string outerXml) : base(outerXml) { } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:definedNames"); - builder.AddChild(); + builder.SetSchema("x:extLst"); + builder.AddChild(); builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ExternalDefinedName), 0, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.WorkbookExtension), 0, 0) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// - /// Cached worksheet data associated with supporting book. + /// Defines the WorkbookExtension Class. /// This class is available in Office 2007 and above. - /// When the object is serialized out as xml, it's qualified name is x:sheetDataSet. + /// When the object is serialized out as xml, it's qualified name is x:ext. /// /// /// The following table lists the possible child types: /// - /// <x:sheetData> + /// <x14:pivotCaches> + /// <x15:pivotCaches> + /// <x15:timelineCachePivotCaches> + /// <x14:definedNames> + /// <x14:slicerCaches> + /// <x15:slicerCaches> + /// <x14:workbookPr> + /// <x15:dataModel> + /// <x15:pivotTableReferences> + /// <x15:timelineCacheRefs> + /// <x15:workbookPr> + /// <xlecs:externalCodeService> /// /// - public partial class SheetDataSet : OpenXmlCompositeElement + public partial class WorkbookExtension : OpenXmlCompositeElement { /// - /// Initializes a new instance of the SheetDataSet class. + /// Initializes a new instance of the WorkbookExtension class. /// - public SheetDataSet() : base() + public WorkbookExtension() : base() { } /// - /// Initializes a new instance of the SheetDataSet class with the specified child elements. + /// Initializes a new instance of the WorkbookExtension class with the specified child elements. /// /// Specifies the child elements. - public SheetDataSet(IEnumerable childElements) : base(childElements) + public WorkbookExtension(IEnumerable childElements) : base(childElements) { } /// - /// Initializes a new instance of the SheetDataSet class with the specified child elements. + /// Initializes a new instance of the WorkbookExtension class with the specified child elements. /// /// Specifies the child elements. - public SheetDataSet(params OpenXmlElement[] childElements) : base(childElements) + public WorkbookExtension(params OpenXmlElement[] childElements) : base(childElements) { } /// - /// Initializes a new instance of the SheetDataSet class from outer XML. + /// Initializes a new instance of the WorkbookExtension class from outer XML. /// /// Specifies the outer XML of the element. - public SheetDataSet(string outerXml) : base(outerXml) + public WorkbookExtension(string outerXml) : base(outerXml) + { + } + + /// + /// URI + /// Represents the following attribute in the schema: uri + /// + public StringValue? Uri { + get => GetAttribute(); + set => SetAttribute(value); } internal override void ConfigureMetadata(ElementMetadata.Builder builder) { base.ConfigureMetadata(builder); - builder.SetSchema("x:sheetDataSet"); - builder.AddChild(); - builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1) + builder.SetSchema("x:ext"); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddChild(); + builder.AddElement() + .AddAttribute("uri", a => a.Uri, aBuilder => + { + aBuilder.AddValidator(RequiredValidator.Instance); + aBuilder.AddValidator(new StringValidator() { IsToken = (true) }); + }); + builder.Particle = new CompositeParticle.Builder(ParticleType.Choice, 1, 1) { - new ElementParticle(typeof(DocumentFormat.OpenXml.Spreadsheet.ExternalSheetData), 1, 0) + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.DefinedNames), 1, 1, version: FileFormatVersions.Office2010), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.PivotCaches), 1, 1, version: FileFormatVersions.Office2010), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.SlicerCaches), 1, 1, version: FileFormatVersions.Office2010), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.SlicerCaches), 1, 1, version: FileFormatVersions.Office2013), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.WorkbookProperties), 1, 1, version: FileFormatVersions.Office2010), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.PivotCaches), 1, 1, version: FileFormatVersions.Office2013), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.PivotTableReferences), 1, 1, version: FileFormatVersions.Office2013), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.TimelineCachePivotCaches), 1, 1, version: FileFormatVersions.Office2013), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.TimelineCacheReferences), 1, 1, version: FileFormatVersions.Office2013), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.WorkbookProperties), 1, 1, version: FileFormatVersions.Office2013), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.DataModel), 1, 1, version: FileFormatVersions.Office2013), + new ElementParticle(typeof(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.ExternalCodeService.ExternalCodeService), 1, 1, version: FileFormatVersions.Microsoft365), + new AnyParticle(0, 1) }; } /// - public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); + public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep); } /// diff --git a/test/DocumentFormat.OpenXml.Framework.Tests/ElementChildren.json b/test/DocumentFormat.OpenXml.Framework.Tests/ElementChildren.json index f88d57804..6d4441c61 100644 --- a/test/DocumentFormat.OpenXml.Framework.Tests/ElementChildren.json +++ b/test/DocumentFormat.OpenXml.Framework.Tests/ElementChildren.json @@ -22647,6 +22647,82 @@ "Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotVersionInfo.RequiredFeatureXsdstring", "Children": [] }, + { + "Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.DataSourceVersioning.LastEditFeatureXsdstring", + "Children": [] + }, + { + "Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.DataSourceVersioning.LastRefreshFeatureXsdstring", + "Children": [] + }, + { + "Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.DataSourceVersioning.RequiredFeatureXsdstring", + "Children": [] + }, + { + "Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.DataSourceVersioning.VersionInfo", + "Children": [ + { + "Name": "lastEditFeature", + "Namespace": "http://schemas.microsoft.com/office/spreadsheetml/2023/dataSourceVersioning" + }, + { + "Name": "lastRefreshFeature", + "Namespace": "http://schemas.microsoft.com/office/spreadsheetml/2023/dataSourceVersioning" + }, + { + "Name": "requiredFeature", + "Namespace": "http://schemas.microsoft.com/office/spreadsheetml/2023/dataSourceVersioning" + } + ] + }, + { + "Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.ExternalCodeService.ExternalCodeService", + "Children": [] + }, + { + "Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.ExtensionList", + "Children": [ + { + "Name": "ext", + "Namespace": "http://schemas.openxmlformats.org/spreadsheetml/2006/main" + } + ] + }, + { + "Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.MsForm", + "Children": [ + { + "Name": "extLst", + "Namespace": "http://schemas.microsoft.com/office/spreadsheetml/2023/msForms" + }, + { + "Name": "syncedQuestionId", + "Namespace": "http://schemas.microsoft.com/office/spreadsheetml/2023/msForms" + } + ] + }, + { + "Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.Question", + "Children": [ + { + "Name": "extLst", + "Namespace": "http://schemas.microsoft.com/office/spreadsheetml/2023/msForms" + } + ] + }, + { + "Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.SyncedQuestionId", + "Children": [] + }, + { + "Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.Pivot2023Calculation.AggregationInfo", + "Children": [] + }, + { + "Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.Pivot2023Calculation.FeatureSupport", + "Children": [] + }, { "Element": "DocumentFormat.OpenXml.Office.Word.AllocatedCommand", "Children": [] @@ -22989,6 +23065,10 @@ "Element": "DocumentFormat.OpenXml.Office.Y2022.FeaturePropertyBag.BoolFeatureProperty", "Children": [] }, + { + "Element": "DocumentFormat.OpenXml.Office.Y2022.FeaturePropertyBag.DXFComplement", + "Children": [] + }, { "Element": "DocumentFormat.OpenXml.Office.Y2022.FeaturePropertyBag.DecimalFeatureProperty", "Children": [] @@ -46001,6 +46081,10 @@ { "Name": "table", "Namespace": "http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" + }, + { + "Name": "msForm", + "Namespace": "http://schemas.microsoft.com/office/spreadsheetml/2023/msForms" } ] }, @@ -46455,6 +46539,10 @@ { "Name": "workbookPr", "Namespace": "http://schemas.microsoft.com/office/spreadsheetml/2010/11/main" + }, + { + "Name": "externalCodeService", + "Namespace": "http://schemas.microsoft.com/office/spreadsheetml/2023/externalCodeService" } ] }, diff --git a/test/DocumentFormat.OpenXml.Framework.Tests/OpenXmlNamespaceTests.cs b/test/DocumentFormat.OpenXml.Framework.Tests/OpenXmlNamespaceTests.cs index d538219fb..cda428c46 100644 --- a/test/DocumentFormat.OpenXml.Framework.Tests/OpenXmlNamespaceTests.cs +++ b/test/DocumentFormat.OpenXml.Framework.Tests/OpenXmlNamespaceTests.cs @@ -12,7 +12,7 @@ public class OpenXmlNamespaceTests public void NamespaceCount() { var resolver = new OpenXmlNamespaceResolver(); - Assert.Equal(157, resolver.GetNamespacesInScope(System.Xml.XmlNamespaceScope.All).Count); + Assert.Equal(161, resolver.GetNamespacesInScope(System.Xml.XmlNamespaceScope.All).Count); } [InlineData("", "", FileFormatVersions.Office2007)] diff --git a/test/DocumentFormat.OpenXml.Packaging.Tests/data/Particles.json b/test/DocumentFormat.OpenXml.Packaging.Tests/data/Particles.json index 748a60c6d..856666c5e 100644 --- a/test/DocumentFormat.OpenXml.Packaging.Tests/data/Particles.json +++ b/test/DocumentFormat.OpenXml.Packaging.Tests/data/Particles.json @@ -33879,6 +33879,102 @@ } ] }, + { + "Key": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.DataSourceVersioning.VersionInfo", + "Value": [ + { + "Key": "Microsoft365", + "Value": { + "ChildrenParticles": [ + { + "ElementType": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.DataSourceVersioning.RequiredFeatureXsdstring", + "MaxOccurs": 0, + "MinOccurs": 0 + }, + { + "ElementType": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.DataSourceVersioning.LastRefreshFeatureXsdstring", + "MaxOccurs": 0, + "MinOccurs": 0 + }, + { + "ElementType": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.DataSourceVersioning.LastEditFeatureXsdstring", + "MaxOccurs": 0, + "MinOccurs": 0 + } + ], + "ParticleType": "Sequence" + } + } + ] + }, + { + "Key": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.ExtensionList", + "Value": [ + { + "Key": "Microsoft365", + "Value": { + "ChildrenParticles": [ + { + "ChildrenParticles": [ + { + "ChildrenParticles": [ + { + "ElementType": "DocumentFormat.OpenXml.Spreadsheet.Extension", + "MaxOccurs": 0, + "MinOccurs": 0 + } + ], + "ParticleType": "Sequence" + } + ], + "MinOccurs": 0, + "ParticleType": "Group" + } + ], + "ParticleType": "Sequence" + } + } + ] + }, + { + "Key": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.MsForm", + "Value": [ + { + "Key": "Microsoft365", + "Value": { + "ChildrenParticles": [ + { + "ElementType": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.SyncedQuestionId", + "MaxOccurs": 0, + "MinOccurs": 0 + }, + { + "ElementType": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.ExtensionList", + "MinOccurs": 0 + } + ], + "ParticleType": "Sequence" + } + } + ] + }, + { + "Key": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.Question", + "Value": [ + { + "Key": "Microsoft365", + "Value": { + "ChildrenParticles": [ + { + "ElementType": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.ExtensionList", + "MinOccurs": 0 + } + ], + "ParticleType": "Sequence" + } + } + ] + }, { "Key": "DocumentFormat.OpenXml.Office.Word.AllocatedCommandManifest", "Value": [ @@ -66604,7 +66700,7 @@ "Key": "DocumentFormat.OpenXml.Spreadsheet.TableExtension", "Value": [ { - "Key": "Office2010, Office2013, Office2016, Office2019, Office2021, Microsoft365", + "Key": "Office2010, Office2013, Office2016, Office2019, Office2021", "Value": { "ChildrenParticles": [ { @@ -66629,6 +66725,24 @@ ], "ParticleType": "Choice" } + }, + { + "Key": "Microsoft365", + "Value": { + "ChildrenParticles": [ + { + "ElementType": "DocumentFormat.OpenXml.Office2010.Excel.Table" + }, + { + "ElementType": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.MsForms.MsForm" + }, + { + "MinOccurs": 0, + "ParticleType": "Any" + } + ], + "ParticleType": "Choice" + } } ] }, @@ -67256,7 +67370,7 @@ "Key": "DocumentFormat.OpenXml.Spreadsheet.WorkbookExtension", "Value": [ { - "Key": "Office2013, Office2016, Office2019, Office2021, Microsoft365", + "Key": "Office2013, Office2016, Office2019, Office2021", "Value": { "ChildrenParticles": [ { @@ -67335,6 +67449,54 @@ ], "ParticleType": "Choice" } + }, + { + "Key": "Microsoft365", + "Value": { + "ChildrenParticles": [ + { + "ElementType": "DocumentFormat.OpenXml.Office2010.Excel.DefinedNames" + }, + { + "ElementType": "DocumentFormat.OpenXml.Office2010.Excel.PivotCaches" + }, + { + "ElementType": "DocumentFormat.OpenXml.Office2010.Excel.SlicerCaches" + }, + { + "ElementType": "DocumentFormat.OpenXml.Office2013.Excel.SlicerCaches" + }, + { + "ElementType": "DocumentFormat.OpenXml.Office2010.Excel.WorkbookProperties" + }, + { + "ElementType": "DocumentFormat.OpenXml.Office2013.Excel.PivotCaches" + }, + { + "ElementType": "DocumentFormat.OpenXml.Office2013.Excel.PivotTableReferences" + }, + { + "ElementType": "DocumentFormat.OpenXml.Office2013.Excel.TimelineCachePivotCaches" + }, + { + "ElementType": "DocumentFormat.OpenXml.Office2013.Excel.TimelineCacheReferences" + }, + { + "ElementType": "DocumentFormat.OpenXml.Office2013.Excel.WorkbookProperties" + }, + { + "ElementType": "DocumentFormat.OpenXml.Office2013.Excel.DataModel" + }, + { + "ElementType": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.ExternalCodeService.ExternalCodeService" + }, + { + "MinOccurs": 0, + "ParticleType": "Any" + } + ], + "ParticleType": "Choice" + } } ] },