com.groupdocs.parser.legacy

Interfaces

Classes

Exceptions

com.groupdocs.parser.legacy

Class DocumentDataTable



  • public final class DocumentDataTable
    extends Object

    Provides a data table.

    • Constructor Detail

      • DocumentDataTable

        public DocumentDataTable(String tableName,
                         int pageIndex)

        Initializes a new instance of the DocumentDataTable class.

        Parameters:
        tableName - A name of the table.
        pageIndex - A zero-based page index.
      • DocumentDataTable

        public DocumentDataTable(String tableName,
                         int pageIndex,
                         TableArea tableArea,
                         Rectangle tableRectangle)

        Initializes a new instance of the DocumentDataTable class.

        Parameters:
        tableName - A name of the table.
        pageIndex - A zero-based page index.
        tableArea - An instance of TableArea with table data.
        tableRectangle - A rectangle area of data table.
    • Method Detail

      • getTableName

        public String getTableName()

        Gets a name of the data table.

        Returns:
        An uppercase string that represents the name of the data table.
      • getPageIndex

        public int getPageIndex()

        Gets a zero-based page index.

        Returns:
        A zero-based index of the page where table is found.
      • getTableRectangle

        public Rectangle getTableRectangle()

        Gets a rectangle of data table.

        Returns:
        A rectangle that bounds the data table; null if table isn't found.
      • getRowCount

        public int getRowCount()

        Gets a number of table rows.

        Returns:
        An integer value that represents a number of rows.
      • getColumnCount

        public int getColumnCount()

        Gets a number of table columns.

        Returns:
        An integer value that represents a number of columns.
      • get_Item

        public String get_Item(int row,
                      int column)

        Gets a value of the table cell.

        Parameters:
        row - A zero-based row index.
        column - A zero-based column index.
        Returns:
        A string that represents a value of the cell or null if the cell doesn't contain any value.