AbstractLowCodeProtectionProvider
AbstractLowCodeProtectionProvider class
Implementation to provide protection settings
class AbstractLowCodeProtectionProvider;
Constructors
Name | Description |
---|---|
constructor() | Default Constructor. |
Methods
Method | Description |
---|---|
getOpenPassword() | Gets the password to open spread sheet file. |
getWritePassword() | Gets the password to modify spread sheet file. |
getWorkbookPassword() | Gets the password to protect the workbook with specified protection type. |
getWorkbookProtectionType() | Gets the protection type to protect the workbook. |
getWorksheetPassword(string) | Gets the password to protect the specified worksheet. |
getWorksheetProtectionType(string) | Gets the protection type to protect the specified worksheet. |
isNull() | Checks whether the implementation object is null. |
constructor()
Default Constructor.
constructor();
getOpenPassword()
Gets the password to open spread sheet file.
getOpenPassword() : string;
Returns
Password to open spread sheet file. Empty means no protection for openning the filel.
getWritePassword()
Gets the password to modify spread sheet file.
getWritePassword() : string;
Returns
Password to modify the spread sheet file. Empty means no protection for modifying the file.
getWorkbookPassword()
Gets the password to protect the workbook with specified protection type.
getWorkbookPassword() : string;
Returns
Password to protect the workbook.
getWorkbookProtectionType()
Gets the protection type to protect the workbook.
getWorkbookProtectionType() : ProtectionType;
Returns
Protection type to protect the workbook. ProtectionType.None means no protection for the workbook.
getWorksheetPassword(string)
Gets the password to protect the specified worksheet.
getWorksheetPassword(sheetName: string) : string;
Parameters:
Parameter | Type | Description |
---|---|---|
sheetName | string |
Returns
Password to protect the specified worksheet.
getWorksheetProtectionType(string)
Gets the protection type to protect the specified worksheet.
getWorksheetProtectionType(sheetName: string) : ProtectionType;
Parameters:
Parameter | Type | Description |
---|---|---|
sheetName | string |
Returns
Protection type to protect the specified worksheet. ProtectionType.None means no protection for the worksheet.
isNull()
Checks whether the implementation object is null.
isNull() : boolean;