public final class FormTableCell extends FormElement
Constructor and Description |
---|
FormTableCell(int rowIndex,
int columnIndex,
int rowSpan,
int columnSpan,
String text,
FieldBoundingBox boundingBox,
float confidence,
boolean isHeader,
boolean isFooter,
int pageNumber,
List<FormElement> fieldElements)
Constructs a FormTableCell object.
|
Modifier and Type | Method and Description |
---|---|
FieldBoundingBox |
getBoundingBox()
BoundingBox property of the element.
|
int |
getColumnIndex()
Get the column index of the cell.
|
int |
getColumnSpan()
Get the number of columns spanned by this cell.
|
float |
getConfidence()
Get the confidence value of the recognized text of the cell.
|
List<FormElement> |
getFieldElements()
When includeFieldElements is set to true, gets the list of references to the elements
constituting this table cell.
|
int |
getPageNumber()
Get the 1-based page number in the input document.
|
int |
getRowIndex()
Get the row index of the cell.
|
int |
getRowSpan()
Get the number of rows spanned by this cell.
|
String |
getText()
The text content of the form element.
|
boolean |
isFooter()
Get the boolean if the current cell a footer cell.
|
boolean |
isHeader()
Get the boolean if the current cell a header cell.
|
public FormTableCell(int rowIndex, int columnIndex, int rowSpan, int columnSpan, String text, FieldBoundingBox boundingBox, float confidence, boolean isHeader, boolean isFooter, int pageNumber, List<FormElement> fieldElements)
rowIndex
- the row index of the cell.columnIndex
- the column index of the cell.rowSpan
- the number of rows spanned by this cell.columnSpan
- the number of columns spanned by this cell.text
- the recognized text value.boundingBox
- the bounding box properties of the cell.confidence
- the confidence value of the recognized text.isHeader
- the boolean indicating if the current cell a header cell?isFooter
- the boolean indicating if the current cell a footer cell?pageNumber
- the 1 based page number of the cellfieldElements
- a list of references to the elements constituting this table cell.public float getConfidence()
public int getPageNumber()
getPageNumber
in class FormElement
public FieldBoundingBox getBoundingBox()
getBoundingBox
in class FormElement
public String getText()
getText
in class FormElement
public int getRowIndex()
public int getColumnIndex()
public int getRowSpan()
public int getColumnSpan()
public List<FormElement> getFieldElements()
public boolean isHeader()
public boolean isFooter()
Copyright © 2021. All rights reserved.