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

Free Support Forum - aspose.com

Converting HTML to Word and inserting it into a document

Dear Sir or Madam,


I have a word document and I have some HTML markup received from a webpage (something like this http://ckeditor.com/demo and click source button) I need to insert in the middle of the word document. Is it possible to convert the HTML into the set of Aspose.Words nodes in order to insert these nodes into the document tree?

Regards,
Alex

Hi Alex,

Thanks for your inquiry. Yes, you can load Html document into Aspose.Words DOM and insert the Word document at any place in loaded Html Document.

Please move the cursor to your desired location and use DocumentBuilder.InsertDocument method to insert the content of the Document into the current position of DocumentBuilder’s cursor.

Please let us know if you have any more queries.