TableStyleCollection
Contents
[
Hide
]TableStyleCollection class
Represents all custom table styles.
Properties
| Name | Type | Description |
|---|---|---|
| DefaultTableStyleName | String | Gets and sets the default style name of the table. |
| DefaultPivotStyleName | String | Gets and sets the default style name of pivot table . |
| Count | int | |
| Item (int) | TableStyle | Gets the table style by the index. |
| Item (java.lang.String) | TableStyle | Gets the table style by the name. |
Methods
| Name | Description |
|---|---|
| addTableStyle | Adds a custom table style. |
| addPivotTableStyle | Adds a custom pivot table style. |
| getBuiltinTableStyle | Gets the builtin table style |
| clear | |
| removeAt | |
| iterator | |
| get | Reserved for internal use. |
| contains | Reserved for internal use. |
| add | Reserved for internal use. |
| indexOf | Reserved for internal use. |
TableStyleCollection.DefaultTableStyleName property
Gets and sets the default style name of the table.
Type: String
TableStyleCollection.DefaultPivotStyleName property
Gets and sets the default style name of pivot table .
Type: String
TableStyleCollection.Count property
Type: int
TableStyleCollection.Item (int) property
Gets the table style by the index.
Type: TableStyle
TableStyleCollection.Item (java.lang.String) property
Gets the table style by the name.
Type: TableStyle
addTableStyle(name)
Adds a custom table style.
| Parameter | Type | Description |
|---|---|---|
| name | String | The table style name. |
Returns: The index of the table style.
addPivotTableStyle(name)
Adds a custom pivot table style.
| Parameter | Type | Description |
|---|---|---|
| name | String | The pivot table style name. |
Returns: The index of the pivot table style.
getBuiltinTableStyle(type)
Gets the builtin table style
| Parameter | Type | Description |
|---|---|---|
| type | int | A TableStyleType value. The builtin table style type. |
clear()
removeAt(index)
iterator()
get(index)
Reserved for internal use.
contains(value)
Reserved for internal use.
add(value)
Reserved for internal use.
indexOf(value)
Reserved for internal use.