I need to convert selected PowerPoint shapes to XAML so I can effectively place an equivalent vector-based shape inside my WPF app (the XAML end result has to be scalable - converting to an image defeats the purpose of what I'm trying to do).
I'm open to a variety of ways to accomplish this, including writing a PowerPoint addin (if this could get me access to the bezier point coordinates of the selected shapes in PowerPoint). I'm not familiar enough with PowerPoint addins to know if this is possible or not.
My first approach was to copy the PowerPoint shapes to the clipboard, and then convert the clipboard contents to objects I can understand and then generate the XAML from there. If I do this I can get to the DrawingML representation (through the Art::GVML ClipFormat), but it's unclear how to easily convert that DrawingML to XAML (looks like weeks of error-prone work to create from scratch).
There are other formats available on the clipboard (EMF, System.Drawing.Imaging.Metafile, PowerPoint 12.0 Internal Shapes), but they all appear to be dead ends.
Any suggestions?