@univerjs/sheets-ui v0.4.2 • Docs
Interface: IAutoFillService
Properties
Methods
addHook()
addHook(hook): IDisposable
Parameters
Parameter | Type |
---|---|
hook | ISheetAutoFillHook |
Returns
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
Parameter | Type |
---|---|
triggerUnitId | string |
triggerSubUnitId | string |
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
Defined in
packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:78 (opens in a new tab)
getAllHooks()
getAllHooks(): ISheetAutoFillHook[]
Returns
Defined in
packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:77 (opens in a new tab)
getRules()
getRules(): IAutoFillRule[]
Returns
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
Parameter | Type |
---|---|
rule | IAutoFillRule |
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
Parameter | Type |
---|---|
isFillingStyle | boolean |
Returns
void
Defined in
packages/sheets-ui/src/services/auto-fill/auto-fill.service.ts:74 (opens in a new tab)