LibreOffice Module sc (master) 1
Public Member Functions | Public Attributes | List of all members
oox::xls::SheetProtectionModel Struct Reference

Sheet protection settings. More...

#include <worksheetsettings.hxx>

Public Member Functions

 SheetProtectionModel ()
 

Public Attributes

OUString maAlgorithmName
 
OUString maHashValue
 Algorithm name, "SHA-512", "SHA-1", ... More...
 
OUString maSaltValue
 Hash value computed by the algorithm, base-64 encoded. More...
 
sal_uInt32 mnSpinCount
 Salt value to be prepended to the password, base-64 encoded. More...
 
sal_uInt16 mnPasswordHash
 Spin count, iterations to run algorithm. More...
 
bool mbSheet
 Hash value from sheet protection password. (unrelated to the above) More...
 
bool mbObjects
 True = sheet protection enabled, locked cells are protected. More...
 
bool mbScenarios
 True = objects locked. More...
 
bool mbFormatCells
 True = scenarios locked. More...
 
bool mbFormatColumns
 True = format cells locked. More...
 
bool mbFormatRows
 True = format columns locked. More...
 
bool mbInsertColumns
 True = format rows locked. More...
 
bool mbInsertRows
 True = insert columns locked. More...
 
bool mbInsertHyperlinks
 True = insert rows locked. More...
 
bool mbDeleteColumns
 True = insert hyperlinks locked. More...
 
bool mbDeleteRows
 True = delete columns locked. More...
 
bool mbSelectLocked
 True = delete rows locked. More...
 
bool mbSort
 True = select locked cells locked. More...
 
bool mbAutoFilter
 True = sorting locked. More...
 
bool mbPivotTables
 True = autofilters locked. More...
 
bool mbSelectUnlocked
 True = pivot tables locked. More...
 
::std::vector< ScEnhancedProtectionmaEnhancedProtections
 True = select unlocked cells locked. More...
 

Detailed Description

Sheet protection settings.

Definition at line 42 of file worksheetsettings.hxx.

Constructor & Destructor Documentation

◆ SheetProtectionModel()

oox::xls::SheetProtectionModel::SheetProtectionModel ( )
explicit

Definition at line 59 of file worksheetsettings.cxx.

Member Data Documentation

◆ maAlgorithmName

OUString oox::xls::SheetProtectionModel::maAlgorithmName

◆ maEnhancedProtections

::std::vector< ScEnhancedProtection > oox::xls::SheetProtectionModel::maEnhancedProtections

True = select unlocked cells locked.

Definition at line 66 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importProtectedRange().

◆ maHashValue

OUString oox::xls::SheetProtectionModel::maHashValue

Algorithm name, "SHA-512", "SHA-1", ...

Definition at line 45 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ maSaltValue

OUString oox::xls::SheetProtectionModel::maSaltValue

Hash value computed by the algorithm, base-64 encoded.

Definition at line 46 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ mbAutoFilter

bool oox::xls::SheetProtectionModel::mbAutoFilter

◆ mbDeleteColumns

bool oox::xls::SheetProtectionModel::mbDeleteColumns

True = insert hyperlinks locked.

Definition at line 58 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ mbDeleteRows

bool oox::xls::SheetProtectionModel::mbDeleteRows

True = delete columns locked.

Definition at line 59 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ mbFormatCells

bool oox::xls::SheetProtectionModel::mbFormatCells

◆ mbFormatColumns

bool oox::xls::SheetProtectionModel::mbFormatColumns

True = format cells locked.

Definition at line 53 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ mbFormatRows

bool oox::xls::SheetProtectionModel::mbFormatRows

True = format columns locked.

Definition at line 54 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ mbInsertColumns

bool oox::xls::SheetProtectionModel::mbInsertColumns

True = format rows locked.

Definition at line 55 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ mbInsertHyperlinks

bool oox::xls::SheetProtectionModel::mbInsertHyperlinks

True = insert rows locked.

Definition at line 57 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ mbInsertRows

bool oox::xls::SheetProtectionModel::mbInsertRows

True = insert columns locked.

Definition at line 56 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ mbObjects

bool oox::xls::SheetProtectionModel::mbObjects

True = sheet protection enabled, locked cells are protected.

Definition at line 50 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), oox::xls::WorksheetSettings::importChartProtection(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ mbPivotTables

bool oox::xls::SheetProtectionModel::mbPivotTables

True = autofilters locked.

Definition at line 63 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ mbScenarios

bool oox::xls::SheetProtectionModel::mbScenarios

◆ mbSelectLocked

bool oox::xls::SheetProtectionModel::mbSelectLocked

True = delete rows locked.

Definition at line 60 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ mbSelectUnlocked

bool oox::xls::SheetProtectionModel::mbSelectUnlocked

True = pivot tables locked.

Definition at line 64 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ mbSheet

bool oox::xls::SheetProtectionModel::mbSheet

Hash value from sheet protection password. (unrelated to the above)

Definition at line 49 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), oox::xls::WorksheetSettings::importChartProtection(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ mbSort

bool oox::xls::SheetProtectionModel::mbSort

True = select locked cells locked.

Definition at line 61 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().

◆ mnPasswordHash

sal_uInt16 oox::xls::SheetProtectionModel::mnPasswordHash

◆ mnSpinCount

sal_uInt32 oox::xls::SheetProtectionModel::mnSpinCount

Salt value to be prepended to the password, base-64 encoded.

Definition at line 47 of file worksheetsettings.hxx.

Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().


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