com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class TableCell



  • public final class TableCell
    extends Object

    Provides a table cell.

    • Constructor Detail

      • TableCell

        public TableCell(int rowIndex,
                 int columnIndex,
                 String text)

        Initializes a new instance of the TableCell class.

        Parameters:
        rowIndex - An index of the row.
        columnIndex - An index of the column.
        text - A text of the cell.
      • TableCell

        public TableCell(int rowIndex,
                 int columnIndex,
                 String text,
                 TableCellBorders borders)

        Initializes a new instance of the TableCell class.

        Parameters:
        rowIndex - An index of the row.
        columnIndex - An index of the column.
        text - A text of the cell.
        borders - A borders of the cell.
      • TableCell

        public TableCell(int rowIndex,
                 int columnIndex,
                 String text,
                 TableCellBorders borders,
                 int rowSpan,
                 int columnSpan)

        Initializes a new instance of the TableCell class.

        Parameters:
        rowIndex - An index of the row.
        columnIndex - An index of the column.
        text - A text of the cell.
        borders - A borders of the cell.
        rowSpan - A number of the rows.
        columnSpan - A number of the columns.
      • TableCell

        public TableCell(int rowIndex,
                 int columnIndex,
                 String text,
                 TableCellBorders borders,
                 int rowSpan,
                 int columnSpan,
                 int sheetIndex)

        Initializes a new instance of the TableCell class.

        Parameters:
        rowIndex - An index of the row.
        columnIndex - An index of the column.
        text - A text of the cell.
        borders - A borders of the cell.
        rowSpan - A number of the rows.
        columnSpan - A number of the columns.
        sheetIndex - An index of the sheet.
    • Method Detail

      • getText

        public String getText()

        Gets a text of the cell.

        Returns:
        A text of the cell.
      • getBorders

        public TableCellBorders getBorders()

        Gets borders of the cell.

        Returns:
        Borders of the cell.
      • getRowIndex

        public int getRowIndex()

        Gets an index of the row.

        Returns:
        An index of the row.
      • getColumnIndex

        public int getColumnIndex()

        Gets an index of the column.

        Returns:
        An index of the column.
      • getSheetIndex

        public int getSheetIndex()

        Gets an index of the sheet.

        Returns:
        Am index of the sheet.
      • getRowSpan

        public int getRowSpan()

        Gets a number of the rows.

        Returns:
        A number of the rows.
      • getColumnSpan

        public int getColumnSpan()

        Gets a number of the columns.

        Returns:
        A number of the columns.