Aspose::Cells::Tables::TableStyleCollection class

TableStyleCollection class

Represents all custom table styles.

class TableStyleCollection

Methods

MethodDescription
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.
begin()Returns an iterator to the beginning of the TableStyleCollection.
end()Returns an iterator to the end of the TableStyleCollection.
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()Gets the number of elements contained in the instance.
GetDefaultPivotStyleName()Gets and sets the default style name of pivot table .
GetDefaultTableStyleName()Gets and sets the default style name of the table.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator 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

FieldDescription
_implThe implementation object.

See Also