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

#include <ITextModel.h>

Public Types

typedef object_type data_type
 

Public Member Functions

 SingleReplacementInfo (const SingleReplacementInfo &rVal)
 

Public Attributes

TextIndex fPosition
 
int32 fFoundStringLen
 
int32 fReplacementStringLen
 
boost::shared_ptr< WideStringfReplacementString
 

Detailed Description

Typically used when multiple replacement operatations must be performed on the text model. SingleReplacementInfo describes one text replacement. fPosition is the offset of the replacement. fFoundStringLen is the length of the replaced text. fReplacementStringLen is the length of the replacement string, and fReplacementString is the actual string.