| java.lang.Object org.apache.fop.render.rtf.rtflib.tools.TableContext
TableContext | public class TableContext implements ITableColumnsInfo(Code) | | Used when handling fo:table to hold information to build the table.
Contributor(s):
author: Bertrand Delacretaz author: Trembicki-Guy, Ed author: Boris Poudérous author: Peter Herweg author: This class was originally developed for the JFOR project and author: is now integrated into FOP. |
decreaseRowSpannings | public void decreaseRowSpannings()(Code) | | Added by Peter Herweg on 2002-06-29
This function is called after each finished table-row.
It decreases all values in colRowSpanningNumber by 1. If a value
reaches 0 row-spanning is finished, and the value won't be decreased anymore.
|
getColumnIndex | public int getColumnIndex()(Code) | | Index of current column |
getColumnRowSpanningAttrs | public RtfAttributes getColumnRowSpanningAttrs()(Code) | | RtfAttributes of current row-spanning cell |
getColumnRowSpanningNumber | public Integer getColumnRowSpanningNumber()(Code) | | Number of currently spanned rows |
getColumnWidth | public float getColumnWidth()(Code) | | Get current column width according to column iteration index
INVALID_COLUMN_WIDTH if we cannot find the valueThe 'public' modifier has been added by Boris Poudérous for'number-columns-spanned' processing |
getFirstSpanningCol | public boolean getFirstSpanningCol()(Code) | | true, if it's the first of multiple spanning columns |
getNextRowBelongsToHeader | public boolean getNextRowBelongsToHeader()(Code) | | true, if next row belongs to header |
getNumberOfColumns | public int getNumberOfColumns()(Code) | | Number of columns |
selectFirstColumn | public void selectFirstColumn()(Code) | | Reset the column iteration index, meant to be called when creating a new row
The 'public' modifier has been added by Boris Poudérous for
'number-columns-spanned' processing
|
selectNextColumn | public void selectNextColumn()(Code) | | Increment the column iteration index
The 'public' modifier has been added by Boris Poudérous for
'number-columns-spanned' processing
|
setColumnIndex | public void setColumnIndex(int index)(Code) | | Set current column index.
Parameters: index - New column index |
setCurrentColumnRowSpanning | public void setCurrentColumnRowSpanning(Integer iRowSpanning, RtfAttributes attrs)(Code) | | Parameters: iRowSpanning - number of rows to span Parameters: attrs - RtfAttributes of row-spanning cell |
setCurrentFirstSpanningCol | public void setCurrentFirstSpanningCol(boolean bFirstSpanningCol)(Code) | | Parameters: bFirstSpanningCol - specifies, if it's the first of multiple spanned columns |
setNextColumnRowSpanning | public void setNextColumnRowSpanning(Integer iRowSpanning, RtfAttributes attrs)(Code) | | Parameters: iRowSpanning - number of rows to span in next column Parameters: attrs - RtfAttributes of row-spanning cell |
setNextColumnWidth | public void setNextColumnWidth(Float width)(Code) | | Adds a column and sets its width.
Parameters: width - Width of next column |
setNextFirstSpanningCol | public void setNextFirstSpanningCol(boolean bFirstSpanningCol)(Code) | | Parameters: bFirstSpanningCol - specifies, if it's the first of multiple spanned columns |
setNextRowBelongsToHeader | public void setNextRowBelongsToHeader(boolean value)(Code) | | Parameters: value - Specifies, if next row belongs to header |
|
|