InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IStyleMappings::MappingRule Struct Reference

#include <IStyleMappings.h>

Public Member Functions

 MappingRule (PMString srcString, PMString destString, MappingRuleType ruleType)
 
 MappingRule (const MappingRule &mapRule)
 
 MappingRule ()
 
bool operator== (const MappingRule &other) const
 

Public Attributes

PMString fSrcString
 
PMString fDestString
 
MappingRuleType fRuleType
 

Detailed Description

Defines a single mapping rule of a particular style type. A mapping rule could define a "style to style", "group to group" "group to style", or "style to group" mapping.

Constructor & Destructor Documentation

IStyleMappings::MappingRule::MappingRule (PMString srcString,
PMString destString,
MappingRuleType ruleType 
)
inline

Constructor to construct mapping rule from mapping data.

IStyleMappings::MappingRule::MappingRule (const MappingRulemapRule)
inline

Constructor to construct mapping rule clone from another mapping rule.

IStyleMappings::MappingRule::MappingRule ()
inline

Default constructor

Member Function Documentation

bool IStyleMappings::MappingRule::operator== (const MappingRuleother) const
inline

Comparison operator to compare two mapping rules corresponding to the same style type.

Member Data Documentation

PMString IStyleMappings::MappingRule::fDestString

The destination mapping name, it can be full path name of a style or a style group.

MappingRuleType IStyleMappings::MappingRule::fRuleType

The source mapping name, it can be full path name of a style or a style group.

PMString IStyleMappings::MappingRule::fSrcString

The source mapping name, it can be full path name of a style or a style group.