public interface Table extends Block
Blocks of this subtype have been recognized by PDFTextStream to contain a table-like structure.
Currently, PDFTextStream recognizes tables only if their cells are bounded by graphical lines. Future PDFTextStream releases will include table recognition capability for unbounded tables.
Tabular data may be extracted using the functions in TableUtils
, which will yield CSV-style
conversions, or an appropriate OutputHandler
implementation (passed to
a Table
instance's Block.pipe(OutputHandler)
function).
Modifier and Type | Method and Description |
---|---|
BlockParent |
getRow(int rowIdx)
Returns a
BlockParent instance containing the Block s that form the
indicated row number. |
int |
getRowCnt()
Returns the number of rows in this table.
|
crop, getLine, getLineCnt, getLines, pipe, removeLine
area, endxpos, endypos, height, width, xpos, ypos
addChild, getChild, getChildCnt, removeAllChildren, removeChild, sortChildren
int getRowCnt()
BlockParent getRow(int rowIdx)
BlockParent
instance containing the Block
s that form the
indicated row number.rowIdx
- - a zero-based row index