StylesheetLoadContext
StylesheetLoadContext
Przegląd
StylesheetLoadContext jest klasą w Aspose.Cells FOSS dla C++.
Wewnętrzny kontekst używany podczas ładowania arkusza stylów do gromadzenia formatów komórek, formatów różnicowych, indeksów stylów dat oraz domyślnego stylu komórki.
Ta klasa udostępnia 8 metod do pracy z obiektami StylesheetLoadContext w programach C++. Dostępne metody to: GetCellFormats, GetDateStyleIndexes, GetDefaultCellStyle, GetDifferentialFormats, SetDefaultCellStyle. Wszystkie publiczne członki są dostępne dla każdej aplikacji C++ po zainstalowaniu pakietu Aspose.Cells FOSS dla C++.
Metody
| Sygnatura | Opis |
|---|---|
GetDefaultCellStyle() → Core::StyleValue | Pobiera lub ustawia domyślny styl komórki. Wykonuje StyleValue::Default().Clone(). |
SetDefaultCellStyle(value: Core::StyleValue) | Ustawia domyślną wartość stylu komórki. |
GetCellFormats() → std::vector<Core::StyleValue> | Pobiera listę formatów komórek. Zainicjowana pojedynczym StyleValue::Default().Clone(). |
GetCellFormats() → std::vector<Core::StyleValue> | Zwraca formaty komórek. |
GetDifferentialFormats() → std::vector<Core::StyleValue> | Pobiera listę formatów różnicowych. |
GetDifferentialFormats() → std::vector<Core::StyleValue> | Zwraca formaty różnicowe. |
GetDateStyleIndexes() → std::unordered_set<int> | Zwraca zestaw indeksów stylów dat. |
GetDateStyleIndexes() → std::unordered_set<int> | Zwraca indeksy stylów daty. |