In a C++ Office addin that supports Office 2007 and Office 2010 for Word, Excel, PowerPoint, Visio and Project need to detect whether or not these document types are embedded in a parent document.
For instance, open a Word document. Within the Word document open an Excel document that exists as an Object in the Word Document. Edit the Excel document, Save. At the Save point and in the context of the Excel application is there a way to detect in C++
if that Excel document is embedded?
Note that for Word and Visio the "Container" property reliably detects if these document types are embeded. However, this does not work or is not available for Excel, PowerPoint and Project.