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

Settings for workbook write protection. More...

#include <workbooksettings.hxx>

Public Member Functions

 FileSharingModel ()
 True = recommend read-only mode on opening. More...
 

Public Attributes

OUString maUserName
 
OUString maAlgorithmName
 User who added the write protection password. More...
 
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 mbRecommendReadOnly
 Hash value of the write protection password. (unrelated to the above) More...
 

Detailed Description

Settings for workbook write protection.

Definition at line 32 of file workbooksettings.hxx.

Constructor & Destructor Documentation

◆ FileSharingModel()

oox::xls::FileSharingModel::FileSharingModel ( )
explicit

True = recommend read-only mode on opening.

Definition at line 68 of file workbooksettings.cxx.

Member Data Documentation

◆ maAlgorithmName

OUString oox::xls::FileSharingModel::maAlgorithmName

User who added the write protection password.

Definition at line 35 of file workbooksettings.hxx.

Referenced by oox::xls::WorkbookSettings::finalizeImport(), and oox::xls::WorkbookSettings::importFileSharing().

◆ maHashValue

OUString oox::xls::FileSharingModel::maHashValue

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

Definition at line 36 of file workbooksettings.hxx.

Referenced by oox::xls::WorkbookSettings::finalizeImport(), and oox::xls::WorkbookSettings::importFileSharing().

◆ maSaltValue

OUString oox::xls::FileSharingModel::maSaltValue

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

Definition at line 37 of file workbooksettings.hxx.

Referenced by oox::xls::WorkbookSettings::finalizeImport(), and oox::xls::WorkbookSettings::importFileSharing().

◆ maUserName

OUString oox::xls::FileSharingModel::maUserName

Definition at line 34 of file workbooksettings.hxx.

Referenced by oox::xls::WorkbookSettings::importFileSharing().

◆ mbRecommendReadOnly

bool oox::xls::FileSharingModel::mbRecommendReadOnly

Hash value of the write protection password. (unrelated to the above)

Definition at line 40 of file workbooksettings.hxx.

Referenced by oox::xls::WorkbookSettings::finalizeImport(), and oox::xls::WorkbookSettings::importFileSharing().

◆ mnPasswordHash

sal_uInt16 oox::xls::FileSharingModel::mnPasswordHash

Spin count, iterations to run algorithm.

Definition at line 39 of file workbooksettings.hxx.

Referenced by oox::xls::WorkbookSettings::finalizeImport(), and oox::xls::WorkbookSettings::importFileSharing().

◆ mnSpinCount

sal_uInt32 oox::xls::FileSharingModel::mnSpinCount

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

Definition at line 38 of file workbooksettings.hxx.

Referenced by oox::xls::WorkbookSettings::finalizeImport(), and oox::xls::WorkbookSettings::importFileSharing().


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