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 43 of file worksheetsettings.hxx.

Constructor & Destructor Documentation

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

Definition at line 59 of file worksheetsettings.cxx.

Member Data Documentation

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

True = select unlocked cells locked.

Definition at line 67 of file worksheetsettings.hxx.

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

OUString oox::xls::SheetProtectionModel::maHashValue

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

Definition at line 46 of file worksheetsettings.hxx.

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

OUString oox::xls::SheetProtectionModel::maSaltValue

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

Definition at line 47 of file worksheetsettings.hxx.

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

bool oox::xls::SheetProtectionModel::mbAutoFilter
bool oox::xls::SheetProtectionModel::mbDeleteColumns

True = insert hyperlinks locked.

Definition at line 59 of file worksheetsettings.hxx.

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

bool oox::xls::SheetProtectionModel::mbDeleteRows

True = delete columns locked.

Definition at line 60 of file worksheetsettings.hxx.

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

bool oox::xls::SheetProtectionModel::mbFormatCells
bool oox::xls::SheetProtectionModel::mbFormatColumns

True = format cells locked.

Definition at line 54 of file worksheetsettings.hxx.

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

bool oox::xls::SheetProtectionModel::mbFormatRows

True = format columns locked.

Definition at line 55 of file worksheetsettings.hxx.

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

bool oox::xls::SheetProtectionModel::mbInsertColumns

True = format rows locked.

Definition at line 56 of file worksheetsettings.hxx.

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

bool oox::xls::SheetProtectionModel::mbInsertHyperlinks

True = insert rows locked.

Definition at line 58 of file worksheetsettings.hxx.

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

bool oox::xls::SheetProtectionModel::mbInsertRows

True = insert columns locked.

Definition at line 57 of file worksheetsettings.hxx.

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

bool oox::xls::SheetProtectionModel::mbObjects

True = sheet protection enabled, locked cells are protected.

Definition at line 51 of file worksheetsettings.hxx.

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

bool oox::xls::SheetProtectionModel::mbPivotTables

True = autofilters locked.

Definition at line 64 of file worksheetsettings.hxx.

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

bool oox::xls::SheetProtectionModel::mbScenarios
bool oox::xls::SheetProtectionModel::mbSelectLocked

True = delete rows locked.

Definition at line 61 of file worksheetsettings.hxx.

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

bool oox::xls::SheetProtectionModel::mbSelectUnlocked

True = pivot tables locked.

Definition at line 65 of file worksheetsettings.hxx.

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

bool oox::xls::SheetProtectionModel::mbSheet

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

Definition at line 50 of file worksheetsettings.hxx.

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

bool oox::xls::SheetProtectionModel::mbSort

True = select locked cells locked.

Definition at line 62 of file worksheetsettings.hxx.

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

sal_uInt16 oox::xls::SheetProtectionModel::mnPasswordHash
sal_uInt32 oox::xls::SheetProtectionModel::mnSpinCount

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

Definition at line 48 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: