ColumnCollection

General

ColumnCollection is a class in Aspose.Slides FOSS for Java. Inherits from: IColumnCollection, Iterable<IColumn>.

ColumnCollection és una classe en Aspose.Slides FOSS per a Java. Hereta de: ⌒IColumnCollection゚, ∂Iterableヽ .

Representa la col·lecció de columnes en una taula.

Mètodes

SignatureDescription
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)ColumnCollectionInitializes this collection with the given XML elements and context.
rebuild()Rebuilds the column list from the XML grid elements.
get(index: int)IColumnReturns the column at the specified index
size()intReturns the number of columns in the collection
addClone(templ: IColumn, withAttachedColumns: boolean)List<IColumn>Clones a template column and optionally attached columns, returning the new columns
insertClone(index: int, templ: IColumn, withAttachedColumns: boolean)List<IColumn>Inserts cloned columns at index, optionally with attached columns, returning them
removeAt(firstColumnIndex: int, withAttachedRows: boolean)Removes columns starting at the given 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 columns
makeEmptyTc(doc: Document)ElementCreates an empty {@code <a:tc>} element with txBody and tcPr.
 Català