@univerjs/sheets v0.5.0-beta.1 • Docs
Class: NumfmtService
Extends
Implements
Constructors
new NumfmtService()
new NumfmtService(
_resourceManagerService,
_univerInstanceService,
_logService): NumfmtService
Parameters
Parameter | Type |
---|---|
_resourceManagerService | IResourceManagerService |
_univerInstanceService | IUniverInstanceService |
_logService | ILogService |
Returns
Overrides
Defined in
submodules/univer/packages/sheets/src/services/numfmt/numfmt.service.ts:31
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
Methods
deleteValues()
deleteValues(
unitId,
subUnitId,
values): void
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
values | IRange [] |
Returns
void
Implementation of
Defined in
submodules/univer/packages/sheets/src/services/numfmt/numfmt.service.ts:59
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:106
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
getValue()
getValue(
unitId,
subUnitId,
row,
col): undefined | null | {
pattern: string;
}
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
row | number |
col | number |
Returns
undefined
| null
| {
pattern
: string
;
}
Implementation of
Defined in
submodules/univer/packages/sheets/src/services/numfmt/numfmt.service.ts:39
setValues()
setValues(
unitId,
subUnitId,
values): void
Parameters
Parameter | Type |
---|---|
unitId | string |
subUnitId | string |
values | { pattern : string ; ranges : IRange []; }[] |
Returns
void
Implementation of
Defined in
submodules/univer/packages/sheets/src/services/numfmt/numfmt.service.ts:86