Updated Add-In for Visio 2007 to Export to XAML
[Update 2008-02-06 2:32pm EST]
Published a new version on codeplex with some new features and a newer version of Theirry's XamlTune. Also scroll down for an example with a lot of text.
What to notice in this update
- Fills rendering improved (due to a change in XamlTune)
- The text sample illustrates some limitations in text conversion
Just before the Visio Conference 2008 began I published my first attempt at exporting XAML from Visio 2007. And within 12 hours, Thierry Bouquain hooked up his code and made the XAML output much better. I've now created third version with some extra UI to help with making the process easier and help me in debugging any problems.
The project has been published on codeplex: http://www.codeplex.com/VisioExportToXAML
Using the Add-In
Create or load a document, make a selection, then select File / Export Selection to Xaml
Select a filename and click Create XAML
Notes
- The Add-In is very simple. It exports the current selection to SVG and then uses Thierry's XamlTune to get the XAML.
- Text is exported as shapes.
- When richly formatted text is used, you may see text rendering errors.
- Overall works extremely well for shapes even with complex gradients
- For some diagrams you may see that SharpVectors throws an exception when reading the intermediate SVG
- Feature Wish: Retain text as text isntead of shapes (but keep an option to render to shape)
Example: Gradients
Original Visio
XAML rendered in Expression Blend
Example: Shapes
Original Visio
XAML rendered with the Windows Presentation Foundation Host in Vista
XAML rendered in in Expression Blend
Example: Text
Original Visio
XAML rendered in Windows Presentation Host in Vista
