Skip to content

Commit 8efaf34

Browse files
committed
add Aug 22 Office M365
1 parent 8017be9 commit 8efaf34

File tree

7 files changed

+313
-1
lines changed

7 files changed

+313
-1
lines changed

data/namespaces.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,11 @@
344344
"Uri": "http://schemas.microsoft.com/office/powerpoint/2021/06/main",
345345
"Version": "Microsoft365"
346346
},
347+
{
348+
"Prefix": "p223",
349+
"Uri": "http://schemas.microsoft.com/office/powerpoint/2022/03/main",
350+
"Version": "Microsoft365"
351+
},
347352
{
348353
"Prefix": "packaging",
349354
"Uri": "http://schemas.microsoft.com/office/internal/2007/ofapi/packaging"
Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
{
2+
"TargetNamespace": "http://schemas.microsoft.com/office/powerpoint/2022/03/main",
3+
"Types": [
4+
{
5+
"Name": "p223:CT_Reactions/p223:reactions",
6+
"ClassName": "Reactions",
7+
"Summary": "Defines the Reactions Class.",
8+
"BaseClass": "OpenXmlCompositeElement",
9+
"Version": "Microsoft365",
10+
"Children": [
11+
{
12+
"Name": "p223:CT_Reaction/p223:rxn"
13+
}
14+
],
15+
"Particle": {
16+
"Kind": "Sequence",
17+
"Items": [
18+
{
19+
"Name": "p223:CT_Reaction/p223:rxn",
20+
"Occurs": [
21+
{}
22+
],
23+
"InitialVersion": "Microsoft365"
24+
}
25+
]
26+
}
27+
},
28+
{
29+
"Name": "p:CT_ExtensionList/p223:extLst",
30+
"ClassName": "ExtensionList",
31+
"Summary": "Defines the ExtensionList Class.",
32+
"BaseClass": "OpenXmlCompositeElement",
33+
"Version": "Microsoft365",
34+
"Children": [
35+
{
36+
"Name": "p:CT_Extension/p:ext"
37+
}
38+
],
39+
"Particle": {
40+
"Kind": "Sequence",
41+
"Items": [
42+
{
43+
"Kind": "Group",
44+
"Occurs": [
45+
{
46+
"Max": 1
47+
}
48+
],
49+
"Items": [
50+
{
51+
"Kind": "Sequence",
52+
"Items": [
53+
{
54+
"Name": "p:CT_Extension/p:ext",
55+
"Occurs": [
56+
{}
57+
]
58+
}
59+
]
60+
}
61+
]
62+
}
63+
]
64+
}
65+
},
66+
{
67+
"Name": "p223:CT_ReactionInstance/p223:instance",
68+
"ClassName": "ReactionInstance",
69+
"Summary": "Defines the ReactionInstance Class.",
70+
"CompositeType": "OneSequence",
71+
"BaseClass": "OpenXmlCompositeElement",
72+
"Version": "Microsoft365",
73+
"Attributes": [
74+
{
75+
"QName": ":time",
76+
"Type": "DateTimeValue",
77+
"Version": "Microsoft365",
78+
"PropertyComments": "time",
79+
"Validators": [
80+
{
81+
"Name": "RequiredValidator"
82+
}
83+
]
84+
},
85+
{
86+
"QName": ":authorId",
87+
"Type": "StringValue",
88+
"Version": "Office2021",
89+
"PropertyComments": "authorId",
90+
"Validators": [
91+
{
92+
"Name": "RequiredValidator"
93+
},
94+
{
95+
"Arguments": [
96+
{
97+
"Type": "Boolean",
98+
"Name": "IsToken",
99+
"Value": "True"
100+
}
101+
],
102+
"Name": "StringValidator",
103+
"IsInitialVersion": true
104+
}
105+
]
106+
}
107+
],
108+
"Children": [
109+
{
110+
"Name": "p:CT_ExtensionList/p223:extLst",
111+
"PropertyName": "ExtensionList"
112+
}
113+
],
114+
"Particle": {
115+
"Kind": "Sequence",
116+
"Items": [
117+
{
118+
"Name": "p:CT_ExtensionList/p223:extLst",
119+
"Occurs": [
120+
{
121+
"Max": 1
122+
}
123+
],
124+
"InitialVersion": "Microsoft365"
125+
}
126+
]
127+
}
128+
},
129+
{
130+
"Name": "p223:CT_Reaction/p223:rxn",
131+
"ClassName": "Reaction",
132+
"Summary": "Defines the Reaction Class.",
133+
"BaseClass": "OpenXmlCompositeElement",
134+
"Version": "Microsoft365",
135+
"Attributes": [
136+
{
137+
"QName": ":type",
138+
"Type": "StringValue",
139+
"Version": "Microsoft365",
140+
"PropertyComments": "type",
141+
"Validators": [
142+
{
143+
"Name": "RequiredValidator"
144+
}
145+
]
146+
}
147+
],
148+
"Children": [
149+
{
150+
"Name": "p223:CT_ReactionInstance/p223:instance"
151+
}
152+
],
153+
"Particle": {
154+
"Kind": "Sequence",
155+
"Items": [
156+
{
157+
"Name": "p223:CT_ReactionInstance/p223:instance",
158+
"Occurs": [
159+
{}
160+
],
161+
"InitialVersion": "Microsoft365"
162+
}
163+
]
164+
}
165+
}
166+
]
167+
}

data/typed/namespaces.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@
127127
"Prefix": "p216",
128128
"Namespace": "DocumentFormat.OpenXml.Office.PowerPoint.Y2021.M06.Main"
129129
},
130+
{
131+
"Prefix": "p223",
132+
"Namespace": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main"
133+
},
130134
{
131135
"Prefix": "xxpvi",
132136
"Namespace": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotVersionInfo"
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[
2+
{
3+
"Name": "p:CT_ExtensionList/p223:extLst",
4+
"ClassName": "ExtensionList"
5+
},
6+
{
7+
"Name": "p223:CT_ReactionInstance/p223:instance",
8+
"ClassName": "ReactionInstance"
9+
},
10+
{
11+
"Name": "p223:CT_Reactions/p223:reactions",
12+
"ClassName": "Reactions"
13+
},
14+
{
15+
"Name": "p223:CT_Reaction/p223:rxn",
16+
"ClassName": "Reaction"
17+
}
18+
]

test/DocumentFormat.OpenXml.Framework.Tests/ElementChildren.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22331,6 +22331,42 @@
2233122331
"Element": "DocumentFormat.OpenXml.Office.PowerPoint.Y2021.M06.Main.UnasgnAllEmpty",
2233222332
"Children": []
2233322333
},
22334+
{
22335+
"Element": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.ExtensionList",
22336+
"Children": [
22337+
{
22338+
"Name": "ext",
22339+
"Namespace": "http://schemas.openxmlformats.org/presentationml/2006/main"
22340+
}
22341+
]
22342+
},
22343+
{
22344+
"Element": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.Reaction",
22345+
"Children": [
22346+
{
22347+
"Name": "instance",
22348+
"Namespace": "http://schemas.microsoft.com/office/powerpoint/2022/03/main"
22349+
}
22350+
]
22351+
},
22352+
{
22353+
"Element": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.ReactionInstance",
22354+
"Children": [
22355+
{
22356+
"Name": "extLst",
22357+
"Namespace": "http://schemas.microsoft.com/office/powerpoint/2022/03/main"
22358+
}
22359+
]
22360+
},
22361+
{
22362+
"Element": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.Reactions",
22363+
"Children": [
22364+
{
22365+
"Name": "rxn",
22366+
"Namespace": "http://schemas.microsoft.com/office/powerpoint/2022/03/main"
22367+
}
22368+
]
22369+
},
2233422370
{
2233522371
"Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotVersionInfo.CacheVersionInfo",
2233622372
"Children": [

test/DocumentFormat.OpenXml.Framework.Tests/OpenXmlNamespaceTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class OpenXmlNamespaceTests
1212
public void NamespaceCount()
1313
{
1414
var resolver = new OpenXmlNamespaceResolver();
15-
Assert.Equal(148, resolver.GetNamespacesInScope(System.Xml.XmlNamespaceScope.All).Count);
15+
Assert.Equal(149, resolver.GetNamespacesInScope(System.Xml.XmlNamespaceScope.All).Count);
1616
}
1717

1818
[InlineData("", "", FileFormatVersions.Office2007, 0)]

test/DocumentFormat.OpenXml.Packaging.Tests/data/Particles.json

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33506,6 +33506,88 @@
3350633506
}
3350733507
]
3350833508
},
33509+
{
33510+
"Key": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.ExtensionList",
33511+
"Value": [
33512+
{
33513+
"Key": "Microsoft365",
33514+
"Value": {
33515+
"ChildrenParticles": [
33516+
{
33517+
"ChildrenParticles": [
33518+
{
33519+
"ChildrenParticles": [
33520+
{
33521+
"ElementType": "DocumentFormat.OpenXml.Presentation.Extension",
33522+
"MaxOccurs": 0,
33523+
"MinOccurs": 0
33524+
}
33525+
],
33526+
"ParticleType": "Sequence"
33527+
}
33528+
],
33529+
"MinOccurs": 0,
33530+
"ParticleType": "Group"
33531+
}
33532+
],
33533+
"ParticleType": "Sequence"
33534+
}
33535+
}
33536+
]
33537+
},
33538+
{
33539+
"Key": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.Reaction",
33540+
"Value": [
33541+
{
33542+
"Key": "Microsoft365",
33543+
"Value": {
33544+
"ChildrenParticles": [
33545+
{
33546+
"ElementType": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.ReactionInstance",
33547+
"MaxOccurs": 0,
33548+
"MinOccurs": 0
33549+
}
33550+
],
33551+
"ParticleType": "Sequence"
33552+
}
33553+
}
33554+
]
33555+
},
33556+
{
33557+
"Key": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.ReactionInstance",
33558+
"Value": [
33559+
{
33560+
"Key": "Microsoft365",
33561+
"Value": {
33562+
"ChildrenParticles": [
33563+
{
33564+
"ElementType": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.ExtensionList",
33565+
"MinOccurs": 0
33566+
}
33567+
],
33568+
"ParticleType": "Sequence"
33569+
}
33570+
}
33571+
]
33572+
},
33573+
{
33574+
"Key": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.Reactions",
33575+
"Value": [
33576+
{
33577+
"Key": "Microsoft365",
33578+
"Value": {
33579+
"ChildrenParticles": [
33580+
{
33581+
"ElementType": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main.Reaction",
33582+
"MaxOccurs": 0,
33583+
"MinOccurs": 0
33584+
}
33585+
],
33586+
"ParticleType": "Sequence"
33587+
}
33588+
}
33589+
]
33590+
},
3350933591
{
3351033592
"Key": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotVersionInfo.CacheVersionInfo",
3351133593
"Value": [

0 commit comments

Comments
 (0)