Class: DocIMEInputManagerService
Defined in: submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:29
Every render module should implement this interface.
Extends
Implements
Constructors
new DocIMEInputManagerService()
new DocIMEInputManagerService(_context): DocIMEInputManagerService
Defined in: submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:36
Parameters
Parameter | Type |
---|---|
_context | IRenderContext <DocumentDataModel > |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | submodules/univer/packages/core/src/shared/lifecycle.ts:120 |
Methods
clearUndoRedoMutationParamsCache()
clearUndoRedoMutationParamsCache(): void
Defined in: submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:42
Returns
void
dispose()
dispose(): void
Defined in: submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:98
Returns
void
Implementation of
Overrides
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
RxDisposable
.ensureNotDisposed
fetchComposedUndoRedoMutationParams()
fetchComposedUndoRedoMutationParams():
| null
| {
previousActiveRange: ITextRangeWithStyle;
redoMutationParams: IRichTextEditingMutationParams;
undoMutationParams: IRichTextEditingMutationParams;
}
Defined in: submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:72
Returns
| null
| {
previousActiveRange
: ITextRangeWithStyle
;
redoMutationParams
: IRichTextEditingMutationParams
;
undoMutationParams
: IRichTextEditingMutationParams
;
}
getActiveRange()
getActiveRange(): Nullable<ITextRangeWithStyle>
Defined in: submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:59
Returns
getUndoRedoMutationParamsCache()
getUndoRedoMutationParamsCache(): {
redoCache: IRichTextEditingMutationParams[];
undoCache: IRichTextEditingMutationParams[];
}
Defined in: submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:47
Returns
{
redoCache: IRichTextEditingMutationParams[];
undoCache: IRichTextEditingMutationParams[];
}
Name | Type | Defined in |
---|---|---|
redoCache | IRichTextEditingMutationParams [] | submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:50 |
undoCache | IRichTextEditingMutationParams [] | submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:49 |
pushUndoRedoMutationParams()
pushUndoRedoMutationParams(undoParams, redoParams): void
Defined in: submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:67
Parameters
Parameter | Type |
---|---|
undoParams | IRichTextEditingMutationParams |
redoParams | IRichTextEditingMutationParams |
Returns
void
setActiveRange()
setActiveRange(range): void
Defined in: submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:63
Parameters
Parameter | Type |
---|---|
range | Nullable <ITextRangeWithStyle > |
Returns
void
setUndoRedoMutationParamsCache()
setUndoRedoMutationParamsCache(__namedParameters): void
Defined in: submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:54
Parameters
Parameter | Type |
---|---|
__namedParameters | ICacheParams |
Returns
void