Comments (6)
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.
from wordcorruptdocchecker.
from wordcorruptdocchecker.
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.
from wordcorruptdocchecker.
from wordcorruptdocchecker.
Related Issues (10)
- Program does not show buttons when Windows text is magnified to 175% HOT 8
- Open in Word fails to open with error HOT 1
- When Word Corrupt Doc Checker Finds the Document Does Not Contain Invalid XML... HOT 3
- Suggestion: Add a Info-Zip Zip Pretreament for Repairing the Zip Structure of the DOCX HOT 4
- Suggestion: If No Invalid XML is Found, Try Opening the Non-Opening DOCX in WordPad HOT 12
- Suggestion: Once a File is Fixed Have Microsoft Word Open It HOT 10
- If the Program Claims to Have Repaired Bad XML and the File Still Won't Open Offer to Remove Fallback Tags HOT 6
- Change the Name of the Project to the More Grammatically Correct "Corrupt Word DOCX Checker" HOT 4
- Corrupt Document is Only Partially Fixed by Program HOT 6
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 wordcorruptdocchecker.