Skip to content

Commit 99ccd6a

Browse files
committed
apply changes
1 parent 082ac01 commit 99ccd6a

File tree

2 files changed

+8
-17
lines changed

2 files changed

+8
-17
lines changed

generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_microsoft_com_office_spreadsheetml_2024_workbookCompatibilityVersion.g.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ namespace DocumentFormat.OpenXml.Office.SpreadSheetML.Y2024.WorkbookCompatibilit
2323
/// </summary>
2424
public partial class Version : OpenXmlLeafElement
2525
{
26+
#pragma warning disable CS0109
27+
internal static readonly new OpenXmlQualifiedName ElementQName = new("http://schemas.microsoft.com/office/spreadsheetml/2024/workbookCompatibilityVersion", "version");
28+
internal static readonly new OpenXmlQualifiedName ElementTypeName = new("http://schemas.microsoft.com/office/spreadsheetml/2024/workbookCompatibilityVersion", "CT_Version");
29+
internal static readonly new OpenXmlSchemaType ElementType = new(ElementQName, ElementTypeName);
30+
#pragma warning restore CS0109
31+
2632
/// <summary>
2733
/// Initializes a new instance of the Version class.
2834
/// </summary>
@@ -53,7 +59,7 @@ public UInt32Value? SetVersion
5359
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
5460
{
5561
base.ConfigureMetadata(builder);
56-
builder.SetSchema("xlwcv:version");
62+
builder.SetSchema(ElementType);
5763
builder.Availability = FileFormatVersions.Microsoft365;
5864
builder.AddElement<Version>()
5965
.AddAttribute("warnBelowVersion", a => a.WarnBelowVersion)

generated/DocumentFormat.OpenXml/DocumentFormat.OpenXml.Generator/DocumentFormat.OpenXml.Generator.OpenXmlGenerator/schemas_openxmlformats_org_spreadsheetml_2006_main.g.cs

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -50011,7 +50011,6 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
5001150011
});
5001250012
builder.Particle = new CompositeParticle.Builder(ParticleType.Choice, 1, 1)
5001350013
{
50014-
<<<<<<< HEAD
5001550014
new ElementParticle(DocumentFormat.OpenXml.Office2010.Excel.DefinedNames.ElementType, 1, 1, version: FileFormatVersions.Office2010),
5001650015
new ElementParticle(DocumentFormat.OpenXml.Office2010.Excel.PivotCaches.ElementType, 1, 1, version: FileFormatVersions.Office2010),
5001750016
new ElementParticle(DocumentFormat.OpenXml.Office2010.Excel.SlicerCaches.ElementType, 1, 1, version: FileFormatVersions.Office2010),
@@ -50024,21 +50023,7 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
5002450023
new ElementParticle(DocumentFormat.OpenXml.Office2013.Excel.WorkbookProperties.ElementType, 1, 1, version: FileFormatVersions.Office2013),
5002550024
new ElementParticle(DocumentFormat.OpenXml.Office2013.Excel.DataModel.ElementType, 1, 1, version: FileFormatVersions.Office2013),
5002650025
new ElementParticle(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.ExternalCodeService.ExternalCodeService.ElementType, 1, 1, version: FileFormatVersions.Microsoft365),
50027-
=======
50028-
new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.DefinedNames), 1, 1, version: FileFormatVersions.Office2010),
50029-
new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.PivotCaches), 1, 1, version: FileFormatVersions.Office2010),
50030-
new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.SlicerCaches), 1, 1, version: FileFormatVersions.Office2010),
50031-
new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.SlicerCaches), 1, 1, version: FileFormatVersions.Office2013),
50032-
new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Excel.WorkbookProperties), 1, 1, version: FileFormatVersions.Office2010),
50033-
new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.PivotCaches), 1, 1, version: FileFormatVersions.Office2013),
50034-
new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.PivotTableReferences), 1, 1, version: FileFormatVersions.Office2013),
50035-
new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.TimelineCachePivotCaches), 1, 1, version: FileFormatVersions.Office2013),
50036-
new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.TimelineCacheReferences), 1, 1, version: FileFormatVersions.Office2013),
50037-
new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.WorkbookProperties), 1, 1, version: FileFormatVersions.Office2013),
50038-
new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Excel.DataModel), 1, 1, version: FileFormatVersions.Office2013),
50039-
new ElementParticle(typeof(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2023.ExternalCodeService.ExternalCodeService), 1, 1, version: FileFormatVersions.Microsoft365),
50040-
new ElementParticle(typeof(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2024.WorkbookCompatibilityVersion.Version), 1, 1, version: FileFormatVersions.Microsoft365),
50041-
>>>>>>> main
50026+
new ElementParticle(DocumentFormat.OpenXml.Office.SpreadSheetML.Y2024.WorkbookCompatibilityVersion.Version.ElementType, 1, 1, version: FileFormatVersions.Microsoft365),
5004250027
new AnyParticle(0, 1)
5004350028
};
5004450029
}

0 commit comments

Comments
 (0)