API Reference
@univerjs
@univerjs/sheets-ui
interfaces
Iautofillservice

@univerjs/sheets-ui v0.4.2Docs


Interface: IAutoFillService

Properties

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

Methods

addHook()

addHook(hook): IDisposable

Parameters

ParameterType
hookISheetAutoFillHook

Returns

IDisposable

Defined in

packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:79 (opens in a new tab)


fillData()

fillData(triggerUnitId, triggerSubUnitId): boolean

Parameters

ParameterType
triggerUnitIdstring
triggerSubUnitIdstring

Returns

boolean

Defined in

packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:80 (opens in a new tab)


getActiveHooks()

getActiveHooks(): ISheetAutoFillHook[]

Returns

ISheetAutoFillHook[]

Defined in

packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:78 (opens in a new tab)


getAllHooks()

getAllHooks(): ISheetAutoFillHook[]

Returns

ISheetAutoFillHook[]

Defined in

packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:77 (opens in a new tab)


getRules()

getRules(): IAutoFillRule[]

Returns

IAutoFillRule[]

Defined in

packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:68 (opens in a new tab)


initPrevUndo()

initPrevUndo(): void

Returns

void

Defined in

packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:82 (opens in a new tab)


isFillingStyle()

isFillingStyle(): boolean

Returns

boolean

Defined in

packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:69 (opens in a new tab)


registerRule()

registerRule(rule): void

Parameters

ParameterType
ruleIAutoFillRule

Returns

void

Defined in

packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:75 (opens in a new tab)


setFillingStyle()

setFillingStyle(isFillingStyle): void

Parameters

ParameterType
isFillingStyleboolean

Returns

void

Defined in

packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:74 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.