Hi
Thanks for your inquiry. I used the following code:
Document doc = new Document(@"Test001\2006_2006spd.rtf");
doc.UpdateFields();
doc.UpdatePageLayout();
doc.Save(@"Test001\out.doc");
I see that if update TOC again in the output document using MS Word, TOC looks improperly. I added this information to the defect description.
Best regards,
Alexey Noskov
Developer/Technical Support
Aspose Auckland Team