Skip to content

CreateTOC NullReferenceException #1820

Description

@camus0109

NPOI Version

2.8.0

File Type

  • XLSX
  • XLS
  • DOCX
  • XLSM
  • OTHER

Upload the Excel File

Please attach your original Excel File to help us reproduce the issue

can't gen word

Reproduce Steps

try
document.CreateTOC();
can't create toc

Issue Description

System.NullReferenceException HResult=0x80004003 Message=Object reference not set to an instance of an object. Source=NPOI.OOXML StackTrace: 在 NPOI.XWPF.UserModel.XWPFDocument.CreateTOC()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions