Skip to content

Commit 7b238ce

Browse files
authored
Office 2019 Updates (#882)
* This commit adds support for the Office 2019 file format types, elements and attributes. Co-authored-by: Tom Jebo <[email protected]>
1 parent 7289bfe commit 7b238ce

18 files changed

+9559
-1
lines changed

src/DocumentFormat.OpenXml/Framework/OpenXmlNamespace.cs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,30 @@ private static string NormalizeNamespace(in OpenXmlNamespace ns)
237237
{ "http://schemas.microsoft.com/office/spreadsheetml/2014/11/main", "x16", FileFormatVersions.Office2016 },
238238
{ "http://schemas.microsoft.com/office/spreadsheetml/2015/02/main", "x16r2", FileFormatVersions.Office2016 },
239239
{ "http://schemas.microsoft.com/office/word/2015/wordml/symex", "w16se", FileFormatVersions.Office2016 },
240+
241+
// O19
242+
{ "http://schemas.microsoft.com/office/powerpoint/2017/3/main", "p173", FileFormatVersions.Office2019 },
243+
{ "http://schemas.microsoft.com/office/spreadsheetml/2016/pivotdefaultlayout", "xpdl", FileFormatVersions.Office2019 },
244+
{ "http://schemas.microsoft.com/office/spreadsheetml/2016/01/main", "xlPr", FileFormatVersions.Office2019 },
245+
{ "http://schemas.microsoft.com/office/spreadsheetml/2015/revision2", "xr2", FileFormatVersions.Office2019 },
246+
{ "http://schemas.microsoft.com/office/spreadsheetml/2016/revision3", "xr3", FileFormatVersions.Office2019 },
247+
{ "http://schemas.microsoft.com/office/spreadsheetml/2016/revision5", "xr5", FileFormatVersions.Office2019 },
248+
{ "http://schemas.microsoft.com/office/spreadsheetml/2016/revision6", "xr6", FileFormatVersions.Office2019 },
249+
{ "http://schemas.microsoft.com/office/spreadsheetml/2016/revision9", "xr9", FileFormatVersions.Office2019 },
250+
{ "http://schemas.microsoft.com/office/spreadsheetml/2016/revision10", "xr10", FileFormatVersions.Office2019 },
251+
{ "http://schemas.microsoft.com/office/spreadsheetml/2017/revision16", "xr16", FileFormatVersions.Office2019 },
252+
{ "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2", "xlrd2", FileFormatVersions.Office2019 },
253+
{ "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata", "xlrd", FileFormatVersions.Office2019 },
254+
{ "http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures", "xcalcf", FileFormatVersions.Office2019 },
255+
{ "http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments", "xltc", FileFormatVersions.Office2019 },
256+
{ "http://schemas.microsoft.com/office/drawing/2017/03/chart", "c16r3", FileFormatVersions.Office2019 },
257+
{ "http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray", "xda", FileFormatVersions.Office2019 },
258+
{ "http://schemas.microsoft.com/office/drawing/2016/11/diagram", "dgm1611", FileFormatVersions.Office2019 },
259+
{ "http://schemas.microsoft.com/office/drawing/2016/12/diagram", "dgm1612", FileFormatVersions.Office2019 },
260+
{ "http://schemas.microsoft.com/office/drawing/2016/ink", "aink", FileFormatVersions.Office2019 },
261+
{ "http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor", "ahyp", FileFormatVersions.Office2019 },
262+
{ "http://schemas.microsoft.com/office/word/2016/wordml/cid", "w16cid", FileFormatVersions.Office2019 },
263+
{ "http://schemas.microsoft.com/office/drawing/2016/SVG/main", "asvg", FileFormatVersions.Office2019 },
240264
};
241265

242266
internal static int Count => _namespaceResolver.Count;

0 commit comments

Comments
 (0)