I'm writing some VBA code to export and import native MSO objects (excluding media such as pictures, videos, sounds) on PowerPoint slides to and from disk. Once re-imported, objects must be editable to the full degree of the original object so the saved format must be a vector or possibly XML representation of the object.
Obviously "objects" can be anything from simple text boxes to single shapes, multiple shape selections, tables, SmartArt and groups of these types to name a few. Exporting to an enhanced meta file then importing and ungrouping seems to work in some cases but not all (tables get broken into shapes for example). Also, some of original object properties are lost such as their names.
Is there a best practice method for storing objects from a slide to disk without having to delve into the XML structure of the file (which I don't believe is possible when the file is already open anyway)?