ooxmlsdk 0.4.0

Open XML SDK for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
//
// -----------------------------------------------------------------------------
//  THIS FILE WAS @generated AUTOMATICALLY. DO NOT MODIFY THIS FILE MANUALLY.
// -----------------------------------------------------------------------------
//

pub(crate) fn prefix_by_uri(uri: &str) -> Option<&'static str> {
  match uri {
    "http://schemas.openxmlformats.org/drawingml/2006/main" => Some("a"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2010/main" => Some("a14"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2012/main" => Some("a15"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2014/main" => Some("a16"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2016/11/main" => Some("a1611"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2018/animation/model3d" => Some("a3danim"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2018/animation" => Some("aanim"),
    "http://schemas.openxmlformats.org/officeDocument/2006/characteristics" => Some("ac"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2020/classificationShape" => Some("aclsh"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2017/decorative" => Some("adec"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor" => Some("ahyp"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2022/imageformula" => Some("aif"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2016/ink" => Some("aink"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2021/livefeed" => Some("alf"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2017/model3d" => Some("am3d"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2021/oembed" => Some("aoe"),
    "http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" => Some("ap"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2018/sketchyshapes" => Some("ask"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2021/scriptlink" => Some("asl"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2016/SVG/main" => Some("asvg"),
    "http://schemas.microsoft.com/office/2006/activeX" => Some("ax"),
    "http://schemas.openxmlformats.org/officeDocument/2006/bibliography" => Some("b"),
    "http://schemas.openxmlformats.org/drawingml/2006/chart" => Some("c"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2007/8/2/chart" => Some("c14"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2012/chart" => Some("c15"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2014/chart" => Some("c16"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2014/chart/ac" => Some("c16ac"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2017/03/chart" => Some("c16r3"),
    "http://schemas.microsoft.com/office/2006/customDocumentInformationPanel" => Some("cdip"),
    "http://schemas.openxmlformats.org/drawingml/2006/chartDrawing" => Some("cdr"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2010/chartDrawing" => Some("cdr14"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/2020/mipLabelMetadata" => Some("clbl"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2010/compatibility" => Some("com14"),
    "http://schemas.openxmlformats.org/drawingml/2006/compatibility" => Some("comp"),
    "http://schemas.openxmlformats.org/package/2006/metadata/core-properties" => Some("cp"),
    "http://schemas.microsoft.com/office/2006/coverPageProps" => Some("cppr"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/comments/2020/reactions" => Some("cr"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2012/chartStyle" => Some("cs"),
    "http://schemas.microsoft.com/office/2006/metadata/contentType" => Some("ct"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2014/chartex" => Some("cx"),
    "http://purl.org/dc/elements/1.1/" => Some("dc"),
    "http://purl.org/dc/terms/" => Some("dcterms"),
    "http://schemas.openxmlformats.org/drawingml/2006/diagram" => Some("dgm"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2010/diagram" => Some("dgm14"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2016/11/diagram" => Some("dgm1611"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2016/12/diagram" => Some("dgm1612"),
    "http://schemas.openxmlformats.org/officeDocument/2006/customXml" => Some("ds"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2008/diagram" => Some("dsp"),
    "http://www.w3.org/2003/04/emma" => Some("emma"),
    "http://www.w3.org/2003/InkML" => Some("inkml"),
    "http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas" => Some("lc"),
    "http://schemas.microsoft.com/office/2006/metadata/longProperties" => Some("lp"),
    "http://schemas.openxmlformats.org/officeDocument/2006/math" => Some("m"),
    "http://schemas.microsoft.com/office/2006/metadata/properties/metaAttributes" => Some("ma"),
    "http://schemas.openxmlformats.org/markup-compatibility/2006" => Some("mc"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/office/2011/9/metroDictionary" => Some("md"),
    "http://schemas.microsoft.com/ink/2010/main" => Some("msink"),
    "http://schemas.microsoft.com/office/2006/01/customui" => Some("mso"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/2009/07/customui" => Some("mso14"),
    "http://schemas.microsoft.com/office/2006/metadata/customXsn" => Some("ntns"),
    "urn:schemas-microsoft-com:office:office" => Some("o"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2013/main/command" => Some("oac"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/2019/extlst" => Some("oel"),
    "http://schemas.openxmlformats.org/officeDocument/2006/custom-properties" => Some("op"),
    "http://schemas.openxmlformats.org/presentationml/2006/main" => Some("p"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2010/main" => Some("p14"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2012/main" => Some("p15"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2015/main" => Some("p16"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2017/10/main" => Some("p1710"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2017/3/main" => Some("p173"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2018/4/main" => Some("p184"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2018/8/main" => Some("p188"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2019/12/main" => Some("p1912"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2020/02/main" => Some("p202"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2021/06/main" => Some("p216"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2022/03/main" => Some("p223"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2022/08/main" => Some("p228"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2023/02/main" => Some("p232"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2012/roamingSettings" => Some("pRoam"),
    "http://schemas.microsoft.com/office/internal/2007/ofapi/packaging" => Some("packaging"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/2007/6/19/audiovideo" => Some("pav"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2013/main/command" => Some("pc"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2019/9/main/command" => Some("pc2"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/powerpoint/2022/06/main/command" => Some("pc226"),
    "http://schemas.openxmlformats.org/drawingml/2006/picture" => Some("pic"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2010/picture" => Some("pic14"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/projectml/2012/main" => Some("pj15"),
    "urn:schemas-microsoft-com:office:powerpoint" => Some("pvml"),
    "http://schemas.openxmlformats.org/officeDocument/2006/relationships" => Some("r"),
    "http://schemas.openxmlformats.org/schemaLibrary/2006/main" => Some("sl"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2010/slicer" => Some("sle"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/tasks/2019/documenttasks" => Some("t"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/thememl/2012/main" => Some("thm15"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/drawing/2012/timeslicer" => Some("tsle"),
    "urn:schemas-microsoft-com:vml" => Some("v"),
    "http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes" => Some("vt"),
    "http://schemas.openxmlformats.org/wordprocessingml/2006/main" => Some("w"),
    "urn:schemas-microsoft-com:office:word" => Some("w10"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2010/wordml" => Some("w14"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2012/wordml" => Some("w15"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2018/wordml/cex" => Some("w16cex"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2016/wordml/cid" => Some("w16cid"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2018/wordml" => Some("w16cur"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2023/wordml/word16du" => Some("w16du"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash" => Some("w16sdtdh"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2024/wordml/sdtformatlock" => Some("w16sdtfl"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2015/wordml/symex" => Some("w16se"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/webextensions/webextension/2010/11" => Some("we"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/webextensions/taskpanes/2010/11" => Some("wetp"),
    "http://schemas.microsoft.com/office/word/2006/wordml" => Some("wne"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2020/oembed" => Some("woe"),
    "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" => Some("wp"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing" => Some("wp14"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2012/wordprocessingDrawing" => Some("wp15"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" => Some("wpc"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" => Some("wpg"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/word/2010/wordprocessingShape" => Some("wps"),
    "http://schemas.openxmlformats.org/spreadsheetml/2006/main" => Some("x"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2011/1/ac" => Some("x12ac"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" => Some("x14"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" => Some("x14ac"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2010/11/main" => Some("x15"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac" => Some("x15ac"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2014/11/main" => Some("x16"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2015/02/main" => Some("x16r2"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2018/08/main" => Some("x16r3"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures" => Some("xcalcf"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray" => Some("xda"),
    "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing" => Some("xdr"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing" => Some("xdr14"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2022/featurepropertybag" => Some("xfpb"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2016/01/main" => Some("xlPr"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2023/externalCodeService" => Some("xlecs"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2025/externalCodeService2" => Some("xlecs2"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2023/msForms" => Some("xlmsforms"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2024/pivotAutoRefresh" => Some("xlpar"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2023/pivot2023Calculation" => {
      Some("xlpcalc")
    }
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2024/pivotDynamicArrays" => Some("xlpda"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2025/pivotDataSource" => Some("xlpds"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" => Some("xlrd"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2" => Some("xlrd2"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2020/richdatawebimage" => Some("xlrdwi"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2020/richvaluerefresh" => Some("xlrvr"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2022/richvaluerel" => Some("xlrvrel"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments" => Some("xltc"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2020/threadedcomments2" => Some("xltc2"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2024/workbookCompatibilityVersion" => {
      Some("xlwcv")
    }
    "http://www.w3.org/XML/1998/namespace" => Some("xml"),
    "http://schemas.microsoft.com/office/excel/2006/main" => Some("xne"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2019/namedsheetviews" => Some("xnsv"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2016/pivotdefaultlayout" => Some("xpdl"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2022/pivotRichData" => Some("xprd"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2014/revision" => Some("xr"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2016/revision10" => Some("xr10"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2017/revision16" => Some("xr16"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2015/revision2" => Some("xr2"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2016/revision3" => Some("xr3"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2016/revision5" => Some("xr5"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2016/revision6" => Some("xr6"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2016/revision9" => Some("xr9"),
    "http://www.w3.org/2001/XMLSchema" => Some("xsd"),
    "urn:schemas-microsoft-com:office:excel" => Some("xvml"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2023/dataSourceVersioning" => Some("xxdsv"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2021/extlinks2021" => Some("xxl21"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2019/extlinksprops" => Some("xxlnp"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2020/pivotNov2020" => Some("xxpim"),
    #[cfg(feature = "microsoft365")]
    "http://schemas.microsoft.com/office/spreadsheetml/2022/pivotVersionInfo" => Some("xxpvi"),
    _ => None,
  }
}
pub(crate) fn uri_by_prefix(prefix: &str) -> Option<&'static str> {
  match prefix {
    "a" => Some("http://schemas.openxmlformats.org/drawingml/2006/main"),
    #[cfg(feature = "microsoft365")]
    "a14" => Some("http://schemas.microsoft.com/office/drawing/2010/main"),
    #[cfg(feature = "microsoft365")]
    "a15" => Some("http://schemas.microsoft.com/office/drawing/2012/main"),
    #[cfg(feature = "microsoft365")]
    "a16" => Some("http://schemas.microsoft.com/office/drawing/2014/main"),
    #[cfg(feature = "microsoft365")]
    "a1611" => Some("http://schemas.microsoft.com/office/drawing/2016/11/main"),
    #[cfg(feature = "microsoft365")]
    "a3danim" => Some("http://schemas.microsoft.com/office/drawing/2018/animation/model3d"),
    #[cfg(feature = "microsoft365")]
    "aanim" => Some("http://schemas.microsoft.com/office/drawing/2018/animation"),
    "ac" => Some("http://schemas.openxmlformats.org/officeDocument/2006/characteristics"),
    #[cfg(feature = "microsoft365")]
    "aclsh" => Some("http://schemas.microsoft.com/office/drawing/2020/classificationShape"),
    #[cfg(feature = "microsoft365")]
    "adec" => Some("http://schemas.microsoft.com/office/drawing/2017/decorative"),
    #[cfg(feature = "microsoft365")]
    "ahyp" => Some("http://schemas.microsoft.com/office/drawing/2018/hyperlinkcolor"),
    #[cfg(feature = "microsoft365")]
    "aif" => Some("http://schemas.microsoft.com/office/drawing/2022/imageformula"),
    #[cfg(feature = "microsoft365")]
    "aink" => Some("http://schemas.microsoft.com/office/drawing/2016/ink"),
    #[cfg(feature = "microsoft365")]
    "alf" => Some("http://schemas.microsoft.com/office/drawing/2021/livefeed"),
    #[cfg(feature = "microsoft365")]
    "am3d" => Some("http://schemas.microsoft.com/office/drawing/2017/model3d"),
    #[cfg(feature = "microsoft365")]
    "aoe" => Some("http://schemas.microsoft.com/office/drawing/2021/oembed"),
    "ap" => Some("http://schemas.openxmlformats.org/officeDocument/2006/extended-properties"),
    #[cfg(feature = "microsoft365")]
    "ask" => Some("http://schemas.microsoft.com/office/drawing/2018/sketchyshapes"),
    #[cfg(feature = "microsoft365")]
    "asl" => Some("http://schemas.microsoft.com/office/drawing/2021/scriptlink"),
    #[cfg(feature = "microsoft365")]
    "asvg" => Some("http://schemas.microsoft.com/office/drawing/2016/SVG/main"),
    "ax" => Some("http://schemas.microsoft.com/office/2006/activeX"),
    "b" => Some("http://schemas.openxmlformats.org/officeDocument/2006/bibliography"),
    "c" => Some("http://schemas.openxmlformats.org/drawingml/2006/chart"),
    #[cfg(feature = "microsoft365")]
    "c14" => Some("http://schemas.microsoft.com/office/drawing/2007/8/2/chart"),
    #[cfg(feature = "microsoft365")]
    "c15" => Some("http://schemas.microsoft.com/office/drawing/2012/chart"),
    #[cfg(feature = "microsoft365")]
    "c16" => Some("http://schemas.microsoft.com/office/drawing/2014/chart"),
    #[cfg(feature = "microsoft365")]
    "c16ac" => Some("http://schemas.microsoft.com/office/drawing/2014/chart/ac"),
    #[cfg(feature = "microsoft365")]
    "c16r3" => Some("http://schemas.microsoft.com/office/drawing/2017/03/chart"),
    "cdip" => Some("http://schemas.microsoft.com/office/2006/customDocumentInformationPanel"),
    "cdr" => Some("http://schemas.openxmlformats.org/drawingml/2006/chartDrawing"),
    #[cfg(feature = "microsoft365")]
    "cdr14" => Some("http://schemas.microsoft.com/office/drawing/2010/chartDrawing"),
    #[cfg(feature = "microsoft365")]
    "clbl" => Some("http://schemas.microsoft.com/office/2020/mipLabelMetadata"),
    #[cfg(feature = "microsoft365")]
    "com14" => Some("http://schemas.microsoft.com/office/drawing/2010/compatibility"),
    "comp" => Some("http://schemas.openxmlformats.org/drawingml/2006/compatibility"),
    "cp" => Some("http://schemas.openxmlformats.org/package/2006/metadata/core-properties"),
    "cppr" => Some("http://schemas.microsoft.com/office/2006/coverPageProps"),
    #[cfg(feature = "microsoft365")]
    "cr" => Some("http://schemas.microsoft.com/office/comments/2020/reactions"),
    #[cfg(feature = "microsoft365")]
    "cs" => Some("http://schemas.microsoft.com/office/drawing/2012/chartStyle"),
    "ct" => Some("http://schemas.microsoft.com/office/2006/metadata/contentType"),
    #[cfg(feature = "microsoft365")]
    "cx" => Some("http://schemas.microsoft.com/office/drawing/2014/chartex"),
    "dc" => Some("http://purl.org/dc/elements/1.1/"),
    "dcterms" => Some("http://purl.org/dc/terms/"),
    "dgm" => Some("http://schemas.openxmlformats.org/drawingml/2006/diagram"),
    #[cfg(feature = "microsoft365")]
    "dgm14" => Some("http://schemas.microsoft.com/office/drawing/2010/diagram"),
    #[cfg(feature = "microsoft365")]
    "dgm1611" => Some("http://schemas.microsoft.com/office/drawing/2016/11/diagram"),
    #[cfg(feature = "microsoft365")]
    "dgm1612" => Some("http://schemas.microsoft.com/office/drawing/2016/12/diagram"),
    "ds" => Some("http://schemas.openxmlformats.org/officeDocument/2006/customXml"),
    #[cfg(feature = "microsoft365")]
    "dsp" => Some("http://schemas.microsoft.com/office/drawing/2008/diagram"),
    "emma" => Some("http://www.w3.org/2003/04/emma"),
    "inkml" => Some("http://www.w3.org/2003/InkML"),
    "lc" => Some("http://schemas.openxmlformats.org/drawingml/2006/lockedCanvas"),
    "lp" => Some("http://schemas.microsoft.com/office/2006/metadata/longProperties"),
    "m" => Some("http://schemas.openxmlformats.org/officeDocument/2006/math"),
    "ma" => Some("http://schemas.microsoft.com/office/2006/metadata/properties/metaAttributes"),
    "mc" => Some("http://schemas.openxmlformats.org/markup-compatibility/2006"),
    #[cfg(feature = "microsoft365")]
    "md" => Some("http://schemas.microsoft.com/office/office/2011/9/metroDictionary"),
    "msink" => Some("http://schemas.microsoft.com/ink/2010/main"),
    "mso" => Some("http://schemas.microsoft.com/office/2006/01/customui"),
    #[cfg(feature = "microsoft365")]
    "mso14" => Some("http://schemas.microsoft.com/office/2009/07/customui"),
    "ntns" => Some("http://schemas.microsoft.com/office/2006/metadata/customXsn"),
    "o" => Some("urn:schemas-microsoft-com:office:office"),
    #[cfg(feature = "microsoft365")]
    "oac" => Some("http://schemas.microsoft.com/office/drawing/2013/main/command"),
    #[cfg(feature = "microsoft365")]
    "oel" => Some("http://schemas.microsoft.com/office/2019/extlst"),
    "op" => Some("http://schemas.openxmlformats.org/officeDocument/2006/custom-properties"),
    "p" => Some("http://schemas.openxmlformats.org/presentationml/2006/main"),
    #[cfg(feature = "microsoft365")]
    "p14" => Some("http://schemas.microsoft.com/office/powerpoint/2010/main"),
    #[cfg(feature = "microsoft365")]
    "p15" => Some("http://schemas.microsoft.com/office/powerpoint/2012/main"),
    #[cfg(feature = "microsoft365")]
    "p16" => Some("http://schemas.microsoft.com/office/powerpoint/2015/main"),
    #[cfg(feature = "microsoft365")]
    "p1710" => Some("http://schemas.microsoft.com/office/powerpoint/2017/10/main"),
    #[cfg(feature = "microsoft365")]
    "p173" => Some("http://schemas.microsoft.com/office/powerpoint/2017/3/main"),
    #[cfg(feature = "microsoft365")]
    "p184" => Some("http://schemas.microsoft.com/office/powerpoint/2018/4/main"),
    #[cfg(feature = "microsoft365")]
    "p188" => Some("http://schemas.microsoft.com/office/powerpoint/2018/8/main"),
    #[cfg(feature = "microsoft365")]
    "p1912" => Some("http://schemas.microsoft.com/office/powerpoint/2019/12/main"),
    #[cfg(feature = "microsoft365")]
    "p202" => Some("http://schemas.microsoft.com/office/powerpoint/2020/02/main"),
    #[cfg(feature = "microsoft365")]
    "p216" => Some("http://schemas.microsoft.com/office/powerpoint/2021/06/main"),
    #[cfg(feature = "microsoft365")]
    "p223" => Some("http://schemas.microsoft.com/office/powerpoint/2022/03/main"),
    #[cfg(feature = "microsoft365")]
    "p228" => Some("http://schemas.microsoft.com/office/powerpoint/2022/08/main"),
    #[cfg(feature = "microsoft365")]
    "p232" => Some("http://schemas.microsoft.com/office/powerpoint/2023/02/main"),
    #[cfg(feature = "microsoft365")]
    "pRoam" => Some("http://schemas.microsoft.com/office/powerpoint/2012/roamingSettings"),
    "packaging" => Some("http://schemas.microsoft.com/office/internal/2007/ofapi/packaging"),
    #[cfg(feature = "microsoft365")]
    "pav" => Some("http://schemas.microsoft.com/office/2007/6/19/audiovideo"),
    #[cfg(feature = "microsoft365")]
    "pc" => Some("http://schemas.microsoft.com/office/powerpoint/2013/main/command"),
    #[cfg(feature = "microsoft365")]
    "pc2" => Some("http://schemas.microsoft.com/office/powerpoint/2019/9/main/command"),
    #[cfg(feature = "microsoft365")]
    "pc226" => Some("http://schemas.microsoft.com/office/powerpoint/2022/06/main/command"),
    "pic" => Some("http://schemas.openxmlformats.org/drawingml/2006/picture"),
    #[cfg(feature = "microsoft365")]
    "pic14" => Some("http://schemas.microsoft.com/office/drawing/2010/picture"),
    #[cfg(feature = "microsoft365")]
    "pj15" => Some("http://schemas.microsoft.com/projectml/2012/main"),
    "pvml" => Some("urn:schemas-microsoft-com:office:powerpoint"),
    "r" => Some("http://schemas.openxmlformats.org/officeDocument/2006/relationships"),
    "sl" => Some("http://schemas.openxmlformats.org/schemaLibrary/2006/main"),
    #[cfg(feature = "microsoft365")]
    "sle" => Some("http://schemas.microsoft.com/office/drawing/2010/slicer"),
    #[cfg(feature = "microsoft365")]
    "t" => Some("http://schemas.microsoft.com/office/tasks/2019/documenttasks"),
    #[cfg(feature = "microsoft365")]
    "thm15" => Some("http://schemas.microsoft.com/office/thememl/2012/main"),
    #[cfg(feature = "microsoft365")]
    "tsle" => Some("http://schemas.microsoft.com/office/drawing/2012/timeslicer"),
    "v" => Some("urn:schemas-microsoft-com:vml"),
    "vt" => Some("http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"),
    "w" => Some("http://schemas.openxmlformats.org/wordprocessingml/2006/main"),
    "w10" => Some("urn:schemas-microsoft-com:office:word"),
    #[cfg(feature = "microsoft365")]
    "w14" => Some("http://schemas.microsoft.com/office/word/2010/wordml"),
    #[cfg(feature = "microsoft365")]
    "w15" => Some("http://schemas.microsoft.com/office/word/2012/wordml"),
    #[cfg(feature = "microsoft365")]
    "w16cex" => Some("http://schemas.microsoft.com/office/word/2018/wordml/cex"),
    #[cfg(feature = "microsoft365")]
    "w16cid" => Some("http://schemas.microsoft.com/office/word/2016/wordml/cid"),
    #[cfg(feature = "microsoft365")]
    "w16cur" => Some("http://schemas.microsoft.com/office/word/2018/wordml"),
    #[cfg(feature = "microsoft365")]
    "w16du" => Some("http://schemas.microsoft.com/office/word/2023/wordml/word16du"),
    #[cfg(feature = "microsoft365")]
    "w16sdtdh" => Some("http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash"),
    #[cfg(feature = "microsoft365")]
    "w16sdtfl" => Some("http://schemas.microsoft.com/office/word/2024/wordml/sdtformatlock"),
    #[cfg(feature = "microsoft365")]
    "w16se" => Some("http://schemas.microsoft.com/office/word/2015/wordml/symex"),
    #[cfg(feature = "microsoft365")]
    "we" => Some("http://schemas.microsoft.com/office/webextensions/webextension/2010/11"),
    #[cfg(feature = "microsoft365")]
    "wetp" => Some("http://schemas.microsoft.com/office/webextensions/taskpanes/2010/11"),
    "wne" => Some("http://schemas.microsoft.com/office/word/2006/wordml"),
    #[cfg(feature = "microsoft365")]
    "woe" => Some("http://schemas.microsoft.com/office/word/2020/oembed"),
    "wp" => Some("http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing"),
    #[cfg(feature = "microsoft365")]
    "wp14" => Some("http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"),
    #[cfg(feature = "microsoft365")]
    "wp15" => Some("http://schemas.microsoft.com/office/word/2012/wordprocessingDrawing"),
    #[cfg(feature = "microsoft365")]
    "wpc" => Some("http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas"),
    #[cfg(feature = "microsoft365")]
    "wpg" => Some("http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"),
    #[cfg(feature = "microsoft365")]
    "wps" => Some("http://schemas.microsoft.com/office/word/2010/wordprocessingShape"),
    "x" => Some("http://schemas.openxmlformats.org/spreadsheetml/2006/main"),
    #[cfg(feature = "microsoft365")]
    "x12ac" => Some("http://schemas.microsoft.com/office/spreadsheetml/2011/1/ac"),
    #[cfg(feature = "microsoft365")]
    "x14" => Some("http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"),
    #[cfg(feature = "microsoft365")]
    "x14ac" => Some("http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"),
    #[cfg(feature = "microsoft365")]
    "x15" => Some("http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"),
    #[cfg(feature = "microsoft365")]
    "x15ac" => Some("http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac"),
    #[cfg(feature = "microsoft365")]
    "x16" => Some("http://schemas.microsoft.com/office/spreadsheetml/2014/11/main"),
    #[cfg(feature = "microsoft365")]
    "x16r2" => Some("http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"),
    #[cfg(feature = "microsoft365")]
    "x16r3" => Some("http://schemas.microsoft.com/office/spreadsheetml/2018/08/main"),
    #[cfg(feature = "microsoft365")]
    "xcalcf" => Some("http://schemas.microsoft.com/office/spreadsheetml/2018/calcfeatures"),
    #[cfg(feature = "microsoft365")]
    "xda" => Some("http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray"),
    "xdr" => Some("http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"),
    #[cfg(feature = "microsoft365")]
    "xdr14" => Some("http://schemas.microsoft.com/office/excel/2010/spreadsheetDrawing"),
    #[cfg(feature = "microsoft365")]
    "xfpb" => Some("http://schemas.microsoft.com/office/spreadsheetml/2022/featurepropertybag"),
    #[cfg(feature = "microsoft365")]
    "xlPr" => Some("http://schemas.microsoft.com/office/spreadsheetml/2016/01/main"),
    #[cfg(feature = "microsoft365")]
    "xlecs" => Some("http://schemas.microsoft.com/office/spreadsheetml/2023/externalCodeService"),
    #[cfg(feature = "microsoft365")]
    "xlecs2" => Some("http://schemas.microsoft.com/office/spreadsheetml/2025/externalCodeService2"),
    #[cfg(feature = "microsoft365")]
    "xlmsforms" => Some("http://schemas.microsoft.com/office/spreadsheetml/2023/msForms"),
    #[cfg(feature = "microsoft365")]
    "xlpar" => Some("http://schemas.microsoft.com/office/spreadsheetml/2024/pivotAutoRefresh"),
    #[cfg(feature = "microsoft365")]
    "xlpcalc" => {
      Some("http://schemas.microsoft.com/office/spreadsheetml/2023/pivot2023Calculation")
    }
    #[cfg(feature = "microsoft365")]
    "xlpda" => Some("http://schemas.microsoft.com/office/spreadsheetml/2024/pivotDynamicArrays"),
    #[cfg(feature = "microsoft365")]
    "xlpds" => Some("http://schemas.microsoft.com/office/spreadsheetml/2025/pivotDataSource"),
    #[cfg(feature = "microsoft365")]
    "xlrd" => Some("http://schemas.microsoft.com/office/spreadsheetml/2017/richdata"),
    #[cfg(feature = "microsoft365")]
    "xlrd2" => Some("http://schemas.microsoft.com/office/spreadsheetml/2017/richdata2"),
    #[cfg(feature = "microsoft365")]
    "xlrdwi" => Some("http://schemas.microsoft.com/office/spreadsheetml/2020/richdatawebimage"),
    #[cfg(feature = "microsoft365")]
    "xlrvr" => Some("http://schemas.microsoft.com/office/spreadsheetml/2020/richvaluerefresh"),
    #[cfg(feature = "microsoft365")]
    "xlrvrel" => Some("http://schemas.microsoft.com/office/spreadsheetml/2022/richvaluerel"),
    #[cfg(feature = "microsoft365")]
    "xltc" => Some("http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments"),
    #[cfg(feature = "microsoft365")]
    "xltc2" => Some("http://schemas.microsoft.com/office/spreadsheetml/2020/threadedcomments2"),
    #[cfg(feature = "microsoft365")]
    "xlwcv" => {
      Some("http://schemas.microsoft.com/office/spreadsheetml/2024/workbookCompatibilityVersion")
    }
    "xml" => Some("http://www.w3.org/XML/1998/namespace"),
    "xne" => Some("http://schemas.microsoft.com/office/excel/2006/main"),
    #[cfg(feature = "microsoft365")]
    "xnsv" => Some("http://schemas.microsoft.com/office/spreadsheetml/2019/namedsheetviews"),
    #[cfg(feature = "microsoft365")]
    "xpdl" => Some("http://schemas.microsoft.com/office/spreadsheetml/2016/pivotdefaultlayout"),
    #[cfg(feature = "microsoft365")]
    "xprd" => Some("http://schemas.microsoft.com/office/spreadsheetml/2022/pivotRichData"),
    #[cfg(feature = "microsoft365")]
    "xr" => Some("http://schemas.microsoft.com/office/spreadsheetml/2014/revision"),
    #[cfg(feature = "microsoft365")]
    "xr10" => Some("http://schemas.microsoft.com/office/spreadsheetml/2016/revision10"),
    #[cfg(feature = "microsoft365")]
    "xr16" => Some("http://schemas.microsoft.com/office/spreadsheetml/2017/revision16"),
    #[cfg(feature = "microsoft365")]
    "xr2" => Some("http://schemas.microsoft.com/office/spreadsheetml/2015/revision2"),
    #[cfg(feature = "microsoft365")]
    "xr3" => Some("http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"),
    #[cfg(feature = "microsoft365")]
    "xr5" => Some("http://schemas.microsoft.com/office/spreadsheetml/2016/revision5"),
    #[cfg(feature = "microsoft365")]
    "xr6" => Some("http://schemas.microsoft.com/office/spreadsheetml/2016/revision6"),
    #[cfg(feature = "microsoft365")]
    "xr9" => Some("http://schemas.microsoft.com/office/spreadsheetml/2016/revision9"),
    "xsd" => Some("http://www.w3.org/2001/XMLSchema"),
    "xvml" => Some("urn:schemas-microsoft-com:office:excel"),
    #[cfg(feature = "microsoft365")]
    "xxdsv" => Some("http://schemas.microsoft.com/office/spreadsheetml/2023/dataSourceVersioning"),
    #[cfg(feature = "microsoft365")]
    "xxl21" => Some("http://schemas.microsoft.com/office/spreadsheetml/2021/extlinks2021"),
    #[cfg(feature = "microsoft365")]
    "xxlnp" => Some("http://schemas.microsoft.com/office/spreadsheetml/2019/extlinksprops"),
    #[cfg(feature = "microsoft365")]
    "xxpim" => Some("http://schemas.microsoft.com/office/spreadsheetml/2020/pivotNov2020"),
    #[cfg(feature = "microsoft365")]
    "xxpvi" => Some("http://schemas.microsoft.com/office/spreadsheetml/2022/pivotVersionInfo"),
    _ => None,
  }
}