@univerjs/docs-ui v0.5.0-beta.1 • Docs
Interface: IEditorService
Deprecated
Properties
Property | Type | Defined in |
---|---|---|
blur$ | Observable <unknown > | submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:103 |
closeRangePrompt$ | Observable <unknown > | submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:97 |
focus$ | Observable <ISuccinctDocRangeParam > | submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:109 |
focusStyle$ | Observable <Nullable <string >> | submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:138 |
inputFormula$ | Observable <IEditorInputFormulaParam > | submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:62 |
resize$ | Observable <string > | submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:69 |
setValue$ | Observable <IEditorSetValueParam > | submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:115 |
singleSelection$ | Observable <boolean > | submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:179 |
valueChange$ | Observable <Readonly <Editor >> | submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:116 |
Methods
blur()
blur(): void
Returns
void
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:107
changeSpreadsheetFocusState()
changeSpreadsheetFocusState(state): void
Parameters
Parameter | Type |
---|---|
state | boolean |
Returns
void
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:167
checkValueLegality()
checkValueLegality(editorId): boolean
Parameters
Parameter | Type |
---|---|
editorId | string |
Returns
boolean
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:152
closeRangePrompt()
closeRangePrompt(): void
Returns
void
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:101
focus()
focus(editorUnitId?): void
Parameters
Parameter | Type |
---|---|
editorUnitId ? | string |
Returns
void
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:113
focusStyle()
focusStyle(editorUnitId): void
Parameters
Parameter | Type |
---|---|
editorUnitId | Nullable <string > |
Returns
void
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:142
getAllEditor()
getAllEditor(): Map<string, Editor>
Returns
Map
<string
, Editor
>
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:78
getEditor()
getEditor(id?): Readonly<Nullable<Editor>>
Parameters
Parameter | Type |
---|---|
id ? | string |
Returns
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:53
getFirstEditor()
getFirstEditor(): Editor
Returns
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:136
getFocusEditor()
getFocusEditor(): Readonly<Nullable<Editor>>
Returns
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:188
getFocusId()
getFocusId(): Nullable<string>
Returns
Nullable
<string
>
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:186
getOperationSheetSubUnitId()
getOperationSheetSubUnitId(): Nullable<string>
Returns
Nullable
<string
>
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:91
getOperationSheetUnitId()
getOperationSheetUnitId(): Nullable<string>
Returns
Nullable
<string
>
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:85
getRichValue()
getRichValue(id): Nullable<IDocumentBody>
Parameters
Parameter | Type |
---|---|
id | string |
Returns
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:162
getSpreadsheetFocusState()
getSpreadsheetFocusState(): boolean
Returns
boolean
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:172
getValue()
getValue(id): Nullable<string>
Parameters
Parameter | Type |
---|---|
id | string |
Returns
Nullable
<string
>
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:157
isEditor()
isEditor(editorUnitId): boolean
Parameters
Parameter | Type |
---|---|
editorUnitId | string |
Returns
boolean
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:93
isSheetEditor()
isSheetEditor(editorUnitId): boolean
Parameters
Parameter | Type |
---|---|
editorUnitId | string |
Returns
boolean
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:95
isVisible()
isVisible(id): Nullable<boolean>
Parameters
Parameter | Type |
---|---|
id | string |
Returns
Nullable
<boolean
>
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:60
refreshValueChange()
refreshValueChange(editorId): void
Parameters
Parameter | Type |
---|---|
editorId | string |
Returns
void
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:147
register()
register(config, container): IDisposable
Parameters
Parameter | Type |
---|---|
config | IEditorConfigParams |
container | HTMLDivElement |
Returns
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:55
resize()
resize(id): void
Parameters
Parameter | Type |
---|---|
id | string |
Returns
void
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:73
selectionChangingState()
selectionChangingState(): boolean
Returns
boolean
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:177
setFocusId()
setFocusId(id): void
Parameters
Parameter | Type |
---|---|
id | Nullable <string > |
Returns
void
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:185
setFormula()
setFormula(formulaString): void
Parameters
Parameter | Type |
---|---|
formulaString | string |
Returns
void
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:67
setOperationSheetSubUnitId()
setOperationSheetSubUnitId(sheetId): void
The sub-table within the sheet currently being operated on will determine whether to include subUnitId information in the ref.
Parameters
Parameter | Type |
---|---|
sheetId | Nullable <string > |
Returns
void
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:90
setOperationSheetUnitId()
setOperationSheetUnitId(unitId): void
The sheet currently being operated on will determine whether to include unitId information in the ref.
Parameters
Parameter | Type |
---|---|
unitId | Nullable <string > |
Returns
void
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:84
setRichValue()
setRichValue(body, editorUnitId?): void
Parameters
Parameter | Type |
---|---|
body | IDocumentBody |
editorUnitId ? | string |
Returns
void
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:131
setValue()
setValue(val, editorUnitId?): void
Parameters
Parameter | Type |
---|---|
val | string |
editorUnitId ? | string |
Returns
void
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:121
setValueNoRefresh()
setValueNoRefresh(val, editorUnitId?): void
Parameters
Parameter | Type |
---|---|
val | string |
editorUnitId ? | string |
Returns
void
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:126
singleSelection()
singleSelection(state): void
Parameters
Parameter | Type |
---|---|
state | boolean |
Returns
void
Deprecated
Defined in
submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:183