RowCollection
General
RowCollection is a class in Aspose.Slides FOSS for Java.
Inherits from: IRowCollection, Iterable<IRow>.
RowCollection és una classe en Aspose.Slides FOSS per a Java. Hereta de: ⌒IRowCollection゚, ∂Iterable
Representa una col·lecció de files en una taula.
Mètodes
| Signature | Description |
|---|---|
RowCollection() | Creates an empty RowCollection with no XML backing. |
RowCollection(rows: List<IRow>) | Creates a RowCollection with the given initial rows (no XML backing). |
RowCollection(tblElement: Element, saveCallback: Runnable) | Creates a new RowCollection backed by an XML {@code <a:tbl>} element. |
initInternal(tblElement: Element, saveCallback: Runnable) → RowCollection | Initializes this collection with the given XML element and save callback. |
rebuild() | Rebuilds the row list from the XML {@code <a:tr>} child elements. |
get(index: int) → IRow | Returns the IRow at the specified index |
size() → int | |
addClone(templ: IRow, withAttachedRows: boolean) → IRow[] | Clones the template row (and optionally attached rows) and returns the new rows array |
insertClone(index: int, templ: IRow, withAttachedRows: boolean) → IRow[] | Inserts cloned rows at the given index and returns the new rows array |
removeAt(firstRowIndex: int, withAttachedRows: boolean) | Removes rows starting at the specified index, optionally also removing attached rows |
asICollection() → List<IRow> | Returns the rows as a List |
asIEnumerable() → Iterable<IRow> | |
iterator() → Iterator<IRow> | Returns an iterator over the rows |