|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.layoutmgr.table.TableContentLayoutManager
Layout manager for table contents, particularly managing the creation of combined element lists.
| Nested Class Summary | |
protected static class |
TableContentLayoutManager.GridUnitPart
Represents a non-dividable part of a grid unit. |
static class |
TableContentLayoutManager.TableContentPosition
This class represents a Position specific to this layout manager. |
static class |
TableContentLayoutManager.TableHeaderFooterPosition
This class represents a Position specific to this layout manager. |
static class |
TableContentLayoutManager.TableHFPenaltyPosition
This class represents a Position specific to this layout manager. |
| Constructor Summary | |
TableContentLayoutManager(TableLayoutManager parent)
Main constructor |
|
| Method Summary | |
void |
addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
Adds the areas generated by this layout manager to the area tree. |
void |
addRowBackgroundArea(TableRow row,
int bpd,
int ipd,
int yoffset)
Adds the area for the row background if any. |
int |
getBaseLength(int lengthBase,
FObj fobj)
Returns the base length for the given length base. |
ColumnSetup |
getColumns()
|
protected java.util.LinkedList |
getFooterElements()
|
protected int |
getFooterNetHeight()
|
protected java.util.LinkedList |
getHeaderElements()
|
protected int |
getHeaderNetHeight()
|
java.util.LinkedList |
getNextKnuthElements(LayoutContext context,
int alignment)
|
Block |
getRowArea(TableRow row)
Get the area for a row for background. |
TableLayoutManager |
getTableLM()
|
int |
getUsedBPD()
|
protected int |
getXOffsetOfGridUnit(GridUnit gu)
Retuns the X offset of the given grid unit. |
void |
setStartXOffset(int startXOffset)
Sets the overall starting x-offset. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TableContentLayoutManager(TableLayoutManager parent)
parent - Parent layout manager| Method Detail |
public TableLayoutManager getTableLM()
public ColumnSetup getColumns()
protected int getHeaderNetHeight()
protected int getFooterNetHeight()
protected java.util.LinkedList getHeaderElements()
protected java.util.LinkedList getFooterElements()
public java.util.LinkedList getNextKnuthElements(LayoutContext context,
int alignment)
LayoutManagerprotected int getXOffsetOfGridUnit(GridUnit gu)
gu - the grid unit
public void addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
parentIter - the position iteratorlayoutContext - the layout context for adding areaspublic Block getRowArea(TableRow row)
row - the table-row object or null
public void addRowBackgroundArea(TableRow row,
int bpd,
int ipd,
int yoffset)
row - row for which to generate the backgroundbpd - block-progression-dimension of the rowipd - inline-progression-dimension of the rowyoffset - Y offset at which to paintpublic void setStartXOffset(int startXOffset)
startXOffset - starting x-offset (table's start-indent)public int getUsedBPD()
public int getBaseLength(int lengthBase,
FObj fobj)
PercentBaseContextLengthBase.
getBaseLength in interface PercentBaseContextlengthBase - Indicates which type of the base length value is to be returnedfobj - The FO object against which the percentage should be evaluated
PercentBaseContext.getBaseLength(int, FObj)
|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||