Please ZIP and upload Aspose.Words generated DOCX file showing the undesired behavior here for testing. We will then investigate the scenario on our end and provide you Java code to change font name and font size of Table of Content (TOC) field.
Epure International.zip (318.0 KB)
I want to set the font of Table of Content (TOC) field to “Times New Roman” and the font size to 10, but it is still the default font and size
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.