If you're thinking that you're going to need a hex editor, don't worry. Word's .docx files are actually a .zip archive of folders and files. You can unzip the file (making a copy first is a good idea), and find the likely source of corruption as described in this XDA article.
With file name extensions enabled, you can find a .docx, make a copy, rename it to end in .zip instead of .docx, and then it opens like any other compressed folder. Inside you'll see a bunch of folders along with an XML file named [Content_Types] which tells Word what each part is. The "_rels" folders map to how the parts connect inside, but probably the most relevant folder is fittingly called "word". In it, document.xml holds every word you typed, styles.xml holds your formatting, and a media subfolder holds your images.
Microsoft doesn't make the contents of the file easy to read, but they are plain text in Microsoft's complex variant of XML. They can be edited with a text editor like Notepad or preferably, a good text editor that understands XML (I used to use UltraEdit, but Notepad++ would work).
I have had to do this more than once and while it can require some painstaking editing, it's better than trying to recreate a file from scratch.
No comments:
Post a Comment