Class TableCellResult

java.lang.Object
com.itextpdf.pdf2data.result.value.AbstractValueResult
com.itextpdf.pdf2data.result.value.table.TableCellResult

public class TableCellResult extends AbstractValueResult
Class which represents single table cell result.
  • Constructor Details

    • TableCellResult

      public TableCellResult (PageLocationMetaResult pageLocationMeta, FontMetaResult fontMeta, Integer rowspan, Integer colspan, String content)
      Creates an instance of table cell result.
      Parameters:
      pageLocationMeta - cell's page location
      fontMeta - cell's font metadata
      rowspan - number of rows to which the current cell spans
      colspan - number of columns to which the current cell spans
      content - cell content
  • Method Details

    • getPageLocationMeta

      public PageLocationMetaResult getPageLocationMeta()
      Get cell's page location.
      Returns:
      cell's page location
    • getFontMeta

      public FontMetaResult getFontMeta()
      Get cell's font metadata.
      Returns:
      cell's font metadata
    • getRowspan

      public Integer getRowspan()
      Get number of rows to which the current cell spans.
      Returns:
      number of rows to which the current cell spans
    • getColspan

      public Integer getColspan()
      Get number of columns to which the current cell spans
      Returns:
      number of columns to which the current cell spans
    • getContent

      public String getContent()
      Get cell content.
      Returns:
      cell content
    • cloneWithoutMeta

      public AbstractValueResult cloneWithoutMeta()
      Description copied from class: AbstractValueResult
      Clones this instance without metadata entries.
      Specified by:
      cloneWithoutMeta in class AbstractValueResult
      Returns:
      clone of the current result without metadata
    • equals

      public boolean equals (Object o)
      Overrides:
      equals in class AbstractValueResult
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractValueResult