Skip to content

Commit 6dd479f

Browse files
committed
Add ExtLinks2021
1 parent 8efaf34 commit 6dd479f

File tree

6 files changed

+225
-57
lines changed

6 files changed

+225
-57
lines changed
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
{
2+
"TargetNamespace": "http://schemas.microsoft.com/office/spreadsheetml/2021/extlinks2021",
3+
"Types": [
4+
{
5+
"Name": "xxl21:CT_ExternalBookAlternateUrls/xxl21:alternateUrls",
6+
"ClassName": "ExternalBookAlternateUrls",
7+
"Summary": "Defines the ExternalBookAlternateUrls Class.",
8+
"CompositeType": "OneSequence",
9+
"BaseClass": "OpenXmlCompositeElement",
10+
"Version": "Microsoft365",
11+
"Attributes": [
12+
{
13+
"QName": ":driveId",
14+
"Type": "StringValue",
15+
"Version": "Microsoft365",
16+
"PropertyComments": "driveId"
17+
},
18+
{
19+
"QName": ":itemId",
20+
"Type": "StringValue",
21+
"Version": "Microsoft365",
22+
"PropertyComments": "itemId"
23+
}
24+
],
25+
"Children": [
26+
{
27+
"Name": "xxl21:CT_AlternateUrl/xxl21:absoluteUrl",
28+
"PropertyName": "AbsoluteUrlAlternateUrl"
29+
},
30+
{
31+
"Name": "xxl21:CT_AlternateUrl/xxl21:relativeUrl",
32+
"PropertyName": "RelativeUrlAlternateUrl"
33+
}
34+
],
35+
"Particle": {
36+
"Kind": "Sequence",
37+
"Items": [
38+
{
39+
"Name": "xxl21:CT_AlternateUrl/xxl21:absoluteUrl",
40+
"Occurs": [
41+
{
42+
"Max": 1
43+
}
44+
],
45+
"InitialVersion": "Microsoft365"
46+
},
47+
{
48+
"Name": "xxl21:CT_AlternateUrl/xxl21:relativeUrl",
49+
"Occurs": [
50+
{
51+
"Max": 1
52+
}
53+
],
54+
"InitialVersion": "Microsoft365"
55+
}
56+
]
57+
}
58+
},
59+
{
60+
"Name": "xxl21:CT_AlternateUrl/xxl21:absoluteUrl",
61+
"ClassName": "AbsoluteUrlAlternateUrl",
62+
"Summary": "Defines the AbsoluteUrlAlternateUrl Class.",
63+
"BaseClass": "OpenXmlAlternateUrlElement",
64+
"IsDerived": true,
65+
"IsLeafElement": true,
66+
"Version": "Microsoft365"
67+
},
68+
{
69+
"Name": "xxl21:CT_AlternateUrl/xxl21:relativeUrl",
70+
"ClassName": "RelativeUrlAlternateUrl",
71+
"Summary": "Defines the RelativeUrlAlternateUrl Class.",
72+
"BaseClass": "OpenXmlAlternateUrlElement",
73+
"IsDerived": true,
74+
"IsLeafElement": true,
75+
"Version": "Microsoft365"
76+
},
77+
{
78+
"Name": "xxl21:CT_AlternateUrl/",
79+
"ClassName": "OpenXmlAlternateUrlElement",
80+
"Summary": "Defines the OpenXmlAlternateUrlElement Class.",
81+
"BaseClass": "OpenXmlLeafElement",
82+
"IsAbstract": true,
83+
"IsLeafElement": true,
84+
"Version": "Microsoft365",
85+
"Attributes": [
86+
{
87+
"QName": "r:id",
88+
"Type": "StringValue",
89+
"Version": "Microsoft365",
90+
"PropertyComments": "id",
91+
"Validators": [
92+
{
93+
"Name": "RequiredValidator"
94+
}
95+
]
96+
}
97+
]
98+
}
99+
]
100+
}

data/schemas/schemas_openxmlformats_org_wordprocessingml_2006_main.json

