|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fo.flow.RowSpanMgr
public class RowSpanMgr
Constructor Summary | |
---|---|
RowSpanMgr(int numCols)
|
Method Summary | |
---|---|
void |
addRowSpan(TableCell cell,
int firstCol,
int numCols,
int cellHeight,
int rowsSpanned)
|
void |
finishRow(int rowHeight)
Done with a row. |
int |
getRemainingHeight(int colNum)
If the cell in this column is in the last row of its vertical span, return the height left. |
TableCell |
getSpanningCell(int colNum)
|
boolean |
hasUnfinishedSpans()
Return true if any column has an unfinished vertical span. |
boolean |
ignoreKeeps()
helper method (i.e. |
boolean |
isInLastRow(int colNum)
|
boolean |
isSpanned(int colNum)
|
void |
setIgnoreKeeps(boolean ignoreKeeps)
helper method to prevent infinite loops if keeps or spans are not fitting on a page |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RowSpanMgr(int numCols)
Method Detail |
---|
public void addRowSpan(TableCell cell, int firstCol, int numCols, int cellHeight, int rowsSpanned)
public boolean isSpanned(int colNum)
public TableCell getSpanningCell(int colNum)
public boolean hasUnfinishedSpans()
public void finishRow(int rowHeight)
public int getRemainingHeight(int colNum)
public boolean isInLastRow(int colNum)
public void setIgnoreKeeps(boolean ignoreKeeps)
true
- if keeps and spans should be ignoredpublic boolean ignoreKeeps()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |