@univerjsdocs-uiindexclassesDocimeinputmanagerservice

@univerjs/docs-ui v0.5.4


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

ParameterType
_contextIRenderContext<DocumentDataModel>

Returns

DocIMEInputManagerService

Overrides

RxDisposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96
dispose$protectedSubject<void>undefinedRxDisposable.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

IRenderModule.dispose

Overrides

RxDisposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe


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

Nullable<ITextRangeWithStyle>


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[];
}
NameTypeDefined in
redoCacheIRichTextEditingMutationParams[]submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:50
undoCacheIRichTextEditingMutationParams[]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

ParameterType
undoParamsIRichTextEditingMutationParams
redoParamsIRichTextEditingMutationParams

Returns

void


setActiveRange()

setActiveRange(range): void

Defined in: submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:63

Parameters

ParameterType
rangeNullable<ITextRangeWithStyle>

Returns

void


setUndoRedoMutationParamsCache()

setUndoRedoMutationParamsCache(__namedParameters): void

Defined in: submodules/univer/packages/docs-ui/src/services/doc-ime-input-manager.service.ts:54

Parameters

ParameterType
__namedParametersICacheParams

Returns

void