Row

Overview

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

Represents a row in a table.

This class declares 27 methods for Row objects in Java programs. Available methods include: CellCollection, Row, asICollection, asIEnumerable, asIPresentationComponent, asISlideComponent, asList, get, getAsIBulkTextFormattable, getAsICellCollection, getHeight, getMinimalHeight, and 10 additional methods. 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 <a:tr>} element and converts from EMU to points.

minimalHeightdoubleRead/Write{@inheritDoc} *

When XML-backed, reads the {@code h} attribute from the {@code <a:tr>} element and converts from EMU to points.

rowFormatIRowFormatRead{@inheritDoc}
asICellCollectionICellCollectionRead{@inheritDoc}
asIBulkTextFormattableIBulkTextFormattableRead{@inheritDoc}
slideIBaseSlideReadGets the slide.
slidePartObjectReadReturns the slide part associated with this collection.
presentationIPresentationReadGets 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 <a:tr>} element and converts from EMU to points.

getMinimalHeight() → double{@inheritDoc} *

When XML-backed, reads the {@code h} attribute from the {@code <a:tr>} 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.
CellCollection(cells: List<ICell>)Creates a new CellCollection with the given cells.
CellCollection(cells: List<ICell>, parentSlide: IBaseSlide)Creates a new CellCollection with the given cells and parent slide.
initInternal(cells: List<ICell>, slidePart: Object, parentSlide: IBaseSlide) → CellCollectionInitializes this collection with the given cells, slide part, and parent slide.
get(index: int) → ICellCalls get(index) on this Row instance.
size() → intCalls size on this Row instance.
asList() → List<ICell>Returns an unmodifiable view of the internal cell list.
asICollection() → List<ICell>Calls asICollection on this Row instance.
asIEnumerable() → Iterable<ICell>Calls asIEnumerable on this Row instance.
getSlide() → IBaseSlideReturns the slide.
setParentSlide(parentSlide: IBaseSlide)Sets the parent slide for this collection.
getSlidePart() → ObjectReturns the slide part associated with this collection.
getPresentation() → IPresentationReturns the presentation.
asISlideComponent() → ISlideComponentCalls asISlideComponent on this Row instance.
asIPresentationComponent() → IPresentationComponentCalls asIPresentationComponent on this Row instance.
iterator() → Iterator<ICell>Calls iterator on this Row instance.

See Also

 English