Can I add a HTML in a string into a Word File and respect the HTML attributes?
Something like this
- Code: Select all
string htmlText = "<ol><li>Just a test file</li></ol>";
Paragraph paragraphNew = new Paragraph(document);
paragraphNew.AppendText(htmlText);
body.ChildObjects.Insert(index, paragraphNew.Clone());