public class SpreadsheetLocker
extends java.lang.Object
Example
SpreadsheetLocker.process("template.xlsx", "locked.xlsx", "mypassword", "mypassword");
| Modifier and Type | Method and Description |
|---|---|
static void |
process(LowCodeLoadOptions loadOptions,
LowCodeSaveOptions saveOptions,
AbstractLowCodeProtectionProvider provider)
Locks spreadsheet file with specified settings.
|
static void |
process(LowCodeLoadOptions loadOptions,
LowCodeSaveOptions saveOptions,
java.lang.String openPassword,
java.lang.String writePassword)
Locks spreadsheet file with specified settings.
|
static void |
process(LowCodeLoadOptions loadOptions,
LowCodeSaveOptions saveOptions,
java.lang.String openPassword,
java.lang.String writePassword,
java.lang.String workbookPassword,
int workbookType)
Locks spreadsheet file with specified settings.
|
static void |
process(java.lang.String templateFile,
java.lang.String resultFile,
java.lang.String openPassword,
java.lang.String writePassword)
Locks spreadsheet file with specified settings.
|
public static void process(java.lang.String templateFile,
java.lang.String resultFile,
java.lang.String openPassword,
java.lang.String writePassword)
templateFile - The template file to be lockedresultFile - The resultant fileopenPassword - Password for file encryptionwritePassword - Password for protection of modifying spreadsheetpublic static void process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions, java.lang.String openPassword, java.lang.String writePassword)
loadOptions - Options for input and loadingsaveOptions - Options for output and savingopenPassword - Password for file encryptionwritePassword - Password for protection of modifying spreadsheetpublic static void process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions, java.lang.String openPassword, java.lang.String writePassword, java.lang.String workbookPassword, int workbookType)
loadOptions - Options for input and loadingsaveOptions - Options for output and savingopenPassword - Password for file encryptionwritePassword - Password for protection of modifying spreadsheetworkbookPassword - Password for protection of the workbookworkbookType - ProtectionType. Protection type to protect the workbookpublic static void process(LowCodeLoadOptions loadOptions, LowCodeSaveOptions saveOptions, AbstractLowCodeProtectionProvider provider)
loadOptions - Options for input and loadingsaveOptions - Options for output and savingprovider - Implementation to provide protections settingsSee Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.