Hello,
I'm trying to export a Word Document to HTML using the DocIO.Web dll. I'm running into an issue where there is a big chunk of CSS above the actual converted document wrapped in body{}. Is there a way to programmatically remove the word doc CSS?
Here is how I have tried to remove the CSS so far:
For Each section As Syncfusion.DocIO.DLS.WSection In wordDoc.Sections
section.HeadersFooters.EvenFooter.ChildEntities.Clear()
section.HeadersFooters.EvenHeader.ChildEntities.Clear()
section.HeadersFooters.FirstPageFooter.ChildEntities.Clear()
section.HeadersFooters.FirstPageHeader.ChildEntities.Clear()
section.HeadersFooters.Footer.ChildEntities.Clear()
section.HeadersFooters.Header.ChildEntities.Clear()
section.HeadersFooters.OddFooter.ChildEntities.Clear()
section.HeadersFooters.OddHeader.ChildEntities.Clear()
Next
Am I possibly just missing a property some place to remove the CSS? That seems to be about the last portion of the doc I can't remove via the conversion from Word to HTML. I'm using version 13.2.0.29 currently if that makes a difference.
Thanks