LibreOffice Module sc (master) 1
|
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< ScEnhancedProtection > | maEnhancedProtections |
True = select unlocked cells locked. More... | |
Sheet protection settings.
Definition at line 42 of file worksheetsettings.hxx.
|
explicit |
Definition at line 59 of file worksheetsettings.cxx.
OUString oox::xls::SheetProtectionModel::maAlgorithmName |
Definition at line 44 of file worksheetsettings.hxx.
Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().
::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().
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().
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().
bool oox::xls::SheetProtectionModel::mbAutoFilter |
True = sorting locked.
Definition at line 62 of file worksheetsettings.hxx.
Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().
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().
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().
bool oox::xls::SheetProtectionModel::mbFormatCells |
True = scenarios locked.
Definition at line 52 of file worksheetsettings.hxx.
Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().
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().
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().
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().
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().
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().
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().
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().
bool oox::xls::SheetProtectionModel::mbScenarios |
True = objects locked.
Definition at line 51 of file worksheetsettings.hxx.
Referenced by oox::xls::WorksheetSettings::finalizeImport(), and oox::xls::WorksheetSettings::importSheetProtection().
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().
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().
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().
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().
sal_uInt16 oox::xls::SheetProtectionModel::mnPasswordHash |
Spin count, iterations to run algorithm.
Definition at line 48 of file worksheetsettings.hxx.
Referenced by oox::xls::WorksheetSettings::finalizeImport(), oox::xls::WorksheetSettings::importChartProtection(), and oox::xls::WorksheetSettings::importSheetProtection().
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().