We are using the Aspose library to generate the Word Doc and PDF. We generating Table of Content and Table of Figures in this. Table of Content is generating properly but if you see the Table of Figure then it’s having extra unwanted numbering. Please see the below screenshots. I have highlighted the unwanted numbering with yellow.
TOC.PNG (20.0 KB)
TOF.PNG (26.3 KB)
We have folloing code:
Table of Content:
//Insert TOC with only H2 (one Level) var switches = "\\o \"2-2\" \\h \\z \\u"; builder.InsertTableOfContents(switches);
Table of Figures:
builder.InsertTableOfContents("\\h \\z \\c \"Figure\"");
Please suggest that how can we remove highlighted numbering from the Table of Figures.