A few years ago I build and shared the source code for a Word to Xaml Converter, a Word 2007 add-in that developers could use to convert Microsoft Office Word documents to Xaml for WPF and Silverlight applications. Since it was originally published, the solution has been downloaded more than 3,000 times and I’ve received lots of feedback on it, progressively enhancing it to handle more Word features in the Xaml conversion. I built the converter as a .NET library and a Word COM add-in, both built in C#.
Apps for Office
With this new App for Office, you select the text that you want to convert in Microsoft Word and then press the [Generate Xaml] button. The generated text is then put in the task pane which you can then copy to Visual Studio to use in an app. With this new release, I added Windows Xaml which can be used for Windows Universal Apps released for Windows 8.1 and Windows Phone 8.1.
To use the Xaml Generator in Word 2013
If you are creating complex XAML text runs, this looks like a tool you should really have in your tool belt. That said, the coolest thing is how this app shows off the new power behind the new Office app building API. No stinking DLL's or add-ins here and works in the native and web Office. Now that's cool... :)