AbsorbedCell

Inheritance: java.lang.Object, com.aspose.pdf.AbsorbedCell

All Implemented Interfaces: ITableElement, Comparable < AbsorbedCell >

public class AbsorbedCell extends Object implements ITableElement , Comparable < AbsorbedCell >

Represents cell of table that exist on the page

Methods

MethodDescription
compareToCompares the current AbsorbedCell object with another AbsorbedCell object and returns an integer that indicates whether the current object precedes, follows, or occurs in the same position in the sort order as the other object.
getBorderInfoReturn the border information for the cell when the FlowEngine.TableAbsorber.UseFlowEngine property is set to true.
getColSpanReturn the number of columns the cell should span when TableAbsorber.UseFlowEngine property is set to true.
getRectangleGets rectangle that describes position of the cell on page
getTextFragmentsGets collection of {@code TextFragment} objects that describes text containing in the cell

compareTo

Compares the current AbsorbedCell object with another AbsorbedCell object and returns an integer that indicates whether the current object precedes, follows, or occurs in the same position in the sort order as the other object.

getBorderInfo

public final BorderInfo getBorderInfo()

Return the border information for the cell when the FlowEngine.TableAbsorber.UseFlowEngine property is set to true.

Returns: BorderInfo instance

getColSpan

public final int getColSpan()

Return the number of columns the cell should span when TableAbsorber.UseFlowEngine property is set to true.

Returns: int value

getRectangle

public Rectangle getRectangle()

Gets rectangle that describes position of the cell on page

Returns: Rectangle object

getTextFragments

public TextFragmentCollection getTextFragments()

Gets collection of {@code TextFragment} objects that describes text containing in the cell

Returns: TextFragmentCollection object