Giter VIP home page Giter VIP logo

Comments (5)

rmboggs avatar rmboggs commented on July 24, 2024

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.

raymrdc avatar raymrdc commented on July 24, 2024

I couldn't upload the powerpoint file in a public site.

from docxtosource.

rmboggs avatar rmboggs commented on July 24, 2024

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.

raymrdc avatar raymrdc commented on July 24, 2024

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.

raymrdc avatar raymrdc commented on July 24, 2024

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 (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.