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

Free Support Forum - aspose.com

How to get HTML code from a paragraph

Hello,


I’m using Aspose.Words to get text data from multiples word files (over 250 files). These data are after that injected in a database and display through CKEditor.
I would like to know if it’s possible to get html text (with bold, underline, etc…) instead of “simple text”.

I know that i could have this information through ParagraphFormat but maybe you have some methods or code fragment for do that ?

Best regards,

Jérémy

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. You can use the same approach as described here to extract HTML from Node:

http://www.aspose.com/community/forums/230130/extract-text-with-formatting/showthread.aspx#230130

Hope this helps.

Best regards,