## SpreadsheetLocker::Process(const U16String\&, const U16String\&, const U16String\&, const U16String\&) method


Locks spreadsheet file with specified settings.

```cpp
static void Aspose::Cells::LowCode::SpreadsheetLocker::Process(const U16String &templateFile, const U16String &resultFile, const U16String &openPassword, const U16String &writePassword)
```


| Parameter | Type | Description |
| --- | --- | --- |
| templateFile | const U16String\& | The template file to be locked |
| resultFile | const U16String\& | The resultant file |
| openPassword | const U16String\& | Password for file encryption |
| writePassword | const U16String\& | Password for protection of modifying spreadsheet |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [SpreadsheetLocker](../)
* Namespace [Aspose::Cells::LowCode](../../)
* Library [Aspose.Cells for C++](../../../)
## SpreadsheetLocker::Process(const char16_t*, const char16_t*, const char16_t*, const char16_t*) method


Locks spreadsheet file with specified settings.

```cpp
static void Aspose::Cells::LowCode::SpreadsheetLocker::Process(const char16_t *templateFile, const char16_t *resultFile, const char16_t *openPassword, const char16_t *writePassword)
```


| Parameter | Type | Description |
| --- | --- | --- |
| templateFile | const char16_t* | The template file to be locked |
| resultFile | const char16_t* | The resultant file |
| openPassword | const char16_t* | Password for file encryption |
| writePassword | const char16_t* | Password for protection of modifying spreadsheet |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [SpreadsheetLocker](../)
* Namespace [Aspose::Cells::LowCode](../../)
* Library [Aspose.Cells for C++](../../../)
## SpreadsheetLocker::Process(const LowCodeLoadOptions\&, const LowCodeSaveOptions\&, const U16String\&, const U16String\&) method


Locks spreadsheet file with specified settings.

```cpp
static void Aspose::Cells::LowCode::SpreadsheetLocker::Process(const LowCodeLoadOptions &loadOptions, const LowCodeSaveOptions &saveOptions, const U16String &openPassword, const U16String &writePassword)
```


