Aspose::Cells::Tables::TableStyleCollection class
Contents
[
Hide
]TableStyleCollection class
Represents all custom table styles.
class TableStyleCollection
Methods
| Method | Description |
|---|---|
| AddPivotTableStyle(const U16String& name) | Adds a custom pivot table style. |
| AddPivotTableStyle(const char16_t* name) | Adds a custom pivot table style. |
| AddTableStyle(const U16String& name) | Adds a custom table style. |
| AddTableStyle(const char16_t* name) | Adds a custom table style. |
| Get(int32_t index) | Gets the table style by the index. |
| Get(const U16String& name) | Gets the table style by the name. |
| Get(const char16_t* name) | Gets the table style by the name. |
| GetBuiltinTableStyle(TableStyleType type) | Gets the builtin table style. |
| GetCount() | |
| GetDefaultPivotStyleName() | Gets and sets the default style name of pivot table . |
| GetDefaultTableStyleName() | Gets and sets the default style name of the table. |
| IsNull() const | Checks whether the implementation object is nullptr. |
| explicit operator bool() const | operator bool() |
| operator=(const TableStyleCollection& src) | operator= |
| SetDefaultPivotStyleName(const U16String& value) | Gets and sets the default style name of pivot table . |
| SetDefaultPivotStyleName(const char16_t* value) | Gets and sets the default style name of pivot table . |
| SetDefaultTableStyleName(const U16String& value) | Gets and sets the default style name of the table. |
| SetDefaultTableStyleName(const char16_t* value) | Gets and sets the default style name of the table. |
| TableStyleCollection(TableStyleCollection_Impl* impl) | Constructs from an implementation object. |
| TableStyleCollection(const TableStyleCollection& src) | Copy constructor. |
| ~TableStyleCollection() | Destructor. |
Fields
| Field | Description |
|---|---|
| _impl | The implementation object. |
See Also
- Namespace Aspose::Cells::Tables
- Library Aspose.Cells for C++