Incorrect page numbers in TOC

Hi,

The table of contents on page 7 of the attached document is updated incorrectly by Aspose Words 14.3.

Here is the code to reproduce with the attached document:

Document docsd = new Document(@"D:\Tests\2014-04-28_15h42m28s_NATIXIS_LIFE_TEST_1-TEMPLATE_1.doc");
docsd.UpdatePageLayout();
docsd.UpdateFields();
docsd.Save(@"D:\Tests\out.doc");

Best regards,

Hi there,

Thanks for your inquiry.

I have tested the scenario and have managed to reproduce the same issue at my side. For the sake of correction, I have logged this problem in our issue tracking system as WORDSNET-10061. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.