WorksheetProtection
WorksheetProtection
Przegląd
WorksheetProtection jest klasą w Aspose.Cells FOSS dla C++.
Reprezentuje ochronę arkusza.
Ta klasa udostępnia 33 metody do pracy z obiektami WorksheetProtection w programach C++. Dostępne metody to: GetAutoFilter, GetDeleteColumns, GetDeleteRows, GetFormatCells, GetFormatColumns, GetFormatRows, GetInsertColumns, GetInsertHyperlinks, GetInsertRows, GetIsProtected, GetObjects, GetPivotTables oraz 21 dodatkowych metod. Wszystkie publiczne składowe są dostępne dla dowolnej 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ść określającą, czy scenariusze. |
SetScenarios(value: bool) | Ustawia wartość scenariuszy. |
GetFormatCells() → bool | Pobiera lub ustawia wartość wskazującą, czy można formatować komórki. |
SetFormatCells(value: bool) | Ustawia wartość formatowania komórek. |
GetFormatColumns() → bool | Pobiera lub ustawia wartość wskazującą, czy można formatować kolumny. |
SetFormatColumns(value: bool) | Ustawia wartość formatowania kolumn. |
GetFormatRows() → bool | Pobiera lub ustawia wartość określającą, czy formatować wiersze. |
SetFormatRows(value: bool) | Ustawia wartość formatu wierszy. |
GetInsertColumns() → bool | Pobiera lub ustawia wartość wskazującą, czy 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ść wskazującą, czy wstawia się 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 usuwać wiersze. |
SetDeleteRows(value: bool) | Ustawia wartość usuwania wierszy. |
GetSelectLockedCells() → bool | Pobiera lub ustawia wartość określają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. |
SetSort(value: bool) | Ustawia wartość sortowania. |
GetAutoFilter() → bool | Pobiera lub ustawia wartość wskazującą, czy filtr automatyczny. |
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. |
Reset() | Resetuje wszystkie ustawienia ochrony do wartości domyślnych. |