com.groupdocs.parser.data

Class PageTableAreaCell



  • public class PageTableAreaCell
    extends Object
    Represents a table cell which is used in PageTableArea class.
    • Constructor Detail

      • PageTableAreaCell

        public PageTableAreaCell(int rowIndex,
                                 int columnIndex,
                                 PageArea pageArea)
        Initializes a new instance of the PageTableAreaCell class.
        Parameters:
        rowIndex - The zero-based index of the row.
        columnIndex - The zero-based index of the column.
        pageArea - The value of the table cell.
      • PageTableAreaCell

        public PageTableAreaCell(int rowIndex,
                                 int columnIndex,
                                 PageArea pageArea,
                                 int rowSpan,
                                 int columnSpan)
        Initializes a new instance of the PageTableAreaCell class.
        Parameters:
        rowIndex - The zero-based index of the row.
        columnIndex - The zero-based index of the column.
        pageArea - The value of the table cell.
        rowSpan - The total number of rows that contain the table cell.
        columnSpan - The total number of columns that contain the table cell.
    • Method Detail

      • getRowIndex

        public int getRowIndex()
        Gets the row index.
        Returns:
        A zero-based index of the first row that contains the table cell.
      • getColumnIndex

        public int getColumnIndex()
        Gets the column index.
        Returns:
        A zero-based index of the first column that contains the table cell.
      • getRowSpan

        public int getRowSpan()
        Gets the total number of rows that contain the table cell.
        Returns:
        A positive integer value that represents the total number of rows that contain the table cell.
      • getColumnSpan

        public int getColumnSpan()
        Gets the total number of columns that contain the table cell.
        Returns:
        A positive integer value that represents the total number of columns that contain the table cell.
      • getPageArea

        public PageArea getPageArea()
        Gets the table cell value.
        Returns:
        Depending on cell PageArea property can contain any of the inheritors of PageArea class.
      • getText

        public String getText()
        Gets the table cell text value.
        Returns:
        A string that represents a text value of the cell; null if cell doesn't contain a text value.