Skip to content

使用UpdateTOC()更新目录后,没有报错,但是文档无法打开 #98

@qismyq

Description

@qismyq

无论使用test/toc_update_test.go中的测试样例,还是使用examples/toc_update_demo/main.go中的示例,均能通过TEST,但是均无法打开生成后保存的word文档。

打开文档时的错误提示:很抱歉,无法开启toc_update_test.docx,因为发现其内容有问题。 详细资料:“无法指出的错误, 位置:组件:/word/document.xml,行:0,栏:0”。

版本v1.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions