ReplaceOptions

ReplaceOptions class

Represent the replace options.

class ReplaceOptions;

Constructors

NameDescription
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.

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[];