Updating doc TOC give "no table of contents entries found"

Updating the fields on a TOC that was loaded from a doc file results in "NO TABLE OF CONTENTS ENTRIES FOUND". If the source document is changed to a docx it works fine.

Field code { TOC \O "1-2" \H \Z \T "HEADING 5,3" }

Source document attached.

var doc = new Aspose.Words.Document(@"c:\temp\statement of work.doc");

doc.UpdateListLabels();

doc.UpdateFields();

doc.UpdatePageLayout();

doc.Save(

@"c:\temp\test.docx", Aspose.Words.SaveFormat.Docx);v

Hi Phillip,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 13.10.0, I managed to reproduce this issue on my side. I have logged this issue in our bug tracking system. The ID of your issue is WORDSNET-9239. Your request has also been linked to this issue and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,

The issues you have found earlier (filed as WORDSNET-9239) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan