Column

Overview

Column is a class in Aspose.Slides FOSS for Java. Inherits from: IColumn.

Represents a column in a table.

Properties

NameTypeAccessDescription
widthdoubleReadProperty gets or sets the column width
asICellCollectionICellCollectionReadProperty provides the column as an ICellCollection
asIBulkTextFormattableIBulkTextFormattableReadProperty provides the column as an IBulkTextFormattable
columnFormatIColumnFormatReadProperty gets the column’s formatting interface
slideIBaseSlideReadProperty gets the slide containing the column
presentationIPresentationRead

Methods

SignatureDescription
Column(gridColElement: Element, saveCallback: Runnable, cells: List<ICell>)Creates a new Column backed by the given {@code <a:gridCol>} element.
Column()Creates a Column with no backing element.
initInternal(gridColElement: Element, colIndex: int, tblElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide, table: ITable)ColumnInitializes this column from the given {@code <a:gridCol>} element and table context.
getWidth()doubleReturns the column width in points
setWidth(value: double)Sets the column width to the specified value
get(index: int)ICellReturns the cell at the given column index
size()int
getAsICellCollection()ICellCollectionReturns the column as an ICellCollection
getAsIBulkTextFormattable()IBulkTextFormattableReturns the column as an IBulkTextFormattable
getColumnFormat()IColumnFormatReturns the column’s formatting object
setTextFormat(source: Object)Applies text formatting from the given source object to the column
asICollection()List<ICell>Returns the column’s cells as a List
asIEnumerable()Iterable<ICell>Returns the column’s cells as an Iterable
getSlide()IBaseSlideReturns the slide that contains this column
getPresentation()IPresentationReturns the presentation that contains this column
asISlideComponent()ISlideComponentReturns this column as an ISlideComponent
asIPresentationComponent()IPresentationComponentReturns this column as an IPresentationComponent

See Also