Class TableCellResult
java.lang.Object
com.itextpdf.pdf2data.result.value.AbstractValueResult
com.itextpdf.pdf2data.result.value.table.TableCellResult
Class which represents single table cell result.
-
Constructor Summary
ConstructorDescriptionTableCellResult
(PageLocationMetaResult pageLocationMeta, FontMetaResult fontMeta, Integer rowspan, Integer colspan, String content) Creates an instance of table cell result. -
Method Summary
Modifier and TypeMethodDescriptionClones this instance without metadata entries.boolean
Get number of columns to which the current cell spansGet cell content.Get cell's font metadata.Get cell's page location.Get number of rows to which the current cell spans.int
hashCode()
Methods inherited from class com.itextpdf.pdf2data.result.value.AbstractValueResult
getResultType
-
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
Get cell's page location.- Returns:
- cell's page location
-
getFontMeta
Get cell's font metadata.- Returns:
- cell's font metadata
-
getRowspan
Get number of rows to which the current cell spans.- Returns:
- number of rows to which the current cell spans
-
getColspan
Get number of columns to which the current cell spans- Returns:
- number of columns to which the current cell spans
-
getContent
Get cell content.- Returns:
- cell content
-
cloneWithoutMeta
Description copied from class:AbstractValueResult
Clones this instance without metadata entries.- Specified by:
-
cloneWithoutMeta
in classAbstractValueResult
- Returns:
- clone of the current result without metadata
-
equals
- Overrides:
-
equals
in classAbstractValueResult
-
hashCode
public int hashCode()- Overrides:
-
hashCode
in classAbstractValueResult
-