com.snowtide.pdf.layout
Interface Table

All Superinterfaces:
Block, BlockParent, Region

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).

Since:
v2.0
Version:
©2004-2012 Snowtide Informatics Systems, Inc.

Method Summary
 BlockParent getRow(int rowIdx)
          Returns a BlockParent instance containing the Blocks that form the indicated row number.
 int getRowCnt()
          Returns the number of rows in this table.
 
Methods inherited from interface com.snowtide.pdf.layout.Block
crop, getLine, getLineCnt, getLines, pipe, removeLine
 
Methods inherited from interface com.snowtide.pdf.layout.Region
area, endxpos, endypos, height, width, xpos, ypos
 
Methods inherited from interface com.snowtide.pdf.layout.BlockParent
addChild, getChild, getChildCnt, removeAllChildren, removeChild, sortChildren
 

Method Detail

getRowCnt

int getRowCnt()
Returns the number of rows in this table.


getRow

BlockParent getRow(int rowIdx)
Returns a BlockParent instance containing the Blocks that form the indicated row number.

Parameters:
rowIdx - - a zero-based row index