InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
kImportXMLFileCmdBoss Class Reference

#include <SynthObjModel.h>

Inheritance diagram for kImportXMLFileCmdBoss:

Public Member Functions

IPMUnknown IID_IDATASERVICESOPTIONS
 
IPMUnknownData IID_IPMUNKNOWNDATA
 
ICommand IID_ICOMMAND
 

Detailed Description

 This command imports an XML file into a document, delegating much of import to the

XML importer (kXMLImporterBoss). Parameterized through creating instance of kImportXMLDataBoss and setting up its IImportXMLData interface. A reference to the kImportXMLDataBoss instance is passed to the command through IPMUnknownData. The import source specified on IImportXMLData may be interpreted by an XML acquirer (IXMLAcquirerFilter).

Precondition
IPMUnknownData::GetPMUnknown should allow IImportXMLData to be instantiated
Postcondition
import source specified on IImportXMLData is imported into target document
Item list input
Not used
Item list output
Not used, but IImportXMLData specifies the import source
Observer notification
  • theChange: kImportXMLFileCmdBoss
  • theSubject: Document (kDocBoss) into which content was imported
  • protocol: IID_IIMPORTMANAGER
  • changedBy: cmd instance
Responder notification
See Also
IImportXMLData

Member Function Documentation

ICommand kImportXMLFileCmdBoss::IID_ICOMMAND

ICommand implementation

  • Implementation: kImportXMLFileCmdImpl
  • Available in:
  • Class from:
IPMUnknown kImportXMLFileCmdBoss::IID_IDATASERVICESOPTIONS

Undocumented.

  • Implementation: kDataServicesOptionsImpl
  • Available in:
  • Class from:
  • Added-in interface
IPMUnknownData kImportXMLFileCmdBoss::IID_IPMUNKNOWNDATA

IN IPMUnknownData, referring to instance of kImportXMLDataBoss (IImportXMLData)

  • Implementation: kPMUnknownDataImpl
  • Available in:
  • Class from: