0
votes

I am using CKeditor to get some data from user and i d like to save whatever user types on this very html editor to Word Document without losing the look and feel.

I have done lot of searching but wansnt able to find any resources actually.

Some of which are : How can a Word document be created in C#?

Problem writing HTML content to Word document in ASP.NET

so on.

Not sure why there is no clear direction on this.

Any pointers? libraries you can recommend?

1

1 Answers

1
votes

You can use Open XML sdk to create word documents programatically without installing word on the server. And you can convert simple html to word document using Html to Openxml. Alternatively you can insert the html file into word document as an alt chunk without losing the formatting (unless you using external css). An example code for it here and this one.