Row

Overview

Row is a class in Aspose.Slides FOSS for Java. Inherits from: CellCollection, IRow.

Represents a row in a table.

This class provides 24 methods for working with Row objects in Java programs. Available methods include: CellCollection, Row, asICollection, asIEnumerable, asIPresentationComponent, asISlideComponent, asList, get, getAsIBulkTextFormattable, getAsICellCollection, getHeight, getMinimalHeight, and 10 additional methods. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: asIBulkTextFormattable, asICellCollection, height, minimalHeight, presentation, rowFormat, and 2 more.

Properties

NameTypeAccessDescription
heightdoubleRead{@inheritDoc}

When XML-backed, reads the {@code h} attribute from the {@code } element and converts from EMU to points. | | `minimalHeight` | `double` | Read | {@inheritDoc}

When XML-backed, reads the {@code h} attribute from the {@code } element and converts from EMU to points. | | `rowFormat` | `IRowFormat` | Read | {@inheritDoc} | | `asICellCollection` | `ICellCollection` | Read | {@inheritDoc} | | `asIBulkTextFormattable` | `IBulkTextFormattable` | Read | {@inheritDoc} | | `slide` | `IBaseSlide` | Read | Gets the slide. | | `slidePart` | `Object` | Read | Returns the slide part associated with this collection. | | `presentation` | `IPresentation` | Read | Gets the presentation. |

Methods

SignatureDescription
Row()Creates an empty Row with no XML backing.
Row(cells: List<ICell>, height: double)Creates a Row with the given cells and height, without XML backing.
Row(trElement: Element, cells: List<ICell>, saveCallback: Runnable)Creates an XML-backed Row from the given {@code <a:tr>} element.
initInternal(trElement: Element, rowIndex: int, slidePart: Object, parentSlide: IBaseSlide, table: ITable)RowInitializes this row from an {@code <a:tr>} XML element, parsing child
{@code <a:tc>} elements into {@link Cell} instances.
getHeight()double{@inheritDoc}

When XML-backed, reads the {@code h} attribute from the {@code } element and converts from EMU to points. | | `getMinimalHeight()` → `double` | {@inheritDoc}

When XML-backed, reads the {@code h} attribute from the {@code } element and converts from EMU to points. | | `setMinimalHeight(value: double)` | {@inheritDoc}

When XML-backed, writes the value back to the {@code h} attribute (converting from points to EMU) and triggers the save callback.

/ | | `getRowFormat()` → `IRowFormat` | {@inheritDoc} | | `getAsICellCollection()` → `ICellCollection` | {@inheritDoc} | | `getAsIBulkTextFormattable()` → `IBulkTextFormattable` | {@inheritDoc} | | `setTextFormat(source: Object)` | {@inheritDoc} @throws IllegalArgumentException if {@code source} is {@code null} / | | `CellCollection()` | Creates an empty CellCollection. | | `get(index: int)` → `ICell` | | | `size()` → `int` | | | `asList()` → `List` | Returns an unmodifiable view of the internal cell list. | | `asICollection()` → `List` | | | `asIEnumerable()` → `Iterable` | | | `getSlide()` → `IBaseSlide` | Returns the slide. | | `setParentSlide(parentSlide: IBaseSlide)` | Sets the parent slide for this collection. | | `getSlidePart()` → `Object` | Returns the slide part associated with this collection. | | `getPresentation()` → `IPresentation` | Returns the presentation. | | `asISlideComponent()` → `ISlideComponent` | | | `asIPresentationComponent()` → `IPresentationComponent` | | | `iterator()` → `Iterator` | |

See Also