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!

Tags:

Comments

Boca Raton

Posted on Thursday, 22 April 2010 04:27

This site really helps me with my problem. thanks!



rap instrumentals

Posted on Thursday, 22 April 2010 21:46

Eric White had it, thanks for having linked to him. This is exactly what i need now..to convert some xtml content to my word doc.
Thanks...

Baccarat

Posted on Monday, 10 May 2010 12:41

Hmm, I have always thought to insert an HTML into a word document. I felt like it is easier to code. I've been into a lot of forums before and no one has given me a straight answer. And good thing I came across the post. Thanks sooo much!

doug.prototype

Posted on Thursday, 13 May 2010 14:50

This works great. Is there a way for it to create borders around images if the img border or style tag says it has a border?

Olivier

Posted on Wednesday, 19 May 2010 03:29

doug> yes this is possible but by default, I removed the borders. Can you open an issue here please: notesforhtml2openxml.codeplex.com/.../basic

Dog Kennel

Posted on Wednesday, 19 May 2010 12:46

Really enjoyed the library.  Thanks

haunted places

Posted on Saturday, 22 May 2010 23:36

Ah thanks for the tips, I just wish I found this site a few months earlierSmile

Jim Karter

Posted on Tuesday, 25 May 2010 08:24

Good tips and will definitely help me for my project works.

Val

Posted on Monday, 31 May 2010 11:55

Is there some similar library which converts Html doc to the Power point open xml elements? Thanks

oracle rac training

Posted on Monday, 7 June 2010 19:57

great.. that was simple way to convert.. thanks for your best tips

character

Posted on Thursday, 10 June 2010 05:39

Awesome! This is a very simple solution to convert HTML into open XML.. You see, I have my website in Plain HTML, and I was thinking of upgrading. Thanks a lot.

backlinks

Posted on Friday, 11 June 2010 10:41

Initially I used to do the same. but now i found plugins which does this job without putting my head into it.

attorney marketing

Posted on Monday, 14 June 2010 12:14

Hey do you any best source to learn HTML and XML online.I am very interested to learn them.Would be glad if you let me know any such places.

Gino

Posted on Friday, 25 June 2010 09:39

Cant install OpenXml SDK 2.0, can please somebody help?
My email rinaldi.gino@virgilio.it. Thank you

balanzza luggage scales

Posted on Monday, 5 July 2010 18:33

In this time, I felt like it is easier to code. I've been into a lot of forums before and no one has given me a straight answer

London Female Escorts

Posted on Thursday, 8 July 2010 09:07

i have same problem in the past converting from html to word.the application works like a charm

Pepper Spray

Posted on Saturday, 10 July 2010 03:32

Wow I wish I found this site earlier! This solution works perfectly, thanks so much!

Wanda Dupree

Posted on Tuesday, 13 July 2010 07:23

I just subscribed to your RSS feed after reading this item! Will you write more on the subject in future articles?

Blog Literature

Posted on Thursday, 22 July 2010 16:50

You have saved my time. Now i am going to create my xml site maps to submit in google. Thanks for sharing such valuable resource with us.

idolreplicas

Posted on Saturday, 24 July 2010 05:15

crib bedding sets

I was very thrilled to find this site on google.I wanted to say thank you to you with regard to this great read!! I certainlyenjoyed every little bit of it and I've you bookmarked to take a look at new stuff you post.

home bedding

Posted on Saturday, 31 July 2010 01:23

ahaha this was so simple, I can't believe  I didn't see this before. Thanks Eric!

Moroccanfurniture

Posted on Sunday, 1 August 2010 21:48

Thanks for sharing. I take care of your blog. Please give me some information when you supply them.

moroccan lanterns

Posted on Monday, 2 August 2010 10:00

This is the most in-depth analysis on the subject. Thanks.

Criação de Site

Posted on Tuesday, 10 August 2010 12:26

thanks, this is what i'm looking for

placement argent

Posted on Tuesday, 10 August 2010 22:34

This was a useful post and I think it is rather easy to see from the other comments as well that this post is well written and useful. I bookmarked this blog a while ago because of the useful content and I am never being disappointed. Keep up the good work

Frank

Posted on Friday, 13 August 2010 12:52

Hey can I copy and paste this article on my site? What references should I give? You should give this info for others too.

munaji e-books

Posted on Sunday, 15 August 2010 03:42

solve my questions too, thanks

inspection nightmare

Posted on Monday, 16 August 2010 13:49

Hi there! Very useful post! I am very glad that I was able to stumble upon your blog while searching Google. Koodles for this great post!

Scottsdale

Posted on Monday, 16 August 2010 22:14

thanks for sharing this, i tried other converters but all those failed and some even converts the html wrong.

Escort Agency London

Posted on Monday, 16 August 2010 23:20

How I wish I could make some codes like this.

Criminal Lawyer

Posted on Wednesday, 18 August 2010 22:08

Html to word, finally! Great library, thank you!


Dog Life Vest

Posted on Thursday, 19 August 2010 16:36

Truly is a fantastic article. I found this article in bing for some reason and simply just couldn't stop reading. I will be planning to bookmark this on my delicious account so i can return to it in the future too. Thank you!

Bath Escorts

Posted on Friday, 20 August 2010 18:14

i'd say, sometimes i don't understand why some people just have to junk up the blogs so much. really just stop , its way too annoying and it makes me just wanna stop coming here. On a side note, great post bro.

online marketing solutions

Posted on Saturday, 21 August 2010 03:35

very interesting post to read......

Los Angeles CPA

Posted on Sunday, 22 August 2010 05:09

Best of luck to you on your Codeplex Project! I've done some html and i admire those have mastered it. Peace Smile

realtouch toy

Posted on Monday, 30 August 2010 03:55

I seriously like your blog, Its very good to discover not every body is just posting a lot of nonsense now a days!

real touch toy

Posted on Monday, 30 August 2010 05:53

I romance your blog, Its outstanding to learn not everybody is just posting a heap of rubbish these days!

clarinet maintenance

Posted on Tuesday, 31 August 2010 16:03

I'm really impresses with your blog so far. I'm following your RSS feed. You seem to be a leader in your niche. Keep up the good work.

Jeanne

Posted on Wednesday, 1 September 2010 15:42

Simply want to say your article is brilliant. The clarity in your post is simply spectacular and i can assume you are an expert on this field. Well with your permission allow me to grab your rss feed to keep up to date with future post. Thanks a million and please keep up the strong work.

Joshua

Posted on Saturday, 4 September 2010 18:48

I have always thought to insert an HTML into a word document.i was expecting answer from many forums finally i got it here,thanks for sharing,keep up the good work...

hulu converter

Posted on Sunday, 5 September 2010 01:16

Its very good to discover not every body

Michael from Zero Friction Marketing Review

Posted on Monday, 6 September 2010 13:30

Promoting CPA offers for me has been one of my best ways to earn money online.  I think this works great for me because I find it easier to convince someone to take a free trial or submit their name and e-mail, rather than actually trying to get them to purchase a product.  While the payout per conversion might be lower with free offers, conversion rates are usually much higher so this offsets the difference.  While pay per sale offers from Clickbank might be a temptation for new marketers, I would strongly suggest starting with promoting free offers, and after gaining internet and affiliate marketing experience, then move to paid offers.

wedding dresses for sale

Posted on Thursday, 9 September 2010 12:10

1 egg

jewellers Romford

Posted on Thursday, 9 September 2010 13:23

Heard this or.

Wedding Photographers Romford

Posted on Thursday, 9 September 2010 14:29

Hot kit.

Add comment




  Country flag

biuquote
Loading