@univerjsdocs-uiindexclassesDocimeinputmanagerservice

@univerjs/docs-ui v0.5.0-beta.1Docs


Class: DocIMEInputManagerService

Every render module should implement this interface.

Extends

Implements

Constructors

new DocIMEInputManagerService()

new DocIMEInputManagerService(_context): DocIMEInputManagerService

Parameters

ParameterType
_contextIRenderContext<DocumentDataModel>

Returns

DocIMEInputManagerService

Overrides

RxDisposable.constructor

Defined in

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

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:93
dispose$protectedSubject<void>undefinedRxDisposable.dispose$submodules/univer/packages/core/src/shared/lifecycle.ts:117

Methods

clearUndoRedoMutationParamsCache()

clearUndoRedoMutationParamsCache(): void

Returns

void

Defined in

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


dispose()

dispose(): void

Returns

void

Implementation of

IRenderModule.dispose

Overrides

RxDisposable.dispose

Defined in

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


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

RxDisposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100


fetchComposedUndoRedoMutationParams()

fetchComposedUndoRedoMutationParams(): null | {
  previousActiveRange: ITextRangeWithStyle;
  redoMutationParams: IRichTextEditingMutationParams;
  undoMutationParams: IRichTextEditingMutationParams;
}

Returns

null | { previousActiveRange: ITextRangeWithStyle; redoMutationParams: IRichTextEditingMutationParams; undoMutationParams: IRichTextEditingMutationParams; }

Defined in

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


getActiveRange()

getActiveRange(): Nullable<ITextRangeWithStyle>

Returns

Nullable<ITextRangeWithStyle>

Defined in

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


getUndoRedoMutationParamsCache()

getUndoRedoMutationParamsCache(): {
  redoCache: IRichTextEditingMutationParams[];
  undoCache: IRichTextEditingMutationParams[];
}

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

Defined in

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


pushUndoRedoMutationParams()

pushUndoRedoMutationParams(undoParams, redoParams): void

Parameters

ParameterType
undoParamsIRichTextEditingMutationParams
redoParamsIRichTextEditingMutationParams

Returns

void

Defined in

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


setActiveRange()

setActiveRange(range): void

Parameters

ParameterType
rangeNullable<ITextRangeWithStyle>

Returns

void

Defined in

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


setUndoRedoMutationParamsCache()

setUndoRedoMutationParamsCache(__namedParameters): void

Parameters

ParameterType
__namedParametersICacheParams

Returns

void

Defined in

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