@univerjs/sheets v0.4.2 • 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
packages/sheets/src/controllers/merge-cell.controller.ts:134 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
disposableCollection | public | DisposableCollection | undefined | - | packages/sheets/src/controllers/merge-cell.controller.ts:130 (opens in a new tab) |
interceptor | readonly | InterceptorManager <{ MERGE_CELL_INTERCEPTOR_CHECK : IInterceptor <boolean , IRange []>; }> | undefined | - | packages/sheets/src/controllers/merge-cell.controller.ts:132 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)
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 ; }[] | packages/sheets/src/controllers/merge-cell.controller.ts:416 (opens in a new tab) |
undos | { id : RemoveWorksheetMergeMutation.id ; params : addUndo ; }[] | packages/sheets/src/controllers/merge-cell.controller.ts:423 (opens in a new tab) |
Defined in
packages/sheets/src/controllers/merge-cell.controller.ts:234 (opens in a new tab)