![]() | InDesign SDK 20.5 |
#include <IXMLPostImportIteration.h>

Public Types | |
| enum | { kDefaultIID = IID_IXMLPOSTIMPORTITERATION } |
Public Member Functions | |
| virtual bool16 | ShouldIterate (IPostImportResponderData *responderData)=0 |
| virtual ErrorCode | BeforeIteration (IPostImportResponderData *responderData)=0 |
| virtual ErrorCode | HandleElement (IIDXMLElement *element, IIDXMLDOMNode *domNode)=0 |
| virtual ErrorCode | AfterIteration ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
An interface used by XMLPostImportIterationResponder. Client code that wants to iterate the imported elements depth-first during the post-import phase of XML import can regiester for kXMLPostImportIterationService and implement this interface.
| pure virtual |
This method is called by XMLPostImportIterationResponder after the depth-first iteration.
Implemented in XDocBkXMLPostImportIteration.
| pure virtual |
This method is called by XMLPostImportIterationResponder before the depth-first iteration.
| responderData | The responder data from kXMLImporterPostImportSignalMgrBoss. |
Implemented in XDocBkXMLPostImportIteration.
| pure virtual |
This method is called by XMLPostImportIterationResponder during the depth-first iteration. One possible usage of this method is to map the element's tag to a style.
| element | The element being iterated. |
| domNode | The corresponding DOM node to the element, if there is one. Could be nil. |
Implemented in XDocBkXMLPostImportIteration.
| pure virtual |
This method is called by XMLPostImportIterationResponder during the setup period. XMLPostImportIterationResponder asks each services on whether it wants to be iterated. If yes (returns kTrue), then the callbacks for iteration will be called. If no (returns kFalse), then this service will not be called during iteration. The service should return kFalse if it does not plan on performing any work during the iteration
| responderData | The responder data from kXMLImporterPostImportSignalMgrBoss. |
Implemented in XDocBkXMLPostImportIteration.