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

#include <IStripCharService.h>

Public Types

typedef object_type data_type
 

Public Member Functions

 TextCharPair (UTF32TextChar first, UTF32TextChar second)
 
bool16 operator== (const TextCharPair &rhs) const
 

Public Attributes

UTF32TextChar fRemove
 
UTF32TextChar fReplace
 

Detailed Description

This is a pair of textchar/textchar. It is used in the FillListWithHyperlinkDestinations method

Constructor & Destructor Documentation

TextCharPair::TextCharPair (UTF32TextChar first,
UTF32TextChar second 
)
inline

Constructor for a TextCharPair

Parameters
first- The character to mark as removable
second- The character to replace the removed character with

Member Function Documentation

bool16 TextCharPair::operator== (const TextCharPairrhs) const
inline

The only comparison for whether two items are equal is on fRemove

Parameters
rhs- The item to compare with this one.

Member Data Documentation

UTF32TextChar TextCharPair::fRemove

character to remove from a string

UTF32TextChar TextCharPair::fReplace

character to replace it with