xlnt
Public Member Functions | Static Public Member Functions | List of all members
xlnt::sheet_protection Class Reference

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...
 

Detailed Description

Protection applied to a particular worksheet to prevent it from being modified.

Member Function Documentation

◆ hash_password()

static std::string xlnt::sheet_protection::hash_password ( const std::string &  password)
static

Calculates and returns the hash of the given protection password.

◆ hashed_password()

std::string xlnt::sheet_protection::hashed_password ( ) const

Returns the hash of the password set for this sheet protection.

◆ password()

void xlnt::sheet_protection::password ( const std::string &  password)

Sets the protection password to password.


The documentation for this class was generated from the following file: