diff --git a/gen/DocumentFormat.OpenXml.Generator/Data/namespaces.json b/gen/DocumentFormat.OpenXml.Generator/Data/namespaces.json
index 7c097dc00..36a21c26a 100644
--- a/gen/DocumentFormat.OpenXml.Generator/Data/namespaces.json
+++ b/gen/DocumentFormat.OpenXml.Generator/Data/namespaces.json
@@ -71,6 +71,11 @@
"Uri": "http://schemas.microsoft.com/office/drawing/2017/model3d",
"Version": "Office2019"
},
+ {
+ "Prefix": "aoe",
+ "Uri": "http://schemas.microsoft.com/office/drawing/2021/oembed",
+ "Version": "Microsoft365"
+ },
{
"Prefix": "ap",
"Uri": "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"
@@ -80,6 +85,11 @@
"Uri": "http://schemas.microsoft.com/office/drawing/2018/sketchyshapes",
"Version": "Office2021"
},
+ {
+ "Prefix": "asl",
+ "Uri": "http://schemas.microsoft.com/office/drawing/2021/scriptlink",
+ "Version": "Microsoft365"
+ },
{
"Prefix": "asvg",
"Uri": "http://schemas.microsoft.com/office/drawing/2016/SVG/main",
@@ -314,11 +324,21 @@
"Uri": "http://schemas.microsoft.com/office/powerpoint/2018/8/main",
"Version": "Office2021"
},
+ {
+ "Prefix": "p1912",
+ "Uri": "http://schemas.microsoft.com/office/powerpoint/2019/12/main",
+ "Version": "Office2021"
+ },
{
"Prefix": "p202",
"Uri": "http://schemas.microsoft.com/office/powerpoint/2020/02/main",
"Version": "Office2021"
},
+ {
+ "Prefix": "p216",
+ "Uri": "http://schemas.microsoft.com/office/powerpoint/2021/06/main",
+ "Version": "Microsoft365"
+ },
{
"Prefix": "packaging",
"Uri": "http://schemas.microsoft.com/office/internal/2007/ofapi/packaging"
@@ -347,11 +367,6 @@
"Uri": "http://schemas.microsoft.com/projectml/2012/main",
"Version": "Office2013"
},
- {
- "Prefix": "ppt1912SchemaUri",
- "Uri": "http://schemas.microsoft.com/office/powerpoint/2019/12/main",
- "Version": "Office2021"
- },
{
"Prefix": "pRoam",
"Uri": "http://schemas.microsoft.com/office/powerpoint/2012/roamingSettings",
@@ -454,6 +469,11 @@
"Prefix": "wne",
"Uri": "http://schemas.microsoft.com/office/word/2006/wordml"
},
+ {
+ "Prefix": "woe",
+ "Uri": "http://schemas.microsoft.com/office/word/2020/oembed",
+ "Version": "Microsoft365"
+ },
{
"Prefix": "wp",
"Uri": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"
diff --git a/gen/DocumentFormat.OpenXml.Generator/Models/OfficeVersion.cs b/gen/DocumentFormat.OpenXml.Generator/Models/OfficeVersion.cs
index d672c21e1..aa7fcf39a 100644
--- a/gen/DocumentFormat.OpenXml.Generator/Models/OfficeVersion.cs
+++ b/gen/DocumentFormat.OpenXml.Generator/Models/OfficeVersion.cs
@@ -6,9 +6,10 @@ namespace DocumentFormat.OpenXml.Generator.Models;
public enum OfficeVersion
{
Office2007 = 0,
- Office2010 = 1,
- Office2013 = 2,
- Office2016 = 3,
- Office2019 = 4,
- Office2021 = 5,
+ Office2010,
+ Office2013,
+ Office2016,
+ Office2019,
+ Office2021,
+ Microsoft365,
}
diff --git a/src/DocumentFormat.OpenXml.Linq/GeneratedCode/A.g.cs b/src/DocumentFormat.OpenXml.Linq/GeneratedCode/A.g.cs
index df8b4dd5a..443b0b2b0 100644
--- a/src/DocumentFormat.OpenXml.Linq/GeneratedCode/A.g.cs
+++ b/src/DocumentFormat.OpenXml.Linq/GeneratedCode/A.g.cs
@@ -1417,8 +1417,8 @@ public static class A
///
/// 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: BlipExtension, ConnectorLockingExtension, DataModelExtension, Extension, Extents, GvmlGroupShapeExtension, HyperlinkExtension, LinePropertiesExtension, NonVisualDrawingPropertiesExtension, NonVisualGroupDrawingShapePropsExtension, NonVisualPicturePropertiesExtension, OfficeStyleSheetExtension, PtExtension, ShapePropertiesExtension.
///
@@ -1778,7 +1778,7 @@ public static class A
/// As an XML element, it:
///
/// - has the following parent XML elements: .
- /// - has the following child XML elements: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , .
+ /// - has the following child XML elements: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , .
/// - has the following XML attributes: .
/// - corresponds to the following strongly-typed classes: GraphicData.
///
diff --git a/src/DocumentFormat.OpenXml.Linq/GeneratedCode/ACLSH.g.cs b/src/DocumentFormat.OpenXml.Linq/GeneratedCode/ACLSH.g.cs
new file mode 100644
index 000000000..6dcd794f5
--- /dev/null
+++ b/src/DocumentFormat.OpenXml.Linq/GeneratedCode/ACLSH.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:aclsh="http://schemas.microsoft.com/office/drawing/2020/classificationShape" namespace.
+ ///
+ public static class ACLSH
+ {
+ ///
+ /// Defines the XML namespace associated with the aclsh prefix.
+ ///
+ public static readonly XNamespace aclsh = "http://schemas.microsoft.com/office/drawing/2020/classificationShape";
+
+ ///
+ /// Represents the aclsh:classification 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: ClassificationOutcome.
+ ///
+ ///
+ public static readonly XName classification = aclsh + "classification";
+ }
+}
diff --git a/src/DocumentFormat.OpenXml.Linq/GeneratedCode/ALF.g.cs b/src/DocumentFormat.OpenXml.Linq/GeneratedCode/ALF.g.cs
new file mode 100644
index 000000000..b4c00c44f
--- /dev/null
+++ b/src/DocumentFormat.OpenXml.Linq/GeneratedCode/ALF.g.cs
@@ -0,0 +1,109 @@
+// 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:alf="http://schemas.microsoft.com/office/drawing/2021/livefeed" namespace.
+ ///
+ public static class ALF
+ {
+ ///
+ /// Defines the XML namespace associated with the alf prefix.
+ ///
+ public static readonly XNamespace alf = "http://schemas.microsoft.com/office/drawing/2021/livefeed";
+
+ ///
+ /// Represents the alf:backgroundProps 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: LiveFeedBackgroundProperties.
+ ///
+ ///
+ public static readonly XName backgroundProps = alf + "backgroundProps";
+
+ ///
+ /// Represents the alf:Blur 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: BackgroundBlurProperties.
+ ///
+ ///
+ public static readonly XName Blur = alf + "Blur";
+
+ ///
+ /// Represents the alf:Custom 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: BackgroundCustomProperties.
+ ///
+ ///
+ public static readonly XName Custom = alf + "Custom";
+
+ ///
+ /// Represents the alf: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: OfficeArtExtensionList.
+ ///
+ ///
+ public static readonly XName extLst = alf + "extLst";
+
+ ///
+ /// Represents the alf:liveFeedProps 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: LiveFeedProperties.
+ ///
+ ///
+ public static readonly XName liveFeedProps = alf + "liveFeedProps";
+
+ ///
+ /// Represents the alf:Normal 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: BackgroundNormalProperties.
+ ///
+ ///
+ public static readonly XName Normal = alf + "Normal";
+
+ ///
+ /// Represents the alf:Removed 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: BackgroundRemovedProperties.
+ ///
+ ///
+ public static readonly XName Removed = alf + "Removed";
+ }
+}
diff --git a/src/DocumentFormat.OpenXml.Linq/GeneratedCode/AOE.g.cs b/src/DocumentFormat.OpenXml.Linq/GeneratedCode/AOE.g.cs
new file mode 100644
index 000000000..4b1c2deb0
--- /dev/null
+++ b/src/DocumentFormat.OpenXml.Linq/GeneratedCode/AOE.g.cs
@@ -0,0 +1,45 @@
+// 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:aoe="http://schemas.microsoft.com/office/drawing/2021/oembed" namespace.
+ ///
+ public static class AOE
+ {
+ ///
+ /// Defines the XML namespace associated with the aoe prefix.
+ ///
+ public static readonly XNamespace aoe = "http://schemas.microsoft.com/office/drawing/2021/oembed";
+
+ ///
+ /// Represents the aoe: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: OfficeArtExtensionList.
+ ///
+ ///
+ public static readonly XName extLst = aoe + "extLst";
+
+ ///
+ /// Represents the aoe:oembedShared 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: OEmbedShared.
+ ///
+ ///
+ public static readonly XName oembedShared = aoe + "oembedShared";
+ }
+}
diff --git a/src/DocumentFormat.OpenXml.Linq/GeneratedCode/ASL.g.cs b/src/DocumentFormat.OpenXml.Linq/GeneratedCode/ASL.g.cs
new file mode 100644
index 000000000..233eb5712
--- /dev/null
+++ b/src/DocumentFormat.OpenXml.Linq/GeneratedCode/ASL.g.cs
@@ -0,0 +1,45 @@
+// 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:asl="http://schemas.microsoft.com/office/drawing/2021/scriptlink" namespace.
+ ///
+ public static class ASL
+ {
+ ///
+ /// Defines the XML namespace associated with the asl prefix.
+ ///
+ public static readonly XNamespace asl = "http://schemas.microsoft.com/office/drawing/2021/scriptlink";
+
+ ///
+ /// Represents the asl: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: OfficeArtExtensionList.
+ ///
+ ///
+ public static readonly XName extLst = asl + "extLst";
+
+ ///
+ /// Represents the asl:scriptLink 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: ScriptLink.
+ ///
+ ///
+ public static readonly XName scriptLink = asl + "scriptLink";
+ }
+}
diff --git a/src/DocumentFormat.OpenXml.Linq/GeneratedCode/NoNamespace.g.cs b/src/DocumentFormat.OpenXml.Linq/GeneratedCode/NoNamespace.g.cs
index a25170f12..b8e32a9bb 100644
--- a/src/DocumentFormat.OpenXml.Linq/GeneratedCode/NoNamespace.g.cs
+++ b/src/DocumentFormat.OpenXml.Linq/GeneratedCode/NoNamespace.g.cs
@@ -2867,6 +2867,18 @@ public static class NoNamespace
///
public static readonly XName @class = "class";
+ ///
+ /// Represents the classificationOutcomeType XML attribute.
+ ///
+ ///
+ /// As an XML attribute, it:
+ ///
+ /// - is contained in the following XML elements: .
+ /// - corresponds to the following strongly-typed properties: ClassificationOutcome.ClassificationOutcomeType.
+ ///
+ ///
+ public static readonly XName classificationOutcomeType = "classificationOutcomeType";
+
///
/// Represents the clearAll XML attribute.
///
@@ -12287,6 +12299,18 @@ public static class NoNamespace
///
public static readonly XName measuresSet = "measuresSet";
+ ///
+ /// Represents the mediaType XML attribute.
+ ///
+ ///
+ /// As an XML attribute, it:
+ ///
+ /// - is contained in the following XML elements: .
+ /// - corresponds to the following strongly-typed properties: OEmbed.MediaType.
+ ///
+ ///
+ public static readonly XName mediaType = "mediaType";
+
///
/// Represents the memberName XML attribute.
///
@@ -13631,6 +13655,18 @@ public static class NoNamespace
///
public static readonly XName odxf = "odxf";
+ ///
+ /// Represents the oEmbedUrl XML attribute.
+ ///
+ ///
+ /// As an XML attribute, it:
+ ///
+ /// - is contained in the following XML elements: .
+ /// - corresponds to the following strongly-typed properties: OEmbed.OEmbedUrl.
+ ///
+ ///
+ public static readonly XName oEmbedUrl = "oEmbedUrl";
+
///
/// Represents the offset XML attributes.
///
@@ -14699,6 +14735,18 @@ public static class NoNamespace
///
public static readonly XName phonetic = "phonetic";
+ ///
+ /// Represents the picLocksAutoForOEmbed XML attribute.
+ ///
+ ///
+ /// As an XML attribute, it:
+ ///
+ /// - is contained in the following XML elements: .
+ /// - corresponds to the following strongly-typed properties: OEmbed.PicLocksAutoForOEmbed.
+ ///
+ ///
+ public static readonly XName picLocksAutoForOEmbed = "picLocksAutoForOEmbed";
+
///
/// Represents the pid XML attribute.
///
@@ -19499,6 +19547,18 @@ public static class NoNamespace
///
public static readonly XName srcOrd = "srcOrd";
+ ///
+ /// Represents the srcUrl XML attribute.
+ ///
+ ///
+ /// As an XML attribute, it:
+ ///
+ /// - is contained in the following XML elements: .
+ /// - corresponds to the following strongly-typed properties: OEmbedShared.SrcUrl.
+ ///
+ ///
+ public static readonly XName srcUrl = "srcUrl";
+
///
/// Represents the st XML attributes.
///
@@ -21221,8 +21281,8 @@ public static class NoNamespace
///
/// As an XML attribute, it:
///
- /// - is contained in the following XML elements: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , .
- /// - corresponds to the following strongly-typed properties: Algorithm.Type, Annotation.Type, AnnotationXml.Type, AutoNumberedBullet.Type, BottomBorder.Type, CacheSource.Type, Callout.Type, Category.Type, Channel.Type, ColorTransformCategory.Type, Command.Type, ConditionalFormat.Type, ConditionalFormattingRule.Type, ConditionalFormattingValueObject.Type, ConditionalFormatValueObject.Type, Connection.Type, Constraint.Type, ContextNode.Type, ContextNodeProperty.Type, DataValidation.Type, DynamicFilter.Type, EffectContainer.Type, EffectDag.Type, Extrusion.Type, Field.Type, FieldListActiveTabTopLevelEntity.Type, Fill.Type, FillExtendedProperties.Type, GradientFill.Type, HeadEnd.Type, Iterate.Type, LeftBorder.Type, MajorTickMarksTickMarks.Type, Mapping.Type, MinorTickMarksTickMarks.Type, NumericDimension.Type, OleChartElement.Type, Parameter.Type, PhoneticProperties.Type, PivotArea.Type, PivotFilter.Type, PlaceholderShape.Type, Point.Type, RightBorder.Type, Rule.Type, Shadow.Type, Shape.Type, SlicerStyleElement.Type, SlideLayout.Type, SlideSize.Type, SparklineGroup.Type, StringDimension.Type, StyleDisplayCategory.Type, TableStyleElement.Type, TailEnd.Type, TextField.Type, TextWrap.Type, TimelineStyleElement.Type, TopBorder.Type, Trace.Type, TriggerEventRecord.Type, VolatileType.Type, WebExtensionBinding.Type.
+ /// - is contained in the following XML elements: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , .
+ /// - corresponds to the following strongly-typed properties: Algorithm.Type, Annotation.Type, AnnotationXml.Type, AutoNumberedBullet.Type, BottomBorder.Type, CacheSource.Type, Callout.Type, Category.Type, Channel.Type, ColorTransformCategory.Type, Command.Type, ConditionalFormat.Type, ConditionalFormattingRule.Type, ConditionalFormattingValueObject.Type, ConditionalFormatValueObject.Type, Connection.Type, Constraint.Type, ContextNode.Type, ContextNodeProperty.Type, DataValidation.Type, DynamicFilter.Type, EffectContainer.Type, EffectDag.Type, Extrusion.Type, Field.Type, FieldListActiveTabTopLevelEntity.Type, Fill.Type, FillExtendedProperties.Type, GradientFill.Type, HeadEnd.Type, Iterate.Type, LeftBorder.Type, MajorTickMarksTickMarks.Type, Mapping.Type, MinorTickMarksTickMarks.Type, NumericDimension.Type, OEmbedShared.Type, OleChartElement.Type, Parameter.Type, PhoneticProperties.Type, PivotArea.Type, PivotFilter.Type, PlaceholderShape.Type, Point.Type, RightBorder.Type, Rule.Type, Shadow.Type, Shape.Type, SlicerStyleElement.Type, SlideLayout.Type, SlideSize.Type, SparklineGroup.Type, StringDimension.Type, StyleDisplayCategory.Type, TableStyleElement.Type, TailEnd.Type, TextField.Type, TextWrap.Type, TimelineStyleElement.Type, TopBorder.Type, Trace.Type, TriggerEventRecord.Type, VolatileType.Type, WebExtensionBinding.Type.
///
///
public static readonly XName type = "type";
@@ -21845,8 +21905,8 @@ public static class NoNamespace
///
/// As an XML attribute, it:
///
- /// - is contained in the following XML elements: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , .
- /// - corresponds to the following strongly-typed properties: Adjust.Val, Alpha.Val, AlphaModulation.Val, AlphaOffset.Val, AnimateOneByOne.Val, AnimationLevel.Val, ApplyToEnd.Val, ApplyToFront.Val, ApplyToSides.Val, AutoGeneneratedCategories.Val, AutoLabeled.Val, AutoTitleDeleted.Val, AutoUpdate.Val, AxisId.Val, AxisPosition.Val, Backward.Val, BarDirection.Val, BarGrouping.Val, BaseTimeUnit.Val, Blue.Val, BlueModulation.Val, BlueOffset.Val, Bold.Val, BooleanVariantValue.Val, Bubble3D.Val, BubbleScale.Val, BuiltInUnit.Val, BulletEnabled.Val, BulletSizePercentage.Val, BulletSizePoints.Val, Characteristic.Val, ChartObject.Val, ChartTrackingReferenceBased.Val, ColIdIdentifier.Val, ColorDefinitionTitle.Val, ColorTransformDescription.Val, Condense.Val, ConditionalFormatValueObject.Val, Constraint.Val, CreationId.Val, CrossBetween.Val, Crosses.Val, CrossesAt.Val, CrossingAxis.Val, CustomDisplayUnit.Val, CustomFilter.Val, Data.Val, DataId.Val, DataLabelPosition.Val, Date1904.Val, Decorative.Val, DefaultImageDpi.Val, Delete.Val, DepthPercent.Val, Description.Val, DiagramChooseIf.Val, Direction.Val, DiscardImageEditData.Val, DisplayBlanksAs.Val, DisplayEquation.Val, DisplayRSquaredValue.Val, DropZoneCategories.Val, DropZoneData.Val, DropZoneFilter.Val, DropZoneSeries.Val, DropZonesVisible.Val, DynamicFilter.Val, EditingLanguage.Val, ErrorBarType.Val, ErrorBarValue.Val, ErrorBarValueType.Val, ErrorDirection.Val, ExceptionForSave.Val, Explosion.Val, Extend.Val, Filter.Val, FirstSliceAngle.Val, FloatVariantValue.Val, FontCharSet.Val, FontFamily.Val, FontFamilyNumbering.Val, FontName.Val, FontScheme.Val, FontSize.Val, FormatId.Val, Formatting.Val, FormControlProperties.Val, Forward.Val, GapDepth.Val, GapWidth.Val, Green.Val, GreenModulation.Val, GreenOffset.Val, Grouping.Val, Height.Val, HeightMode.Val, HeightPercent.Val, HierarchyBranch.Val, HoleSize.Val, Hue.Val, HueModulation.Val, HueOffset.Val, HyperlinkColor.Val, Index.Val, InputCells.Val, InSketchMode.Val, IntegerVariantValue.Val, Intercept.Val, InvertIfNegative.Val, InvertIfNegativeBoolean.Val, IsCanvas.Val, Italic.Val, LabelAlignment.Val, LabelOffset.Val, LayoutTarget.Val, Left.Val, LeftMode.Val, LegendPosition.Val, ListItem.Val, LogBase.Val, Luminance.Val, LuminanceModulation.Val, LuminanceOffset.Val, MajorTickMark.Val, MajorTimeUnit.Val, MajorUnit.Val, MaxAxisValue.Val, MaxNumberOfChildren.Val, MinAxisValue.Val, MinorTickMark.Val, MinorTimeUnit.Val, MinorUnit.Val, ModificationId.Val, NoEndCap.Val, NoMultiLevelLabels.Val, OfPieType.Val, Order.Val, OrganizationChart.Val, Orientation.Val, Outline.Val, Overlap.Val, Overlay.Val, Parameter.Val, ParentLabelLayout.ParentLabelLayoutVal, Period.Val, Perspective.Val, PictureFormat.Val, PictureStackUnit.Val, PlotVisibleOnly.Val, PointCount.Val, PolynomialOrder.Val, PreferredNumberOfChildren.Val, PresetColor.Val, PresetDash.Val, RadarStyle.Val, RecolorImages.Val, Red.Val, RedModulation.Val, RedOffset.Val, ResizeHandles.Val, RgbColorModelHex.Val, RightAngleAxes.Val, RightToLeft.Val, RotateX.Val, RotateY.Val, RoundedCorners.Val, RowIdIdentifier.Val, Rule.Val, RunFont.Val, RunPropertyCharSet.Val, RuntimeNodeTrigger.Val, Saturation.Val, SaturationModulation.Val, SaturationOffset.Val, ScatterStyle.Val, SchemeColor.Val, SecondPiePoint.Val, SecondPieSize.Val, Selection.Val, Shade.Val, Shadow.Val, ShadowObscured.Val, Shape.Val, SheetId.Val, SheetName.Val, ShowBubbleSize.Val, ShowCategoryName.Val, ShowDataLabelsOverMaximum.Val, ShowDataLabelsRange.Val, ShowHorizontalBorder.Val, ShowKeys.Val, ShowLeaderLines.Val, ShowLegendKey.Val, ShowMarker.Val, ShowMediaControls.Val, ShowNegativeBubbles.Val, ShowOutlineBorder.Val, ShowPercent.Val, ShowSeriesName.Val, ShowSketchButton.Val, ShowValue.Val, ShowVerticalBorder.Val, Size.Val, SizeRepresents.Val, Smooth.Val, SpacingPercent.Val, SpacingPoints.Val, SplitPosition.Val, SplitType.Val, Strike.Val, StringVariantValue.Val, Style.Val, StyleColor.Val, StyleDefinitionTitle.Val, StyleLabelDescription.Val, Symbol.Val, SystemColor.Val, Tag.Val, Thickness.Val, TickLabelPosition.Val, TickLabelSkip.Val, TickMarkSkip.Val, TimeAbsolute.Val, TimeNode.Val, TimePercentage.Val, Tint.Val, Title.Val, Top.Val, Top10.Val, TopMode.Val, TrendlineType.Val, Underline.Val, UnsignedIntegerType.Val, UseLocalDpi.Val, UserInterface.Val, VaryColors.Val, VerticalTextAlignment.Val, Width.Val, WidthMode.Val, Wireframe.Val.
+ /// - is contained in the following XML elements: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , .
+ /// - corresponds to the following strongly-typed properties: Adjust.Val, Alpha.Val, AlphaModulation.Val, AlphaOffset.Val, AnimateOneByOne.Val, AnimationLevel.Val, ApplyToEnd.Val, ApplyToFront.Val, ApplyToSides.Val, AutoGeneneratedCategories.Val, AutoLabeled.Val, AutoTitleDeleted.Val, AutoUpdate.Val, AxisId.Val, AxisPosition.Val, Backward.Val, BarDirection.Val, BarGrouping.Val, BaseTimeUnit.Val, Blue.Val, BlueModulation.Val, BlueOffset.Val, Bold.Val, BooleanVariantValue.Val, Bubble3D.Val, BubbleScale.Val, BuiltInUnit.Val, BulletEnabled.Val, BulletSizePercentage.Val, BulletSizePoints.Val, Characteristic.Val, ChartObject.Val, ChartTrackingReferenceBased.Val, ColIdIdentifier.Val, ColorDefinitionTitle.Val, ColorTransformDescription.Val, Condense.Val, ConditionalFormatValueObject.Val, Constraint.Val, CreationId.Val, CrossBetween.Val, Crosses.Val, CrossesAt.Val, CrossingAxis.Val, CustomDisplayUnit.Val, CustomFilter.Val, Data.Val, DataId.Val, DataLabelPosition.Val, Date1904.Val, Decorative.Val, DefaultImageDpi.Val, Delete.Val, DepthPercent.Val, Description.Val, DiagramChooseIf.Val, Direction.Val, DiscardImageEditData.Val, DisplayBlanksAs.Val, DisplayEquation.Val, DisplayRSquaredValue.Val, DropZoneCategories.Val, DropZoneData.Val, DropZoneFilter.Val, DropZoneSeries.Val, DropZonesVisible.Val, DynamicFilter.Val, EditingLanguage.Val, ErrorBarType.Val, ErrorBarValue.Val, ErrorBarValueType.Val, ErrorDirection.Val, ExceptionForSave.Val, Explosion.Val, Extend.Val, Filter.Val, FirstSliceAngle.Val, FloatVariantValue.Val, FontCharSet.Val, FontFamily.Val, FontFamilyNumbering.Val, FontName.Val, FontScheme.Val, FontSize.Val, FormatId.Val, Formatting.Val, FormControlProperties.Val, Forward.Val, GapDepth.Val, GapWidth.Val, Green.Val, GreenModulation.Val, GreenOffset.Val, Grouping.Val, Height.Val, HeightMode.Val, HeightPercent.Val, HierarchyBranch.Val, HoleSize.Val, Hue.Val, HueModulation.Val, HueOffset.Val, HyperlinkColor.Val, Index.Val, InputCells.Val, InSketchMode.Val, IntegerVariantValue.Val, Intercept.Val, InvertIfNegative.Val, InvertIfNegativeBoolean.Val, IsCanvas.Val, Italic.Val, LabelAlignment.Val, LabelOffset.Val, LayoutTarget.Val, Left.Val, LeftMode.Val, LegendPosition.Val, ListItem.Val, LogBase.Val, Luminance.Val, LuminanceModulation.Val, LuminanceOffset.Val, MajorTickMark.Val, MajorTimeUnit.Val, MajorUnit.Val, MaxAxisValue.Val, MaxNumberOfChildren.Val, MinAxisValue.Val, MinorTickMark.Val, MinorTimeUnit.Val, MinorUnit.Val, ModificationId.Val, NoEndCap.Val, NoMultiLevelLabels.Val, OfPieType.Val, Order.Val, OrganizationChart.Val, Orientation.Val, Outline.Val, Overlap.Val, Overlay.Val, Parameter.Val, ParentLabelLayout.ParentLabelLayoutVal, Period.Val, Perspective.Val, PictureFormat.Val, PictureStackUnit.Val, PlotVisibleOnly.Val, PointCount.Val, PolynomialOrder.Val, PreferredNumberOfChildren.Val, PresetColor.Val, PresetDash.Val, RadarStyle.Val, RecolorImages.Val, Red.Val, RedModulation.Val, RedOffset.Val, ResizeHandles.Val, RgbColorModelHex.Val, RightAngleAxes.Val, RightToLeft.Val, RotateX.Val, RotateY.Val, RoundedCorners.Val, RowIdIdentifier.Val, Rule.Val, RunFont.Val, RunPropertyCharSet.Val, RuntimeNodeTrigger.Val, Saturation.Val, SaturationModulation.Val, SaturationOffset.Val, ScatterStyle.Val, SchemeColor.Val, ScriptLink.Val, SecondPiePoint.Val, SecondPieSize.Val, Selection.Val, Shade.Val, Shadow.Val, ShadowObscured.Val, Shape.Val, SheetId.Val, SheetName.Val, ShowBubbleSize.Val, ShowCategoryName.Val, ShowDataLabelsOverMaximum.Val, ShowDataLabelsRange.Val, ShowHorizontalBorder.Val, ShowKeys.Val, ShowLeaderLines.Val, ShowLegendKey.Val, ShowMarker.Val, ShowMediaControls.Val, ShowNegativeBubbles.Val, ShowOutlineBorder.Val, ShowPercent.Val, ShowSeriesName.Val, ShowSketchButton.Val, ShowValue.Val, ShowVerticalBorder.Val, Size.Val, SizeRepresents.Val, Smooth.Val, SpacingPercent.Val, SpacingPoints.Val, SplitPosition.Val, SplitType.Val, Strike.Val, StringVariantValue.Val, Style.Val, StyleColor.Val, StyleDefinitionTitle.Val, StyleLabelDescription.Val, Symbol.Val, SystemColor.Val, Tag.Val, Thickness.Val, TickLabelPosition.Val, TickLabelSkip.Val, TickMarkSkip.Val, TimeAbsolute.Val, TimeNode.Val, TimePercentage.Val, Tint.Val, Title.Val, Top.Val, Top10.Val, TopMode.Val, TrendlineType.Val, Underline.Val, UnsignedIntegerType.Val, UseLocalDpi.Val, UserInterface.Val, VaryColors.Val, VerticalTextAlignment.Val, Width.Val, WidthMode.Val, Wireframe.Val.
///
///
public static readonly XName val = "val";
diff --git a/src/DocumentFormat.OpenXml.Linq/GeneratedCode/WOE.g.cs b/src/DocumentFormat.OpenXml.Linq/GeneratedCode/WOE.g.cs
new file mode 100644
index 000000000..5fb30e29f
--- /dev/null
+++ b/src/DocumentFormat.OpenXml.Linq/GeneratedCode/WOE.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:woe="http://schemas.microsoft.com/office/word/2020/oembed" namespace.
+ ///
+ public static class WOE
+ {
+ ///
+ /// Defines the XML namespace associated with the woe prefix.
+ ///
+ public static readonly XNamespace woe = "http://schemas.microsoft.com/office/word/2020/oembed";
+
+ ///
+ /// Represents the woe:oembed 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: OEmbed.
+ ///
+ ///
+ public static readonly XName oembed = woe + "oembed";
+ }
+}
diff --git a/src/DocumentFormat.OpenXml.Linq/PublicAPI.Unshipped.txt b/src/DocumentFormat.OpenXml.Linq/PublicAPI.Unshipped.txt
index aa5a02b44..f070bae1c 100644
--- a/src/DocumentFormat.OpenXml.Linq/PublicAPI.Unshipped.txt
+++ b/src/DocumentFormat.OpenXml.Linq/PublicAPI.Unshipped.txt
@@ -4,10 +4,14 @@ DocumentFormat.OpenXml.Linq.A15
DocumentFormat.OpenXml.Linq.A16
DocumentFormat.OpenXml.Linq.A1611
DocumentFormat.OpenXml.Linq.AC
+DocumentFormat.OpenXml.Linq.ACLSH
DocumentFormat.OpenXml.Linq.ADEC
DocumentFormat.OpenXml.Linq.AHYP
+DocumentFormat.OpenXml.Linq.ALF
+DocumentFormat.OpenXml.Linq.AOE
DocumentFormat.OpenXml.Linq.AP
DocumentFormat.OpenXml.Linq.ASK
+DocumentFormat.OpenXml.Linq.ASL
DocumentFormat.OpenXml.Linq.ASVG
DocumentFormat.OpenXml.Linq.B
DocumentFormat.OpenXml.Linq.C
@@ -65,6 +69,7 @@ DocumentFormat.OpenXml.Linq.W16CUR
DocumentFormat.OpenXml.Linq.WE
DocumentFormat.OpenXml.Linq.WETP
DocumentFormat.OpenXml.Linq.WNE
+DocumentFormat.OpenXml.Linq.WOE
DocumentFormat.OpenXml.Linq.WP
DocumentFormat.OpenXml.Linq.WP14
DocumentFormat.OpenXml.Linq.WP15
@@ -488,10 +493,23 @@ static readonly DocumentFormat.OpenXml.Linq.MC.PreserveAttributes -> System.Xml.
~static readonly DocumentFormat.OpenXml.Linq.AC.ac -> System.Xml.Linq.XNamespace
~static readonly DocumentFormat.OpenXml.Linq.AC.additionalCharacteristics -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.AC.characteristic -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.ACLSH.aclsh -> System.Xml.Linq.XNamespace
+~static readonly DocumentFormat.OpenXml.Linq.ACLSH.classification -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.ADEC.adec -> System.Xml.Linq.XNamespace
~static readonly DocumentFormat.OpenXml.Linq.ADEC.decorative -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.AHYP.ahyp -> System.Xml.Linq.XNamespace
~static readonly DocumentFormat.OpenXml.Linq.AHYP.hlinkClr -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.ALF.alf -> System.Xml.Linq.XNamespace
+~static readonly DocumentFormat.OpenXml.Linq.ALF.backgroundProps -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.ALF.Blur -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.ALF.Custom -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.ALF.extLst -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.ALF.liveFeedProps -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.ALF.Normal -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.ALF.Removed -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.AOE.aoe -> System.Xml.Linq.XNamespace
+~static readonly DocumentFormat.OpenXml.Linq.AOE.extLst -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.AOE.oembedShared -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.AP.ap -> System.Xml.Linq.XNamespace
~static readonly DocumentFormat.OpenXml.Linq.AP.Application -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.AP.AppVersion -> System.Xml.Linq.XName
@@ -530,6 +548,9 @@ static readonly DocumentFormat.OpenXml.Linq.MC.PreserveAttributes -> System.Xml.
~static readonly DocumentFormat.OpenXml.Linq.ASK.lineSketchStyleProps -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.ASK.seed -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.ASK.type -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.ASL.asl -> System.Xml.Linq.XNamespace
+~static readonly DocumentFormat.OpenXml.Linq.ASL.extLst -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.ASL.scriptLink -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.ASVG.asvg -> System.Xml.Linq.XNamespace
~static readonly DocumentFormat.OpenXml.Linq.ASVG.svgBlip -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.B.AbbreviatedCaseNumber -> System.Xml.Linq.XName
@@ -1675,6 +1696,7 @@ static readonly DocumentFormat.OpenXml.Linq.MC.PreserveAttributes -> System.Xml.
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.chOrder -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.chromakey -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.class -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.classificationOutcomeType -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.clearAll -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.clearComments -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.clearContents -> System.Xml.Linq.XName
@@ -2460,6 +2482,7 @@ static readonly DocumentFormat.OpenXml.Linq.MC.PreserveAttributes -> System.Xml.
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.measureGroup -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.measures -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.measuresSet -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.mediaType -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.memberName -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.memberPropertyField -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.memberValueDatatype -> System.Xml.Linq.XName
@@ -2572,6 +2595,7 @@ static readonly DocumentFormat.OpenXml.Linq.MC.PreserveAttributes -> System.Xml.
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.obscured -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.odcFile -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.odxf -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.oEmbedUrl -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.offset -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.offset2 -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.old -> System.Xml.Linq.XName
@@ -2661,6 +2685,7 @@ static readonly DocumentFormat.OpenXml.Linq.MC.PreserveAttributes -> System.Xml.
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.phldr -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.phldrT -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.phonetic -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.picLocksAutoForOEmbed -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.pid -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.pitchFamily -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.pivot -> System.Xml.Linq.XName
@@ -3061,6 +3086,7 @@ static readonly DocumentFormat.OpenXml.Linq.MC.PreserveAttributes -> System.Xml.
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.src -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.srcId -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.srcOrd -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.srcUrl -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.st -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.stA -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.NoNamespace.stAng -> System.Xml.Linq.XName
@@ -4920,6 +4946,8 @@ static readonly DocumentFormat.OpenXml.Linq.MC.PreserveAttributes -> System.Xml.
~static readonly DocumentFormat.OpenXml.Linq.WNE.wch -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.WNE.wll -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.WNE.wne -> System.Xml.Linq.XNamespace
+~static readonly DocumentFormat.OpenXml.Linq.WOE.oembed -> System.Xml.Linq.XName
+~static readonly DocumentFormat.OpenXml.Linq.WOE.woe -> System.Xml.Linq.XNamespace
~static readonly DocumentFormat.OpenXml.Linq.WP.align -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.WP.anchor -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.WP.cNvGraphicFramePr -> System.Xml.Linq.XName
@@ -5732,4 +5760,4 @@ static readonly DocumentFormat.OpenXml.Linq.MC.PreserveAttributes -> System.Xml.
~static readonly DocumentFormat.OpenXml.Linq.XVML.VScroll -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.XVML.VTEdit -> System.Xml.Linq.XName
~static readonly DocumentFormat.OpenXml.Linq.XVML.WidthMin -> System.Xml.Linq.XName
-~static readonly DocumentFormat.OpenXml.Linq.XVML.xvml -> System.Xml.Linq.XNamespace
\ No newline at end of file
+~static readonly DocumentFormat.OpenXml.Linq.XVML.xvml -> System.Xml.Linq.XNamespace
diff --git a/src/DocumentFormat.OpenXml/FileFormatVersionExtensions.cs b/src/DocumentFormat.OpenXml/FileFormatVersionExtensions.cs
index 17866b711..bc06a29f7 100644
--- a/src/DocumentFormat.OpenXml/FileFormatVersionExtensions.cs
+++ b/src/DocumentFormat.OpenXml/FileFormatVersionExtensions.cs
@@ -16,6 +16,7 @@ internal static class FileFormatVersionExtensions
FileFormatVersions.Office2016,
FileFormatVersions.Office2019,
FileFormatVersions.Office2021,
+ FileFormatVersions.Microsoft365,
};
///
@@ -30,7 +31,8 @@ public static bool Any(this FileFormatVersions version)
|| version == FileFormatVersions.Office2013
|| version == FileFormatVersions.Office2016
|| version == FileFormatVersions.Office2019
- || version == FileFormatVersions.Office2021;
+ || version == FileFormatVersions.Office2021
+ || version == FileFormatVersions.Microsoft365;
}
///
@@ -46,7 +48,8 @@ public static bool All(this FileFormatVersions version)
| FileFormatVersions.Office2013
| FileFormatVersions.Office2016
| FileFormatVersions.Office2019
- | FileFormatVersions.Office2021;
+ | FileFormatVersions.Office2021
+ | FileFormatVersions.Microsoft365;
return version == AllVersions;
}
@@ -64,22 +67,29 @@ public static FileFormatVersions AndLater(this FileFormatVersions version)
| FileFormatVersions.Office2013
| FileFormatVersions.Office2016
| FileFormatVersions.Office2019
- | FileFormatVersions.Office2021,
+ | FileFormatVersions.Office2021
+ | FileFormatVersions.Microsoft365,
FileFormatVersions.Office2010 => FileFormatVersions.Office2010
| FileFormatVersions.Office2013
| FileFormatVersions.Office2016
| FileFormatVersions.Office2019
- | FileFormatVersions.Office2021,
+ | FileFormatVersions.Office2021
+ | FileFormatVersions.Microsoft365,
FileFormatVersions.Office2013 => FileFormatVersions.Office2013
| FileFormatVersions.Office2016
| FileFormatVersions.Office2019
- | FileFormatVersions.Office2021,
+ | FileFormatVersions.Office2021
+ | FileFormatVersions.Microsoft365,
FileFormatVersions.Office2016 => FileFormatVersions.Office2016
| FileFormatVersions.Office2019
- | FileFormatVersions.Office2021,
+ | FileFormatVersions.Office2021
+ | FileFormatVersions.Microsoft365,
FileFormatVersions.Office2019 => FileFormatVersions.Office2019
- | FileFormatVersions.Office2021,
- FileFormatVersions.Office2021 => FileFormatVersions.Office2021,
+ | FileFormatVersions.Office2021
+ | FileFormatVersions.Microsoft365,
+ FileFormatVersions.Office2021 => FileFormatVersions.Office2021
+ | FileFormatVersions.Microsoft365,
+ FileFormatVersions.Microsoft365 => FileFormatVersions.Microsoft365,
_ => throw new ArgumentOutOfRangeException(nameof(version)),
};
@@ -153,6 +163,11 @@ static int MapToInteger(FileFormatVersions v, string name)
return 6;
}
+ if ((FileFormatVersions.Microsoft365 & v) == FileFormatVersions.Microsoft365)
+ {
+ return 7;
+ }
+
throw new ArgumentOutOfRangeException(name);
}
diff --git a/src/DocumentFormat.OpenXml/FileFormatVersions.cs b/src/DocumentFormat.OpenXml/FileFormatVersions.cs
index ab0b52241..f99392258 100644
--- a/src/DocumentFormat.OpenXml/FileFormatVersions.cs
+++ b/src/DocumentFormat.OpenXml/FileFormatVersions.cs
@@ -45,5 +45,10 @@ public enum FileFormatVersions
/// Represents Microsoft Office 2021.
///
Office2021 = 0x20,
+
+ ///
+ /// Represents Microsoft 365.
+ ///
+ Microsoft365 = 0x40000000,
}
}
diff --git a/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_drawing_2021_livefeed.g.cs b/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_drawing_2021_livefeed.g.cs
new file mode 100644
index 000000000..3b504f8e2
--- /dev/null
+++ b/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_drawing_2021_livefeed.g.cs
@@ -0,0 +1,563 @@
+// 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.Drawing;
+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.Office2021.Drawing.Livefeed
+{
+ ///
+ /// Defines the BackgroundNormalProperties Class.
+ /// This class is available in Office 2021 and above.
+ /// When the object is serialized out as xml, it's qualified name is alf:Normal.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <alf:extLst>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("alf:Normal")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class BackgroundNormalProperties : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the BackgroundNormalProperties class.
+ ///
+ public BackgroundNormalProperties() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the BackgroundNormalProperties class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public BackgroundNormalProperties(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the BackgroundNormalProperties class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public BackgroundNormalProperties(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the BackgroundNormalProperties class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public BackgroundNormalProperties(string outerXml) : base(outerXml)
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("alf:Normal");
+ builder.Availability = FileFormatVersions.Office2021;
+ builder.AddChild();
+ builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.OfficeArtExtensionList), 0, 1, version: FileFormatVersions.Office2021)
+ };
+ }
+
+ ///
+ /// OfficeArtExtensionList.
+ /// Represents the following element tag in the schema: alf:extLst.
+ ///
+ ///
+ /// xmlns:alf = http://schemas.microsoft.com/office/drawing/2021/livefeed
+ ///
+ public DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.OfficeArtExtensionList? OfficeArtExtensionList
+ {
+ get => GetElement();
+ set => SetElement(value);
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the BackgroundRemovedProperties Class.
+ /// This class is available in Office 2021 and above.
+ /// When the object is serialized out as xml, it's qualified name is alf:Removed.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <alf:extLst>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("alf:Removed")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class BackgroundRemovedProperties : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the BackgroundRemovedProperties class.
+ ///
+ public BackgroundRemovedProperties() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the BackgroundRemovedProperties class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public BackgroundRemovedProperties(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the BackgroundRemovedProperties class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public BackgroundRemovedProperties(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the BackgroundRemovedProperties class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public BackgroundRemovedProperties(string outerXml) : base(outerXml)
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("alf:Removed");
+ builder.Availability = FileFormatVersions.Office2021;
+ builder.AddChild();
+ builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.OfficeArtExtensionList), 0, 1, version: FileFormatVersions.Office2021)
+ };
+ }
+
+ ///
+ /// OfficeArtExtensionList.
+ /// Represents the following element tag in the schema: alf:extLst.
+ ///
+ ///
+ /// xmlns:alf = http://schemas.microsoft.com/office/drawing/2021/livefeed
+ ///
+ public DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.OfficeArtExtensionList? OfficeArtExtensionList
+ {
+ get => GetElement();
+ set => SetElement(value);
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the BackgroundBlurProperties Class.
+ /// This class is available in Office 2021 and above.
+ /// When the object is serialized out as xml, it's qualified name is alf:Blur.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <alf:extLst>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("alf:Blur")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class BackgroundBlurProperties : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the BackgroundBlurProperties class.
+ ///
+ public BackgroundBlurProperties() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the BackgroundBlurProperties class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public BackgroundBlurProperties(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the BackgroundBlurProperties class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public BackgroundBlurProperties(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the BackgroundBlurProperties class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public BackgroundBlurProperties(string outerXml) : base(outerXml)
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("alf:Blur");
+ builder.Availability = FileFormatVersions.Office2021;
+ builder.AddChild();
+ builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.OfficeArtExtensionList), 0, 1, version: FileFormatVersions.Office2021)
+ };
+ }
+
+ ///
+ /// OfficeArtExtensionList.
+ /// Represents the following element tag in the schema: alf:extLst.
+ ///
+ ///
+ /// xmlns:alf = http://schemas.microsoft.com/office/drawing/2021/livefeed
+ ///
+ public DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.OfficeArtExtensionList? OfficeArtExtensionList
+ {
+ get => GetElement();
+ set => SetElement(value);
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the BackgroundCustomProperties Class.
+ /// This class is available in Office 2021 and above.
+ /// When the object is serialized out as xml, it's qualified name is alf:Custom.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <alf:extLst>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("alf:Custom")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class BackgroundCustomProperties : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the BackgroundCustomProperties class.
+ ///
+ public BackgroundCustomProperties() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the BackgroundCustomProperties class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public BackgroundCustomProperties(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the BackgroundCustomProperties class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public BackgroundCustomProperties(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the BackgroundCustomProperties class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public BackgroundCustomProperties(string outerXml) : base(outerXml)
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("alf:Custom");
+ builder.Availability = FileFormatVersions.Office2021;
+ builder.AddChild();
+ builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.OfficeArtExtensionList), 0, 1, version: FileFormatVersions.Office2021)
+ };
+ }
+
+ ///
+ /// OfficeArtExtensionList.
+ /// Represents the following element tag in the schema: alf:extLst.
+ ///
+ ///
+ /// xmlns:alf = http://schemas.microsoft.com/office/drawing/2021/livefeed
+ ///
+ public DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.OfficeArtExtensionList? OfficeArtExtensionList
+ {
+ get => GetElement();
+ set => SetElement(value);
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the LiveFeedProperties Class.
+ /// This class is available in Office 2021 and above.
+ /// When the object is serialized out as xml, it's qualified name is alf:liveFeedProps.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <alf:extLst>
+ /// - <alf:backgroundProps>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("alf:liveFeedProps")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class LiveFeedProperties : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the LiveFeedProperties class.
+ ///
+ public LiveFeedProperties() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the LiveFeedProperties class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public LiveFeedProperties(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the LiveFeedProperties class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public LiveFeedProperties(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the LiveFeedProperties class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public LiveFeedProperties(string outerXml) : base(outerXml)
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("alf:liveFeedProps");
+ builder.Availability = FileFormatVersions.Office2021;
+ builder.AddChild();
+ builder.AddChild();
+ builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.LiveFeedBackgroundProperties), 0, 1, version: FileFormatVersions.Office2021),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.OfficeArtExtensionList), 0, 1, version: FileFormatVersions.Office2021)
+ };
+ }
+
+ ///
+ /// LiveFeedBackgroundProperties.
+ /// Represents the following element tag in the schema: alf:backgroundProps.
+ ///
+ ///
+ /// xmlns:alf = http://schemas.microsoft.com/office/drawing/2021/livefeed
+ ///
+ public DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.LiveFeedBackgroundProperties? LiveFeedBackgroundProperties
+ {
+ get => GetElement();
+ set => SetElement(value);
+ }
+
+ ///
+ /// OfficeArtExtensionList.
+ /// Represents the following element tag in the schema: alf:extLst.
+ ///
+ ///
+ /// xmlns:alf = http://schemas.microsoft.com/office/drawing/2021/livefeed
+ ///
+ public DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.OfficeArtExtensionList? OfficeArtExtensionList
+ {
+ get => GetElement();
+ set => SetElement(value);
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the OfficeArtExtensionList Class.
+ /// This class is available in Office 2021 and above.
+ /// When the object is serialized out as xml, it's qualified name is alf:extLst.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <a:ext>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("alf:extLst")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class OfficeArtExtensionList : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the OfficeArtExtensionList class.
+ ///
+ public OfficeArtExtensionList() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the OfficeArtExtensionList class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public OfficeArtExtensionList(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the OfficeArtExtensionList class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public OfficeArtExtensionList(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the OfficeArtExtensionList class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public OfficeArtExtensionList(string outerXml) : base(outerXml)
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("alf:extLst");
+ builder.Availability = FileFormatVersions.Office2021;
+ builder.AddChild();
+ builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new CompositeParticle.Builder(ParticleType.Group, 1, 1)
+ {
+ new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Drawing.Extension), 0, 0)
+ }
+ }
+ };
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the LiveFeedBackgroundProperties Class.
+ /// This class is available in Office 2021 and above.
+ /// When the object is serialized out as xml, it's qualified name is alf:backgroundProps.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <alf:extLst>
+ /// - <alf:Blur>
+ /// - <alf:Custom>
+ /// - <alf:Normal>
+ /// - <alf:Removed>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("alf:backgroundProps")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class LiveFeedBackgroundProperties : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the LiveFeedBackgroundProperties class.
+ ///
+ public LiveFeedBackgroundProperties() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the LiveFeedBackgroundProperties class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public LiveFeedBackgroundProperties(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the LiveFeedBackgroundProperties class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public LiveFeedBackgroundProperties(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the LiveFeedBackgroundProperties class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public LiveFeedBackgroundProperties(string outerXml) : base(outerXml)
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("alf:backgroundProps");
+ builder.Availability = FileFormatVersions.Office2021;
+ builder.AddChild();
+ builder.AddChild();
+ builder.AddChild();
+ builder.AddChild();
+ builder.AddChild();
+ builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new CompositeParticle.Builder(ParticleType.Group, 0, 1, version: FileFormatVersions.Office2021)
+ {
+ new CompositeParticle.Builder(ParticleType.Choice, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.BackgroundNormalProperties), 0, 1, version: FileFormatVersions.Office2021),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.BackgroundRemovedProperties), 0, 1, version: FileFormatVersions.Office2021),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.BackgroundBlurProperties), 0, 1, version: FileFormatVersions.Office2021),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.BackgroundCustomProperties), 0, 1, version: FileFormatVersions.Office2021)
+ }
+ },
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Drawing.Livefeed.OfficeArtExtensionList), 0, 1, version: FileFormatVersions.Office2021)
+ };
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+}
\ No newline at end of file
diff --git a/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_drawing_2021_oembed.g.cs b/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_drawing_2021_oembed.g.cs
new file mode 100644
index 000000000..0f65c88c6
--- /dev/null
+++ b/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_drawing_2021_oembed.g.cs
@@ -0,0 +1,203 @@
+// 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.Drawing;
+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.Microsoft365.Drawing.OEmbed
+{
+ ///
+ /// Defines the OEmbedShared Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is aoe:oembedShared.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <aoe:extLst>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("aoe:oembedShared")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class OEmbedShared : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the OEmbedShared class.
+ ///
+ public OEmbedShared() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the OEmbedShared class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public OEmbedShared(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the OEmbedShared class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public OEmbedShared(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the OEmbedShared class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public OEmbedShared(string outerXml) : base(outerXml)
+ {
+ }
+
+ ///
+ /// srcUrl, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: srcUrl
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("srcUrl")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public StringValue? SrcUrl
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ ///
+ /// type, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: type
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("type")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public StringValue? Type
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("aoe:oembedShared");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ builder.AddChild();
+ builder.AddElement()
+.AddAttribute("srcUrl", a => a.SrcUrl, aBuilder =>
+{
+aBuilder.AddValidator(RequiredValidator.Instance);
+})
+.AddAttribute("type", a => a.Type, aBuilder =>
+{
+aBuilder.AddValidator(RequiredValidator.Instance);
+});
+ builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.Drawing.OEmbed.OfficeArtExtensionList), 0, 1, version: FileFormatVersions.Microsoft365)
+ };
+ }
+
+ ///
+ /// OfficeArtExtensionList.
+ /// Represents the following element tag in the schema: aoe:extLst.
+ ///
+ ///
+ /// xmlns:aoe = http://schemas.microsoft.com/office/drawing/2021/oembed
+ ///
+ public DocumentFormat.OpenXml.Microsoft365.Drawing.OEmbed.OfficeArtExtensionList? OfficeArtExtensionList
+ {
+ get => GetElement();
+ set => SetElement(value);
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the OfficeArtExtensionList Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is aoe:extLst.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <a:ext>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("aoe:extLst")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class OfficeArtExtensionList : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the OfficeArtExtensionList class.
+ ///
+ public OfficeArtExtensionList() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the OfficeArtExtensionList class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public OfficeArtExtensionList(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the OfficeArtExtensionList class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public OfficeArtExtensionList(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the OfficeArtExtensionList class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public OfficeArtExtensionList(string outerXml) : base(outerXml)
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("aoe:extLst");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ builder.AddChild();
+ builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new CompositeParticle.Builder(ParticleType.Group, 1, 1)
+ {
+ new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Drawing.Extension), 0, 0)
+ }
+ }
+ };
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+}
\ No newline at end of file
diff --git a/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_drawing_2021_scriptlink.g.cs b/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_drawing_2021_scriptlink.g.cs
new file mode 100644
index 000000000..15b011f56
--- /dev/null
+++ b/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_drawing_2021_scriptlink.g.cs
@@ -0,0 +1,180 @@
+// 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.Drawing;
+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.Microsoft365.Drawing.ScriptLink
+{
+ ///
+ /// Defines the ScriptLink Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is asl:scriptLink.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <asl:extLst>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("asl:scriptLink")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class ScriptLink : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the ScriptLink class.
+ ///
+ public ScriptLink() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the ScriptLink class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public ScriptLink(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the ScriptLink class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public ScriptLink(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the ScriptLink class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public ScriptLink(string outerXml) : base(outerXml)
+ {
+ }
+
+ ///
+ /// val, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: val
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("val")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public StringValue? Val
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("asl:scriptLink");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ builder.AddChild();
+ builder.AddElement()
+.AddAttribute("val", a => a.Val);
+ builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.Drawing.ScriptLink.OfficeArtExtensionList), 0, 1, version: FileFormatVersions.Microsoft365)
+ };
+ }
+
+ ///
+ /// OfficeArtExtensionList.
+ /// Represents the following element tag in the schema: asl:extLst.
+ ///
+ ///
+ /// xmlns:asl = http://schemas.microsoft.com/office/drawing/2021/scriptlink
+ ///
+ public DocumentFormat.OpenXml.Microsoft365.Drawing.ScriptLink.OfficeArtExtensionList? OfficeArtExtensionList
+ {
+ get => GetElement();
+ set => SetElement(value);
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the OfficeArtExtensionList Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is asl:extLst.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <a:ext>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("asl:extLst")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class OfficeArtExtensionList : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the OfficeArtExtensionList class.
+ ///
+ public OfficeArtExtensionList() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the OfficeArtExtensionList class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public OfficeArtExtensionList(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the OfficeArtExtensionList class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public OfficeArtExtensionList(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the OfficeArtExtensionList class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public OfficeArtExtensionList(string outerXml) : base(outerXml)
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("asl:extLst");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ builder.AddChild();
+ builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new CompositeParticle.Builder(ParticleType.Group, 1, 1)
+ {
+ new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Drawing.Extension), 0, 0)
+ }
+ }
+ };
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+}
\ No newline at end of file
diff --git a/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_powerpoint_2019_12_main.g.cs b/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_powerpoint_2019_12_main.g.cs
index 437ed6048..985151d8d 100644
--- a/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_powerpoint_2019_12_main.g.cs
+++ b/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_powerpoint_2019_12_main.g.cs
@@ -20,17 +20,17 @@ namespace DocumentFormat.OpenXml.Office2021.PowerPoint.Tasks
///
/// Defines the TaskHistoryDetails Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:taskHistoryDetails.
+ /// When the object is serialized out as xml, it's qualified name is p1912:taskHistoryDetails.
///
///
/// The following table lists the possible child types:
///
- /// - <ppt1912SchemaUri:extLst>
- /// - <ppt1912SchemaUri:history>
+ /// - <p1912:extLst>
+ /// - <p1912:history>
///
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:taskHistoryDetails")]
+ [SchemaAttr("p1912:taskHistoryDetails")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class TaskHistoryDetails : OpenXmlCompositeElement
{
@@ -84,7 +84,7 @@ public StringValue? Id
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:taskHistoryDetails");
+ builder.SetSchema("p1912:taskHistoryDetails");
builder.Availability = FileFormatVersions.Office2021;
builder.AddChild();
builder.AddChild();
@@ -103,10 +103,10 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// TaskHistory.
- /// Represents the following element tag in the schema: ppt1912SchemaUri:history.
+ /// Represents the following element tag in the schema: p1912:history.
///
///
- /// xmlns:ppt1912SchemaUri = http://schemas.microsoft.com/office/powerpoint/2019/12/main
+ /// xmlns:p1912 = http://schemas.microsoft.com/office/powerpoint/2019/12/main
///
public DocumentFormat.OpenXml.Office2021.PowerPoint.Tasks.TaskHistory? TaskHistory
{
@@ -116,10 +116,10 @@ public DocumentFormat.OpenXml.Office2021.PowerPoint.Tasks.TaskHistory? TaskHisto
///
/// ExtensionList.
- /// Represents the following element tag in the schema: ppt1912SchemaUri:extLst.
+ /// Represents the following element tag in the schema: p1912:extLst.
///
///
- /// xmlns:ppt1912SchemaUri = http://schemas.microsoft.com/office/powerpoint/2019/12/main
+ /// xmlns:p1912 = http://schemas.microsoft.com/office/powerpoint/2019/12/main
///
public DocumentFormat.OpenXml.Office2021.PowerPoint.Tasks.ExtensionList? ExtensionList
{
@@ -134,10 +134,10 @@ public DocumentFormat.OpenXml.Office2021.PowerPoint.Tasks.ExtensionList? Extensi
///
/// Defines the CommentAnchor Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:comment.
+ /// When the object is serialized out as xml, it's qualified name is p1912:comment.
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:comment")]
+ [SchemaAttr("p1912:comment")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class CommentAnchor : OpenXmlLeafElement
{
@@ -167,7 +167,7 @@ public StringValue? Id
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:comment");
+ builder.SetSchema("p1912:comment");
builder.Availability = FileFormatVersions.Office2021;
builder.AddElement()
.AddAttribute("id", a => a.Id, aBuilder =>
@@ -184,7 +184,7 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// Defines the ExtensionList Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:extLst.
+ /// When the object is serialized out as xml, it's qualified name is p1912:extLst.
///
///
/// The following table lists the possible child types:
@@ -193,7 +193,7 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:extLst")]
+ [SchemaAttr("p1912:extLst")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class ExtensionList : OpenXmlCompositeElement
{
@@ -231,7 +231,7 @@ public ExtensionList(string outerXml) : base(outerXml)
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:extLst");
+ builder.SetSchema("p1912:extLst");
builder.Availability = FileFormatVersions.Office2021;
builder.AddChild();
builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
@@ -253,10 +253,10 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// Defines the AtrbtnTaskAssignUnassignUser Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:atrbtn.
+ /// When the object is serialized out as xml, it's qualified name is p1912:atrbtn.
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:atrbtn")]
+ [SchemaAttr("p1912:atrbtn")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class AtrbtnTaskAssignUnassignUser : OpenXmlTaskAssignUnassignUserElement
{
@@ -270,7 +270,7 @@ public AtrbtnTaskAssignUnassignUser() : base()
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:atrbtn");
+ builder.SetSchema("p1912:atrbtn");
builder.Availability = FileFormatVersions.Office2021;
}
@@ -281,10 +281,10 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// Defines the AsgnTaskAssignUnassignUser Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:asgn.
+ /// When the object is serialized out as xml, it's qualified name is p1912:asgn.
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:asgn")]
+ [SchemaAttr("p1912:asgn")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class AsgnTaskAssignUnassignUser : OpenXmlTaskAssignUnassignUserElement
{
@@ -298,7 +298,7 @@ public AsgnTaskAssignUnassignUser() : base()
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:asgn");
+ builder.SetSchema("p1912:asgn");
builder.Availability = FileFormatVersions.Office2021;
}
@@ -309,10 +309,10 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// Defines the UnAsgnTaskAssignUnassignUser Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:unAsgn.
+ /// When the object is serialized out as xml, it's qualified name is p1912:unAsgn.
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:unAsgn")]
+ [SchemaAttr("p1912:unAsgn")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class UnAsgnTaskAssignUnassignUser : OpenXmlTaskAssignUnassignUserElement
{
@@ -326,7 +326,7 @@ public UnAsgnTaskAssignUnassignUser() : base()
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:unAsgn");
+ builder.SetSchema("p1912:unAsgn");
builder.Availability = FileFormatVersions.Office2021;
}
@@ -379,17 +379,17 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// Defines the TaskAnchor Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:anchr.
+ /// When the object is serialized out as xml, it's qualified name is p1912:anchr.
///
///
/// The following table lists the possible child types:
///
- /// - <ppt1912SchemaUri:extLst>
- /// - <ppt1912SchemaUri:comment>
+ /// - <p1912:extLst>
+ /// - <p1912:comment>
///
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:anchr")]
+ [SchemaAttr("p1912:anchr")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class TaskAnchor : OpenXmlCompositeElement
{
@@ -427,7 +427,7 @@ public TaskAnchor(string outerXml) : base(outerXml)
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:anchr");
+ builder.SetSchema("p1912:anchr");
builder.Availability = FileFormatVersions.Office2021;
builder.AddChild();
builder.AddChild();
@@ -440,10 +440,10 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// CommentAnchor.
- /// Represents the following element tag in the schema: ppt1912SchemaUri:comment.
+ /// Represents the following element tag in the schema: p1912:comment.
///
///
- /// xmlns:ppt1912SchemaUri = http://schemas.microsoft.com/office/powerpoint/2019/12/main
+ /// xmlns:p1912 = http://schemas.microsoft.com/office/powerpoint/2019/12/main
///
public DocumentFormat.OpenXml.Office2021.PowerPoint.Tasks.CommentAnchor? CommentAnchor
{
@@ -453,10 +453,10 @@ public DocumentFormat.OpenXml.Office2021.PowerPoint.Tasks.CommentAnchor? Comment
///
/// ExtensionList.
- /// Represents the following element tag in the schema: ppt1912SchemaUri:extLst.
+ /// Represents the following element tag in the schema: p1912:extLst.
///
///
- /// xmlns:ppt1912SchemaUri = http://schemas.microsoft.com/office/powerpoint/2019/12/main
+ /// xmlns:p1912 = http://schemas.microsoft.com/office/powerpoint/2019/12/main
///
public DocumentFormat.OpenXml.Office2021.PowerPoint.Tasks.ExtensionList? ExtensionList
{
@@ -471,10 +471,10 @@ public DocumentFormat.OpenXml.Office2021.PowerPoint.Tasks.ExtensionList? Extensi
///
/// Defines the AddEmpty Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:add.
+ /// When the object is serialized out as xml, it's qualified name is p1912:add.
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:add")]
+ [SchemaAttr("p1912:add")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class AddEmpty : EmptyType
{
@@ -488,7 +488,7 @@ public AddEmpty() : base()
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:add");
+ builder.SetSchema("p1912:add");
builder.Availability = FileFormatVersions.Office2021;
}
@@ -499,10 +499,10 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// Defines the UnasgnAllEmpty Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:unasgnAll.
+ /// When the object is serialized out as xml, it's qualified name is p1912:unasgnAll.
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:unasgnAll")]
+ [SchemaAttr("p1912:unasgnAll")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class UnasgnAllEmpty : EmptyType
{
@@ -516,7 +516,7 @@ public UnasgnAllEmpty() : base()
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:unasgnAll");
+ builder.SetSchema("p1912:unasgnAll");
builder.Availability = FileFormatVersions.Office2021;
}
@@ -547,10 +547,10 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// Defines the TaskTitleEventInfo Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:title.
+ /// When the object is serialized out as xml, it's qualified name is p1912:title.
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:title")]
+ [SchemaAttr("p1912:title")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class TaskTitleEventInfo : OpenXmlLeafElement
{
@@ -580,7 +580,7 @@ public StringValue? Val
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:title");
+ builder.SetSchema("p1912:title");
builder.Availability = FileFormatVersions.Office2021;
builder.AddElement()
.AddAttribute("val", a => a.Val, aBuilder =>
@@ -596,10 +596,10 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// Defines the TaskScheduleEventInfo Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:date.
+ /// When the object is serialized out as xml, it's qualified name is p1912:date.
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:date")]
+ [SchemaAttr("p1912:date")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class TaskScheduleEventInfo : OpenXmlLeafElement
{
@@ -645,7 +645,7 @@ public DateTimeValue? EndDt
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:date");
+ builder.SetSchema("p1912:date");
builder.Availability = FileFormatVersions.Office2021;
builder.AddElement()
.AddAttribute("stDt", a => a.StDt)
@@ -659,10 +659,10 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// Defines the TaskProgressEventInfo Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:pcntCmplt.
+ /// When the object is serialized out as xml, it's qualified name is p1912:pcntCmplt.
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:pcntCmplt")]
+ [SchemaAttr("p1912:pcntCmplt")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class TaskProgressEventInfo : OpenXmlLeafElement
{
@@ -692,7 +692,7 @@ public Int32Value? Val
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:pcntCmplt");
+ builder.SetSchema("p1912:pcntCmplt");
builder.Availability = FileFormatVersions.Office2021;
builder.AddElement()
.AddAttribute("val", a => a.Val, aBuilder =>
@@ -709,10 +709,10 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// Defines the TaskPriorityRecord Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:pri.
+ /// When the object is serialized out as xml, it's qualified name is p1912:pri.
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:pri")]
+ [SchemaAttr("p1912:pri")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class TaskPriorityRecord : OpenXmlLeafElement
{
@@ -742,7 +742,7 @@ public Int32Value? Val
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:pri");
+ builder.SetSchema("p1912:pri");
builder.Availability = FileFormatVersions.Office2021;
builder.AddElement()
.AddAttribute("val", a => a.Val, aBuilder =>
@@ -759,10 +759,10 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// Defines the TaskUndo Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:undo.
+ /// When the object is serialized out as xml, it's qualified name is p1912:undo.
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:undo")]
+ [SchemaAttr("p1912:undo")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class TaskUndo : OpenXmlLeafElement
{
@@ -792,7 +792,7 @@ public StringValue? Id
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:undo");
+ builder.SetSchema("p1912:undo");
builder.Availability = FileFormatVersions.Office2021;
builder.AddElement()
.AddAttribute("id", a => a.Id, aBuilder =>
@@ -809,10 +809,10 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// Defines the TaskUnknownRecord Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:unknown.
+ /// When the object is serialized out as xml, it's qualified name is p1912:unknown.
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:unknown")]
+ [SchemaAttr("p1912:unknown")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class TaskUnknownRecord : OpenXmlLeafElement
{
@@ -826,7 +826,7 @@ public TaskUnknownRecord() : base()
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:unknown");
+ builder.SetSchema("p1912:unknown");
builder.Availability = FileFormatVersions.Office2021;
}
@@ -837,28 +837,28 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// Defines the TaskHistoryEvent Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:event.
+ /// When the object is serialized out as xml, it's qualified name is p1912:event.
///
///
/// The following table lists the possible child types:
///
- /// - <ppt1912SchemaUri:add>
- /// - <ppt1912SchemaUri:unasgnAll>
- /// - <ppt1912SchemaUri:extLst>
- /// - <ppt1912SchemaUri:anchr>
- /// - <ppt1912SchemaUri:atrbtn>
- /// - <ppt1912SchemaUri:asgn>
- /// - <ppt1912SchemaUri:unAsgn>
- /// - <ppt1912SchemaUri:pri>
- /// - <ppt1912SchemaUri:pcntCmplt>
- /// - <ppt1912SchemaUri:date>
- /// - <ppt1912SchemaUri:title>
- /// - <ppt1912SchemaUri:undo>
- /// - <ppt1912SchemaUri:unknown>
+ /// - <p1912:add>
+ /// - <p1912:unasgnAll>
+ /// - <p1912:extLst>
+ /// - <p1912:anchr>
+ /// - <p1912:atrbtn>
+ /// - <p1912:asgn>
+ /// - <p1912:unAsgn>
+ /// - <p1912:pri>
+ /// - <p1912:pcntCmplt>
+ /// - <p1912:date>
+ /// - <p1912:title>
+ /// - <p1912:undo>
+ /// - <p1912:unknown>
///
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:event")]
+ [SchemaAttr("p1912:event")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class TaskHistoryEvent : OpenXmlCompositeElement
{
@@ -928,7 +928,7 @@ public StringValue? Id
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:event");
+ builder.SetSchema("p1912:event");
builder.Availability = FileFormatVersions.Office2021;
builder.AddChild();
builder.AddChild();
@@ -976,10 +976,10 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// AtrbtnTaskAssignUnassignUser.
- /// Represents the following element tag in the schema: ppt1912SchemaUri:atrbtn.
+ /// Represents the following element tag in the schema: p1912:atrbtn.
///
///
- /// xmlns:ppt1912SchemaUri = http://schemas.microsoft.com/office/powerpoint/2019/12/main
+ /// xmlns:p1912 = http://schemas.microsoft.com/office/powerpoint/2019/12/main
///
public DocumentFormat.OpenXml.Office2021.PowerPoint.Tasks.AtrbtnTaskAssignUnassignUser? AtrbtnTaskAssignUnassignUser
{
@@ -989,10 +989,10 @@ public DocumentFormat.OpenXml.Office2021.PowerPoint.Tasks.AtrbtnTaskAssignUnassi
///
/// TaskAnchor.
- /// Represents the following element tag in the schema: ppt1912SchemaUri:anchr.
+ /// Represents the following element tag in the schema: p1912:anchr.
///
///
- /// xmlns:ppt1912SchemaUri = http://schemas.microsoft.com/office/powerpoint/2019/12/main
+ /// xmlns:p1912 = http://schemas.microsoft.com/office/powerpoint/2019/12/main
///
public DocumentFormat.OpenXml.Office2021.PowerPoint.Tasks.TaskAnchor? TaskAnchor
{
@@ -1007,16 +1007,16 @@ public DocumentFormat.OpenXml.Office2021.PowerPoint.Tasks.TaskAnchor? TaskAnchor
///
/// Defines the TaskHistory Class.
/// This class is available in Office 2021 and above.
- /// When the object is serialized out as xml, it's qualified name is ppt1912SchemaUri:history.
+ /// When the object is serialized out as xml, it's qualified name is p1912:history.
///
///
/// The following table lists the possible child types:
///
- /// - <ppt1912SchemaUri:event>
+ /// - <p1912:event>
///
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("ppt1912SchemaUri:history")]
+ [SchemaAttr("p1912:history")]
#pragma warning restore CS0618 // Type or member is obsolete
public partial class TaskHistory : OpenXmlCompositeElement
{
@@ -1054,7 +1054,7 @@ public TaskHistory(string outerXml) : base(outerXml)
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("ppt1912SchemaUri:history");
+ builder.SetSchema("p1912:history");
builder.Availability = FileFormatVersions.Office2021;
builder.AddChild();
builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
diff --git a/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_powerpoint_2021_06_main.g.cs b/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_powerpoint_2021_06_main.g.cs
new file mode 100644
index 000000000..cdf94dd12
--- /dev/null
+++ b/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_powerpoint_2021_06_main.g.cs
@@ -0,0 +1,1069 @@
+// 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.Drawing;
+using DocumentFormat.OpenXml.Framework;
+using DocumentFormat.OpenXml.Framework.Metadata;
+using DocumentFormat.OpenXml.Office2021.PowerPoint.Comment;
+using DocumentFormat.OpenXml.Packaging;
+using DocumentFormat.OpenXml.Presentation;
+using DocumentFormat.OpenXml.Validation.Schema;
+using System;
+using System.Collections.Generic;
+using System.IO.Packaging;
+
+namespace DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks
+{
+ ///
+ /// Defines the TaskHistoryDetails Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:taskHistoryDetails.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <p216:extLst>
+ /// - <p216:history>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:taskHistoryDetails")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class TaskHistoryDetails : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the TaskHistoryDetails class.
+ ///
+ public TaskHistoryDetails() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the TaskHistoryDetails class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public TaskHistoryDetails(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the TaskHistoryDetails class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public TaskHistoryDetails(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the TaskHistoryDetails class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public TaskHistoryDetails(string outerXml) : base(outerXml)
+ {
+ }
+
+ ///
+ /// id, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: id
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("id")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public StringValue? Id
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:taskHistoryDetails");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ builder.AddChild();
+ builder.AddChild();
+ builder.AddElement()
+.AddAttribute("id", a => a.Id, aBuilder =>
+{
+aBuilder.AddValidator(RequiredValidator.Instance);
+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.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.TaskHistory), 1, 1, version: FileFormatVersions.Microsoft365),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.ExtensionList), 0, 1, version: FileFormatVersions.Microsoft365)
+ };
+ }
+
+ ///
+ /// TaskHistory.
+ /// Represents the following element tag in the schema: p216:history.
+ ///
+ ///
+ /// xmlns:p216 = http://schemas.microsoft.com/office/powerpoint/2021/06/main
+ ///
+ public DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.TaskHistory? TaskHistory
+ {
+ get => GetElement();
+ set => SetElement(value);
+ }
+
+ ///
+ /// ExtensionList.
+ /// Represents the following element tag in the schema: p216:extLst.
+ ///
+ ///
+ /// xmlns:p216 = http://schemas.microsoft.com/office/powerpoint/2021/06/main
+ ///
+ public DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.ExtensionList? ExtensionList
+ {
+ get => GetElement();
+ set => SetElement(value);
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the CommentAnchor Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:comment.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:comment")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class CommentAnchor : OpenXmlLeafElement
+ {
+ ///
+ /// Initializes a new instance of the CommentAnchor class.
+ ///
+ public CommentAnchor() : base()
+ {
+ }
+
+ ///
+ /// id, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: id
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("id")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public StringValue? Id
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:comment");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ builder.AddElement()
+.AddAttribute("id", a => a.Id, aBuilder =>
+{
+aBuilder.AddValidator(RequiredValidator.Instance);
+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}\\}") });
+});
+ }
+
+ ///
+ 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 p216:extLst.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <p:ext>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:extLst")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ 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("p216: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.Presentation.Extension), 0, 0)
+ }
+ }
+ };
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the AtrbtnTaskAssignUnassignUser Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:atrbtn.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:atrbtn")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class AtrbtnTaskAssignUnassignUser : OpenXmlTaskAssignUnassignUserElement
+ {
+ ///
+ /// Initializes a new instance of the AtrbtnTaskAssignUnassignUser class.
+ ///
+ public AtrbtnTaskAssignUnassignUser() : base()
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:atrbtn");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the AsgnTaskAssignUnassignUser Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:asgn.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:asgn")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class AsgnTaskAssignUnassignUser : OpenXmlTaskAssignUnassignUserElement
+ {
+ ///
+ /// Initializes a new instance of the AsgnTaskAssignUnassignUser class.
+ ///
+ public AsgnTaskAssignUnassignUser() : base()
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:asgn");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the UnAsgnTaskAssignUnassignUser Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:unAsgn.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:unAsgn")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class UnAsgnTaskAssignUnassignUser : OpenXmlTaskAssignUnassignUserElement
+ {
+ ///
+ /// Initializes a new instance of the UnAsgnTaskAssignUnassignUser class.
+ ///
+ public UnAsgnTaskAssignUnassignUser() : base()
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:unAsgn");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the OpenXmlTaskAssignUnassignUserElement Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is :.
+ ///
+ public abstract partial class OpenXmlTaskAssignUnassignUserElement : OpenXmlLeafElement
+ {
+ ///
+ /// Initializes a new instance of the OpenXmlTaskAssignUnassignUserElement class.
+ ///
+ protected OpenXmlTaskAssignUnassignUserElement() : base()
+ {
+ }
+
+ ///
+ /// authorId, this property is only available in Office 2021 and later.
+ /// Represents the following attribute in the schema: authorId
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("authorId")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public StringValue? AuthorId
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.AddElement()
+ .AddAttribute("authorId", a => a.AuthorId, aBuilder =>
+ {
+ aBuilder.AddValidator(RequiredValidator.Instance);
+ aBuilder.AddValidator(new StringValidator() { IsToken = (true) });
+ });
+ }
+ }
+
+ ///
+ /// Defines the TaskAnchor Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:anchr.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <p216:extLst>
+ /// - <p216:comment>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:anchr")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class TaskAnchor : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the TaskAnchor class.
+ ///
+ public TaskAnchor() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the TaskAnchor class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public TaskAnchor(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the TaskAnchor class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public TaskAnchor(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the TaskAnchor class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public TaskAnchor(string outerXml) : base(outerXml)
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:anchr");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ builder.AddChild();
+ builder.AddChild();
+ builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.CommentAnchor), 1, 1, version: FileFormatVersions.Microsoft365),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.ExtensionList), 0, 1, version: FileFormatVersions.Microsoft365)
+ };
+ }
+
+ ///
+ /// CommentAnchor.
+ /// Represents the following element tag in the schema: p216:comment.
+ ///
+ ///
+ /// xmlns:p216 = http://schemas.microsoft.com/office/powerpoint/2021/06/main
+ ///
+ public DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.CommentAnchor? CommentAnchor
+ {
+ get => GetElement();
+ set => SetElement(value);
+ }
+
+ ///
+ /// ExtensionList.
+ /// Represents the following element tag in the schema: p216:extLst.
+ ///
+ ///
+ /// xmlns:p216 = http://schemas.microsoft.com/office/powerpoint/2021/06/main
+ ///
+ public DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.ExtensionList? ExtensionList
+ {
+ get => GetElement();
+ set => SetElement(value);
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the AddEmpty Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:add.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:add")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class AddEmpty : EmptyType
+ {
+ ///
+ /// Initializes a new instance of the AddEmpty class.
+ ///
+ public AddEmpty() : base()
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:add");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the UnasgnAllEmpty Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:unasgnAll.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:unasgnAll")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class UnasgnAllEmpty : EmptyType
+ {
+ ///
+ /// Initializes a new instance of the UnasgnAllEmpty class.
+ ///
+ public UnasgnAllEmpty() : base()
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:unasgnAll");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the EmptyType Class.
+ /// This class is available in Office 2007 and above.
+ /// When the object is serialized out as xml, it's qualified name is :.
+ ///
+ public abstract partial class EmptyType : OpenXmlLeafElement
+ {
+ ///
+ /// Initializes a new instance of the EmptyType class.
+ ///
+ protected EmptyType() : base()
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ }
+ }
+
+ ///
+ /// Defines the TaskTitleEventInfo Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:title.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:title")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class TaskTitleEventInfo : OpenXmlLeafElement
+ {
+ ///
+ /// Initializes a new instance of the TaskTitleEventInfo class.
+ ///
+ public TaskTitleEventInfo() : base()
+ {
+ }
+
+ ///
+ /// val, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: val
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("val")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public StringValue? Val
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:title");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ builder.AddElement()
+.AddAttribute("val", a => a.Val, aBuilder =>
+{
+aBuilder.AddValidator(RequiredValidator.Instance);
+});
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the TaskScheduleEventInfo Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:date.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:date")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class TaskScheduleEventInfo : OpenXmlLeafElement
+ {
+ ///
+ /// Initializes a new instance of the TaskScheduleEventInfo class.
+ ///
+ public TaskScheduleEventInfo() : base()
+ {
+ }
+
+ ///
+ /// stDt, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: stDt
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("stDt")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public DateTimeValue? StDt
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ ///
+ /// endDt, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: endDt
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("endDt")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public DateTimeValue? EndDt
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:date");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ builder.AddElement()
+.AddAttribute("stDt", a => a.StDt)
+.AddAttribute("endDt", a => a.EndDt);
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the TaskProgressEventInfo Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:pcntCmplt.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:pcntCmplt")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class TaskProgressEventInfo : OpenXmlLeafElement
+ {
+ ///
+ /// Initializes a new instance of the TaskProgressEventInfo class.
+ ///
+ public TaskProgressEventInfo() : base()
+ {
+ }
+
+ ///
+ /// val, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: val
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("val")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public Int32Value? Val
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:pcntCmplt");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ builder.AddElement()
+.AddAttribute("val", a => a.Val, aBuilder =>
+{
+aBuilder.AddValidator(RequiredValidator.Instance);
+aBuilder.AddValidator(new NumberValidator() { MinInclusive = (0L), MaxInclusive = (100000L) });
+});
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the TaskPriorityRecord Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:pri.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:pri")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class TaskPriorityRecord : OpenXmlLeafElement
+ {
+ ///
+ /// Initializes a new instance of the TaskPriorityRecord class.
+ ///
+ public TaskPriorityRecord() : base()
+ {
+ }
+
+ ///
+ /// val, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: val
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("val")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public Int32Value? Val
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:pri");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ builder.AddElement()
+.AddAttribute("val", a => a.Val, aBuilder =>
+{
+aBuilder.AddValidator(RequiredValidator.Instance);
+aBuilder.AddValidator(new NumberValidator() { MinInclusive = (0L), MaxInclusive = (10L) });
+});
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the TaskUndo Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:undo.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:undo")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class TaskUndo : OpenXmlLeafElement
+ {
+ ///
+ /// Initializes a new instance of the TaskUndo class.
+ ///
+ public TaskUndo() : base()
+ {
+ }
+
+ ///
+ /// id, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: id
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("id")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public StringValue? Id
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:undo");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ builder.AddElement()
+.AddAttribute("id", a => a.Id, aBuilder =>
+{
+aBuilder.AddValidator(RequiredValidator.Instance);
+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}\\}") });
+});
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the TaskUnknownRecord Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:unknown.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:unknown")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class TaskUnknownRecord : OpenXmlLeafElement
+ {
+ ///
+ /// Initializes a new instance of the TaskUnknownRecord class.
+ ///
+ public TaskUnknownRecord() : base()
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:unknown");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the TaskHistoryEvent Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:event.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <p216:add>
+ /// - <p216:unasgnAll>
+ /// - <p216:extLst>
+ /// - <p216:anchr>
+ /// - <p216:atrbtn>
+ /// - <p216:asgn>
+ /// - <p216:unAsgn>
+ /// - <p216:pri>
+ /// - <p216:pcntCmplt>
+ /// - <p216:date>
+ /// - <p216:title>
+ /// - <p216:undo>
+ /// - <p216:unknown>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:event")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class TaskHistoryEvent : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the TaskHistoryEvent class.
+ ///
+ public TaskHistoryEvent() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the TaskHistoryEvent class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public TaskHistoryEvent(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the TaskHistoryEvent class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public TaskHistoryEvent(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the TaskHistoryEvent class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public TaskHistoryEvent(string outerXml) : base(outerXml)
+ {
+ }
+
+ ///
+ /// time, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: time
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("time")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public DateTimeValue? Time
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ ///
+ /// id, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: id
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("id")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public StringValue? Id
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:event");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ 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.AddChild();
+ builder.AddElement()
+.AddAttribute("time", a => a.Time, aBuilder =>
+{
+aBuilder.AddValidator(RequiredValidator.Instance);
+})
+.AddAttribute("id", a => a.Id, aBuilder =>
+{
+aBuilder.AddValidator(RequiredValidator.Instance);
+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.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.AtrbtnTaskAssignUnassignUser), 1, 1, version: FileFormatVersions.Microsoft365),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.TaskAnchor), 0, 1, version: FileFormatVersions.Microsoft365),
+ new CompositeParticle.Builder(ParticleType.Choice, 0, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.AsgnTaskAssignUnassignUser), 1, 1, version: FileFormatVersions.Microsoft365),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.UnAsgnTaskAssignUnassignUser), 1, 1, version: FileFormatVersions.Microsoft365),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.AddEmpty), 0, 1, version: FileFormatVersions.Microsoft365),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.TaskTitleEventInfo), 1, 1, version: FileFormatVersions.Microsoft365),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.TaskScheduleEventInfo), 1, 1, version: FileFormatVersions.Microsoft365),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.TaskProgressEventInfo), 1, 1, version: FileFormatVersions.Microsoft365),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.TaskPriorityRecord), 1, 1, version: FileFormatVersions.Microsoft365),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.UnasgnAllEmpty), 0, 1, version: FileFormatVersions.Microsoft365),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.TaskUndo), 1, 1, version: FileFormatVersions.Microsoft365),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.TaskUnknownRecord), 1, 1, version: FileFormatVersions.Microsoft365)
+ },
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.ExtensionList), 0, 1, version: FileFormatVersions.Microsoft365)
+ };
+ }
+
+ ///
+ /// AtrbtnTaskAssignUnassignUser.
+ /// Represents the following element tag in the schema: p216:atrbtn.
+ ///
+ ///
+ /// xmlns:p216 = http://schemas.microsoft.com/office/powerpoint/2021/06/main
+ ///
+ public DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.AtrbtnTaskAssignUnassignUser? AtrbtnTaskAssignUnassignUser
+ {
+ get => GetElement();
+ set => SetElement(value);
+ }
+
+ ///
+ /// TaskAnchor.
+ /// Represents the following element tag in the schema: p216:anchr.
+ ///
+ ///
+ /// xmlns:p216 = http://schemas.microsoft.com/office/powerpoint/2021/06/main
+ ///
+ public DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.TaskAnchor? TaskAnchor
+ {
+ get => GetElement();
+ set => SetElement(value);
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the TaskHistory Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is p216:history.
+ ///
+ ///
+ /// The following table lists the possible child types:
+ ///
+ /// - <p216:event>
+ ///
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("p216:history")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class TaskHistory : OpenXmlCompositeElement
+ {
+ ///
+ /// Initializes a new instance of the TaskHistory class.
+ ///
+ public TaskHistory() : base()
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the TaskHistory class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public TaskHistory(IEnumerable childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the TaskHistory class with the specified child elements.
+ ///
+ /// Specifies the child elements.
+ public TaskHistory(params OpenXmlElement[] childElements) : base(childElements)
+ {
+ }
+
+ ///
+ /// Initializes a new instance of the TaskHistory class from outer XML.
+ ///
+ /// Specifies the outer XML of the element.
+ public TaskHistory(string outerXml) : base(outerXml)
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("p216:history");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ builder.AddChild();
+ builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.PowerPoint.Tasks.TaskHistoryEvent), 0, 0, version: FileFormatVersions.Microsoft365)
+ };
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+}
\ No newline at end of file
diff --git a/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_word_2020_oembed.g.cs b/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_word_2020_oembed.g.cs
new file mode 100644
index 000000000..6fbf15d68
--- /dev/null
+++ b/src/DocumentFormat.OpenXml/GeneratedCode/schemas_microsoft_com_office_word_2020_oembed.g.cs
@@ -0,0 +1,102 @@
+// 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.Microsoft365.Word.OEmbed
+{
+ ///
+ /// Defines the OEmbed Class.
+ /// This class is available in Microsoft365 and above.
+ /// When the object is serialized out as xml, it's qualified name is woe:oembed.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("woe:oembed")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class OEmbed : OpenXmlLeafElement
+ {
+ ///
+ /// Initializes a new instance of the OEmbed class.
+ ///
+ public OEmbed() : base()
+ {
+ }
+
+ ///
+ /// oEmbedUrl, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: oEmbedUrl
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("oEmbedUrl")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public StringValue? OEmbedUrl
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ ///
+ /// mediaType, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: mediaType
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("mediaType")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public StringValue? MediaType
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ ///
+ /// picLocksAutoForOEmbed, this property is only available in Microsoft365 and later.
+ /// Represents the following attribute in the schema: picLocksAutoForOEmbed
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("picLocksAutoForOEmbed")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public BooleanValue? PicLocksAutoForOEmbed
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("woe:oembed");
+ builder.Availability = FileFormatVersions.Microsoft365;
+ builder.AddElement()
+.AddAttribute("oEmbedUrl", a => a.OEmbedUrl, aBuilder =>
+{
+aBuilder.AddValidator(RequiredValidator.Instance);
+})
+.AddAttribute("mediaType", a => a.MediaType, aBuilder =>
+{
+aBuilder.AddValidator(RequiredValidator.Instance);
+})
+.AddAttribute("picLocksAutoForOEmbed", a => a.PicLocksAutoForOEmbed);
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+}
\ No newline at end of file
diff --git a/src/DocumentFormat.OpenXml/GeneratedCode/schemas_openxmlformats_org_drawingml_2006_main.g.cs b/src/DocumentFormat.OpenXml/GeneratedCode/schemas_openxmlformats_org_drawingml_2006_main.g.cs
index c1e06bc84..0ccc8ba3b 100644
--- a/src/DocumentFormat.OpenXml/GeneratedCode/schemas_openxmlformats_org_drawingml_2006_main.g.cs
+++ b/src/DocumentFormat.OpenXml/GeneratedCode/schemas_openxmlformats_org_drawingml_2006_main.g.cs
@@ -6,6 +6,9 @@
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Framework;
using DocumentFormat.OpenXml.Framework.Metadata;
+using DocumentFormat.OpenXml.Microsoft365.Drawing.OEmbed;
+using DocumentFormat.OpenXml.Microsoft365.Drawing.ScriptLink;
+using DocumentFormat.OpenXml.Microsoft365.Word.OEmbed;
using DocumentFormat.OpenXml.Office.Drawing;
using DocumentFormat.OpenXml.Office2010.Drawing;
using DocumentFormat.OpenXml.Office2010.Drawing.Diagram;
@@ -16,6 +19,8 @@
using DocumentFormat.OpenXml.Office2019.Drawing;
using DocumentFormat.OpenXml.Office2019.Drawing.HyperLinkColor;
using DocumentFormat.OpenXml.Office2019.Drawing.SVG;
+using DocumentFormat.OpenXml.Office2021.Drawing.DocumentClassification;
+using DocumentFormat.OpenXml.Office2021.Drawing.Livefeed;
using DocumentFormat.OpenXml.Office2021.Drawing.SketchyShapes;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Validation.Schema;
@@ -16957,9 +16962,13 @@ public DocumentFormat.OpenXml.Drawing.ExtensionList? ExtensionList
/// - <a16:colId>
/// - <a16:predDERef>
/// - <a1611:picAttrSrcUrl>
+ /// - <aclsh:classification>
/// - <adec:decorative>
/// - <ahyp:hlinkClr>
+ /// - <alf:liveFeedProps>
+ /// - <aoe:oembedShared>
/// - <ask:lineSketchStyleProps>
+ /// - <asl:scriptLink>
/// - <asvg:svgBlip>
/// - <c15:xForSave>
/// - <c15:showDataLabelsRange>
@@ -17162,6 +17171,7 @@ public DocumentFormat.OpenXml.Drawing.ExtensionList? ExtensionList
/// - <w15:repeatingSection>
/// - <we:webextension>
/// - <we:webextensionref>
+ /// - <woe:oembed>
/// - <wp:anchor>
/// - <wp:inline>
/// - <wp14:sizeRelH>
@@ -17273,9 +17283,13 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
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.AddChild();
@@ -17478,6 +17492,7 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
builder.AddChild();
builder.AddChild();
builder.AddChild();
+ builder.AddChild();
builder.AddChild();
builder.AddChild();
builder.AddChild();
@@ -32706,422 +32721,6 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
}
- ///
- /// Defines the PictureLocks Class.
- /// This class is available in Office 2007 and above.
- /// When the object is serialized out as xml, it's qualified name is a:picLocks.
- ///
- ///
- /// The following table lists the possible child types:
- ///
- /// - <a:extLst>
- ///
- ///
-#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("a:picLocks")]
-#pragma warning restore CS0618 // Type or member is obsolete
- public partial class PictureLocks : OpenXmlCompositeElement
- {
- ///
- /// Initializes a new instance of the PictureLocks class.
- ///
- public PictureLocks() : base()
- {
- }
-
- ///
- /// Initializes a new instance of the PictureLocks class with the specified child elements.
- ///
- /// Specifies the child elements.
- public PictureLocks(IEnumerable childElements) : base(childElements)
- {
- }
-
- ///
- /// Initializes a new instance of the PictureLocks class with the specified child elements.
- ///
- /// Specifies the child elements.
- public PictureLocks(params OpenXmlElement[] childElements) : base(childElements)
- {
- }
-
- ///
- /// Initializes a new instance of the PictureLocks class from outer XML.
- ///
- /// Specifies the outer XML of the element.
- public PictureLocks(string outerXml) : base(outerXml)
- {
- }
-
- ///
- /// Disallow Shape Grouping
- /// Represents the following attribute in the schema: noGrp
- ///
-
-#pragma warning disable CS0618 // Type or member is obsolete
-
- [SchemaAttr("noGrp")]
-#pragma warning restore CS0618 // Type or member is obsolete
-
- public BooleanValue? NoGrouping
- {
- get => GetAttribute();
- set => SetAttribute(value);
- }
-
- ///
- /// Disallow Shape Selection
- /// Represents the following attribute in the schema: noSelect
- ///
-
-#pragma warning disable CS0618 // Type or member is obsolete
-
- [SchemaAttr("noSelect")]
-#pragma warning restore CS0618 // Type or member is obsolete
-
- public BooleanValue? NoSelection
- {
- get => GetAttribute();
- set => SetAttribute(value);
- }
-
- ///
- /// Disallow Shape Rotation
- /// Represents the following attribute in the schema: noRot
- ///
-
-#pragma warning disable CS0618 // Type or member is obsolete
-
- [SchemaAttr("noRot")]
-#pragma warning restore CS0618 // Type or member is obsolete
-
- public BooleanValue? NoRotation
- {
- get => GetAttribute();
- set => SetAttribute(value);
- }
-
- ///
- /// Disallow Aspect Ratio Change
- /// Represents the following attribute in the schema: noChangeAspect
- ///
-
-#pragma warning disable CS0618 // Type or member is obsolete
-
- [SchemaAttr("noChangeAspect")]
-#pragma warning restore CS0618 // Type or member is obsolete
-
- public BooleanValue? NoChangeAspect
- {
- get => GetAttribute();
- set => SetAttribute(value);
- }
-
- ///
- /// Disallow Shape Movement
- /// Represents the following attribute in the schema: noMove
- ///
-
-#pragma warning disable CS0618 // Type or member is obsolete
-
- [SchemaAttr("noMove")]
-#pragma warning restore CS0618 // Type or member is obsolete
-
- public BooleanValue? NoMove
- {
- get => GetAttribute();
- set => SetAttribute(value);
- }
-
- ///
- /// Disallow Shape Resize
- /// Represents the following attribute in the schema: noResize
- ///
-
-#pragma warning disable CS0618 // Type or member is obsolete
-
- [SchemaAttr("noResize")]
-#pragma warning restore CS0618 // Type or member is obsolete
-
- public BooleanValue? NoResize
- {
- get => GetAttribute();
- set => SetAttribute(value);
- }
-
- ///
- /// Disallow Shape Point Editing
- /// Represents the following attribute in the schema: noEditPoints
- ///
-
-#pragma warning disable CS0618 // Type or member is obsolete
-
- [SchemaAttr("noEditPoints")]
-#pragma warning restore CS0618 // Type or member is obsolete
-
- public BooleanValue? NoEditPoints
- {
- get => GetAttribute();
- set => SetAttribute(value);
- }
-
- ///
- /// Disallow Showing Adjust Handles
- /// Represents the following attribute in the schema: noAdjustHandles
- ///
-
-#pragma warning disable CS0618 // Type or member is obsolete
-
- [SchemaAttr("noAdjustHandles")]
-#pragma warning restore CS0618 // Type or member is obsolete
-
- public BooleanValue? NoAdjustHandles
- {
- get => GetAttribute();
- set => SetAttribute(value);
- }
-
- ///
- /// Disallow Arrowhead Changes
- /// Represents the following attribute in the schema: noChangeArrowheads
- ///
-
-#pragma warning disable CS0618 // Type or member is obsolete
-
- [SchemaAttr("noChangeArrowheads")]
-#pragma warning restore CS0618 // Type or member is obsolete
-
- public BooleanValue? NoChangeArrowheads
- {
- get => GetAttribute();
- set => SetAttribute(value);
- }
-
- ///
- /// Disallow Shape Type Change
- /// Represents the following attribute in the schema: noChangeShapeType
- ///
-
-#pragma warning disable CS0618 // Type or member is obsolete
-
- [SchemaAttr("noChangeShapeType")]
-#pragma warning restore CS0618 // Type or member is obsolete
-
- public BooleanValue? NoChangeShapeType
- {
- get => GetAttribute();
- set => SetAttribute(value);
- }
-
- ///
- /// Disallow Crop Changes
- /// Represents the following attribute in the schema: noCrop
- ///
-
-#pragma warning disable CS0618 // Type or member is obsolete
-
- [SchemaAttr("noCrop")]
-#pragma warning restore CS0618 // Type or member is obsolete
-
- public BooleanValue? NoCrop
- {
- get => GetAttribute();
- set => SetAttribute(value);
- }
-
- internal override void ConfigureMetadata(ElementMetadata.Builder builder)
- {
- base.ConfigureMetadata(builder);
- builder.SetSchema("a:picLocks");
- builder.AddChild();
- builder.AddElement()
-.AddAttribute("noGrp", a => a.NoGrouping)
-.AddAttribute("noSelect", a => a.NoSelection)
-.AddAttribute("noRot", a => a.NoRotation)
-.AddAttribute("noChangeAspect", a => a.NoChangeAspect)
-.AddAttribute("noMove", a => a.NoMove)
-.AddAttribute("noResize", a => a.NoResize)
-.AddAttribute("noEditPoints", a => a.NoEditPoints)
-.AddAttribute("noAdjustHandles", a => a.NoAdjustHandles)
-.AddAttribute("noChangeArrowheads", a => a.NoChangeArrowheads)
-.AddAttribute("noChangeShapeType", a => a.NoChangeShapeType)
-.AddAttribute("noCrop", a => a.NoCrop);
- builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
- {
- new ElementParticle(typeof(DocumentFormat.OpenXml.Drawing.ExtensionList), 0, 1)
- };
- }
-
- ///
- /// ExtensionList.
- /// Represents the following element tag in the schema: a:extLst.
- ///
- ///
- /// xmlns:a = http://schemas.openxmlformats.org/drawingml/2006/main
- ///
- public DocumentFormat.OpenXml.Drawing.ExtensionList? ExtensionList
- {
- get => GetElement();
- set => SetElement(value);
- }
-
- ///
- public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
- }
-
- ///
- /// Defines the NonVisualPicturePropertiesExtensionList Class.
- /// This class is available in Office 2007 and above.
- /// When the object is serialized out as xml, it's qualified name is a:extLst.
- ///
- ///
- /// The following table lists the possible child types:
- ///
- /// - <a:ext>
- ///
- ///
-#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("a:extLst")]
-#pragma warning restore CS0618 // Type or member is obsolete
- public partial class NonVisualPicturePropertiesExtensionList : OpenXmlCompositeElement
- {
- ///
- /// Initializes a new instance of the NonVisualPicturePropertiesExtensionList class.
- ///
- public NonVisualPicturePropertiesExtensionList() : base()
- {
- }
-
- ///
- /// Initializes a new instance of the NonVisualPicturePropertiesExtensionList class with the specified child elements.
- ///
- /// Specifies the child elements.
- public NonVisualPicturePropertiesExtensionList(IEnumerable childElements) : base(childElements)
- {
- }
-
- ///
- /// Initializes a new instance of the NonVisualPicturePropertiesExtensionList class with the specified child elements.
- ///
- /// Specifies the child elements.
- public NonVisualPicturePropertiesExtensionList(params OpenXmlElement[] childElements) : base(childElements)
- {
- }
-
- ///
- /// Initializes a new instance of the NonVisualPicturePropertiesExtensionList class from outer XML.
- ///
- /// Specifies the outer XML of the element.
- public NonVisualPicturePropertiesExtensionList(string outerXml) : base(outerXml)
- {
- }
-
- internal override void ConfigureMetadata(ElementMetadata.Builder builder)
- {
- base.ConfigureMetadata(builder);
- builder.SetSchema("a:extLst");
- builder.AddChild();
- builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
- {
- new ElementParticle(typeof(DocumentFormat.OpenXml.Drawing.NonVisualPicturePropertiesExtension), 0, 0)
- };
- }
-
- ///
- public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
- }
-
- ///
- /// Defines the NonVisualPicturePropertiesExtension Class.
- /// This class is available in Office 2007 and above.
- /// When the object is serialized out as xml, it's qualified name is a:ext.
- ///
- ///
- /// The following table lists the possible child types:
- ///
- /// - <a14:cameraTool>
- /// - <a15:objectPr>
- /// - <a15:signatureLine>
- ///
- ///
-#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("a:ext")]
-#pragma warning restore CS0618 // Type or member is obsolete
- public partial class NonVisualPicturePropertiesExtension : OpenXmlCompositeElement
- {
- ///
- /// Initializes a new instance of the NonVisualPicturePropertiesExtension class.
- ///
- public NonVisualPicturePropertiesExtension() : base()
- {
- }
-
- ///
- /// Initializes a new instance of the NonVisualPicturePropertiesExtension class with the specified child elements.
- ///
- /// Specifies the child elements.
- public NonVisualPicturePropertiesExtension(IEnumerable childElements) : base(childElements)
- {
- }
-
- ///
- /// Initializes a new instance of the NonVisualPicturePropertiesExtension class with the specified child elements.
- ///
- /// Specifies the child elements.
- public NonVisualPicturePropertiesExtension(params OpenXmlElement[] childElements) : base(childElements)
- {
- }
-
- ///
- /// Initializes a new instance of the NonVisualPicturePropertiesExtension class from outer XML.
- ///
- /// Specifies the outer XML of the element.
- public NonVisualPicturePropertiesExtension(string outerXml) : base(outerXml)
- {
- }
-
- ///
- /// URI
- /// Represents the following attribute in the schema: uri
- ///
-
-#pragma warning disable CS0618 // Type or member is obsolete
-
- [SchemaAttr("uri")]
-#pragma warning restore CS0618 // Type or member is obsolete
-
- public StringValue? Uri
- {
- get => GetAttribute();
- set => SetAttribute(value);
- }
-
- internal override void ConfigureMetadata(ElementMetadata.Builder builder)
- {
- base.ConfigureMetadata(builder);
- builder.SetSchema("a:ext");
- 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.Drawing.CameraTool), 1, 1, version: FileFormatVersions.Office2010),
- new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Drawing.SignatureLine), 1, 1, version: FileFormatVersions.Office2013),
- new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Drawing.ObjectProperties), 1, 1, version: FileFormatVersions.Office2013),
- new AnyParticle(0, 1)
- };
- }
-
- ///
- public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
- }
-
///
/// Defines the GroupShapeLocks Class.
/// This class is available in Office 2007 and above.
@@ -34591,53 +34190,49 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
}
///
- /// Defines the NonVisualDrawingPropertiesExtension Class.
+ /// Defines the LinePropertiesExtension Class.
/// This class is available in Office 2007 and above.
/// When the object is serialized out as xml, it's qualified name is a:ext.
///
///
/// The following table lists the possible child types:
///
- /// - <a14:compatExt>
- /// - <a15:backgroundPr>
- /// - <a16:creationId>
- /// - <a16:predDERef>
- /// - <adec:decorative>
+ /// - <ask:lineSketchStyleProps>
///
///
#pragma warning disable CS0618 // Type or member is obsolete
[SchemaAttr("a:ext")]
#pragma warning restore CS0618 // Type or member is obsolete
- public partial class NonVisualDrawingPropertiesExtension : OpenXmlCompositeElement
+ public partial class LinePropertiesExtension : OpenXmlCompositeElement
{
///
- /// Initializes a new instance of the NonVisualDrawingPropertiesExtension class.
+ /// Initializes a new instance of the LinePropertiesExtension class.
///
- public NonVisualDrawingPropertiesExtension() : base()
+ public LinePropertiesExtension() : base()
{
}
///
- /// Initializes a new instance of the NonVisualDrawingPropertiesExtension class with the specified child elements.
+ /// Initializes a new instance of the LinePropertiesExtension class with the specified child elements.
///
/// Specifies the child elements.
- public NonVisualDrawingPropertiesExtension(IEnumerable childElements) : base(childElements)
+ public LinePropertiesExtension(IEnumerable childElements) : base(childElements)
{
}
///
- /// Initializes a new instance of the NonVisualDrawingPropertiesExtension class with the specified child elements.
+ /// Initializes a new instance of the LinePropertiesExtension class with the specified child elements.
///
/// Specifies the child elements.
- public NonVisualDrawingPropertiesExtension(params OpenXmlElement[] childElements) : base(childElements)
+ public LinePropertiesExtension(params OpenXmlElement[] childElements) : base(childElements)
{
}
///
- /// Initializes a new instance of the NonVisualDrawingPropertiesExtension class from outer XML.
+ /// Initializes a new instance of the LinePropertiesExtension class from outer XML.
///
/// Specifies the outer XML of the element.
- public NonVisualDrawingPropertiesExtension(string outerXml) : base(outerXml)
+ public LinePropertiesExtension(string outerXml) : base(outerXml)
{
}
@@ -34661,12 +34256,8 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
builder.SetSchema("a:ext");
- builder.AddChild();
- builder.AddChild();
- builder.AddChild();
- builder.AddChild();
- builder.AddChild();
- builder.AddElement()
+ builder.AddChild();
+ builder.AddElement()
.AddAttribute("uri", a => a.Uri, aBuilder =>
{
aBuilder.AddValidator(RequiredValidator.Instance);
@@ -34674,17 +34265,148 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
});
builder.Particle = new CompositeParticle.Builder(ParticleType.Choice, 1, 1)
{
- new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Drawing.CompatExtension), 1, 1, version: FileFormatVersions.Office2010),
- new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Drawing.BackgroundProperties), 1, 1, version: FileFormatVersions.Office2013),
- new ElementParticle(typeof(DocumentFormat.OpenXml.Office2016.Drawing.CreationId), 1, 1, version: FileFormatVersions.Office2016),
- new ElementParticle(typeof(DocumentFormat.OpenXml.Office2016.Drawing.PredecessorDrawingElementReference), 1, 1, version: FileFormatVersions.Office2016),
- new ElementParticle(typeof(DocumentFormat.OpenXml.Office2019.Drawing.Decorative), 1, 1, version: FileFormatVersions.Office2019),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Drawing.SketchyShapes.LineSketchStyleProperties), 1, 1, version: FileFormatVersions.Office2021),
new AnyParticle(0, 1)
};
}
///
- public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// default head line end style is none.
+ /// This class is available in Office 2007 and above.
+ /// When the object is serialized out as xml, it's qualified name is a:headEnd.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("a:headEnd")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class HeadEnd : LineEndPropertiesType
+ {
+ ///
+ /// Initializes a new instance of the HeadEnd class.
+ ///
+ public HeadEnd() : base()
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("a:headEnd");
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// default tail line end style is none.
+ /// This class is available in Office 2007 and above.
+ /// When the object is serialized out as xml, it's qualified name is a:tailEnd.
+ ///
+#pragma warning disable CS0618 // Type or member is obsolete
+ [SchemaAttr("a:tailEnd")]
+#pragma warning restore CS0618 // Type or member is obsolete
+ public partial class TailEnd : LineEndPropertiesType
+ {
+ ///
+ /// Initializes a new instance of the TailEnd class.
+ ///
+ public TailEnd() : base()
+ {
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.SetSchema("a:tailEnd");
+ }
+
+ ///
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ }
+
+ ///
+ /// Defines the LineEndPropertiesType Class.
+ /// This class is available in Office 2007 and above.
+ /// When the object is serialized out as xml, it's qualified name is :.
+ ///
+ public abstract partial class LineEndPropertiesType : OpenXmlLeafElement
+ {
+ ///
+ /// Initializes a new instance of the LineEndPropertiesType class.
+ ///
+ protected LineEndPropertiesType() : base()
+ {
+ }
+
+ ///
+ /// Line Head/End Type
+ /// Represents the following attribute in the schema: type
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("type")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public EnumValue? Type
+ {
+ get => GetAttribute>();
+ set => SetAttribute(value);
+ }
+
+ ///
+ /// Width of Head/End
+ /// Represents the following attribute in the schema: w
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("w")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public EnumValue? Width
+ {
+ get => GetAttribute>();
+ set => SetAttribute(value);
+ }
+
+ ///
+ /// Length of Head/End
+ /// Represents the following attribute in the schema: len
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("len")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public EnumValue? Length
+ {
+ get => GetAttribute>();
+ set => SetAttribute(value);
+ }
+
+ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ {
+ base.ConfigureMetadata(builder);
+ builder.AddElement()
+ .AddAttribute("type", a => a.Type, aBuilder =>
+ {
+ aBuilder.AddValidator(new StringValidator() { IsToken = (true) });
+ })
+ .AddAttribute("w", a => a.Width, aBuilder =>
+ {
+ aBuilder.AddValidator(new StringValidator() { IsToken = (true) });
+ })
+ .AddAttribute("len", a => a.Length, aBuilder =>
+ {
+ aBuilder.AddValidator(new StringValidator() { IsToken = (true) });
+ });
+ }
}
///
@@ -34695,42 +34417,42 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
///
/// The following table lists the possible child types:
///
- /// - <a:ext>
+ /// - <a:ext>
///
///
#pragma warning disable CS0618 // Type or member is obsolete
[SchemaAttr("a:extLst")]
#pragma warning restore CS0618 // Type or member is obsolete
- public partial class BlipExtensionList : OpenXmlCompositeElement
+ public partial class LinePropertiesExtensionList : OpenXmlCompositeElement
{
///
- /// Initializes a new instance of the BlipExtensionList class.
+ /// Initializes a new instance of the LinePropertiesExtensionList class.
///
- public BlipExtensionList() : base()
+ public LinePropertiesExtensionList() : base()
{
}
///
- /// Initializes a new instance of the BlipExtensionList class with the specified child elements.
+ /// Initializes a new instance of the LinePropertiesExtensionList class with the specified child elements.
///
/// Specifies the child elements.
- public BlipExtensionList(IEnumerable childElements) : base(childElements)
+ public LinePropertiesExtensionList(IEnumerable childElements) : base(childElements)
{
}
///
- /// Initializes a new instance of the BlipExtensionList class with the specified child elements.
+ /// Initializes a new instance of the LinePropertiesExtensionList class with the specified child elements.
///
/// Specifies the child elements.
- public BlipExtensionList(params OpenXmlElement[] childElements) : base(childElements)
+ public LinePropertiesExtensionList(params OpenXmlElement[] childElements) : base(childElements)
{
}
///
- /// Initializes a new instance of the BlipExtensionList class from outer XML.
+ /// Initializes a new instance of the LinePropertiesExtensionList class from outer XML.
///
/// Specifies the outer XML of the element.
- public BlipExtensionList(string outerXml) : base(outerXml)
+ public LinePropertiesExtensionList(string outerXml) : base(outerXml)
{
}
@@ -34738,65 +34460,67 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
builder.SetSchema("a:extLst");
- builder.AddChild();
+ builder.AddChild();
builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
{
- new ElementParticle(typeof(DocumentFormat.OpenXml.Drawing.BlipExtension), 0, 0)
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Drawing.LinePropertiesExtension), 0, 0)
};
}
///
- public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
}
///
- /// Defines the BlipExtension Class.
+ /// Defines the NonVisualDrawingPropertiesExtension Class.
/// This class is available in Office 2007 and above.
/// When the object is serialized out as xml, it's qualified name is a:ext.
///
///
/// The following table lists the possible child types:
///
- /// - <a14:imgProps>
- /// - <a14:useLocalDpi>
- /// - <a1611:picAttrSrcUrl>
- /// - <asvg:svgBlip>
- /// - <wp15:webVideoPr>
+ /// - <a14:compatExt>
+ /// - <a15:backgroundPr>
+ /// - <a16:creationId>
+ /// - <a16:predDERef>
+ /// - <aclsh:classification>
+ /// - <adec:decorative>
+ /// - <asl:scriptLink>
///
///
#pragma warning disable CS0618 // Type or member is obsolete
[SchemaAttr("a:ext")]
#pragma warning restore CS0618 // Type or member is obsolete
- public partial class BlipExtension : OpenXmlCompositeElement
+ public partial class NonVisualDrawingPropertiesExtension : OpenXmlCompositeElement
{
///
- /// Initializes a new instance of the BlipExtension class.
+ /// Initializes a new instance of the NonVisualDrawingPropertiesExtension class.
///
- public BlipExtension() : base()
+ public NonVisualDrawingPropertiesExtension() : base()
{
}
///
- /// Initializes a new instance of the BlipExtension class with the specified child elements.
+ /// Initializes a new instance of the NonVisualDrawingPropertiesExtension class with the specified child elements.
///
/// Specifies the child elements.
- public BlipExtension(IEnumerable childElements) : base(childElements)
+ public NonVisualDrawingPropertiesExtension(IEnumerable childElements) : base(childElements)
{
}
///
- /// Initializes a new instance of the BlipExtension class with the specified child elements.
+ /// Initializes a new instance of the NonVisualDrawingPropertiesExtension class with the specified child elements.
///
/// Specifies the child elements.
- public BlipExtension(params OpenXmlElement[] childElements) : base(childElements)
+ public NonVisualDrawingPropertiesExtension(params OpenXmlElement[] childElements) : base(childElements)
{
}
///
- /// Initializes a new instance of the BlipExtension class from outer XML.
+ /// Initializes a new instance of the NonVisualDrawingPropertiesExtension class from outer XML.
///
/// Specifies the outer XML of the element.
- public BlipExtension(string outerXml) : base(outerXml)
+ public NonVisualDrawingPropertiesExtension(string outerXml) : base(outerXml)
{
}
@@ -34820,12 +34544,14 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
builder.SetSchema("a:ext");
- builder.AddChild();
- builder.AddChild();
- builder.AddChild();
- builder.AddChild();
- builder.AddChild();
- builder.AddElement()
+ 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);
@@ -34833,237 +34559,438 @@ internal override void ConfigureMetadata(ElementMetadata.Builder builder)
});
builder.Particle = new CompositeParticle.Builder(ParticleType.Choice, 1, 1)
{
- new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Drawing.ImageProperties), 1, 1, version: FileFormatVersions.Office2010),
- new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Drawing.UseLocalDpi), 1, 1, version: FileFormatVersions.Office2010),
- new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Word.Drawing.WebVideoProperty), 1, 1, version: FileFormatVersions.Office2010),
- new ElementParticle(typeof(DocumentFormat.OpenXml.Office2019.Drawing.SVG.SVGBlip), 1, 1, version: FileFormatVersions.Office2019),
- new ElementParticle(typeof(DocumentFormat.OpenXml.Office2019.Drawing.PictureAttributionSourceURL), 1, 1, version: FileFormatVersions.Office2016),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2010.Drawing.CompatExtension), 1, 1, version: FileFormatVersions.Office2010),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2013.Drawing.BackgroundProperties), 1, 1, version: FileFormatVersions.Office2013),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2016.Drawing.CreationId), 1, 1, version: FileFormatVersions.Office2016),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2016.Drawing.PredecessorDrawingElementReference), 1, 1, version: FileFormatVersions.Office2016),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2019.Drawing.Decorative), 1, 1, version: FileFormatVersions.Office2019),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Office2021.Drawing.DocumentClassification.ClassificationOutcome), 1, 1, version: FileFormatVersions.Office2021),
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Microsoft365.Drawing.ScriptLink.ScriptLink), 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 LinePropertiesExtension Class.
+ /// Defines the PictureLocks Class.
/// This class is available in Office 2007 and above.
- /// When the object is serialized out as xml, it's qualified name is a:ext.
+ /// When the object is serialized out as xml, it's qualified name is a:picLocks.
///
///
/// The following table lists the possible child types:
///
- /// - <ask:lineSketchStyleProps>
+ /// - <a:extLst>
///
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("a:ext")]
+ [SchemaAttr("a:picLocks")]
#pragma warning restore CS0618 // Type or member is obsolete
- public partial class LinePropertiesExtension : OpenXmlCompositeElement
+ public partial class PictureLocks : OpenXmlCompositeElement
{
///
- /// Initializes a new instance of the LinePropertiesExtension class.
+ /// Initializes a new instance of the PictureLocks class.
///
- public LinePropertiesExtension() : base()
+ public PictureLocks() : base()
{
}
///
- /// Initializes a new instance of the LinePropertiesExtension class with the specified child elements.
+ /// Initializes a new instance of the PictureLocks class with the specified child elements.
///
/// Specifies the child elements.
- public LinePropertiesExtension(IEnumerable childElements) : base(childElements)
+ public PictureLocks(IEnumerable childElements) : base(childElements)
{
}
///
- /// Initializes a new instance of the LinePropertiesExtension class with the specified child elements.
+ /// Initializes a new instance of the PictureLocks class with the specified child elements.
///
/// Specifies the child elements.
- public LinePropertiesExtension(params OpenXmlElement[] childElements) : base(childElements)
+ public PictureLocks(params OpenXmlElement[] childElements) : base(childElements)
{
}
///
- /// Initializes a new instance of the LinePropertiesExtension class from outer XML.
+ /// Initializes a new instance of the PictureLocks class from outer XML.
///
/// Specifies the outer XML of the element.
- public LinePropertiesExtension(string outerXml) : base(outerXml)
+ public PictureLocks(string outerXml) : base(outerXml)
{
}
///
- /// URI
- /// Represents the following attribute in the schema: uri
+ /// Disallow Shape Grouping
+ /// Represents the following attribute in the schema: noGrp
///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("uri")]
+ [SchemaAttr("noGrp")]
#pragma warning restore CS0618 // Type or member is obsolete
- public StringValue? Uri
+ public BooleanValue? NoGrouping
{
- get => GetAttribute();
+ get => GetAttribute();
set => SetAttribute(value);
}
- internal override void ConfigureMetadata(ElementMetadata.Builder builder)
+ ///
+ /// Disallow Shape Selection
+ /// Represents the following attribute in the schema: noSelect
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("noSelect")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public BooleanValue? NoSelection
{
- base.ConfigureMetadata(builder);
- builder.SetSchema("a: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.Office2021.Drawing.SketchyShapes.LineSketchStyleProperties), 1, 1, version: FileFormatVersions.Office2021),
- new AnyParticle(0, 1)
- };
+ get => GetAttribute();
+ set => SetAttribute(value);
}
- ///
- public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
- }
+ ///
+ /// Disallow Shape Rotation
+ /// Represents the following attribute in the schema: noRot
+ ///
- ///
- /// default head line end style is none.
- /// This class is available in Office 2007 and above.
- /// When the object is serialized out as xml, it's qualified name is a:headEnd.
- ///
#pragma warning disable CS0618 // Type or member is obsolete
- [SchemaAttr("a:headEnd")]
+
+ [SchemaAttr("noRot")]
#pragma warning restore CS0618 // Type or member is obsolete
- public partial class HeadEnd : LineEndPropertiesType
- {
+
+ public BooleanValue? NoRotation
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
///
- /// Initializes a new instance of the HeadEnd class.
+ /// Disallow Aspect Ratio Change
+ /// Represents the following attribute in the schema: noChangeAspect
///
- public HeadEnd() : base()
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("noChangeAspect")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public BooleanValue? NoChangeAspect
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ ///
+ /// Disallow Shape Movement
+ /// Represents the following attribute in the schema: noMove
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("noMove")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public BooleanValue? NoMove
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ ///
+ /// Disallow Shape Resize
+ /// Represents the following attribute in the schema: noResize
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("noResize")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public BooleanValue? NoResize
{
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ ///
+ /// Disallow Shape Point Editing
+ /// Represents the following attribute in the schema: noEditPoints
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("noEditPoints")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public BooleanValue? NoEditPoints
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ ///
+ /// Disallow Showing Adjust Handles
+ /// Represents the following attribute in the schema: noAdjustHandles
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("noAdjustHandles")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public BooleanValue? NoAdjustHandles
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ ///
+ /// Disallow Arrowhead Changes
+ /// Represents the following attribute in the schema: noChangeArrowheads
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("noChangeArrowheads")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public BooleanValue? NoChangeArrowheads
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ ///
+ /// Disallow Shape Type Change
+ /// Represents the following attribute in the schema: noChangeShapeType
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("noChangeShapeType")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public BooleanValue? NoChangeShapeType
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
+ }
+
+ ///
+ /// Disallow Crop Changes
+ /// Represents the following attribute in the schema: noCrop
+ ///
+
+#pragma warning disable CS0618 // Type or member is obsolete
+
+ [SchemaAttr("noCrop")]
+#pragma warning restore CS0618 // Type or member is obsolete
+
+ public BooleanValue? NoCrop
+ {
+ get => GetAttribute();
+ set => SetAttribute(value);
}
internal override void ConfigureMetadata(ElementMetadata.Builder builder)
{
base.ConfigureMetadata(builder);
- builder.SetSchema("a:headEnd");
+ builder.SetSchema("a:picLocks");
+ builder.AddChild();
+ builder.AddElement()
+.AddAttribute("noGrp", a => a.NoGrouping)
+.AddAttribute("noSelect", a => a.NoSelection)
+.AddAttribute("noRot", a => a.NoRotation)
+.AddAttribute("noChangeAspect", a => a.NoChangeAspect)
+.AddAttribute("noMove", a => a.NoMove)
+.AddAttribute("noResize", a => a.NoResize)
+.AddAttribute("noEditPoints", a => a.NoEditPoints)
+.AddAttribute("noAdjustHandles", a => a.NoAdjustHandles)
+.AddAttribute("noChangeArrowheads", a => a.NoChangeArrowheads)
+.AddAttribute("noChangeShapeType", a => a.NoChangeShapeType)
+.AddAttribute("noCrop", a => a.NoCrop);
+ builder.Particle = new CompositeParticle.Builder(ParticleType.Sequence, 1, 1)
+ {
+ new ElementParticle(typeof(DocumentFormat.OpenXml.Drawing.ExtensionList), 0, 1)
+ };
+ }
+
+ ///
+ /// ExtensionList.
+ /// Represents the following element tag in the schema: a:extLst.
+ ///
+ ///
+ /// xmlns:a = http://schemas.openxmlformats.org/drawingml/2006/main
+ ///
+ public DocumentFormat.OpenXml.Drawing.ExtensionList? ExtensionList
+ {
+ get => GetElement();
+ set => SetElement(value);
}
///
- public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
+ public override OpenXmlElement CloneNode(bool deep) => CloneImp(deep);
}
///