Interface: IFormatPainterHook
Defined in: submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:42
Properties
Methods
onApply()?
optional onApply(
unitId,
subUnitId,
range,
format): {
redos: IMutationInfo[];
undos: IMutationInfo[];
}
Defined in: submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:47
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
range | IRange |
format | ISelectionFormatInfo |
Returns
{
redos: IMutationInfo[];
undos: IMutationInfo[];
}
Name | Type | Defined in |
---|---|---|
redos | IMutationInfo [] | submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:53 |
undos | IMutationInfo [] | submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:52 |
onBeforeApply()?
optional onBeforeApply(ctx): boolean
Defined in: submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:55
Parameters
Parameter | Type |
---|---|
ctx | IFormatPainterBeforeApplyHookParams |
Returns
boolean
onStatusChange()?
optional onStatusChange(status): void
Defined in: submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:46
Parameters
Parameter | Type |
---|---|
status | FormatPainterStatus |
Returns
void