![]() | InDesign SDK 20.5 |

Public Types | |
| enum | { kDefaultIID = IID_IFINDCHANGEOPTIONS } |
| enum | SearchMode { kTextSearch, kGrepSearch, kGlyphSearch, kObjectSearch, kTransliterateSearch, kColorSearch } |
| enum | ChangeMode { kChange, kTransliterate } |
| enum | CharacterType { kKanji, kHalfWidthKatakana, kHalfWidthRoman, kFullWidthHiragana, kFullWidthKatakana, kFullWidthRoman, kNone, kWesternArabicDigits, kArabicIndicDigits, kFarsiDigits } |
| enum | ObjectType { kAllFrames, kTextFrames, kGraphicFrames, kUnassignedFrames } |
| enum | ChangeConditionsMode { kChangeReplacesConditions, kChangeAddsConditions } |
| enum | SearchDirection { kForward, kBackward } |
Public Member Functions | |
| virtual bool16 | GetCaseSensitive (SearchMode mode) const =0 |
| virtual void | SetCaseSensitive (bool16 caseSensitive, SearchMode mode)=0 |
| virtual bool16 | GetKanaSensitive (SearchMode mode) const =0 |
| virtual void | SetKanaSensitive (bool16 kanaSensitive, SearchMode mode)=0 |
| virtual bool16 | GetWidthSensitive (SearchMode mode) const =0 |
| virtual void | SetWidthSensitive (bool16 widthSensitive, SearchMode mode)=0 |
| virtual IFindChangeOptions::SearchMode | GetSearchMode () const =0 |
| virtual void | SetSearchMode (IFindChangeOptions::SearchMode mode)=0 |
| virtual IFindChangeOptions::ChangeMode | GetChangeMode () const =0 |
| virtual void | SetChangeMode (IFindChangeOptions::ChangeMode changeMode)=0 |
| virtual void | SetFindCharacterType (IFindChangeOptions::CharacterType charType)=0 |
| virtual IFindChangeOptions::CharacterType | GetFindCharacterType () const =0 |
| virtual bool16 | GetIncludeLockedStoriesForFind (SearchMode mode) const =0 |
| virtual void | SetIncludeLockedStoriesForFind (bool16 includeLockedStories, SearchMode mode)=0 |
| virtual bool16 | GetIncludeLockedLayersForFind (SearchMode mode) const =0 |
| virtual void | SetIncludeLockedLayersForFind (bool16 includeLockedLayers, SearchMode mode)=0 |
| virtual bool16 | GetIncludeHiddenLayers (SearchMode mode) const =0 |
| virtual void | SetIncludeHiddenLayers (bool16 includeHiddenLayers, SearchMode mode)=0 |
| virtual bool16 | GetIncludeMasterPages (SearchMode mode) const =0 |
| virtual void | SetIncludeMasterPages (bool16 includeMasterPages, SearchMode mode)=0 |
| virtual bool16 | GetIncludeFootnotes (SearchMode mode) const =0 |
| virtual void | SetIncludeFootnotes (bool16 includeFootnotes, SearchMode mode)=0 |
| virtual bool16 | GetSearchBackwards (SearchMode mode) const =0 |
| virtual void | SetSearchBackwards (bool16 searchBackwards, SearchMode mode)=0 |
| virtual void | SetReplaceCharacterType (IFindChangeOptions::CharacterType charType)=0 |
| virtual IFindChangeOptions::CharacterType | GetReplaceCharacterType () const =0 |
| virtual bool16 | GetEntireWord (SearchMode mode) const =0 |
| virtual void | SetEntireWord (bool16 entireWord, SearchMode mode)=0 |
| virtual IWalkerScopeFactoryUtils::WalkScopeType | GetFindChangeScope (SearchMode mode) const =0 |
| virtual void | SetFindChangeScope (IWalkerScopeFactoryUtils::WalkScopeType findChangeScope, SearchMode mode)=0 |
| virtual const WideString & | GetFindString (SearchMode mode) const =0 |
| virtual void | SetFindString (const WideString &findString, SearchMode mode)=0 |
| virtual const WideString & | GetReplaceString (SearchMode mode) const =0 |
| virtual void | SetReplaceString (const WideString &replaceString, SearchMode mode)=0 |
| virtual const AttributeBossList * | GetFindAttributeBossList (IDataBase *targetDB, SearchMode mode) const =0 |
| virtual void | ApplyToFindAttributeBossList (const AttributeBossList *findList, IDataBase *targetDB, SearchMode mode)=0 |
| virtual void | RemoveFindAttribute (ClassID removeAttribute, SearchMode mode)=0 |
| virtual void | ClearFindAttributeBossList (SearchMode mode)=0 |
| virtual const AttributeBossList * | GetChangeAttributeBossList (IDataBase *targetDB, SearchMode mode, bool16 allowCreation=kTrue) const =0 |
| virtual void | ApplyToChangeAttributeBossList (const AttributeBossList *findList, IDataBase *targetDB, SearchMode mode)=0 |
| virtual void | RemoveChangeAttribute (ClassID removeAttribute, SearchMode mode)=0 |
| virtual void | ClearChangeAttributeBossList (SearchMode mode)=0 |
| virtual void | ClearFindCharStyle (SearchMode mode)=0 |
| virtual void | ClearFindParaStyle (SearchMode mode)=0 |
| virtual void | ClearObjectFindStyle ()=0 |
| virtual void | ClearChangeCharStyle (SearchMode mode)=0 |
| virtual void | ClearChangeParaStyle (SearchMode mode)=0 |
| virtual void | ClearObjectChangeStyle ()=0 |
| virtual void | SetFindCharStyle (const UID &s, IDataBase *targetDB, SearchMode mode)=0 |
| virtual void | SetFindParaStyle (const UID &s, IDataBase *targetDB, SearchMode mode)=0 |
| virtual void | SetObjectFindStyle (const UID &s, IDataBase *targetDB)=0 |
| virtual void | SetChangeCharStyle (const UID &s, IDataBase *targetDB, SearchMode mode)=0 |
| virtual void | SetChangeParaStyle (const UID &s, IDataBase *targetDB, SearchMode mode)=0 |
| virtual void | SetObjectChangeStyle (const UID &s, IDataBase *targetDB)=0 |
| virtual const UID & | GetFindCharStyle (IDataBase *targetDB, SearchMode mode) const =0 |
| virtual const UID & | GetFindParaStyle (IDataBase *targetDB, SearchMode mode) const =0 |
| virtual const UID & | GetObjectFindStyle (IDataBase *targetDB) const =0 |
| virtual const UID & | GetChangeCharStyle (IDataBase *targetDB, SearchMode mode, bool16 allowCreation=kTrue) const =0 |
| virtual const UID & | GetChangeParaStyle (IDataBase *targetDB, SearchMode mode, bool16 allowCreation=kTrue) const =0 |
| virtual const UID & | GetObjectChangeStyle (IDataBase *targetDB, bool16 allowCreation=kFalse) const =0 |
| virtual bool16 | IsThereSomethingToFind (IDataBase *targetDB, SearchMode mode) const =0 |
| virtual IDataBase * | GetUIDAttrDB () const =0 |
| virtual void | Init (bool16 caseSensitive, bool16 entireWord, bool16 kanaSensitive, bool16 widthSensitive, SearchMode searchMode, ChangeMode changeMode, CharacterType findCharacterType, CharacterType replaceCharacterType, IWalkerScopeFactoryUtils::WalkScopeType findChangeScope, const WideString &findString, const WideString &replaceString, const AttributeBossList *findAttributeBossList, const AttributeBossList *changeAttributeBossList, IDataBase *targetDB, const UID &findCharStyle, const UID &findParaStyle, const UID &changeCharStyle, const UID &changeParaStyle, bool16 grepFlag, bool16 includeMasterPages, bool16 includeLockedLayersForFind, bool16 includeLockedStoriesForFind, bool16 includeHiddenLayers, bool16 includeFootnotes, bool16 searchBackwards, Text::GlyphID findGlyphID, Text::GlyphID replaceGlyphID)=0 |
| virtual void | Clear ()=0 |
| virtual bool16 | GetGrepFlag () const =0 |
| virtual void | SetGrepFlag (bool16 grepFlag)=0 |
| virtual void | SetChangeXMLTag (const PMString &tagName, SearchMode mode)=0 |
| virtual const PMString & | GetChangeXMLTag (SearchMode mode) const =0 |
| virtual void | ClearChangeXMLTag (SearchMode mode)=0 |
| virtual void | SetChangeCaseOption (const PMString &caseOption, SearchMode mode)=0 |
| virtual const PMString & | GetChangeCaseOption (SearchMode mode) const =0 |
| virtual void | ClearChangeCaseOption (SearchMode mode)=0 |
| virtual const Text::GlyphID | GetFindGlyphID () const =0 |
| virtual void | SetFindGlyphID (const Text::GlyphID findGlyphID)=0 |
| virtual void | SetFindROSFontGroup (const PMString ®istry, const PMString &ordering)=0 |
| virtual void | GetFindROSFontGroup (PMString ®istry, PMString &ordering) const =0 |
| virtual void | SetUseFindROSFontGroup (const bool16 bUseROSFontGroup)=0 |
| virtual const bool16 | GetUseFindROSFontGroup () const =0 |
| virtual const Text::GlyphID | GetReplaceGlyphID () const =0 |
| virtual void | SetReplaceGlyphID (const Text::GlyphID replaceGlyphID)=0 |
| virtual void | SetReplaceROSFontGroup (const PMString ®istry, const PMString &ordering)=0 |
| virtual void | GetReplaceROSFontGroup (PMString ®istry, PMString &ordering) const =0 |
| virtual void | SetUseReplaceROSFontGroup (const bool16 bUseROSFontGroup)=0 |
| virtual const bool16 | GetUseReplaceROSFontGroup () const =0 |
| virtual void | SetObjectSearchType (const ObjectType objType)=0 |
| virtual const ObjectType | GetObjectSearchType () const =0 |
| virtual void | SetChangeConditionsMode (ChangeConditionsMode chgConditionsMode, SearchMode mode)=0 |
| virtual IFindChangeOptions::ChangeConditionsMode | GetChangeConditionsMode (SearchMode mode) const =0 |
| virtual void | ClearChangeConditionsMode (SearchMode mode)=0 |
| virtual void | InitializeDB ()=0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
| anonymous enum |
Standard enum to for use with GetDefaultIID() method.
Enum for distinguishing between forward and backward search.
| pure virtual |
Sets the attributes that will be applied to found text/object
| findList | is a poiner to AttributeBossList |
| targetDB | is a pointer to IDataBase |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets the attributes to search for
| findList | is a pointer to AttributeBossList |
| targetDB | is a pointer to IDataBase |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Resets the find/change options
| pure virtual |
Clears the attributes that will be applied to found text/object
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Resets the ChangeCaseOption tag that will be applied to found text to ""
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Clears the character style that will be applied to found text/object
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Resets the change conditions mode that will be applied to found text to IFindChangeOptions::kChangeReplacesConditions.
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Clears the paragraph style that will be applied to found text/object
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Resets the XML tag that will be applied to found text to ""
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
For resetting the find attributes
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Clears the character style that will be found
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Clears the paragraph style that will be found
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Clears the object style that will be applied to found object
| pure virtual |
Clears the object style that will be found
| pure virtual |
Gets "Case Sensitive" find option
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets the attributes that will be applied to found text/object
| targetDB | is a pointer to attributes database |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| allowCreation | is a boolean value indicating whether the attributes need to be created or not if the attributes do not exist |
| pure virtual |
Gets the ChangeCase Option that will be applied to found text
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Get the character style that will be applied to found text
| targetDB | is a pointer to character style's database |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets the change conditions mode that will be applied to found text
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets the option that distinguishes Find/Change from Transliterate
| pure virtual |
Get the paragraph style that will be applied to found text
| targetDB | is a pointer to paragraph style's database |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets the XML Tag that will be applied to found text
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets "Entire Word" option
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets the attributes being searched for
| targetDB | is a pointer to IDataBase specifying the database of the attributes |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets the scope in which find/change option will be operating
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
When transliterating, gets the options for the type being searched for and the character type to replace with
| pure virtual |
Gets the character style that will be found
| targetDB | is a pointer to character style's database |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Glyph ID, type, font, style (find and replace) Find Gets the glyph id to be found
| pure virtual |
Get the paragraph style that will be found
| targetDB | is a pointer to paragraph style's database |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets the string being searched for
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Grep flag Gets whether grep search is being carried out or not.
| pure virtual |
Gets "Include Footnotes" option
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets "Include Hidden Layers" option
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets "Include Locked Layers" find option
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets "Include Locked Stories" find option
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets "Include Master Pages" option
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets the option that specifies whether the search is sensitive to katakana vs. hiragana character sets (Japanese)
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Get the object style that will be applied to found object
| targetDB | is a pointer to object style's database |
| allowCreation | pass kTrue if you want to create the style if it doesn't exist in targetDB |
Get the object style that will be found
| targetDB | is a pointer to object style's database |
| pure virtual |
Gets whether object search should find all frames/text frames/graphic frames/unassigned frames.
| pure virtual |
When transliterating, gets the options for the character type to replace with
| pure virtual |
Replace Gets the glyph id that will be placed in place of found glyph
| pure virtual |
Gets the string that will replace the found string
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets "Search backwards" option
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Gets the Find/Change mode
| pure virtual |
Gets the database of attributes
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Get whether the glyph search is for a specific font or a ROS group.
| pure virtual |
Get whether the glyph search is for a specific font or a ROS group.
| pure virtual |
Japanese character sets have full and half-width options for hiragana, katakana, and Roman character sets This method lets us know whether find/change is width sensitive or not in the given mode
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Initializes various options for a search mode
| pure virtual |
The FindChangeOptions interface is in a unique position to know whether there is
adequate information defined on it to allow searching for "something". Without this method, calls throughout the code were asking the interface whether the length of the search string was greater than zero OR there was a special character or paragraph format to search for in various ways such as if (::SearchFormatExist() || !FindEditBoxEmpty()) This is worse with the addition of transliterate, where if in transliterate mode, the search string is irrelevant. Although this interface isn't responsible for performing a find, it's now a smart secretary, able to pack the boss's briefcase with all the necessary papers before the big meeting.
| targetDB | is a pointer to find/change options database |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Removes the specified attribute from the list of attributes that will be applied to found text/object
| removeAttribute | is of type ClassID specifying the class id of the attribute to be removed |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
For Removing a specific attribute from the find attribute list
| removeAttribute | is of type ClassID specifying the classid of the attribute that needs to be removed from the attribute list |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets "Case Sensitive" find option
| caseSensitive | is Boolean Value specifying the value to be set |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets the ChangeCaseOption that will be applied to found text
| caseOption | is of type PMString specifying the case selected |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets the character style that will be applied to found text
| s | is the UID of the character style |
| targetDB | is the pointer to style's database |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets the change conditions mode that will be applied to found text
| chgConditionsMode | is of type IFindChangeOptions::ChangeConditionsMode specifying the mode for change conditions |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets the option that distinguishes Find/Change from Transliterate
| changeMode | is of type IFindChangeOptions::ChangeMode |
| pure virtual |
Sets the paragraph style that will be applied to found text
| s | is the UID of the paragraph style |
| targetDB | is the pointer to style's database |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets the XML tag that will be applied to found text
| tagName | is of type PMString specifying the tag |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets "Entire Word" option
| entireWord | is a Boolean value specifying whether entire word option should be turned on or off |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets the scope in which find/change option will be operating
| findChangeScope | is of type IWalkerScopeFactoryUtils::WalkScopeType |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
When transliterating, sets the options for the type being searched for and the character type to replace with
| charType | is of type IFindChangeOptions::CharacterType |
| pure virtual |
Sets the character style to be found
| s | is the UID of the character style |
| targetDB | is the pointer to style's database |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets the glyph id to be found
| findGlyphID | is of type Text::GlyphID |
| pure virtual |
Sets the paragraph style to be found
| s | is the UID of the paragraph style |
| targetDB | is the pointer to style's database |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets the string to search for
| findString | is of type WideString |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets the search mode to grep
| grepFlag | is a boolean specifying the value |
| pure virtual |
Sets "Include Footnotes" option
| includeFootnotes | Boolean value for setting "Include Footnotes" option. |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets "Include Hidden Layers" option
| includeHiddenLayers | Boolean value for setting "Include Hidden Layers" option. |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets "Include Locked Layers" find option
| includeLockedLayers | Boolean value for setting "Include Locked Layers" option. This option is only for find i.e. we do not have option to change on locked layers. |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets "Include Locked Stories" find option
| includeLockedStories | Boolean value for setting "Include Locked Stories" option. This option is only for find i.e. we do not have option to change in locked stories |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets "Include Master Pages" option
| includeMasterPages | Boolean value for setting "Include Master Pages" option. |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets the option that specifies whether the search is sensitive to katakana vs. hiragana character sets (Japanese)
| kanaSensitive | is Boolean value specifying the option to be set |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets the obect style that will be applied to found obect
| s | is the UID of the object style |
| targetDB | is the pointer to style's database |
| pure virtual |
Sets the object style to be found
| s | is the UID of the object style |
| targetDB | is the pointer to style's database |
| pure virtual |
Sets whether object search should find all frames/text frames/graphic frames/unassigned frames.
| objType | is of type IFindChangeOptions::ObjectType |
| pure virtual |
When transliterating, sets the options for the character type to replace with
| charType | is of type IFindChangeOptions::CharacterType |
| pure virtual |
Sets the glyph id that will be placed in place of found glyph
| replaceGlyphID | is of type Text::GlyphID |
| pure virtual |
Sets the string that will replace the found string
| replaeString | is of type WideString |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets "Search backwards" option
| searchBackwards | Boolean value for setting "Search backwards" option. |
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Sets the Find/Change mode
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |
| pure virtual |
Set whether the glyph search is for a specific font or a ROS group.
| bUseROSFontGroup | is of type bool16 |
| pure virtual |
Set whether the glyph search is for a specific font or a ROS group.
| bUseROSFontGroup | is of type bool16 |
| pure virtual |
Japanese character sets have full and half-width options for hiragana, katakana, and Roman character sets This method sets whether find/change should be width sensitive or not in the given mode
| mode | is of type IFindChangeOptions::SearchMode specifying the mode of Find/Change |