Column
Overview
Column is a class in Aspose.Slides FOSS for Java.
Inherits from: IColumn.
Represents a column in a table.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
width | double | Read | Property gets or sets the column width |
asICellCollection | ICellCollection | Read | Property provides the column as an ICellCollection |
asIBulkTextFormattable | IBulkTextFormattable | Read | Property provides the column as an IBulkTextFormattable |
columnFormat | IColumnFormat | Read | Property gets the column’s formatting interface |
slide | IBaseSlide | Read | Property gets the slide containing the column |
presentation | IPresentation | Read |
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 column width in points |
setWidth(value: double) | Sets the column width to the specified value |
get(index: int) → ICell | Returns the cell at the given column index |
size() → int | |
getAsICellCollection() → ICellCollection | Returns the column as an ICellCollection |
getAsIBulkTextFormattable() → IBulkTextFormattable | Returns the column as an IBulkTextFormattable |
getColumnFormat() → IColumnFormat | Returns 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() → IBaseSlide | Returns the slide that contains this column |
getPresentation() → IPresentation | Returns the presentation that contains this column |
asISlideComponent() → ISlideComponent | Returns this column as an ISlideComponent |
asIPresentationComponent() → IPresentationComponent | Returns this column as an IPresentationComponent |