Project Description
A Word 2007 Add-in that converts the Office Open XML (WordprocessingML) to XAML:
For WPF, the document is converted into a FlowDocument element.
For Silverlight 2 the document is converted into a StackPanel element containing TextBlock elements.

Usage

  1. Install the WordToXaml Add-in (in the Releases Tab)
  2. Start Word; you should see a XAML Tab on the Ribbon Interface
  3. Open any document in Word 2007
  4. Switch to the XAML Tab and select the appropriate options
  5. You can preview the WPF or Silverlight 2 document directly from Word by pressing the Preview button
    1. 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.
  6. From the Office menu select Save As...XAML Document to save the XAML document to a file.
  • WPF FlowDocuments can be viewed directy from Windows systems that have .Net 3.5 installed using Internet Explorer or FireFox browsers
    • A limitation of the browser view for FlowDocuments is that Bitmap Effects like DropShadow will not work in Browsers becasue bitmap effects require a full trust application. Viewing FlowDocuments with Drop Shadows in browsers will cause an error.
  • Silverlight StackPanels must be inserted into existing Silverlight applications.

Microsoft Office Word 2007 with the XAML tab

FlowDocument Preview

FlowDocument Preview

Silverlight 2 Preview

Silverlight 2 Preview
Last edited Feb 4 at 6:22 PM by mscherotter, version 11

 

Want to leave feedback?
Please use Discussions or Reviews instead.

Archived page comments (9)

Updating...
© 2006-2009 Microsoft | About CodePlex | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2009.10.27.15987