Free Support Forum -

Style table of contents



I have been able to generate a table of contents in my word document using aspose cloud, but I would like to know if it is possible using the API to apply styling to it? The TOC seems to always come back as a field rather than a run so I do not have access to the font properties as far as I can see? Please let me know if there is an endpoint I have not noticed by which we can style the table of contents?
Being able to edit document styles would also let us do this by changing the styling of ‘TOC 1’ etc but I can’t find an endpoint to do this?




Thanks for your inquiry. I am looking into your request and will update you soon.



I have tested the scenario and noticed that we can change the style of the TOC. So I have logged a feature request WORDSCLOUD-786 in our issue tracking system for further investigation and implementation. We will notify you as soon as it is resolved.