How to convert the WordOpenXML property into a System.IO.Packaging.Package?
I've been experimenting with building an Outlook 2010 addin in C#, using Visual Studio 2008. I am able to obtain a Microsoft.Office.Interop.Word.DocumentClass object from a Microsoft.Office.Interop.Outlook.Inspector object, which represents the e-mail being currently edited. I understand that this DocumentClass is used in various other contexts too (usually for Microsoft Word extensions, unsurprisingly). That class helpfully has a property called WordOpenXML , which seems to be an XML representation of all the files constituting the the .docx package which would be saved to disk when saving