| Parameter | Type | Description |
| --- | --- | --- |
| loadOptions | const LowCodeLoadOptions\& | Options for input and loading |
| saveOptions | const LowCodeSaveOptions\& | Options for output and saving |
| openPassword | const U16String\& | Password for file encryption |
| writePassword | const U16String\& | Password for protection of modifying spreadsheet |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [LowCodeLoadOptions](../../lowcodeloadoptions/)
* Class [LowCodeSaveOptions](../../lowcodesaveoptions/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [SpreadsheetLocker](../)
* Namespace [Aspose::Cells::LowCode](../../)
* Library [Aspose.Cells for C++](../../../)
## SpreadsheetLocker::Process(const LowCodeLoadOptions\&, const LowCodeSaveOptions\&, const char16_t*, const char16_t*) method


Locks spreadsheet file with specified settings.

```cpp
static void Aspose::Cells::LowCode::SpreadsheetLocker::Process(const LowCodeLoadOptions &loadOptions, const LowCodeSaveOptions &saveOptions, const char16_t *openPassword, const char16_t *writePassword)
```


| Parameter | Type | Description |
| --- | --- | --- |
| loadOptions | const LowCodeLoadOptions\& | Options for input and loading |
| saveOptions | const LowCodeSaveOptions\& | Options for output and saving |
| openPassword | const char16_t* | Password for file encryption |
| writePassword | const char16_t* | Password for protection of modifying spreadsheet |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [LowCodeLoadOptions](../../lowcodeloadoptions/)
* Class [LowCodeSaveOptions](../../lowcodesaveoptions/)
* Class [SpreadsheetLocker](../)
* Namespace [Aspose::Cells::LowCode](../../)
* Library [Aspose.Cells for C++](../../../)
## SpreadsheetLocker::Process(const LowCodeLoadOptions\&, const LowCodeSaveOptions\&, const U16String\&, const U16String\&, const U16String\&, ProtectionType) method


Locks spreadsheet file with specified settings.

```cpp
static void Aspose::Cells::LowCode::SpreadsheetLocker::Process(const LowCodeLoadOptions &loadOptions, const LowCodeSaveOptions &saveOptions, const U16String &openPassword, const U16String &writePassword, const U16String &workbookPassword, ProtectionType workbookType)
```


| Parameter | Type | Description |
| --- | --- | --- |
| loadOptions | const LowCodeLoadOptions\& | Options for input and loading |
| saveOptions | const LowCodeSaveOptions\& | Options for output and saving |
| openPassword | const U16String\& | Password for file encryption |
| writePassword | const U16String\& | Password for protection of modifying spreadsheet |
| workbookPassword | const U16String\& | Password for protection of the workbook |
| workbookType | ProtectionType | [Protection](../../../aspose.cells/protection/) type to protect the workbook |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [LowCodeLoadOptions](../../lowcodeloadoptions/)
* Class [LowCodeSaveOptions](../../lowcodesaveoptions/)
* Class [U16String](../../../aspose.cells/u16string/)
* Enum [ProtectionType](../../../aspose.cells/protectiontype/)
* Class [SpreadsheetLocker](../)
* Namespace [Aspose::Cells::LowCode](../../)
* Library [Aspose.Cells for C++](../../../)
## SpreadsheetLocker::Process(const LowCodeLoadOptions\&, const LowCodeSaveOptions\&, const char16_t*, const char16_t*, const char16_t*, ProtectionType) method


Locks spreadsheet file with specified settings.

```cpp
static void Aspose::Cells::LowCode::SpreadsheetLocker::Process(const LowCodeLoadOptions &loadOptions, const LowCodeSaveOptions &saveOptions, const char16_t *openPassword, const char16_t *writePassword, const char16_t *workbookPassword, ProtectionType workbookType)
```


| Parameter | Type | Description |
| --- | --- | --- |
| loadOptions | const LowCodeLoadOptions\& | Options for input and loading |
| saveOptions | const LowCodeSaveOptions\& | Options for output and saving |
| openPassword | const char16_t* | Password for file encryption |
| writePassword | const char16_t* | Password for protection of modifying spreadsheet |
| workbookPassword | const char16_t* | Password for protection of the workbook |
| workbookType | ProtectionType | [Protection](../../../aspose.cells/protection/) type to protect the workbook |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [LowCodeLoadOptions](../../lowcodeloadoptions/)
* Class [LowCodeSaveOptions](../../lowcodesaveoptions/)
* Enum [ProtectionType](../../../aspose.cells/protectiontype/)
* Class [SpreadsheetLocker](../)
* Namespace [Aspose::Cells::LowCode](../../)
* Library [Aspose.Cells for C++](../../../)
## SpreadsheetLocker::Process(const LowCodeLoadOptions\&, const LowCodeSaveOptions\&, const AbstractLowCodeProtectionProvider\&) method


Locks spreadsheet file with specified settings.

```cpp
static void Aspose::Cells::LowCode::SpreadsheetLocker::Process(const LowCodeLoadOptions &loadOptions, const LowCodeSaveOptions &saveOptions, const AbstractLowCodeProtectionProvider &provider)
```


| Parameter | Type | Description |
| --- | --- | --- |
| loadOptions | const LowCodeLoadOptions\& | Options for input and loading |
| saveOptions | const LowCodeSaveOptions\& | Options for output and saving |
| provider | const AbstractLowCodeProtectionProvider\& | Implementation to provide protections settings |

## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [LowCodeLoadOptions](../../lowcodeloadoptions/)
* Class [LowCodeSaveOptions](../../lowcodesaveoptions/)
* Class [AbstractLowCodeProtectionProvider](../../abstractlowcodeprotectionprovider/)
* Class [SpreadsheetLocker](../)
* Namespace [Aspose::Cells::LowCode](../../)
* Library [Aspose.Cells for C++](../../../)
