---
Product: Aspose.Cells
Platform: cpp
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/cpp/workbookpropertiesmodel
---

# WorkbookPropertiesModel

## Overview

`WorkbookPropertiesModel` is a class in Aspose.Cells FOSS for C++.

Represents workbook properties model.

This class declares 34 methods for WorkbookPropertiesModel objects in C++ programs.
Available methods include: `CalculationPropertiesModel`, `CopyFrom`, `GetBackupFile`, `GetCalculation`, `GetCodeName`, `GetDefaultThemeVersion`, `GetFilterPrivacy`, `GetHidePivotFieldList`, `GetProtection`, `GetSaveExternalLinkValues`, `GetShowBorderUnselectedTables`, `GetShowInkAnnotation`, and 16 additional methods.
Public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.
Accessor methods: `CalculationPropertiesModel`, `WorkbookProtectionModel`, `WorkbookViewModel`.

## Accessor Methods

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `WorkbookProtectionModel` | `WorkbookProtectionModel` | Read | Gets the workbook protection model. |
| `WorkbookViewModel` | `WorkbookViewModel` | Read | Gets the workbook view model. |
| `CalculationPropertiesModel` | `CalculationPropertiesModel` | Read | Gets the calculation properties model. |

## Methods

| Signature | Description |
|-----------|-------------|
| `WorkbookProtectionModel()` → `WorkbookProtectionModel` | Gets the protection. |
| `WorkbookProtectionModel()` → `WorkbookProtectionModel` | Calls WorkbookProtectionModel on this WorkbookPropertiesModel instance. |
| `WorkbookViewModel()` → `WorkbookViewModel` | Gets the view. |
| `WorkbookViewModel()` → `WorkbookViewModel` | Calls WorkbookViewModel on this WorkbookPropertiesModel instance. |
| `CalculationPropertiesModel()` → `CalculationPropertiesModel` | Gets the calculation. |
| `CalculationPropertiesModel()` → `CalculationPropertiesModel` | Calls CalculationPropertiesModel on this WorkbookPropertiesModel instance. |
| `GetCodeName()` → `std::string` | Gets or sets the code name. |
| `SetCodeName(value: std::string)` | Sets the code name value. |
| `GetShowObjects()` → `std::string` | Gets or sets the show objects. |
| `SetShowObjects(value: std::string)` | Sets the show objects value. |
| `GetFilterPrivacy()` → `bool` | Gets or sets a value indicating whether filter privacy. |
| `SetFilterPrivacy(value: bool)` | Sets the filter privacy value. |
| `GetShowBorderUnselectedTables()` → `bool` | Gets or sets a value indicating whether show border unselected tables. |
| `SetShowBorderUnselectedTables(value: bool)` | Sets the show border unselected tables value. |
| `GetShowInkAnnotation()` → `bool` | Gets or sets a value indicating whether show ink annotation. |
| `SetShowInkAnnotation(value: bool)` | Sets the show ink annotation value. |
| `GetBackupFile()` → `bool` | Gets or sets a value indicating whether backup file. |
| `SetBackupFile(value: bool)` | Sets the backup file value. |
| `GetSaveExternalLinkValues()` → `bool` | Gets or sets a value indicating whether save external link values. |
| `SetSaveExternalLinkValues(value: bool)` | Sets the save external link values value. |
| `GetUpdateLinks()` → `std::string` | Gets or sets the update links. |
| `SetUpdateLinks(value: std::string)` | Sets the update links value. |
| `GetHidePivotFieldList()` → `bool` | Gets or sets a value indicating whether hide pivot field list. |
| `SetHidePivotFieldList(value: bool)` | Sets the hide pivot field list value. |
| `GetDefaultThemeVersion()` → `std::optional<int>` | Gets or sets the default theme version. |
| `SetDefaultThemeVersion(value: std::optional<int>)` | Sets the default theme version value. |
| `GetProtection()` → `WorkbookProtectionModel` | Gets the protection. |
| `GetProtection()` → `WorkbookProtectionModel` | Returns the protection. |
| `GetView()` → `WorkbookViewModel` | Gets the view. |
| `GetView()` → `WorkbookViewModel` | Returns the view. |
| `GetCalculation()` → `CalculationPropertiesModel` | Gets the calculation. |
| `GetCalculation()` → `CalculationPropertiesModel` | Returns the calculation. |
| `CopyFrom(source: WorkbookPropertiesModel)` | Copies values from the specified source. The source. |
| `HasWorkbookPropertiesState()` → `bool` | Performs has workbook properties state. true if the condition is met; otherwise, false. |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)