Open-XML-SDK
Open-XML-SDK copied to clipboard
Missing namespace A16
Is this a:
- [X] Issue with the OpenXml library
- [ ] Question on library usage
Description
The OpenXml SDK doesn't seem to contain definitions for elements in the A16 namespace (http://schemas.microsoft.com/office/drawing/2014/main). I'm sure there are other element types that are not coming up but the sample I ran into was a16:colId
.
Information
- .NET Target: .net standard 2.0
- DocumentFormat.OpenXml Version: 2.11.3
Repro
Try to serialize the element a16:colId
.
Observed
Element a16:colId
serializes as an OpenXmlUnknownElement
object.
Expected
Element a16:colId
should serialize into an object like A16.ColId
.
@rmboggs thanks for reporting this. I confirmed colId and rowId elements are missing extensions. I'll try to add them soon.
Thanks @tomjebo . Please let me know if you have further questions.
Ugh, just found another one in the c16 namespace (http://schema.microsoft.com/office/drawing/2014/chart).
C16.uniqueId
is coming though as OpenXmlUnknownElement
Should this be reported here or a new issue?
@rmboggs This looks similar but to make sure, do you have an example document that shows this? The other one I can create but this one it would be quicker if you could provide a sample.
I can but it is easy to quickly build a sample pptx with this element by adding a default chart using powepoint 2016. The tag shows up in the extension list of the chart series element.
Element tree: (bar chart example) ChartPart > Chartspace[0] > Chart[0] > plotArea[0] > barChart[0] > ser[0] > extLst[0] > ext[0] > c16:uniqueId
Please let me know if more details are needed.
@rmboggs thanks, I was using Word. I'll try with PowerPoint.