Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading Docs With DesignType,throw POIXMLException Error #1392

Open
1 of 5 tasks
cloudrflight opened this issue Jul 23, 2024 · 0 comments
Open
1 of 5 tasks

Reading Docs With DesignType,throw POIXMLException Error #1392

cloudrflight opened this issue Jul 23, 2024 · 0 comments

Comments

@cloudrflight
Copy link

cloudrflight commented Jul 23, 2024

NPOI Version

2.7.1

File Type

  • XLSX
  • XLS
  • DOCX
  • XLSM
  • OTHER

Upload the Docx File

word.docx

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

Reproduce Steps

C# .net framework 4.7.2,using new XWPFDocument(stream)

Issue Description

                using (var rs = File.Open(path,FileMode.Open))
                {
                    var pk = PackageHelper.Open(rs);
                    using (var doc = new XWPFDocument(pk))
                    {
                    }
               }

throw error
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants