Insert Formatted Clipboard plugin for Window Live Writer
Download: Insert Formatted Clipboard for WLW Setup
WLW Beta2 Update: WLW Beta2 now support pasting formatted clipboard contents so I was going to pull this tool. But for some reason this tool still produces better results (as far as I can tell). So if you're not happy with the default paste results, this tool may help.
Description
WLW doesn't support pasting rich content from the clipboard. Try copying something from IE or an Office product (Word, Excel, etc) and paste it into WLW, just plain text is all you get. With this plugin, you can paste clipboard contents and keep most of that nice formatting.
How it Works
This plugin uses the IE DHTML Editing Control behind the scenes to parse the clipboard contents into a valid block of HTML. MS Word is known for it's messy HTML, but this does a fine job of cleaning it up. It uses the technique I discussed in Copy Paste HTML From MS Word: IE's DHTML Editing Control (in a .NET WinApp). This is wrapped into a plugin using the WLW SDK.
Using the Plugin
You can use this with any app that puts HTML onto the clipboard. This includes IE, FireFox, Word, Excel, etc. By using this control, I can get nicely formatted C# code into my posts (see Tip: Beautifully Formatted .NET C# Code in Blog Post). There is another Insert Code plugin for WLW, but I don't care for it. WLW has a hard limit of 32k of HTML code, which you can rapidly hit by inserting too much formatted HTML, so be aware of this.
When using this plugin, it doesn't include images or get a perfect rendition of the clipboard contents, but it does a pretty good job. Try it out on this HelloWorld.doc file. WLW doesn't always render just right in HTML view. You'll get the most accurate rendering when the post is published and you view it in the browser. Pressing F11 in WLW will rerender the HTML view and sometimes helps.
Windows Live Writer Gallery
My submission to the WLW Gallery is currently pending. I'll update this post with the link to the tool there when it has been approved.
Comments
Anonymous
November 08, 2006
Újabb hasznos dolog. Download: Insert Formatted Clipboard for WLW Setup Description WLW doesn't supportAnonymous
November 08, 2006
Nice. I was just looking for something like this. Thanks.Anonymous
November 26, 2006
It looks like your submission was approved. Here is the link: http://gallery.live.com/liveItemDetail.aspx?li=90429f7b-39e5-4210-a6e6-aed0e67412f0&l=8Anonymous
January 28, 2007
Won't work on XPSP2 with IE7. Get an error message that MSHTML 7 can't be loaded. Possibly due to newer MSHTML with IE7 requiring signed asssembly to obtain a load???? Any ideas?Anonymous
January 30, 2007
Insert File (via FTP) plugin XML fileAnonymous
May 07, 2007
Still won't work with XPSP2 and IE7...Anonymous
May 26, 2007
It is fantastic plugin - thank you very much Robert Stuczynski (Noise)Anonymous
February 16, 2008
YOUR THICK..................????????????????????Anonymous
September 10, 2008
The comment has been removedAnonymous
July 07, 2009
The comment has been removedAnonymous
February 08, 2011
agreed... fails to work as the above poster says with the latest versions of WLW. Says it requires it and takes you to the WLW download... but we already have WLW. I would guess the "check for WLW" function isn't working with the latest version numbers or something.Anonymous
September 25, 2013
unpack the msi file with uniextract copy the dll file to live writer/plugin dir