ColumnCollection
Vue de l’ensemble
‘ColumnCollection’ est une classe dans Aspose.Slides FOSS pour Java.Déduit de: ‘IColumn Collection’, ‘Iterable
Représente une collection de colonnes dans une table.
Cette classe fournit 15 méthodes pour travailler avec des objets ColumnCollection dans les programmes Java. Les méthodologies disponibles comprennent: Columncollection, addClone , asICollection‘, 'asIEnumerable ; asList; get : initInternal . insertCmone ́ ; 'iterator ! makeEmptyTc ? , 'rebuild et 1 méthode supplémentaire. 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 |
|---|---|
ColumnCollection(tblElement: Element, tblGridElement: Element, saveCallback: Runnable) | Creates a new ColumnCollection backed by XML elements. |
ColumnCollection(columns: List<IColumn>) | Creates a new ColumnCollection with the given columns (no XML backing). |
ColumnCollection() | Creates an empty ColumnCollection (no XML backing). |
initInternal(tblElement: Element, tblGridElement: Element, saveCallback: Runnable) → ColumnCollection | Initializes this collection with the given XML elements and context. |
rebuild() | Rebuilds the column list from the XML grid elements. |
get(index: int) → IColumn | Returns the IColumn at the specified index |
size() → int | Returns the number of columns in the collection |
addClone(templ: IColumn, withAttachedColumns: boolean) → List<IColumn> | Creates clones of the template column, optionally with attached columns, and returns them |
insertClone(index: int, templ: IColumn, withAttachedColumns: boolean) → List<IColumn> | Inserts cloned columns at the given index, optionally with attached columns, and returns them |
removeAt(firstColumnIndex: int, withAttachedRows: boolean) | Removes columns starting at the specified index, optionally also removing attached rows |
asICollection() → List<IColumn> | Returns the columns as a List |
asIEnumerable() → Iterable<IColumn> | Returns the columns as an Iterable |
asList() → List<IColumn> | Returns an unmodifiable view of the internal column list. |
iterator() → Iterator<IColumn> | Returns an iterator over the IColumn elements in the collection |
makeEmptyTc(doc: Document) → Element | Creates an empty {@code <a:tc>} element with txBody and tcPr. |
Voir aussi
- Aspose.Slides - référence API d’entreprise