fop 0.91beta

org.apache.fop.render.rtf.rtflib.rtfdoc
Interface ITableColumnsInfo

All Known Implementing Classes:
TableContext

public interface ITableColumnsInfo

Used to get information about tables, for example when handling nested tables

Author:
Bertrand Delacretaz bdelacretaz@codeconsult.ch

Field Summary
static float INVALID_COLUM_WIDTH
          value for invalid column width
 
Method Summary
 int getColumnIndex()
           
 float getColumnWidth()
          get current column width according to column iteration index
 int getNumberOfColumns()
           
 void selectFirstColumn()
          reset the column iteration index, meant to be called when creating a new row
 void selectNextColumn()
          increment the column iteration index
 

Field Detail

INVALID_COLUM_WIDTH

public static final float INVALID_COLUM_WIDTH
value for invalid column width
Method Detail

selectFirstColumn

public void selectFirstColumn()
reset the column iteration index, meant to be called when creating a new row

selectNextColumn

public void selectNextColumn()
increment the column iteration index

getColumnWidth

public float getColumnWidth()
get current column width according to column iteration index
Returns:
INVALID_COLUMN_WIDTH if we cannot find the value

getColumnIndex

public int getColumnIndex()
Returns:
current column iteration index

getNumberOfColumns

public int getNumberOfColumns()
Returns:
number of columns

fop 0.91beta

Copyright 1999-2005 The Apache Software Foundation. All Rights Reserved.