Word to XAML Converter Updated to support WPF 4,Silverlight 4 and Word 2010 (Think “File/Save As XAML…”)
Synergist - Word to XAML Converter Updated
“I have just updated the Word to XAML Converter application to support Word 2010, WPF 4, and Silverlight 4. You would use this converter if you have documentation or text in Word that you want to integrate into WPF or Silverlight applications.
- The Add-in is now surfaced in the Word 2010 Backstage View (The File Tab) Save & Send group
- I fixed a number of XAML generation errors – if you see more, please create an issue with an attached Word file that demonstrates the error.
- Silverlight XAML generation now has two options:
- StackPanel + TextBlock: this supports formatting via styles (use this option for Windows Phone 7 content)
- RichTextBox: this supports inline images and graphics but not formatting via styles
…”
CodePlex - Word to XAML Converter
“Project Description
A Word 2010 Add-in that converts the Office Open XML (WordprocessingML) to XAML:
For WPF, the document is converted into a FlowDocument element.
For Silverlight 4, the document is converted into either a StackPanel element containing TextBlock elements or a RichTextBox.Usage
- Install the WordToXaml Add-in (in the Releases Tab)
- Start Word; you should see a XAML Tab on the Ribbon Interface
- Open any document in Word 2010
- Switch to the XAML Tab and select the appropriate options
- You can preview the WPF or Silverlight document directly from Word by pressing the Preview button
- Previewing the Silverlight XAML opens the XAML in a test Silverlight page running on the file system (You'll need to approve the Silverlight plug-in here). You can then copy the XAML directly from there.
- From the File menu select Save & Send...XAML Document to save the XAML document to a file
…
I found a number of things cool about this.
a) The Word 2010 integration, using the new Backstage capability
b) The thought of “Save as XML”. Thinking about taking the billions and billions of Word docs that I have and with a Save As turning them into WPF just sounds kind of cool
c) The source for it all is available… :)
(via Rob Relyea - XAMLified - Michael Scherotter: Word to XAML Converter; ValueConverter item template for VS)
No comments:
Post a Comment