Class: MergeCellController
Defined in: submodules/univer/packages/sheets/src/controllers/merge-cell.controller.ts:129
Extends
Constructors
new MergeCellController()
new MergeCellController(
_commandService,
_refRangeService,
_univerInstanceService,
_injector,
_sheetInterceptorService,
_selectionManagerService): MergeCellController
Defined in: submodules/univer/packages/sheets/src/controllers/merge-cell.controller.ts:134
Parameters
Parameter | Type |
---|---|
_commandService | ICommandService |
_refRangeService | RefRangeService |
_univerInstanceService | IUniverInstanceService |
_injector | Injector |
_sheetInterceptorService | SheetInterceptorService |
_selectionManagerService | SheetsSelectionsService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
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
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109
Returns
void
Inherited from
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
refRangeHandle()
refRangeHandle(
config,
unitId,
subUnitId): {
redos: {
id: string;
params: IRemoveWorksheetMergeMutationParams;
}[];
undos: {
id: string;
params: IRemoveWorksheetMergeMutationParams;
}[];
}
Defined in: submodules/univer/packages/sheets/src/controllers/merge-cell.controller.ts:234
Parameters
Parameter | Type |
---|---|
config | EffectRefRangeParams |
unitId | string |
subUnitId | string |
Returns
{
redos: {
id: string;
params: IRemoveWorksheetMergeMutationParams;
}[];
undos: {
id: string;
params: IRemoveWorksheetMergeMutationParams;
}[];
}
Name | Type | Defined in |
---|---|---|
redos | { id : string ; params : IRemoveWorksheetMergeMutationParams ; }[] | submodules/univer/packages/sheets/src/controllers/merge-cell.controller.ts:555 |
undos | { id : string ; params : IRemoveWorksheetMergeMutationParams ; }[] | submodules/univer/packages/sheets/src/controllers/merge-cell.controller.ts:555 |