com.groupdocs.parser.legacy

Interfaces

Classes

Exceptions

com.groupdocs.parser.legacy

Class TemplateTable



  • public final class TemplateTable
    extends Object

    Provides a template table.

    • Constructor Detail

      • TemplateTable

        public TemplateTable(String tableName,
                     TableAreaDetectorParameters detectorParameters)

        Initializes a new instance of the TemplateTable class.

        Parameters:
        tableName - A name of the template table.
        detectorParameters - Parameters for the table detection.
      • TemplateTable

        public TemplateTable(String tableName,
                     int pageIndex,
                     TableAreaDetectorParameters detectorParameters)

        Initializes a new instance of the TemplateTable class.

        Parameters:
        tableName - A name of the template table.
        pageIndex - A zero-based page index.
        detectorParameters - Parameters for the table detection.
      • TemplateTable

        public TemplateTable(String tableName,
                     TableAreaLayout tableAreaLayout)

        Initializes a new instance of the TemplateTable class.

        Parameters:
        tableName - A name of the template table.
        tableAreaLayout - A table layout.
      • TemplateTable

        public TemplateTable(String tableName,
                     int pageIndex,
                     TableAreaLayout tableAreaLayout)

        Initializes a new instance of the TemplateTable class.

        Parameters:
        tableName - A name of the template table.
        pageIndex - A zero-based page index.
        tableAreaLayout - A table layout.
    • Method Detail

      • getTableName

        public String getTableName()

        Gets a name of the template table.

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

        public Integer getPageIndex()

        Gets a zero-based page index.

        Returns:
        A zero-based index of the page where the table is placed; null if the table is placed on any page.
      • getDetectorParameters

        public TableAreaDetectorParameters getDetectorParameters()

        Gets a table detector parameters.

        Returns:
        An instance of TableAreaDetectorParameters or null if TableAreaLayout is set.
      • getTableAreaLayout

        public TableAreaLayout getTableAreaLayout()

        Gets a table layout.

        Returns:
        An instance of TableAreaLayout or null if DetectorParameters is set.