@univerjssheetsindexclassesRangeprotectionrendermodel

@univerjs/sheets v0.5.4


Class: RangeProtectionRenderModel

Defined in: submodules/univer/packages/sheets/src/model/range-protection-render.model.ts:28

Constructors

new RangeProtectionRenderModel()

new RangeProtectionRenderModel(_selectionProtectionRuleModel, _permissionService): RangeProtectionRenderModel

Defined in: submodules/univer/packages/sheets/src/model/range-protection-render.model.ts:30

Parameters

ParameterType
_selectionProtectionRuleModelRangeProtectionRuleModel
_permissionServiceIPermissionService

Returns

RangeProtectionRenderModel

Methods

clear()

clear(): void

Defined in: submodules/univer/packages/sheets/src/model/range-protection-render.model.ts:106

Returns

void


getCellInfo()

getCellInfo(
   unitId, 
   subUnitId, 
   row, 
   col): ICellPermission[]

Defined in: submodules/univer/packages/sheets/src/model/range-protection-render.model.ts:79

Parameters

ParameterType
unitIdstring
subUnitIdstring
rownumber
colnumber

Returns

ICellPermission[]