ListObjectCollection
Overview
ListObjectCollection is a class in Aspose.Cells FOSS for Java.
Collection of Excel tables (ListObjects) on a worksheet.
This class declares 8 methods for ListObjectCollection objects in Java programs.
Available methods include: add, get, getCount, parseTableStyleType, removeAt, tableStyleTypeName.
Public members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the count. |
Methods
| Signature | Description |
|---|---|
getCount() → int | Returns the count. |
get(index: int) → ListObject | Calls get(index) on this ListObjectCollection instance. |
get(name: String) → ListObject | Returns the table with the given display name (case-insensitive). |
add(startRow: int, startColumn: int, endRow: int, endColumn: int, hasHeaders: boolean) → int | Adds a table covering the given zero-based row/column range. |
add(startCellName: String, endCellName: String, hasHeaders: boolean) → int | Adds a table from A1-style cell names (e.g. “A1”, “D5”). |
removeAt(index: int) | Calls removeAt(index) on this ListObjectCollection instance. |
parseTableStyleType(name: String) → TableStyleType | Calls parseTableStyleType(name) on this ListObjectCollection instance. |
tableStyleTypeName(type: TableStyleType) → String | Calls tableStyleTypeName(type) on this ListObjectCollection instance. |