Interface: IAutoFillService
Defined in: submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:55
Properties
Property | Type | Defined in |
---|---|---|
applyType | APPLY_TYPE | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:57 |
applyType$ | Observable <APPLY_TYPE > | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:56 |
autoFillLocation | Nullable <IAutoFillLocation > | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:73 |
autoFillLocation$ | Observable <Nullable <IAutoFillLocation >> | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:72 |
direction | Direction | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:59 |
menu | IApplyMenuItem [] | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:62 |
menu$ | Observable <IApplyMenuItem []> | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:61 |
setDisableApplyType | (type : APPLY_TYPE , disable : boolean ) => void | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:67 |
setShowMenu | (show : boolean ) => void | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:65 |
showMenu$ | Observable <boolean > | submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:64 |
Methods
addHook()
addHook(hook): IDisposable
Defined in: submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:80
Parameters
Parameter | Type |
---|---|
hook | ISheetAutoFillHook |
Returns
fillData()
fillData(applyType): boolean
Defined in: submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:81
Parameters
Parameter | Type |
---|---|
applyType | APPLY_TYPE |
Returns
boolean
getActiveHooks()
getActiveHooks(): ISheetAutoFillHook[]
Defined in: submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:79
Returns
getAllHooks()
getAllHooks(): ISheetAutoFillHook[]
Defined in: submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:78
Returns
getRules()
getRules(): IAutoFillRule[]
Defined in: submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:69
Returns
isFillingStyle()
isFillingStyle(): boolean
Defined in: submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:70
Returns
boolean
registerRule()
registerRule(rule): void
Defined in: submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:76
Parameters
Parameter | Type |
---|---|
rule | IAutoFillRule |
Returns
void
setFillingStyle()
setFillingStyle(isFillingStyle): void
Defined in: submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:75
Parameters
Parameter | Type |
---|---|
isFillingStyle | boolean |
Returns
void
triggerAutoFill()
triggerAutoFill(
unitId,
subUnitId,
source,
target): Promise<boolean>
Defined in: submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:83
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
source | IRange |
target | IRange |
Returns
Promise
<boolean
>