Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Tue Mar 09, 2021 8:31 am

Hi,

We are basically doing automatic appraisal process via program. So the added address and content will be different all the time (45 report type so far we have).
attached the document for your process.

Manikandan.ma
 
Posts: 11
Joined: Wed Jun 10, 2020 10:13 am

Tue Mar 09, 2021 10:04 am

Hello,

Thanks for providing the file via email.
I tested the code below with the latest Spire.Office Platinum(Hotfix) Version:6.2.1 and indeed found that the TOC was not updated correctly. I have logged this issue in our bug tracking system with the ticket SPIREDOC-5667. We will keep you informed if there is any update. Apologize for the inconcvenicence caused.

Code: Select all
Document doc = new Document();
doc.LoadFromFile("Valbridge Test - office template - 3.8.2021.docx");
doc.UpdateTableOfContents();
doc.SaveToFile("result.docx",FileFormat.Docx);


Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Fri Mar 19, 2021 1:19 am

Hello,

Hope you are doing well.
Regarding the issue SPIREDOC-5667, considering your urgent situation, we compiled a temporary version for you. Please download it for testing first . When the official version is released, we will inform you.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Mon Mar 29, 2021 1:44 pm

Still this issue is not sorted out.

Please check

Manikandan.ma
 
Posts: 11
Joined: Wed Jun 10, 2020 10:13 am

Tue Mar 30, 2021 7:24 am

Hello,

Thanks for your post.

Kindly note that the temporary version I provided only fixed the issue of the file "Valbridge Test - office template - 3.8.2021.docx". However, I checked our email records and found that you reported a new issue with another file. My colleague Lisa has replied to you that she has reproduced the issue and logged it in our bug tracking system. This issue has now been fixed and is in the testing phase. Once the tests pass, we will prepare a hotfix for you asap. Thanks for your patience.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.Doc