Hello, We are using java Aspose.words-21.4.0-jdk17
, while creating pdf from rtf template , The Table of content is not visible.
We tried using the methods below, still the changes were not reflected.
document.updateFields();
document.updatePageLayout();