How can I debug a corrupt docx file?

前端 未结 4 1128
粉色の甜心
粉色の甜心 2021-02-05 07:17

I have an issue where .doc and .pdf files are coming out OK but a .docx file is coming out corrupt.

In order to solve that I am trying to debug why the .docx is corrup

4条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-05 07:42

    I used the "Open XML SDK 2.5 Productivity Tool" (http://www.microsoft.com/en-us/download/details.aspx?id=30425) to find a problem with a broken hyperlink reference.

    You have to download/install the SDK first, then the tool. The tool will open and analyze the document for problems.

提交回复
热议问题