SpreadsheetLocker
SpreadsheetLocker class
Low code api to lock spreadsheet file.
class SpreadsheetLocker;
Methods
Method | Description |
---|---|
isNull() | Checks whether the implementation object is null. |
static process(string, string, string, string) | Locks spreadsheet file with specified settings. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;
process(string, string, string, string)
Locks spreadsheet file with specified settings.
static process(templateFile: string, resultFile: string, openPassword: string, writePassword: string) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
templateFile | string | The template file to be locked |
resultFile | string | The resultant file |
openPassword | string | Password for file encryption |
writePassword | string | Password for protection of modifying spreadsheet |