ReplaceOptions

ReplaceOptions class

Represent the replace options.

class ReplaceOptions;

Constructors

NameDescription
constructor()Default Constructor.

Methods

MethodDescription
getCaseSensitive()Indicates if the searched string is case sensitive.
setCaseSensitive(boolean)Indicates if the searched string is case sensitive.
getMatchEntireCellContents()Indicates whether to match entire cells contents
setMatchEntireCellContents(boolean)Indicates whether to match entire cells contents
getRegexKey()Indicates whether the searched key is regex. If true then the searched key will be taken as regex.
setRegexKey(boolean)Indicates whether the searched key is regex. If true then the searched key will be taken as regex.
getFontSettings()The rich formatted settings for the replaced text.
setFontSettings(FontSetting[])The rich formatted settings for the replaced text.
isNull()Checks whether the implementation object is null.

constructor()

Default Constructor.

constructor();

getCaseSensitive()

Indicates if the searched string is case sensitive.

getCaseSensitive() : boolean;

setCaseSensitive(boolean)

Indicates if the searched string is case sensitive.

setCaseSensitive(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getMatchEntireCellContents()

Indicates whether to match entire cells contents

getMatchEntireCellContents() : boolean;

Remarks

The default value is true.

setMatchEntireCellContents(boolean)

Indicates whether to match entire cells contents

setMatchEntireCellContents(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

Remarks

The default value is true.

getRegexKey()

Indicates whether the searched key is regex. If true then the searched key will be taken as regex.

getRegexKey() : boolean;

setRegexKey(boolean)

Indicates whether the searched key is regex. If true then the searched key will be taken as regex.

setRegexKey(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getFontSettings()

The rich formatted settings for the replaced text.

getFontSettings() : FontSetting[];

Returns

FontSetting[]

setFontSettings(FontSetting[])

The rich formatted settings for the replaced text.

setFontSettings(value: FontSetting[]) : void;

Parameters:

ParameterTypeDescription
valueFontSetting[]The value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;