crm
1
Hi
I can see that you can save to html and xhtml.
Is there a way to pass throug hstyle information through to the XHTML.
i.e. in Word the user has a paragraph style called “clause”
Can we get this to produce
The text in the paragraph
Many thanks
This message was posted using Page2Forum from SaveFormat - Aspose.Words for .NET and Java
Hi
Thanks for your inquiry. Please try using the following code:
Document doc = new Document(@"Test044\in.doc");
doc.SaveOptions.HtmlExportCssStyleSheetType = CssStyleSheetType.External;
doc.Save(@"Test044\out.html", SaveFormat.Html);
or
doc.SaveOptions.HtmlExportCssStyleSheetType = CssStyleSheetType.Embedded;
Hope this helps.
Best regards.