FindReplace Members (Publisher)

Represents the criteria for a find operation. The properties and methods of the FindReplace object correspond to the options in the Find and Replace dialog box.

Methods

Name

Description

Clear

Removes the specified search criteria in a find or replace operation.

Execute

Performs the specified Find or Replace operation.

Properties

Name

Description

Application

Used without an object qualifier, this property returns an Application object that represents the current instance of Publisher. Used with an object qualifier, this property returns an Application object that represents the creator of the specified object. When used with an OLE Automation object, it returns the object's application.

FindText

Sets or retrieves a String representing the text to find in the specified range or selection. Read/write.

Forward

Sets or retrieves a Boolean representing the direction of the text search. True if the find operation searches forward through the document. False if it searches backward through the document. Read/write.

FoundTextRange

Returns a TextRange object that represents the found text or replaced text of a find operation. Read-only.

MatchAlefHamza

Sets or returns a Boolean representing whether or not a search operation will match alefs and hamzas. Read/write.

MatchCase

Sets or returns a Boolean that represents the case sensitivity of the search operation. Read/write.

MatchDiacritics

Sets or returns a Boolean representing whether or not a search operation will match diacritics. Read/write.

MatchKashida

Sets or returns a Boolean representing whether or not a search operation will match kashidas. Read/write.

MatchWholeWord

Sets or returns a Boolean that represents whether the whole word will be matched in the search operation. Read/write. Boolean.

MatchWidth

Sets or returns a Boolean representing whether or not a search operation will match the character width of the searched text. Read/Write.

Parent

Returns an object that represents the parent object of the specified object. For example, for a TextFrame object, returns a Shape object representing the parent shape of the text frame. Read-only.

ReplaceScope

Specifies how many scope replacements are to be made: one, all, or none. Read/write.

ReplaceWithText

Sets or retrieves a String representing the replacement text in the specified range or selection. Read/write.