|
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.AbstractBaseLayoutManager
org.apache.fop.layoutmgr.AbstractLayoutManager
org.apache.fop.layoutmgr.BlockStackingLayoutManager
org.apache.fop.layoutmgr.list.ListBlockLayoutManager
LayoutManager for a list-block FO. A list block contains list items which are stacked within the list block area..
| Nested Class Summary |
| Nested classes inherited from class org.apache.fop.layoutmgr.BlockStackingLayoutManager |
BlockStackingLayoutManager.MappingPosition |
| 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, markers, parentLM |
| Fields inherited from class org.apache.fop.layoutmgr.AbstractBaseLayoutManager |
fobj, generatesBlockArea, generatesReferenceArea |
| Fields inherited from interface org.apache.fop.layoutmgr.BlockLevelLayoutManager |
LINE_HEIGHT_ADJUSTMENT, LINE_NUMBER_ADJUSTMENT, NO_ADJUSTMENT, SPACE_AFTER_ADJUSTMENT, SPACE_BEFORE_ADJUSTMENT |
| Constructor Summary | |
ListBlockLayoutManager(ListBlock node)
Create a new list block 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. |
java.util.LinkedList |
getChangedKnuthElements(java.util.List oldList,
int alignment)
Get a sequence of KnuthElements representing the content of the node assigned to the LM, after changes have been applied In the context of line breaking, this method is called after hyphenation has been performed, in order to receive the sequence of elements representing the text together with all possibile hyphenation points. |
protected ListBlock |
getListBlockFO()
Convenience method. |
java.util.LinkedList |
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. |
void |
initialize()
initialize the layout manager. |
boolean |
mustKeepTogether()
|
boolean |
mustKeepWithNext()
|
boolean |
mustKeepWithPrevious()
|
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. |
void |
resetPosition(Position resetPos)
Reset the position of this layout manager. |
| Methods inherited from class org.apache.fop.layoutmgr.AbstractLayoutManager |
addChildLM, addChildLMs, createChildLMs, createNextChildLMs, getChildLM, getChildLMs, getCurrentPage, getCurrentPV, getParent, getPSLM, hasNextChildLM, isFinished, isFirst, isLast, notifyPos, reset, setFinished, setParent, transferForeignAttributes |
| Methods inherited from class org.apache.fop.layoutmgr.AbstractBaseLayoutManager |
getAncestorBlockAreaBPD, getAncestorBlockAreaIPD, getBaseLength, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getParentAreaBPD, getParentAreaIPD, getReferenceAreaBPD, getReferenceAreaIPD, setGeneratesBlockArea, setGeneratesReferenceArea |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.fop.layoutmgr.LayoutManager |
addChildLM, addChildLMs, createNextChildLMs, getChildLMs, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getParent, getPSLM, isFinished, notifyPos, setFinished, setParent |
| Methods inherited from interface org.apache.fop.datatypes.PercentBaseContext |
getBaseLength |
| Constructor Detail |
public ListBlockLayoutManager(ListBlock node)
node - list-block to create the layout manager for| Method Detail |
protected ListBlock getListBlockFO()
public void initialize()
LayoutManager
initialize in interface LayoutManagerinitialize in class AbstractLayoutManagerLayoutManager.initialize()
public java.util.LinkedList getNextKnuthElements(LayoutContext context,
int alignment)
LayoutManager
getNextKnuthElements in interface LayoutManagergetNextKnuthElements in class BlockStackingLayoutManagerBlockStackingLayoutManager
public java.util.LinkedList getChangedKnuthElements(java.util.List oldList,
int alignment)
LayoutManager
getChangedKnuthElements in interface LayoutManagergetChangedKnuthElements in class BlockStackingLayoutManagerLayoutManager.getChangedKnuthElements(java.util.List, int)
public void addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
addAreas in interface LayoutManageraddAreas in class AbstractLayoutManagerparentIter - the position iteratorlayoutContext - the layout context for adding areasLayoutManager.addAreas(
org.apache.fop.layoutmgr.PositionIterator
, org.apache.fop.layoutmgr.LayoutContext)public 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 addpublic void resetPosition(Position resetPos)
resetPosition in interface LayoutManagerresetPosition in class AbstractLayoutManagerresetPos - the position to reset toLayoutManager.resetPosition(Position)public boolean mustKeepTogether()
mustKeepTogether in interface BlockLevelLayoutManagermustKeepTogether in class BlockStackingLayoutManagerBlockLevelLayoutManager.mustKeepTogether()public boolean mustKeepWithPrevious()
mustKeepWithPrevious in interface BlockLevelLayoutManagermustKeepWithPrevious in class BlockStackingLayoutManagerBlockLevelLayoutManager.mustKeepWithPrevious()public boolean mustKeepWithNext()
mustKeepWithNext in interface BlockLevelLayoutManagermustKeepWithNext in class BlockStackingLayoutManagerBlockLevelLayoutManager.mustKeepWithNext()
public void notifySpace(RelSide side,
MinOptMax effectiveLength)
ConditionalElementListener
notifySpace in interface ConditionalElementListenerside - the side to which the space applieseffectiveLength - the effective length after space-resolution (null means zero length)ConditionalElementListener
public void notifyBorder(RelSide side,
MinOptMax effectiveLength)
ConditionalElementListener
notifyBorder in interface ConditionalElementListenerside - the side to which the border applieseffectiveLength - the effective length in the current break situation
(null means zero length)ConditionalElementListener
public void notifyPadding(RelSide side,
MinOptMax effectiveLength)
ConditionalElementListener
notifyPadding in interface ConditionalElementListenerside - the side to which the padding applieseffectiveLength - the effective length in the current break situation
(null means zero length)ConditionalElementListener
|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||