We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Charts appears in ToC

Hello.


After inserting chart in separate apargraph it appears in Table of Contents.

How can I fix this problem?

Hi there,


Thanks for your inquiry. We will appreciate it if you please share following resources, we will test the scenario at our end and will guide you accordingly.

  • Your input Word document
  • Aspose.Words generated output document showing the undesired behavior
  • Please attach your expected documents here for our reference. We will investigate the structure of your expected documents as to how you want your final outputs be generated like. You can create expected documents by using Microsoft Word.
  • Please create a standalone simplified console application (source code without compilation errors) that helps us reproduce your specific problem on our end and attach it here for testing.

Best Regards,

Good evening, Tilal.


The problem was at predefined styles in word document. Resolved with clearing current ParagraphFormat: builder.paragraphFormat.ClearFormatting();

Hi there,


Thanks for your inquiry. It is good to know that you have managed to resolve the issue at your own.

Please keep using Aspose.Words and feel free to contact us for any question or concern. We will be more than happy to extend our support.

Best Regards,