Comments (5)
Thanks for this. Do you happen to have a sample doc I can use for testing?
Also,
I may move this bug to the Serialize.OpenXml.CodeGen project as that is the project responsible for creating the source code. That being said, i would be interested in seeing whether or not the latest version of the openxml sdk would use classes from the A16 namespace instead of the unknown element class. Regardless, the code being generated should use the OpenXmlUnknownElement.CreateOpenXmlUnknownElement
method to create unknown elements instead of using the standard ctor.
from docxtosource.
I couldn't upload the powerpoint file in a public site.
from docxtosource.
If you can, give it another try with the latest source. I updated the Serialize.OpenXml.CodeGen
library it uses to generate the correct create method for OpenXmlUnknownElement
objects
from docxtosource.
I tried using the latest codes. But the result is still the same as the previously generated version. Just checking if I got the correct version
Serialize.OpenXml.CodeGen-bbbb75c586bcc8e633d9ee91627854d6d9fa1cf7.zip
Also, I'm only checking this portion ExtensionList in Table->TableGrid->GridColumn
from docxtosource.
The error was recreated using the latest DocxToSource (Nov 14, 2022) and CodeGen (Dec 18, 2022) from Github. The OpenXML is version 2.20.0.
The error in Visual Studio is
Severity Code Description
Error CS0619 'OpenXmlUnknownElement.CreateOpenXmlUnknownElement(string)' is obsolete: 'Use extension method CreateUnknownElement off of a part container'
Attached is a simple test file that reproduce the same issue on Slide 3.
Test powerpoint file.pptx
from docxtosource.
Related Issues (10)
- Code gen project doesnt seem to build HOT 1
- Consider change url submodule from ssh to https HOT 3
- Add functionality to 2 open file side by side HOT 2
- Unable To Build Main Branch
- PowerPoint ShapeProperties does not show a:xfrm (Transform2D) HOT 4
- Application crashes when trying to open a file with embedded documents HOT 4
- Make this project actually cross platform HOT 7
- Xml window not hiding reliably when selecting OpenXmlPart object in tree
- Program crashes when trying to open a document that is already open in Microsoft Office HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docxtosource.