Protection Class

Protection class

Represents the various types of protection options available for a worksheet.


type Protection struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
CopyCopy protection info.
GetAllowDeletingColumnRepresents if the deletion of columns is allowed on a protected worksheet.
SetAllowDeletingColumnRepresents if the deletion of columns is allowed on a protected worksheet.
GetAllowDeletingRowRepresents if the deletion of rows is allowed on a protected worksheet.
SetAllowDeletingRowRepresents if the deletion of rows is allowed on a protected worksheet.
GetAllowFilteringRepresents if the user is allowed to make use of an AutoFilter that was created before the sheet was protected.
SetAllowFilteringRepresents if the user is allowed to make use of an AutoFilter that was created before the sheet was protected.
GetAllowFormattingCellRepresents if the formatting of cells is allowed on a protected worksheet.
SetAllowFormattingCellRepresents if the formatting of cells is allowed on a protected worksheet.
GetAllowFormattingColumnRepresents if the formatting of columns is allowed on a protected worksheet
SetAllowFormattingColumnRepresents if the formatting of columns is allowed on a protected worksheet
GetAllowFormattingRowRepresents if the formatting of rows is allowed on a protected worksheet
SetAllowFormattingRowRepresents if the formatting of rows is allowed on a protected worksheet
GetAllowInsertingColumnRepresents if the insertion of columns is allowed on a protected worksheet
SetAllowInsertingColumnRepresents if the insertion of columns is allowed on a protected worksheet
GetAllowInsertingHyperlinkRepresents if the insertion of hyperlinks is allowed on a protected worksheet
SetAllowInsertingHyperlinkRepresents if the insertion of hyperlinks is allowed on a protected worksheet
GetAllowInsertingRowRepresents if the insertion of rows is allowed on a protected worksheet
SetAllowInsertingRowRepresents if the insertion of rows is allowed on a protected worksheet
GetAllowSortingRepresents if the sorting option is allowed on a protected worksheet.
SetAllowSortingRepresents if the sorting option is allowed on a protected worksheet.
GetAllowUsingPivotTableRepresents if the user is allowed to manipulate pivot tables on a protected worksheet.
SetAllowUsingPivotTableRepresents if the user is allowed to manipulate pivot tables on a protected worksheet.
GetAllowEditingContentRepresents if the user is allowed to edit contents of locked cells on a protected worksheet.
SetAllowEditingContentRepresents if the user is allowed to edit contents of locked cells on a protected worksheet.
GetAllowEditingObjectRepresents if the user is allowed to manipulate drawing objects on a protected worksheet.
SetAllowEditingObjectRepresents if the user is allowed to manipulate drawing objects on a protected worksheet.
GetAllowEditingScenarioRepresents if the user is allowed to edit scenarios on a protected worksheet.
SetAllowEditingScenarioRepresents if the user is allowed to edit scenarios on a protected worksheet.
GetPasswordRepresents the password to protect the worksheet.
SetPasswordRepresents the password to protect the worksheet.
GetPasswordHashGets the hash of current password.
IsProtectedWithPasswordIndicates whether the worksheets is protected with password.
VerifyPasswordVerifies password.
GetAllowSelectingLockedCellRepresents if the user is allowed to select locked cells on a protected worksheet.
SetAllowSelectingLockedCellRepresents if the user is allowed to select locked cells on a protected worksheet.
GetAllowSelectingUnlockedCellRepresents if the user is allowed to select unlocked cells on a protected worksheet.
SetAllowSelectingUnlockedCellRepresents if the user is allowed to select unlocked cells on a protected worksheet.