Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files from any .NET platform (C#, VB.NET, ASP.NET, .NET Core) and Java applications (J2SE and J2EE) with fast and high quality performance.

Wed Sep 08, 2021 7:59 pm

With version 9.7.3

With the footnote in this document, table of contents page numbers and update field values are incorrect.
Attached are input and result files for below code; there is a footnote on page 4. The generated file does not have correct page numbers; when the footnote is removed, numbering is correct.
Code: Select all

           Document doc = new Document();
            doc.LoadFromStream(File.OpenRead("TestFail.docx"),FileFormat.Docx);
            doc.GetText();
            doc.UpdateTableOfContents();
            doc.IsUpdateFields = true;
            doc.SaveToFile("ResultFail.docx",FileFormat.Docx);

mike.woolsoncroft
 
Posts: 14
Joined: Tue May 05, 2020 2:11 pm

Thu Sep 09, 2021 9:15 am

Hello,

Thank you for your inquiry.
I tested your word file and found the behavior you mentioned. I have logged the issue into our Bug tracking system with the ticket number SPIREDOC-6666. Our development team will investigate and fix it. Once it is resolved, I will inform you. Sorry for the inconvenience caused.

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1101
Joined: Wed Apr 07, 2021 2:50 am

Fri Dec 17, 2021 8:45 am

Hello,

Hello,

Thank you for your patience.
Glad to inform that we just released Spire.Doc Pack(hot fix) Version:9.12.7 which fixed the issue SPIREDOC-6666, please download it from the following links to test.
Website link: https://www.e-iceblue.com/Download/download-word-for-net-now.html
Nuget link:https://www.nuget.org/packages/Spire.Doc/9.12.7

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1101
Joined: Wed Apr 07, 2021 2:50 am

Tue Dec 21, 2021 9:03 am

Hi,

Hope you are doing well!
Have you tried the new version of Spire.Doc? Is the issue resolved now? Any feedback will be greatly appreciated.

Sincerely,
Annika
E-iceblue support team
User avatar

Annika.Zhou
 
Posts: 1101
Joined: Wed Apr 07, 2021 2:50 am

Return to Spire.Doc