WorksheetProtectionModel
WorksheetProtectionModel
Przegląd
WorksheetProtectionModel jest klasą w Aspose.Cells FOSS dla C++.
Reprezentuje model ochrony arkusza.
Ta klasa udostępnia 44 metody do pracy z obiektami WorksheetProtectionModel w programach C++. Dostępne metody obejmują: Clear, GetAlgorithmName, GetAutoFilter, GetDeleteColumns, GetDeleteRows, GetFormatCells, GetFormatColumns, GetFormatRows, GetHashValue, GetInsertColumns, GetInsertHyperlinks, GetInsertRows oraz 32 dodatkowe metody. Wszystkie publiczne składowe są dostępne dla każdej aplikacji C++ po zainstalowaniu pakietu Aspose.Cells FOSS dla C++.
Metody
| Sygnatura | Opis |
|---|---|
GetIsProtected() → bool | Pobiera lub ustawia wartość wskazującą, czy jest chroniony. |
SetIsProtected(value: bool) | Ustawia wartość is protected. |
GetObjects() → bool | Pobiera lub ustawia wartość wskazującą, czy obiekty. |
SetObjects(value: bool) | Ustawia wartość obiektu. |
GetScenarios() → bool | Pobiera lub ustawia wartość wskazującą, czy scenariusze. |
SetScenarios(value: bool) | Ustawia wartość scenariuszy. |
GetFormatCells() → bool | Pobiera lub ustawia wartość wskazującą, czy formatowanie komórek jest dozwolone. |
SetFormatCells(value: bool) | Ustawia wartość formatowania komórek. |
GetFormatColumns() → bool | Pobiera lub ustawia wartość wskazującą, czy formatowanie kolumn jest dozwolone. |
SetFormatColumns(value: bool) | Ustawia wartość formatowania kolumn. |
GetFormatRows() → bool | Pobiera lub ustawia wartość wskazującą, czy można formatować wiersze. |
SetFormatRows(value: bool) | Ustawia wartość formatowania wierszy. |
GetInsertColumns() → bool | Pobiera lub ustawia wartość określającą, czy można wstawiać kolumny. |
SetInsertColumns(value: bool) | Ustawia wartość wstawiania kolumn. |
GetInsertRows() → bool | Pobiera lub ustawia wartość wskazującą, czy można wstawiać wiersze. |
SetInsertRows(value: bool) | Ustawia wartość wstawiania wierszy. |
GetInsertHyperlinks() → bool | Pobiera lub ustawia wartość określającą, czy wstawia hiperłącza. |
SetInsertHyperlinks(value: bool) | Ustawia wartość wstawiania hiperłączy. |
GetDeleteColumns() → bool | Pobiera lub ustawia wartość wskazującą, czy usuwać kolumny. |
SetDeleteColumns(value: bool) | Ustawia wartość usuwania kolumn. |
GetDeleteRows() → bool | Pobiera lub ustawia wartość wskazującą, czy można usuwać wiersze. |
SetDeleteRows(value: bool) | Ustawia wartość usuwania wierszy. |
GetSelectLockedCells() → bool | Pobiera lub ustawia wartość wskazującą, czy można zaznaczać zablokowane komórki. |
SetSelectLockedCells(value: bool) | Ustawia wartość wyboru zablokowanych komórek. |
GetSort() → bool | Pobiera lub ustawia wartość wskazującą, czy sortowanie jest włączone. |
SetSort(value: bool) | Ustawia wartość sortowania. |
GetAutoFilter() → bool | Pobiera lub ustawia wartość wskazującą, czy filtr automatyczny jest włączony. |
SetAutoFilter(value: bool) | Ustawia wartość filtru automatycznego. |
GetPivotTables() → bool | Pobiera lub ustawia wartość wskazującą, czy tabele przestawne. |
SetPivotTables(value: bool) | Ustawia wartość tabel przestawnych. |
GetSelectUnlockedCells() → bool | Pobiera lub ustawia wartość określającą, czy zaznaczyć odblokowane komórki. |
SetSelectUnlockedCells(value: bool) | Ustawia wartość wyboru odblokowanych komórek. |
GetPasswordHash() → std::string | Pobiera lub ustawia skrót hasła. |
SetPasswordHash(value: std::string) | Ustawia wartość skrótu hasła. |
GetAlgorithmName() → std::string | Pobiera lub ustawia nazwę algorytmu. |
SetAlgorithmName(value: std::string) | Ustawia wartość nazwy algorytmu. |
GetHashValue() → std::string | Pobiera lub ustawia wartość wskazującą, czy h wartość. |
SetHashValue(value: std::string) | Ustawia wartość skrótu. |
GetSaltValue() → std::string | Pobiera lub ustawia wartość soli. |
SetSaltValue(value: std::string) | Ustawia wartość soli. |
GetSpinCount() → std::string | Pobiera lub ustawia liczbę obrotów. |
SetSpinCount(value: std::string) | Ustawia wartość licznika obrotów. |
Clear() | Czyści bieżący stan. |
HasStoredState() → bool | Zwraca przechowywany stan. true, jeśli warunek jest spełniony; w przeciwnym razie false. |