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
| Name | Type | Access | Description |
|---|---|---|---|
width | double | Read | Gets the width. |
asICellCollection | ICellCollection | Read | Gets the as i cell collection. |
asIBulkTextFormattable | IBulkTextFormattable | Read | Gets the as i bulk text formattable. |
columnFormat | IColumnFormat | Read | Gets the column format. |
slide | IBaseSlide | Read | Gets the slide. |
presentation | IPresentation | Read | Gets the presentation. |
Methods
| Signature | Description |
|---|---|
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) → Column | Initializes this column from the given {@code <a:gridCol>} element and table context. |
getWidth() → double | Returns the width. |
setWidth(value: double) | Sets the width value. |
get(index: int) → ICell | Returns the cell at the given column index |
size() → int | |
getAsICellCollection() → ICellCollection | Returns the as i cell collection. |
getAsIBulkTextFormattable() → IBulkTextFormattable | Returns the as i bulk text formattable. |
getColumnFormat() → IColumnFormat | Returns 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() → IBaseSlide | Returns the slide. |
getPresentation() → IPresentation | Returns the presentation. |
asISlideComponent() → ISlideComponent | Returns this column as an ISlideComponent |
asIPresentationComponent() → IPresentationComponent | Returns this column as an IPresentationComponent |