Class: FindReplaceState
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:531
This class stores find replace options state. These state are stored here instead of the React component so we can change state from operations.
Constructors
new FindReplaceState()
new FindReplaceState(): FindReplaceState
Returns
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
state$ | readonly | Observable <IFindReplaceState > | submodules/univer/packages/find-replace/src/services/find-replace.service.ts:536 |
stateUpdates$ | readonly | Observable <Partial <IFindReplaceState >> | submodules/univer/packages/find-replace/src/services/find-replace.service.ts:533 |
Accessors
caseSensitive
Get Signature
get caseSensitive(): boolean
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:562
Returns
boolean
findBy
Get Signature
get findBy(): FindBy
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:566
Returns
findCompleted
Get Signature
get findCompleted(): boolean
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:567
Returns
boolean
findDirection
Get Signature
get findDirection(): FindDirection
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:564
Returns
findScope
Get Signature
get findScope(): FindScope
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:565
Returns
findString
Get Signature
get findString(): string
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:556
Returns
string
inputtingFindString
Get Signature
get inputtingFindString(): string
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:555
Returns
string
matchesCount
Get Signature
get matchesCount(): number
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:560
Returns
number
matchesPosition
Get Signature
get matchesPosition(): number
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:559
Returns
number
matchesTheWholeCell
Get Signature
get matchesTheWholeCell(): boolean
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:563
Returns
boolean
replaceRevealed
Get Signature
get replaceRevealed(): boolean
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:558
Returns
boolean
replaceString
Get Signature
get replaceString(): string
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:561
Returns
string
revealed
Get Signature
get revealed(): boolean
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:557
Returns
boolean
state
Get Signature
get state(): IFindReplaceState
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:537
Returns
Methods
changeState()
changeState(changes): void
Defined in: submodules/univer/packages/find-replace/src/services/find-replace.service.ts:570
Parameters
Parameter | Type |
---|---|
changes | Partial <IFindReplaceState > |
Returns
void