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

Free Support Forum - aspose.com

Convert Word Docx to HTML using C# view as Display in SPList ViewItem

Platforms - .Net, C#, Word Document


Hi, I need to convert Word Document to HTML. With the same all picture and Format defined in word document. And Display this HTML page on SharePoint List. When you click on View Item Ribbon Button when you click on any SPListItem.

Thank You,
KruPesh.

And Can you please Tell me what control you are using to Write this Message Body.

Hello

Thanks for your interest in Aspose products.. Yes, you can use Aspose.Word for SharePoint to convert Word documents to HTML. Please see the following link for more information:

http://www.aspose.com/documentation/sharepoint-components/aspose.words-for-sharepoint/introducing-aspose-words-for-sharepoint.html

Best regards,

Yeas, I saw that yesterday.


But its say MHT - Web Page Archive but not HTML/XHTML.
So, Just a bit worried about it.

And I have I have my Word Document in my MemoryStream, So can I use your Class Library to convert my DOCX to HTML? from MemoryStream it self right…??

Thanks,
KruPesh.

Hi

Thanks for your request. Sure you can open a document from stream. You should simply use the appropriate constructor of Document class:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/aspose.words.documentconstructor4.html

Best regards,