OpenXLSX 1.9.1
Loading...
Searching...
No Matches
OpenXLSX::XLSheetProtectionOptions Struct Reference

A structure defining all granular sheet protection options. More...

#include <XLWorksheet.hpp>

Data Fields

bool sheet = true
 
bool objects = false
 
bool scenarios = false
 
bool formatCells = false
 
bool formatColumns = false
 
bool formatRows = false
 
bool insertColumns = false
 
bool insertRows = false
 
bool insertHyperlinks = false
 
bool deleteColumns = false
 
bool deleteRows = false
 
bool sort = false
 
bool autoFilter = false
 
bool pivotTables = false
 
bool selectLockedCells = true
 
bool selectUnlockedCells = true
 

Detailed Description

A structure defining all granular sheet protection options.

Default values are aligned with the OOXML standard for a protected sheet.

Field Documentation

◆ autoFilter

bool OpenXLSX::XLSheetProtectionOptions::autoFilter = false

◆ deleteColumns

bool OpenXLSX::XLSheetProtectionOptions::deleteColumns = false

◆ deleteRows

bool OpenXLSX::XLSheetProtectionOptions::deleteRows = false

◆ formatCells

bool OpenXLSX::XLSheetProtectionOptions::formatCells = false

◆ formatColumns

bool OpenXLSX::XLSheetProtectionOptions::formatColumns = false

◆ formatRows

bool OpenXLSX::XLSheetProtectionOptions::formatRows = false

◆ insertColumns

bool OpenXLSX::XLSheetProtectionOptions::insertColumns = false

◆ insertHyperlinks

bool OpenXLSX::XLSheetProtectionOptions::insertHyperlinks = false

◆ insertRows

bool OpenXLSX::XLSheetProtectionOptions::insertRows = false

◆ objects

bool OpenXLSX::XLSheetProtectionOptions::objects = false

◆ pivotTables

bool OpenXLSX::XLSheetProtectionOptions::pivotTables = false

◆ scenarios

bool OpenXLSX::XLSheetProtectionOptions::scenarios = false

◆ selectLockedCells

bool OpenXLSX::XLSheetProtectionOptions::selectLockedCells = true

◆ selectUnlockedCells

bool OpenXLSX::XLSheetProtectionOptions::selectUnlockedCells = true

◆ sheet

bool OpenXLSX::XLSheetProtectionOptions::sheet = true

◆ sort

bool OpenXLSX::XLSheetProtectionOptions::sort = false

The documentation for this struct was generated from the following file: