Column

Overview

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

Represents a column in a table.

This class provides 17 methods for working with Column objects in Java programs. Available methods include: Column, asICollection, asIEnumerable, asIPresentationComponent, asISlideComponent, get, getAsIBulkTextFormattable, getAsICellCollection, getColumnFormat, getPresentation, getSlide, getWidth, and 4 additional methods. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: asIBulkTextFormattable, asICellCollection, columnFormat, presentation, slide, width.

Properties

NameTypeAccessDescription
widthdoubleReadGets the width.
asICellCollectionICellCollectionReadGets the as i cell collection.
asIBulkTextFormattableIBulkTextFormattableReadGets the as i bulk text formattable.
columnFormatIColumnFormatReadGets the column format.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.

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 width.
setWidth(value: double)Sets the width value.
get(index: int)ICellReturns the cell at the given column index
size()int
getAsICellCollection()ICellCollectionReturns the as i cell collection.
getAsIBulkTextFormattable()IBulkTextFormattableReturns the as i bulk text formattable.
getColumnFormat()IColumnFormatReturns the column format.
setTextFormat(source: Object)Sets the text format value.
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.
getPresentation()IPresentationReturns the presentation.
asISlideComponent()ISlideComponentReturns this column as an ISlideComponent
asIPresentationComponent()IPresentationComponentReturns this column as an IPresentationComponent

See Also