InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
DataUpdaterExportHandler Class Reference
Inheritance diagram for DataUpdaterExportHandler:
CPMUnknown< IXMLExportHandler >IXMLExportHandlerIPMUnknown

Public Member Functions

 DataUpdaterExportHandler (IPMUnknown *boss)
 
virtual bool16 CanHandleElement (IIDXMLElement *element)
 
virtual bool16 HandleElementBefore (IXMLOutStream *stream, IIDXMLElement *element)
 
virtual bool16 HandleAfterNthChild (IXMLOutStream *stream, IIDXMLElement *element, int32 childIndex)
 
virtual bool16 HandleElementAfter (IXMLOutStream *stream, IIDXMLElement *element)
 
- Public Member Functions inherited from CPMUnknown< IXMLExportHandler >
IPMUnknownQueryInterface (PMIID interfaceID) const
 
void AddRef () const
 
void Release () const
 
void PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
void PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
 CPMUnknown (const CPMUnknown &)=delete
 
CPMUnknownoperator= (const CPMUnknown &)=delete
 

Additional Inherited Members

- Public Types inherited from IXMLExportHandler
enum  { kDefaultIID = IID_IXMLEXPORTHANDLER }
 
- Protected Member Functions inherited from CPMUnknown< IXMLExportHandler >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< IXMLExportHandler >
HelperInterface fHelperInterface
 

Member Function Documentation

bool16 DataUpdaterExportHandler::CanHandleElement (IIDXMLElementelement)
virtual

Called before element processed to determine whether this interface wants to handle it.

Parameters
elementspecifies current node in structure tree during traversal
Returns
kTrue - Yes I will handle it : kFalse - No I will not

Implements IXMLExportHandler.

bool16 DataUpdaterExportHandler::HandleAfterNthChild (IXMLOutStreamstream,
IIDXMLElementelement,
int32 childIndex 
)
virtual

Called after each child is processed. This is the place to do stuff in between child elements

Parameters
streamspecifies the stream out export the element to
elementspecifies current node in structure tree during traversal
childIndexindex in parent of child
Returns
kTrue - I handled this element : kFalse - I did not handle this element

Implements IXMLExportHandler.

bool16 DataUpdaterExportHandler::HandleElementAfter (IXMLOutStreamstream,
IIDXMLElementelement 
)
virtual

Called after element processed. Use this to close the element after all of its children/content has been exported.

Parameters
streamspecifies the stream out export the element to
elementspecifies current node in structure tree during traversal
Returns
kTrue - I handled this element : kFalse - I did not handle this element

Implements IXMLExportHandler.

bool16 DataUpdaterExportHandler::HandleElementBefore (IXMLOutStreamstream,
IIDXMLElementelement 
)
virtual

Called before element processed.

Parameters
streamspecifies the stream out export the element to
elementspecifies current node in structure tree during traversal
Returns
kTrue - I handled this element : kFalse - I did not handle this element

Implements IXMLExportHandler.