com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface ICell

    • Method Detail

      • getOffsetX

        double getOffsetX()

        Returns a distance from left side of a table to left side of a cell. Read-only double.

      • getOffsetY

        double getOffsetY()

        Returns a distance from top side of a table to top side of a cell. Read-only double.

      • getFirstRowIndex

        int getFirstRowIndex()

        Returns an index of first row, covered by the cell. Read-only int.

      • getFirstColumnIndex

        int getFirstColumnIndex()

        Returns an index of first column, covered by the cell. Read-only int.

      • getWidth

        double getWidth()

        Returns the width of the cell. Read-only double.

      • getHeight

        double getHeight()

        Returns the height of the cell. Read-only double.

      • getMinimalHeight

        double getMinimalHeight()

        Returns the minimum height of a cell. This is a sum of minimal heights of all rows cowered by the cell. Read-only double.

      • getMarginLeft

        double getMarginLeft()

        Returns or sets the left margin in a TextFrame. Read/write double.

      • setMarginLeft

        void setMarginLeft(double value)

        Returns or sets the left margin in a TextFrame. Read/write double.

      • getMarginRight

        double getMarginRight()

        Returns or sets the right margin in a TextFrame. Read/write double.

      • setMarginRight

        void setMarginRight(double value)

        Returns or sets the right margin in a TextFrame. Read/write double.

      • getMarginTop

        double getMarginTop()

        Returns or sets the top margin in a TextFrame. Read/write double.

      • setMarginTop

        void setMarginTop(double value)

        Returns or sets the top margin in a TextFrame. Read/write double.

      • getMarginBottom

        double getMarginBottom()

        Returns or sets the bottom margin in a TextFrame. Read/write double.

      • setMarginBottom

        void setMarginBottom(double value)

        Returns or sets the bottom margin in a TextFrame. Read/write double.

      • getFillFormat

        @Deprecated
        IFillFormat getFillFormat()
        Deprecated. Use ICell.CellFormat.FillFormat instead. The property will be removed after release of version 20.8.

        Returns a cell fill properties object. Read-only IFillFormat.

      • getBorderLeft

        @Deprecated
        ILineFormat getBorderLeft()
        Deprecated. Use ICell.CellFormat.BorderLeft instead. The property will be removed after release of version 20.8.

        Returns a left border line properties object. Read-only ILineFormat.

      • getBorderTop

        @Deprecated
        ILineFormat getBorderTop()
        Deprecated. Use ICell.CellFormat.BorderTop instead. The property will be removed after release of version 20.8.

        Returns a top border line properties object. Read-only ILineFormat.

      • getBorderRight

        @Deprecated
        ILineFormat getBorderRight()
        Deprecated. Use ICell.CellFormat.BorderRight instead. The property will be removed after release of version 20.8.

        Returns a right border line properties object. Read-only ILineFormat.

      • getBorderBottom

        @Deprecated
        ILineFormat getBorderBottom()
        Deprecated. Use ICell.CellFormat.BorderBottom instead. The property will be removed after release of version 20.8.

        Returns a bottom border line properties object. Read-only ILineFormat.

      • getBorderDiagonalDown

        @Deprecated
        ILineFormat getBorderDiagonalDown()
        Deprecated. Use ICell.CellFormat.BorderDiagonalDown instead. The property will be removed after release of version 20.8.

        Returns a top-left to bottom-right diagonal line properties object. Read-only ILineFormat.

      • getBorderDiagonalUp

        @Deprecated
        ILineFormat getBorderDiagonalUp()
        Deprecated. Use ICell.CellFormat.BorderDiagonalUp instead. The property will be removed after release of version 20.8.

        Returns a bottom-left to top-right diagonal line properties object. Read-only ILineFormat.

      • getTextVerticalType

        byte getTextVerticalType()

        Returns or sets the type of vertical text. Read/write TextVerticalType.

      • setTextVerticalType

        void setTextVerticalType(byte value)

        Returns or sets the type of vertical text. Read/write TextVerticalType.

      • getTextAnchorType

        byte getTextAnchorType()

        Returns or sets the text anchor type. Read/write TextAnchorType.

      • setTextAnchorType

        void setTextAnchorType(byte value)

        Returns or sets the text anchor type. Read/write TextAnchorType.

      • getAnchorCenter

        boolean getAnchorCenter()

        Determines whether or not text box centered inside a cell. Read/write boolean.

      • setAnchorCenter

        void setAnchorCenter(boolean value)

        Determines whether or not text box centered inside a cell. Read/write boolean.

      • getFirstColumn

        IColumn getFirstColumn()

        Gets first column of cell. Read-only IColumn.

      • getFirstRow

        IRow getFirstRow()

        Gets first row of cell. Read-only IRow.

      • getColSpan

        int getColSpan()

        Returns the number of grid columns in the parent table's table grid which shall be spanned by the current cell. This property allows cells to have the appearance of being merged, as they span vertical boundaries of other cells in the table. Read-only int.

      • getRowSpan

        int getRowSpan()

        Returns the number of rows that a merged cell spans. This is used in combination with the vMerge attribute on other cells in order to specify the beginning cell of a horizontal merge. Read-only int.

      • getTable

        ITable getTable()

        Returns the parent Table object for a cell. Read-only ITable.

      • isMergedCell

        boolean isMergedCell()

        Returns true if the cell is merged with any adjusted cell, false otherwise. Read-only boolean.

      • getCellFormat

        ICellFormat getCellFormat()

        Returns the CellFormat object that contains formatting properties for this cell. Read-only ICellFormat.

      • splitByColSpan

        void splitByColSpan(int index)

        Splits the cell to two cells by index of column.

        Parameters:
        index - Index of column.
      • splitByRowSpan

        void splitByRowSpan(int index)

        Splits the cell to two cells by index of row.

        Parameters:
        index - Index of row.
      • splitByHeight

        void splitByHeight(double height)

        Splits the cell by height.

        Parameters:
        height - Height of a row.
      • splitByWidth

        void splitByWidth(double width)

        Splits the cell by width.

        Parameters:
        width - Width of a column.