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

#include <IXMLMappingCmdData.h>

Inheritance diagram for IXMLMappingCmdData:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IXMLMAPPINGCMDDATA }
 

Public Member Functions

virtual void Set (const UIDRef &map, UID styleUID, UID tagUID)=0
 
virtual const UIDRefGetMap () const =0
 
virtual UID GetStyleUID () const =0
 
virtual UID GetTagUID () 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

Data interface for working with commands to implement style to tag and tag to style mappings; when writing client code, use IXMLMappingCommands methods rather than processing low-level commands.

Member Function Documentation

virtual const UIDRef& IXMLMappingCmdData::GetMap () const
pure virtual

Return the tag to style or style to tag map that contains the style and tag UIDs

Returns
UIDRef of mapping
virtual UID IXMLMappingCmdData::GetStyleUID () const
pure virtual

Return the style UID

Returns
UID of style stored on this interface
virtual UID IXMLMappingCmdData::GetTagUID () const
pure virtual

Return the tag UID

Returns
UID of tag (IXMLTag) stored on this interface
virtual void IXMLMappingCmdData::Set (const UIDRefmap,
UID styleUID,
UID tagUID 
)
pure virtual

Specify the style and tag that are to be used in a mapping relation

Parameters
mapspecifies the target map into which the style-tag pair will go
styleUIDUID of a style in one of the style name-tables
tagUIDUID of tag stored on this interface