RowCollection
Vue de l’ensemble
‘RowCollection’ est une classe dans Aspose.Slides FOSS pour Java.Déduit de: ‘IRowcollection’, ‘Iterable
Il représente une collection de lignes dans un tableau.
Cette classe fournit 13 méthodes pour travailler avec les objets RowCollection dans les programmes Java. Les méthodologies disponibles comprennent: ‘RowColection’, ‘addClone’, asICollection', ‘asIEnumerable’, 'get, ‘initInternal’, ’insertCmone’, ‘iterator’, rebuild , ‘removeAt` et ‘size’. Tous les membres publics sont accessibles à toute application Java après l’installation de l’Aspouse.Slides FOSS pour le package Java .
méthodes
| 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[] | Creates clones of a template row (optionally with attached rows) and returns them |
insertClone(index: int, templ: IRow, withAttachedRows: boolean) → IRow[] | Inserts cloned rows at the given index and returns the new rows |
removeAt(firstRowIndex: int, withAttachedRows: boolean) | Removes rows starting at the given 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 IRow elements |
Voir aussi
- Aspose.Slides - référence API d’entreprise