@univerjs/sheets-ui v0.5.0-beta.1Docs


Interface: IAutoFillService

Properties

PropertyTypeDefined in
applyTypeAPPLY_TYPEsubmodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:56
applyType$Observable<APPLY_TYPE>submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:55
autoFillLocationNullable<IAutoFillLocation>submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:72
autoFillLocation$Observable<Nullable<IAutoFillLocation>>submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:71
directionDirectionsubmodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:58
menuIApplyMenuItem[]submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:61
menu$Observable<IApplyMenuItem[]>submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:60
setDisableApplyType(type: APPLY_TYPE, disable: boolean) => voidsubmodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:66
setShowMenu(show: boolean) => voidsubmodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:64
showMenu$Observable<boolean>submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:63

Methods

addHook()

addHook(hook): IDisposable

Parameters

ParameterType
hookISheetAutoFillHook

Returns

IDisposable

Defined in

submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:79


fillData()

fillData(triggerUnitId, triggerSubUnitId): boolean

Parameters

ParameterType
triggerUnitIdstring
triggerSubUnitIdstring

Returns

boolean

Defined in

submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:80


getActiveHooks()

getActiveHooks(): ISheetAutoFillHook[]

Returns

ISheetAutoFillHook[]

Defined in

submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:78


getAllHooks()

getAllHooks(): ISheetAutoFillHook[]

Returns

ISheetAutoFillHook[]

Defined in

submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:77


getRules()

getRules(): IAutoFillRule[]

Returns

IAutoFillRule[]

Defined in

submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:68


initPrevUndo()

initPrevUndo(): void

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:82


isFillingStyle()

isFillingStyle(): boolean

Returns

boolean

Defined in

submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:69


registerRule()

registerRule(rule): void

Parameters

ParameterType
ruleIAutoFillRule

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:75


setFillingStyle()

setFillingStyle(isFillingStyle): void

Parameters

ParameterType
isFillingStyleboolean

Returns

void

Defined in

submodules/univer/packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:74