@univerjs/sheets v0.5.0-beta.1 • Docs
Class: MergeCellController
Extends
Constructors
new MergeCellController()
new MergeCellController(
_commandService,
_refRangeService,
_univerInstanceService,
_injector,
_sheetInterceptorService,
_selectionManagerService): MergeCellController
Parameters
Parameter | Type |
---|---|
_commandService | ICommandService |
_refRangeService | RefRangeService |
_univerInstanceService | IUniverInstanceService |
_injector | Injector |
_sheetInterceptorService | SheetInterceptorService |
_selectionManagerService | SheetsSelectionsService |
Returns
Overrides
Defined in
submodules/univer/packages/sheets/src/controllers/merge-cell.controller.ts:134
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
disposableCollection | public | DisposableCollection | undefined | - | submodules/univer/packages/sheets/src/controllers/merge-cell.controller.ts:130 |
interceptor | readonly | InterceptorManager <{ MERGE_CELL_INTERCEPTOR_CHECK : IInterceptor <boolean , IRange []>; }> | undefined | - | submodules/univer/packages/sheets/src/controllers/merge-cell.controller.ts:132 |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:106
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
refRangeHandle()
refRangeHandle(
config,
unitId,
subUnitId): {
redos: {
id: RemoveWorksheetMergeMutation.id;
params: removeParams;
}[];
undos: {
id: RemoveWorksheetMergeMutation.id;
params: addUndo;
}[];
}
Parameters
Parameter | Type |
---|---|
config | EffectRefRangeParams |
unitId | string |
subUnitId | string |
Returns
{
redos: {
id: RemoveWorksheetMergeMutation.id;
params: removeParams;
}[];
undos: {
id: RemoveWorksheetMergeMutation.id;
params: addUndo;
}[];
}
Name | Type | Defined in |
---|---|---|
redos | { id : RemoveWorksheetMergeMutation.id ; params : removeParams ; }[] | submodules/univer/packages/sheets/src/controllers/merge-cell.controller.ts:416 |
undos | { id : RemoveWorksheetMergeMutation.id ; params : addUndo ; }[] | submodules/univer/packages/sheets/src/controllers/merge-cell.controller.ts:423 |
Defined in
submodules/univer/packages/sheets/src/controllers/merge-cell.controller.ts:234