Interface: IFormatPainterService
Defined in: submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:26
Properties
Property | Type | Defined in |
---|---|---|
status$ | Observable <FormatPainterStatus > | submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:27 |
Methods
addHook()
addHook(hooks): void
Defined in: submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:28
Parameters
Parameter | Type |
---|---|
hooks | IFormatPainterHook |
Returns
void
applyFormatPainter()
applyFormatPainter(
unitId,
subUnitId,
range): boolean
Defined in: submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:34
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
range | IRange |
Returns
boolean
getHooks()
getHooks(): IFormatPainterHook[]
Defined in: submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:29
Returns
getSelectionFormat()
getSelectionFormat(): ISelectionFormatInfo
Defined in: submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:33
Returns
ISelectionFormatInfo
getStatus()
getStatus(): FormatPainterStatus
Defined in: submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:31
Returns
setSelectionFormat()
setSelectionFormat(format): void
Defined in: submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:32
Parameters
Parameter | Type |
---|---|
format | ISelectionFormatInfo |
Returns
void
setStatus()
setStatus(status): void
Defined in: submodules/univer/packages/sheets-ui/src/services/format-painter/format-painter.service.ts:30
Parameters
Parameter | Type |
---|---|
status | FormatPainterStatus |
Returns
void