![]() | InDesign SDK 20.5 |

Public Member Functions | |
| XDocBkXMLPostImportIteration (IPMUnknown *boss) | |
| virtual bool16 | ShouldIterate (IPostImportResponderData *responderData) |
| virtual ErrorCode | BeforeIteration (IPostImportResponderData *responderData) |
| virtual ErrorCode | HandleElement (IIDXMLElement *element, IIDXMLDOMNode *domNode) |
| virtual ErrorCode | AfterIteration () |
Public Member Functions inherited from CPMUnknown< IXMLPostImportIteration > | |
| IPMUnknown * | QueryInterface (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 | |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
Protected Member Functions | |
| ErrorCode | DoTryImageImport (IIDXMLElement *element, IIDXMLDOMNode *domNode) |
| ErrorCode | DoTryTaggingTable (IIDXMLElement *element, IIDXMLDOMNode *domNode) |
| ErrorCode | DoTryDeleteElement (IIDXMLElement *element, IIDXMLDOMNode *domNode, const WideString &tagString) |
| void | ImportAndPlace (IIDXMLElement *element, const WideString &attribValue, const TextIndex &whereTextIndex) |
| void | PlaceInlines (const XMLReference &xmlRef, const WideString &elemName, const WideString &attribName) |
| void | ImportImage (const IDFile &sysFile, const InterfacePtr< ITextModel > &iTextModel, const TextIndex &whereTextIndex) |
| ErrorCode | TagTable (const UIDRef &tableModelUIDRef, const WideString &tableTagName, const WideString &cellTagName, XMLReference &outCreatedXMLReference) |
Protected Member Functions inherited from CPMUnknown< IXMLPostImportIteration > | |
| CPMUnknown (IPMUnknown *boss) | |
Additional Inherited Members | |
Public Types inherited from IXMLPostImportIteration | |
| enum | { kDefaultIID = IID_IXMLPOSTIMPORTITERATION } |
Protected Attributes inherited from CPMUnknown< IXMLPostImportIteration > | |
| HelperInterface | fHelperInterface |
Implementation of a post-import iterator (IXMLPostImportIteration) that, subject to preference settings, will:
This used to require a path to the asset folder, but now it just uses the path relative to the XML being imported, since the XML importer (kXMLImporterBoss) maintains this and we have access to that through IPostImportResponderData (see BeforeIteration).
| XDocBkXMLPostImportIteration::XDocBkXMLPostImportIteration | ( | IPMUnknown * | boss | ) |
Constructor
| boss | IN refers to boss object on which this implementation is aggregated |
| virtual |
Implements IXMLPostImportIteration.
| virtual |
| responderData | IN refers to objects like importer (kXMLImporterBoss) |
Implements IXMLPostImportIteration.
| protected |
Attempt deleting an element if it matches our specification, ie tagString is what we expect
| element | IN |
| domNode | IN |
| tagString | IN |
| protected |
Attempt importing an image if the given element specifies one should be imported.
| element | IN |
| domNode | IN |
| protected |
Attempt tagging a table if given element matches our specification, a <para;> element with an attribute of TABLEHOLDER
| element | IN |
| domNode | IN |
| virtual |
| element | IN current element in iteration |
| domNode | IN |
Implements IXMLPostImportIteration.
| protected |
Try to find an image that matches the specified name, and place it in-line.
| element | IN location of element that may contain a specification of an image we'd like to place |
| attribName | IN names the attribute that could have a media reference |
| whereTextIndex | IN locus in the textmodel where we'd like to place the graphic as inline |
| protected |
Method to execute an import of specified image into text model at given TextIndex
| sysFile | IN |
| iTextModel | IN |
| whereTextIndex | IN |
| protected |
Place inline graphics referenced in logical structure within the associated text model for
| xmlRef | IN |
| elemName | IN |
| attribName | IN |
| subDict | IN |
| virtual |
| responderData | The responder data from kXMLImporterPostImportSignalMgrBoss. |
Implements IXMLPostImportIteration.
| protected |
Tag given table
| tableModelUIDRef | IN |
| tableTagName | IN |
| cellTagName | IN |
| outCreatedXMLReference | OUT |