Protection Class
Contents
[
Hide
]Protection class
Represents the various types of protection options available for a worksheet.
type Protection struct {
ptr unsafe.Pointer
}
Constructors
Method | Description |
---|
Methods
Method | Description |
---|---|
IsNull | Checks whether the implementation object is nullptr. |
Copy | Copy protection info. |
GetAllowDeletingColumn | Represents if the deletion of columns is allowed on a protected worksheet. |
SetAllowDeletingColumn | Represents if the deletion of columns is allowed on a protected worksheet. |
GetAllowDeletingRow | Represents if the deletion of rows is allowed on a protected worksheet. |
SetAllowDeletingRow | Represents if the deletion of rows is allowed on a protected worksheet. |
GetAllowFiltering | Represents if the user is allowed to make use of an AutoFilter that was created before the sheet was protected. |
SetAllowFiltering | Represents if the user is allowed to make use of an AutoFilter that was created before the sheet was protected. |
GetAllowFormattingCell | Represents if the formatting of cells is allowed on a protected worksheet. |
SetAllowFormattingCell | Represents if the formatting of cells is allowed on a protected worksheet. |
GetAllowFormattingColumn | Represents if the formatting of columns is allowed on a protected worksheet |
SetAllowFormattingColumn | Represents if the formatting of columns is allowed on a protected worksheet |
GetAllowFormattingRow | Represents if the formatting of rows is allowed on a protected worksheet |
SetAllowFormattingRow | Represents if the formatting of rows is allowed on a protected worksheet |
GetAllowInsertingColumn | Represents if the insertion of columns is allowed on a protected worksheet |
SetAllowInsertingColumn | Represents if the insertion of columns is allowed on a protected worksheet |
GetAllowInsertingHyperlink | Represents if the insertion of hyperlinks is allowed on a protected worksheet |
SetAllowInsertingHyperlink | Represents if the insertion of hyperlinks is allowed on a protected worksheet |
GetAllowInsertingRow | Represents if the insertion of rows is allowed on a protected worksheet |
SetAllowInsertingRow | Represents if the insertion of rows is allowed on a protected worksheet |
GetAllowSorting | Represents if the sorting option is allowed on a protected worksheet. |
SetAllowSorting | Represents if the sorting option is allowed on a protected worksheet. |
GetAllowUsingPivotTable | Represents if the user is allowed to manipulate pivot tables on a protected worksheet. |
SetAllowUsingPivotTable | Represents if the user is allowed to manipulate pivot tables on a protected worksheet. |
GetAllowEditingContent | Represents if the user is allowed to edit contents of locked cells on a protected worksheet. |
SetAllowEditingContent | Represents if the user is allowed to edit contents of locked cells on a protected worksheet. |
GetAllowEditingObject | Represents if the user is allowed to manipulate drawing objects on a protected worksheet. |
SetAllowEditingObject | Represents if the user is allowed to manipulate drawing objects on a protected worksheet. |
GetAllowEditingScenario | Represents if the user is allowed to edit scenarios on a protected worksheet. |
SetAllowEditingScenario | Represents if the user is allowed to edit scenarios on a protected worksheet. |
GetPassword | Represents the password to protect the worksheet. |
SetPassword | Represents the password to protect the worksheet. |
GetPasswordHash | Gets the hash of current password. |
IsProtectedWithPassword | Indicates whether the worksheets is protected with password. |
VerifyPassword | Verifies password. |
GetAllowSelectingLockedCell | Represents if the user is allowed to select locked cells on a protected worksheet. |
SetAllowSelectingLockedCell | Represents if the user is allowed to select locked cells on a protected worksheet. |
GetAllowSelectingUnlockedCell | Represents if the user is allowed to select unlocked cells on a protected worksheet. |
SetAllowSelectingUnlockedCell | Represents if the user is allowed to select unlocked cells on a protected worksheet. |