| org.apache.fop.layoutmgr.BlockStackingLayoutManager org.apache.fop.layoutmgr.table.TableLayoutManager
TableLayoutManager | public class TableLayoutManager extends BlockStackingLayoutManager implements ConditionalElementListener(Code) | | LayoutManager for a table FO.
A table consists of columns, table header, table footer and multiple
table bodies.
The header, footer and body add the areas created from the table cells.
The table then creates areas for the columns, bodies and rows
the render background.
|
Method Summary | |
public void | addAreas(PositionIterator parentIter, LayoutContext layoutContext) The table area is a reference area that contains areas for
columns, bodies, rows and the contents are in cells. | public void | addChildArea(Area childArea) Add the child area to this layout manager. | public void | discardSpace(KnuthGlue spaceGlue) | public int | getBaseLength(int lengthBase, FObj fobj) | public ColumnSetup | getColumns() | public int | getHalfBorderSeparationBPD() | public int | getHalfBorderSeparationIPD() | public LinkedList | getNextKnuthElements(LayoutContext context, int alignment) Handles the Knuth elements at the table level: mainly breaks, spaces and borders
before and after the table. | public Area | getParentArea(Area childArea) Return an Area which can contain the passed childArea. | public Table | getTable() | public void | initialize() | public boolean | mustKeepTogether() | public boolean | mustKeepWithNext() | public boolean | mustKeepWithPrevious() | public int | negotiateBPDAdjustment(int adj, KnuthElement lastElement) | public void | notifyBorder(RelSide side, MinOptMax effectiveLength) | public void | notifyPadding(RelSide side, MinOptMax effectiveLength) | public void | notifySpace(RelSide side, MinOptMax effectiveLength) | public void | resetPosition(Position resetPos) Reset the position of this layout manager. |
TableLayoutManager | public TableLayoutManager(Table node)(Code) | | Create a new table layout manager.
Parameters: node - the table FO |
addAreas | public void addAreas(PositionIterator parentIter, LayoutContext layoutContext)(Code) | | The table area is a reference area that contains areas for
columns, bodies, rows and the contents are in cells.
Parameters: parentIter - the position iterator Parameters: layoutContext - the layout context for adding areas |
addChildArea | public void addChildArea(Area childArea)(Code) | | Add the child area to this layout manager.
Parameters: childArea - the child area to add |
getHalfBorderSeparationBPD | public int getHalfBorderSeparationBPD()(Code) | | half the value of border-separation.block-progression-dimension, or 0 ifborder-collapse="collapse". |
getHalfBorderSeparationIPD | public int getHalfBorderSeparationIPD()(Code) | | half the value of border-separation.inline-progression-dimension, or 0 ifborder-collapse="collapse". |
getParentArea | public Area getParentArea(Area childArea)(Code) | | Return an Area which can contain the passed childArea. The childArea
may not yet have any content, but it has essential traits set.
In general, if the LayoutManager already has an Area it simply returns
it. Otherwise, it makes a new Area of the appropriate class.
It gets a parent area for its area by calling its parent LM.
Finally, based on the dimensions of the parent area, it initializes
its own area. This includes setting the content IPD and the maximum
BPD.
Parameters: childArea - the child area the parent area of the child |
resetPosition | public void resetPosition(Position resetPos)(Code) | | Reset the position of this layout manager.
Parameters: resetPos - the position to reset to |
Methods inherited from org.apache.fop.layoutmgr.BlockStackingLayoutManager | public void addBlockSpacing(double adjust, MinOptMax minoptmax)(Code)(Java Doc) public void addChildArea(Area childArea)(Code)(Java Doc) protected void addChildToArea(Area childArea, BlockParent parentArea)(Code)(Java Doc) protected void addKnuthElementsForBorderPaddingAfter(LinkedList returnList, boolean isLast)(Code)(Java Doc) protected void addKnuthElementsForBorderPaddingBefore(LinkedList returnList, boolean isFirst)(Code)(Java Doc) protected boolean addKnuthElementsForBreakAfter(LinkedList returnList, LayoutContext context)(Code)(Java Doc) protected boolean addKnuthElementsForBreakBefore(LinkedList returnList, LayoutContext context)(Code)(Java Doc) protected void addKnuthElementsForSpaceAfter(LinkedList returnList, int alignment)(Code)(Java Doc) protected void addKnuthElementsForSpaceBefore(LinkedList returnList, int alignment)(Code)(Java Doc) protected void addPendingMarks(LayoutContext context)(Code)(Java Doc) protected LinkedList createUnitElements(LinkedList oldList)(Code)(Java Doc) public void discardSpace(KnuthGlue spaceGlue)(Code)(Java Doc) protected void flush()(Code)(Java Doc) protected Position getAuxiliaryPosition()(Code)(Java Doc) public LinkedList getChangedKnuthElements(List oldList, int alignment)(Code)(Java Doc) public int getContentAreaBPD()(Code)(Java Doc) public int getContentAreaIPD()(Code)(Java Doc) protected BlockParent getCurrentArea()(Code)(Java Doc) protected int getIPIndents()(Code)(Java Doc) public LinkedList getNextKnuthElements(LayoutContext context, int alignment)(Code)(Java Doc) public boolean mustKeepTogether()(Code)(Java Doc) public boolean mustKeepWithNext()(Code)(Java Doc) public boolean mustKeepWithPrevious()(Code)(Java Doc) protected int neededUnits(int len)(Code)(Java Doc) public int negotiateBPDAdjustment(int adj, KnuthElement lastElement)(Code)(Java Doc) protected void setContentAreaIPD(int contentAreaIPD)(Code)(Java Doc) protected void setCurrentArea(BlockParent parentArea)(Code)(Java Doc) protected int updateContentAreaIPDwithOverconstrainedAdjust()(Code)(Java Doc) protected int updateContentAreaIPDwithOverconstrainedAdjust(int contentIPD)(Code)(Java Doc) protected void wrapPositionElements(List sourceList, List targetList)(Code)(Java Doc) protected void wrapPositionElements(List sourceList, List targetList, boolean force)(Code)(Java Doc)
|
|
|