ReplaceOptions

ReplaceOptions class

Represent the replace options.

class ReplaceOptions;

Constructors

ConstructorDescription
constructor()Default Constructor.

Properties

PropertyTypeDescription
caseSensitivebooleanIndicates if the searched string is case sensitive.
matchEntireCellContentsbooleanIndicates whether to match entire cells contents
regexKeybooleanIndicates whether the searched key is regex. If true then the searched key will be taken as regex.
fontSettingsFontSetting[]The rich formatted settings for the replaced text.
styleFlagsStyleFlag[]Gets and sets flags of applying font settings.

Methods

MethodDescription
getCaseSensitive()@deprecated. Please use the ‘caseSensitive’ property instead. Indicates if the searched string is case sensitive.
setCaseSensitive(boolean)@deprecated. Please use the ‘caseSensitive’ property instead. Indicates if the searched string is case sensitive.
getMatchEntireCellContents()@deprecated. Please use the ‘matchEntireCellContents’ property instead. Indicates whether to match entire cells contents
setMatchEntireCellContents(boolean)@deprecated. Please use the ‘matchEntireCellContents’ property instead. Indicates whether to match entire cells contents
getRegexKey()@deprecated. Please use the ‘regexKey’ property instead. Indicates whether the searched key is regex. If true then the searched key will be taken as regex.
setRegexKey(boolean)@deprecated. Please use the ‘regexKey’ property instead. Indicates whether the searched key is regex. If true then the searched key will be taken as regex.
getFontSettings()@deprecated. Please use the ‘fontSettings’ property instead. The rich formatted settings for the replaced text.
setFontSettings(FontSetting[])@deprecated. Please use the ‘fontSettings’ property instead. The rich formatted settings for the replaced text.
getStyleFlags()@deprecated. Please use the ‘styleFlags’ property instead. Gets and sets flags of applying font settings.
setStyleFlags(StyleFlag[])@deprecated. Please use the ‘styleFlags’ property instead. Gets and sets flags of applying font settings.
isNull()Checks whether the implementation object is null.

constructor()

Default Constructor.

constructor();

caseSensitive

Indicates if the searched string is case sensitive.

caseSensitive : boolean;

matchEntireCellContents

Indicates whether to match entire cells contents

matchEntireCellContents : boolean;

Remarks

The default value is true.

regexKey

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

regexKey : boolean;

fontSettings

The rich formatted settings for the replaced text.

fontSettings : FontSetting[];

styleFlags

Gets and sets flags of applying font settings.

styleFlags : StyleFlag[];

getCaseSensitive()

@deprecated. Please use the ‘caseSensitive’ property instead. Indicates if the searched string is case sensitive.

getCaseSensitive() : boolean;

setCaseSensitive(boolean)

@deprecated. Please use the ‘caseSensitive’ property instead. Indicates if the searched string is case sensitive.

setCaseSensitive(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getMatchEntireCellContents()

@deprecated. Please use the ‘matchEntireCellContents’ property instead. Indicates whether to match entire cells contents

getMatchEntireCellContents() : boolean;

Remarks

The default value is true.

setMatchEntireCellContents(boolean)

@deprecated. Please use the ‘matchEntireCellContents’ property instead. Indicates whether to match entire cells contents

setMatchEntireCellContents(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

Remarks

The default value is true.

getRegexKey()

@deprecated. Please use the ‘regexKey’ property instead. Indicates whether the searched key is regex. If true then the searched key will be taken as regex.

getRegexKey() : boolean;

setRegexKey(boolean)

@deprecated. Please use the ‘regexKey’ property instead. 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()

@deprecated. Please use the ‘fontSettings’ property instead. The rich formatted settings for the replaced text.

getFontSettings() : FontSetting[];

Returns

FontSetting[]

setFontSettings(FontSetting[])

@deprecated. Please use the ‘fontSettings’ property instead. The rich formatted settings for the replaced text.

setFontSettings(value: FontSetting[]) : void;

Parameters:

ParameterTypeDescription
valueFontSetting[]The value to set.

getStyleFlags()

@deprecated. Please use the ‘styleFlags’ property instead. Gets and sets flags of applying font settings.

getStyleFlags() : StyleFlag[];

Returns

StyleFlag[]

setStyleFlags(StyleFlag[])

@deprecated. Please use the ‘styleFlags’ property instead. Gets and sets flags of applying font settings.

setStyleFlags(value: StyleFlag[]) : void;

Parameters:

ParameterTypeDescription
valueStyleFlag[]The value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;