InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IXMLImporterDOM Class Referenceabstract

#include <IXMLImporterDOM.h>

Inheritance diagram for IXMLImporterDOM:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IXMLIMPORTERDOM }
 

Public Member Functions

virtual void SetDocumentDOM (IIDXMLDOMDocument *document)=0
 
virtual IIDXMLDOMDocumentGetDocumentDOM () const =0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

Used as a storage class to hold a pointer to an IIDXMLDOMDocument object. This class owns the pointer once it takes control. Clients can ask for a pointer to the data but they are expected to NOT delete that pointer.

Member Function Documentation

virtual IIDXMLDOMDocument* IXMLImporterDOM::GetDocumentDOM () const
pure virtual

Get a pointer to the current IIDXMLDOMDocument

Returns
- a pointer to the current DOM Document NOTE: You do NOT own this pointer. Do not delete it!
virtual void IXMLImporterDOM::SetDocumentDOM (IIDXMLDOMDocumentdocument)
pure virtual

Set the current IIDXMLDOMDocument

Parameters
document- Pointer to the object NOTE: This class will own the pointer from Now on.