xlnt
|
Protection applied to a particular worksheet to prevent it from being modified. More...
#include <sheet_protection.hpp>
Public Member Functions | |
void | password (const std::string &password) |
Sets the protection password to password. More... | |
std::string | hashed_password () const |
Returns the hash of the password set for this sheet protection. More... | |
Static Public Member Functions | |
static std::string | hash_password (const std::string &password) |
Calculates and returns the hash of the given protection password. More... | |
Protection applied to a particular worksheet to prevent it from being modified.
|
static |
Calculates and returns the hash of the given protection password.
std::string xlnt::sheet_protection::hashed_password | ( | ) | const |
Returns the hash of the password set for this sheet protection.
void xlnt::sheet_protection::password | ( | const std::string & | password | ) |
Sets the protection password to password.