Skip to content

Missing namespace A16 #790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 of 2 tasks
rmboggs opened this issue Aug 5, 2020 · 7 comments
Closed
1 of 2 tasks

Missing namespace A16 #790

rmboggs opened this issue Aug 5, 2020 · 7 comments
Assignees

Comments

@rmboggs
Copy link
Contributor

rmboggs commented Aug 5, 2020

Is this a:

  • 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.

@tomjebo
Copy link
Collaborator

tomjebo commented Aug 14, 2020

@rmboggs thanks for reporting this. I confirmed colId and rowId elements are missing extensions. I'll try to add them soon.

@rmboggs
Copy link
Contributor Author

rmboggs commented Aug 14, 2020

Thanks @tomjebo . Please let me know if you have further questions.

@rmboggs
Copy link
Contributor Author

rmboggs commented Aug 25, 2020

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?

@tomjebo
Copy link
Collaborator

tomjebo commented Aug 28, 2020

@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.

@rmboggs
Copy link
Contributor Author

rmboggs commented Aug 28, 2020

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.

@tomjebo
Copy link
Collaborator

tomjebo commented Aug 28, 2020

@rmboggs thanks, I was using Word. I'll try with PowerPoint.

@mikeebowen
Copy link
Collaborator

This issue is resolved by #1860

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants