|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.layoutmgr.AbstractBaseLayoutManager
org.apache.fop.layoutmgr.AbstractLayoutManager
org.apache.fop.layoutmgr.BlockStackingLayoutManager
org.apache.fop.layoutmgr.table.TableLayoutManager
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.
| Nested Class Summary |
| Nested classes inherited from class org.apache.fop.layoutmgr.BlockStackingLayoutManager |
BlockStackingLayoutManager.MappingPosition, BlockStackingLayoutManager.StackingIter |
| Field Summary |
| Fields inherited from class org.apache.fop.layoutmgr.BlockStackingLayoutManager |
adjustedSpaceAfter, adjustedSpaceBefore, bpUnit, breakBeforeServed, endIndent, firstVisibleMarkServed, foSpaceAfter, foSpaceBefore, parentArea, referenceIPD, startIndent, storedList |
| Fields inherited from class org.apache.fop.layoutmgr.AbstractLayoutManager |
childLMiter, childLMs, curChildLM, fobjIter, parentLayoutManager |
| Fields inherited from class org.apache.fop.layoutmgr.AbstractBaseLayoutManager |
fobj, generatesBlockArea, generatesReferenceArea |
| Constructor Summary | |
TableLayoutManager(Table node)
Create a new table layout manager. |
|
| Method Summary | |
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. |
void |
addChildArea(Area childArea)
Add the child area to this layout manager. |
void |
discardSpace(KnuthGlue spaceGlue)
|
Position |
getAuxiliaryPosition()
|
int |
getBaseLength(int lengthBase,
FObj fobj)
Returns the base length for the given length base. Length base should be one of the constants defined in LengthBase. |
ColumnSetup |
getColumns()
|
int |
getHalfBorderSeparationBPD()
|
int |
getHalfBorderSeparationIPD()
|
KeepProperty |
getKeepTogetherProperty()
Returns the keep-together property specified on the FObj. Default implementation throws a IllegalStateException.
Must be implemented by the subclass, if applicable. |
KeepProperty |
getKeepWithNextProperty()
Returns the keep-with-next property specified on the FObj. Default implementation throws a IllegalStateException.
Must be implemented by the subclass, if applicable. |
KeepProperty |
getKeepWithPreviousProperty()
Returns the keep-with-previous property specified on the FObj. Default implementation throws a IllegalStateException.
Must be implemented by the subclass, if applicable. |
java.util.List |
getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content of the node assigned to the LM |
Area |
getParentArea(Area childArea)
Return an Area which can contain the passed childArea. |
Table |
getTable()
|
void |
initialize()
initialize the layout manager. Allows each layout manager to calculate often used values. |
int |
negotiateBPDAdjustment(int adj,
KnuthElement lastElement)
|
void |
notifyBorder(RelSide side,
MinOptMax effectiveLength)
Notifies the layout manager about the effective length/width of its border. |
void |
notifyPadding(RelSide side,
MinOptMax effectiveLength)
Notifies the layout manager about the effective length/width of its padding. |
void |
notifySpace(RelSide side,
MinOptMax effectiveLength)
Notifies the layout manager about the effective length of its space. |
| Methods inherited from class org.apache.fop.layoutmgr.AbstractLayoutManager |
addChildLM, addChildLMs, addId, addMarkersToPage, checkEndOfLayout, createChildLMs, createNextChildLMs, getChildLM, getChildLMs, getCurrentPage, getCurrentPV, getParent, getPSLM, hasNextChildLM, isFinished, isFirst, isLast, notifyPos, setCurrentChildLM, setFinished, setParent, toString, transferExtensionAttachments, transferExtensions, transferForeignAttributes |
| Methods inherited from class org.apache.fop.layoutmgr.AbstractBaseLayoutManager |
getAncestorBlockAreaBPD, getAncestorBlockAreaIPD, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getParentAreaBPD, getParentAreaIPD, getReferenceAreaBPD, getReferenceAreaIPD, isRestartable, setGeneratesBlockArea, setGeneratesReferenceArea |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.fop.layoutmgr.LayoutManager |
addChildLM, addChildLMs, createNextChildLMs, getChildLMs, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getParent, getPSLM, isFinished, isRestartable, notifyPos, setFinished, setParent |
| Constructor Detail |
public TableLayoutManager(Table node)
node - the table FO| Method Detail |
public Table getTable()
public ColumnSetup getColumns()
public void initialize()
initialize in interface LayoutManagerinitialize in class AbstractLayoutManagerpublic int getHalfBorderSeparationBPD()
public int getHalfBorderSeparationIPD()
public java.util.List getNextKnuthElements(LayoutContext context,
int alignment)
getNextKnuthElements in interface LayoutManagergetNextKnuthElements in class BlockStackingLayoutManagerpublic Position getAuxiliaryPosition()
getAuxiliaryPosition in class BlockStackingLayoutManager
public void addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
addAreas in interface LayoutManageraddAreas in class AbstractLayoutManagerparentIter - the position iteratorlayoutContext - the layout context for adding areaspublic Area getParentArea(Area childArea)
getParentArea in interface LayoutManagergetParentArea in class AbstractLayoutManagerchildArea - the child area
public void addChildArea(Area childArea)
addChildArea in interface LayoutManageraddChildArea in class BlockStackingLayoutManagerchildArea - the child area to add
public int negotiateBPDAdjustment(int adj,
KnuthElement lastElement)
negotiateBPDAdjustment in interface BlockLevelLayoutManagernegotiateBPDAdjustment in class BlockStackingLayoutManagerpublic void discardSpace(KnuthGlue spaceGlue)
discardSpace in interface BlockLevelLayoutManagerdiscardSpace in class BlockStackingLayoutManagerpublic KeepProperty getKeepTogetherProperty()
IllegalStateException.
Must be implemented by the subclass, if applicable.
getKeepTogetherProperty in interface BlockLevelLayoutManagergetKeepTogetherProperty in class BlockStackingLayoutManagerpublic KeepProperty getKeepWithPreviousProperty()
IllegalStateException.
Must be implemented by the subclass, if applicable.
getKeepWithPreviousProperty in interface BlockLevelLayoutManagergetKeepWithPreviousProperty in class BlockStackingLayoutManagerpublic KeepProperty getKeepWithNextProperty()
IllegalStateException.
Must be implemented by the subclass, if applicable.
getKeepWithNextProperty in interface BlockLevelLayoutManagergetKeepWithNextProperty in class BlockStackingLayoutManager
public int getBaseLength(int lengthBase,
FObj fobj)
LengthBase.
getBaseLength in interface PercentBaseContextgetBaseLength in class AbstractBaseLayoutManager
public void notifySpace(RelSide side,
MinOptMax effectiveLength)
notifySpace in interface ConditionalElementListenerside - the side to which the space applieseffectiveLength - the effective length after space-resolution (null means zero length)
public void notifyBorder(RelSide side,
MinOptMax effectiveLength)
notifyBorder in interface ConditionalElementListenerside - the side to which the border applieseffectiveLength - the effective length in the current break situation
(null means zero length)
public void notifyPadding(RelSide side,
MinOptMax effectiveLength)
notifyPadding in interface ConditionalElementListenerside - the side to which the padding applieseffectiveLength - the effective length in the current break situation
(null means zero length)
|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||