Lines changed: 61 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -29293,7 +29293,7 @@
2929329293
{
2929429294
"Name": "w:CT_NonNegativeDecimalNumber/w:abstractNumId",
2929529295
"ClassName": "AbstractNumId",
29296-
"Summary": "Abstract Numbering Definition Reference.",
29296+
"Summary": "Defines the AbstractNumId Class.",
2929729297
"BaseClass": "NonNegativeDecimalNumberType",
2929829298
"IsDerived": true,
2929929299
"IsLeafElement": true
@@ -40284,59 +40284,6 @@
4028440284
]
4028540285
}
4028640286
},
40287-
{
40288-
"Name": "w:CT_NumLvl/w:lvlOverride",
40289-
"ClassName": "LevelOverride",
40290-
"Summary": "Numbering Level Definition Override.",
40291-
"CompositeType": "OneSequence",
40292-
"BaseClass": "OpenXmlCompositeElement",
40293-
"Attributes": [
40294-
{
40295-
"QName": "w:ilvl",
40296-
"PropertyName": "LevelIndex",
40297-
"Type": "Int32Value",
40298-
"PropertyComments": "Numbering Level ID",
40299-
"Validators": [
40300-
{
40301-
"Name": "RequiredValidator"
40302-
}
40303-
]
40304-
}
40305-
],
40306-
"Children": [
40307-
{
40308-
"Name": "w:CT_DecimalNumber/w:startOverride",
40309-
"PropertyName": "StartOverrideNumberingValue",
40310-
"PropertyComments": "Numbering Level Starting Value Override"
40311-
},
40312-
{
40313-
"Name": "w:CT_Lvl/w:lvl",
40314-
"PropertyName": "Level",
40315-
"PropertyComments": "Numbering Level Override Definition"
40316-
}
40317-
],
40318-
"Particle": {
40319-
"Kind": "Sequence",
40320-
"Items": [
40321-
{
40322-
"Name": "w:CT_DecimalNumber/w:startOverride",
40323-
"Occurs": [
40324-
{
40325-
"Max": 1
40326-
}
40327-
]
40328-
},
40329-
{
40330-
"Name": "w:CT_Lvl/w:lvl",
40331-
"Occurs": [
40332-
{
40333-
"Max": 1
40334-
}
40335-
]
40336-
}
40337-
]
40338-
}
40339-
},
4034040287
{
4034140288
"Name": "w:CT_NumPicBullet/w:numPicBullet",
4034240289
"ClassName": "NumberingPictureBullet",
@@ -40521,19 +40468,23 @@
4052140468
"QName": "w:numId",
4052240469
"PropertyName": "NumberID",
4052340470
"Type": "Int32Value",
40524-
"PropertyComments": "Numbering Definition Instance ID",
40471+
"PropertyComments": "numId",
4052540472
"Validators": [
4052640473
{
4052740474
"Name": "RequiredValidator"
4052840475
}
4052940476
]
40477+
},
40478+
{
40479+
"QName": "w:durableId",
40480+
"Type": "Int32Value",
40481+
"PropertyComments": "durableId"
4053040482
}
4053140483
],
4053240484
"Children": [
4053340485
{
4053440486
"Name": "w:CT_NonNegativeDecimalNumber/w:abstractNumId",
40535-
"PropertyName": "AbstractNumId",
40536-
"PropertyComments": "Abstract Numbering Definition Reference"
40487+
"PropertyName": "AbstractNumId"
4053740488
},
4053840489
{
4053940490
"Name": "w:CT_NumLvl/w:lvlOverride"
@@ -51361,6 +51312,59 @@
5136151312
]
5136251313
}
5136351314
]
51315+
},
51316+
{
51317+
"Name": "w:CT_NumLvl/w:lvlOverride",
51318+
"ClassName": "LevelOverride",
51319+
"Summary": "Defines the LevelOverride Class.",
51320+
"CompositeType": "OneSequence",
51321+
"BaseClass": "OpenXmlCompositeElement",
51322+
"Attributes": [
51323+
{
51324+
"QName": "w:ilvl",
51325+
"PropertyName": "LevelIndex",
51326+
"Type": "Int32Value",
51327+
"PropertyComments": "Numbering Level ID",
51328+
"Validators": [
51329+
{
51330+
"Name": "RequiredValidator"
51331+
}
51332+
]
51333+
}
51334+
],
51335+
"Children": [
51336+
{
51337+
"Name": "w:CT_DecimalNumber/w:startOverride",
51338+
"PropertyName": "StartOverrideNumberingValue",
51339+
"PropertyComments": "Numbering Level Starting Value Override"
51340+
},
51341+
{
51342+
"Name": "w:CT_Lvl/w:lvl",
51343+
"PropertyName": "Level",
51344+
"PropertyComments": "Numbering Level Override Definition"
51345+
}
51346+
],
51347+
"Particle": {
51348+
"Kind": "Sequence",
51349+
"Items": [
51350+
{
51351+
"Name": "w:CT_DecimalNumber/w:startOverride",
51352+
"Occurs": [
51353+
{
51354+
"Max": 1
51355+
}
51356+
]
51357+
},
51358+
{
51359+
"Name": "w:CT_Lvl/w:lvl",
51360+
"Occurs": [
51361+
{
51362+
"Max": 1
51363+
}
51364+
]
51365+
}
51366+
]
51367+
}
5136451368
}
5136551369
],
5136651370
"Enums": [

data/typed/namespaces.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,10 @@
131131
"Prefix": "p223",
132132
"Namespace": "DocumentFormat.OpenXml.Office.PowerPoint.Y2022.M03.Main"
133133
},
134+
{
135+
"Prefix": "xxl21",
136+
"Namespace": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021"
137+
},
134138
{
135139
"Prefix": "xxpvi",
136140
"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": "xxl21:CT_AlternateUrl/",
4+
"ClassName": "OpenXmlAlternateUrlElement"
5+
},
6+
{
7+
"Name": "xxl21:CT_AlternateUrl/xxl21:absoluteUrl",
8+
"ClassName": "AbsoluteUrlAlternateUrl"
9+
},
10+
{
11+
"Name": "xxl21:CT_ExternalBookAlternateUrls/xxl21:alternateUrls",
12+
"ClassName": "ExternalBookAlternateUrls"
13+
},
14+
{
15+
"Name": "xxl21:CT_AlternateUrl/xxl21:relativeUrl",
16+
"ClassName": "RelativeUrlAlternateUrl"
17+
}
18+
]

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22367,6 +22367,27 @@
2236722367
}
2236822368
]
2236922369
},
22370+
{
22371+
"Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021.AbsoluteUrlAlternateUrl",
22372+
"Children": []
22373+
},
22374+
{
22375+
"Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021.ExternalBookAlternateUrls",
22376+
"Children": [
22377+
{
22378+
"Name": "absoluteUrl",
22379+
"Namespace": "http://schemas.microsoft.com/office/spreadsheetml/2021/extlinks2021"
22380+
},
22381+
{
22382+
"Name": "relativeUrl",
22383+
"Namespace": "http://schemas.microsoft.com/office/spreadsheetml/2021/extlinks2021"
22384+
}
22385+
]
22386+
},
22387+
{
22388+
"Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021.RelativeUrlAlternateUrl",
22389+
"Children": []
22390+
},
2237022391
{
2237122392
"Element": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotVersionInfo.CacheVersionInfo",
2237222393
"Children": [

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33588,6 +33588,27 @@
3358833588
}
3358933589
]
3359033590
},
33591+
{
33592+
"Key": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021.ExternalBookAlternateUrls",
33593+
"Value": [
33594+
{
33595+
"Key": "Microsoft365",
33596+
"Value": {
33597+
"ChildrenParticles": [
33598+
{
33599+
"ElementType": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021.AbsoluteUrlAlternateUrl",
33600+
"MinOccurs": 0
33601+
},
33602+
{
33603+
"ElementType": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2021.ExtLinks2021.RelativeUrlAlternateUrl",
33604+
"MinOccurs": 0
33605+
}
33606+
],
33607+
"ParticleType": "Sequence"
33608+
}
33609+
}
33610+
]
33611+
},
3359133612
{
3359233613
"Key": "DocumentFormat.OpenXml.Office.SpreadSheetML.Y2022.PivotVersionInfo.CacheVersionInfo",
3359333614
"Value": [

0 commit comments

Comments
 (0)