@univerjs/sheets v0.5.4


Interface: INumfmtService

Defined in: submodules/univer/packages/sheets/src/services/numfmt/type.ts:49

Methods

deleteValues()

deleteValues(
   unitId, 
   subUnitId, 
   values): void

Defined in: submodules/univer/packages/sheets/src/services/numfmt/type.ts:63

Parameters

ParameterType
unitIdstring
subUnitIdstring
valuesIRange[]

Returns

void


getValue()

getValue(
   unitId, 
   subUnitId, 
   row, 
   col, 
model?): Nullable<INumfmtItemWithCache>

Defined in: submodules/univer/packages/sheets/src/services/numfmt/type.ts:51

Parameters

ParameterType
unitIdstring
subUnitIdstring
rownumber
colnumber
model?ObjectMatrix<INumfmtItem>

Returns

Nullable<INumfmtItemWithCache>


setValues()

setValues(
   unitId, 
   subUnitId, 
   values): void

Defined in: submodules/univer/packages/sheets/src/services/numfmt/type.ts:58

Parameters

ParameterType
unitIdstring
subUnitIdstring
values{ pattern: string; ranges: IRange[]; }[]

Returns

void