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