Coder Social home page Coder Social logo

Comments (6)

desjarlais avatar desjarlais commented on September 27, 2024

Thanks for the report. The reason the default Fix fails is because the code I wrote is assuming the textbox (txbxContent) is a shape, not a rectangle. I'll see if I can adjust the logic to handle both shape and rectangle scenarios.

The option that should work (and likely works on almost all of these type of corrupt files) is the "Remove all fallback" tags option. If you check that box and attempt to fix the original file, it should work correctly.

The reason that works is because I'm taking a brute force approach of deleting all of the fallback tags since they are optional tags per the file format spec. It is only relevant for older clients who are going to read the file, so technically, it will resolve the problem, but could make down-level clients fail. That is unless you re-save the file in Word and let it re-populate the fallback tags correctly, which it should.

from wordcorruptdocchecker.

socrtwo avatar socrtwo commented on September 27, 2024

from wordcorruptdocchecker.

socrtwo avatar socrtwo commented on September 27, 2024

from wordcorruptdocchecker.

desjarlais avatar desjarlais commented on September 27, 2024

I let the application do it, which you can do by checking the checkbox on the bottom left corner of the application window and then clicking Fix Document. Basically I'm removing the entire mc:Fallback...</mc:Fallback> block of tags. You leave the AC (AlternateContent) tag though.

from wordcorruptdocchecker.

socrtwo avatar socrtwo commented on September 27, 2024

from wordcorruptdocchecker.

socrtwo avatar socrtwo commented on September 27, 2024

from wordcorruptdocchecker.

Related Issues (10)

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.