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

#include <IFindChangeStringService.h>

Inheritance diagram for IFindChangeStringService:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IFINDCHANGESTRINGSERVICE }
 

Public Member Functions

virtual bool16 ModifyFindChangeString (ClassID optionStringCmdBoss, PMString &theString)=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

An interface that allows a service provider to modify the find and replace strings prior to a find and replace through the Find and Change panel.

Member Enumeration Documentation

anonymous enum

Standard enum to for use with GetDefaultIID() method.

Member Function Documentation

virtual bool16 IFindChangeStringService::ModifyFindChangeString (ClassID optionStringCmdBoss,
PMStringtheString 
)
pure virtual

Modify the Find/Change strings by calling SetFindString & SetReplaceString.

Parameters
optionStringCmdBossthe ClassID indicating which command is about to be invoked. If optionStringCmdBoss is kFindStringCmd, theString will be the new find string. If optionStringCmdBoss is kReplaceStringCmd, theString will be the new replace string.
theStringis the PMString to be examined and modified if desired
Returns
kTrue if the string was modified, otherwise return kFalse.