<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
I use Aspose.Words 18.104.22.168 to generate Word doc. Generally I specify “Heading 1” style to get a particular Header text in Table of contents. Its working fine.
I have a requirement where in my Header text differs from text to be displayed in TOC. So, I created a Hidden text with “Heading 1” style but it is not getting displayed in TOC.
Table of Contents
My Header Text
(Actual Header text)
Custom Header Name
If this will not work in Aspose. Can you give me work around for this Scenario.
Thanks in advance.