Table of Contents update with Java API

Hello,

I tried to update a table of contents field programmatically by using document.updateFields() (Aspose Java API 4.0.0). As you know the table of contents field is not updated in the document.
After investigating a little bit I’ve found a post where you announce to support updating TOCs in Aspose Word .Net 9.0.0. Are there also plans to add this functionality to the Java Word implementation?

Thanks again for your help!
Best regards,
Sebastian

Hi
Thank you for your interest in Aspose.Words for Java. Unfortunately, Aspose.Words for java does not support updating TOC at the moment. This feature is only available in .NET version of Aspose.Words.
Your request has been linked to the appropriate issue. You will be notified as soon as this feature is availble in Java. Current estimate regarding this feature is 1-2 months.
Best regards.

Is this supported in Java now? What’s the ETA for the release of it?

Hi

Thanks for your inquiry. We are still working on this feature in Java version of Aspose.Words. This feature will be included into the upcoming release, which comes out in a month or so.
Best regards.

We are happy to inform you that the first auto-ported version of Aspose.Words for Java is ready. This version supports updating fields. You can get it from here.

Best regards,
Aspose.Words team

(15)