xlnt
Classes | Public Member Functions | Public Attributes | List of all members
xlnt::document_security Class Reference

Properties governing how the data in a workbook should be protected. These values can be ignored by consumers. More...

#include <document_security.hpp>

Classes

struct  lock_verifier
 Holds data describing the verifier that locks revisions or a workbook. More...
 

Public Member Functions

 document_security ()=default
 Constructs a new document security object with default values. More...
 

Public Attributes

bool lock_revision = false
 If true, the workbook is locked for revisions. More...
 
bool lock_structure = false
 If true, worksheets can't be moved, renamed, (un)hidden, inserted, or deleted. More...
 
bool lock_windows = false
 If true, workbook windows will be opened at the same position with the same size every time they are loaded. More...
 
lock_verifier revision_lock
 The settings to allow the revision lock to be removed. More...
 
lock_verifier workbook_lock
 The settings to allow the structure and windows lock to be removed. More...
 

Detailed Description

Properties governing how the data in a workbook should be protected. These values can be ignored by consumers.

Constructor & Destructor Documentation

◆ document_security()

xlnt::document_security::document_security ( )
default

Constructs a new document security object with default values.

Member Data Documentation

◆ lock_revision

bool xlnt::document_security::lock_revision = false

If true, the workbook is locked for revisions.

◆ lock_structure

bool xlnt::document_security::lock_structure = false

If true, worksheets can't be moved, renamed, (un)hidden, inserted, or deleted.

◆ lock_windows

bool xlnt::document_security::lock_windows = false

If true, workbook windows will be opened at the same position with the same size every time they are loaded.

◆ revision_lock

lock_verifier xlnt::document_security::revision_lock

The settings to allow the revision lock to be removed.

◆ workbook_lock

lock_verifier xlnt::document_security::workbook_lock

The settings to allow the structure and windows lock to be removed.


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