Mar 05
Who ever dreamed to convert HTML to a Word document? Lots of you as I can see on the forums…
This is a recurrent question on the OpenXml forums: "how can I convert (or insert) html to word?"
The classic answer is around the class altChunk as Eric White explain it.


One year ago, I needed to translate some HTML text from SharePoint rich text field to an OpenXml report. I managed to support the more common tags (<i>, <b>, <span>,<div>, …). All the tags wrote by SharePoint rich text field in compatible mode and those with the TinyMCE extension (as seen in one of my previous post).

I continued working on that little project to support even more HTML tags and now, I'm happy to announce you a new codeplex project Smile


Convert some Html chunks or an entire page to a Word 2007 document: http://notesforhtml2openxml.codeplex.com.

Feel free to drop me a comment if you enjoy the library! [More]
Tags:
Sep 16
Explain what is a document property, how to use them and how to add some new with the interface or with OpenXml SDK. [More]
Tags:
Aug 20
Gives the complete procedure to generate a docx on the demand and sending it back from an Asp.Net page, setting Http headers (like Content-Disposition). [More]
Tags:
May 27
Some code snippet to convert a dotx to docx using OpenXml SDK 2.0 [More]
Tags: