|
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.inline.LeafNodeLayoutManager
org.apache.fop.layoutmgr.inline.LeaderLayoutManager
LayoutManager for the fo:leader formatting object
| Nested Class Summary |
| Nested classes inherited from class org.apache.fop.layoutmgr.inline.LeafNodeLayoutManager |
LeafNodeLayoutManager.AreaInfo |
| Field Summary |
| Fields inherited from class org.apache.fop.layoutmgr.inline.LeafNodeLayoutManager |
alignmentContext, areaInfo, commonBorderPaddingBackground, curArea, isSomethingChanged |
| Fields inherited from class org.apache.fop.layoutmgr.AbstractLayoutManager |
childLMiter, childLMs, curChildLM, fobjIter, markers, parentLM |
| Fields inherited from class org.apache.fop.layoutmgr.AbstractBaseLayoutManager |
generatesBlockArea, generatesReferenceArea |
| Constructor Summary | |
LeaderLayoutManager(Leader node)
Constructor |
|
| Method Summary | |
void |
addAreas(PositionIterator posIter,
LayoutContext context)
Add the area for this layout manager. |
protected void |
addId()
This method is called by addAreas() so IDs can be added to a page for FOs that support the 'id' property. |
boolean |
applyChanges(java.util.List oldList)
Tell the LM to apply the changes due to hyphenation |
InlineArea |
get(LayoutContext context)
Return the inline area for this leader. |
protected MinOptMax |
getAllocationIPD(int refIPD)
Return the allocated IPD for this area. |
int |
getBaseLength(int lengthBase,
FObj fobj)
Returns the base length for the given length base. |
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. |
int |
getContentAreaIPD()
Returns the IPD of the content area |
java.util.LinkedList |
getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content of the node assigned to the LM |
void |
hyphenate(Position pos,
HyphContext hc)
Tell the LM to hyphenate a word |
void |
initialize()
initialize the layout manager. |
| Methods inherited from class org.apache.fop.layoutmgr.inline.LeafNodeLayoutManager |
addALetterSpaceTo, addChildArea, addKnuthElementsForBorderPaddingEnd, addKnuthElementsForBorderPaddingStart, getEffectiveArea, getParentArea, getWordChars, makeAlignmentContext, offsetArea, removeWordSpace, resolved, setCommonBorderPaddingBackground, setCurrentArea, widthAdjustArea |
| 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, resetPosition, setFinished, setParent, transferForeignAttributes |
| Methods inherited from class org.apache.fop.layoutmgr.AbstractBaseLayoutManager |
getAncestorBlockAreaBPD, getAncestorBlockAreaIPD, getContentAreaBPD, 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, getContentAreaBPD, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getParent, getPSLM, isFinished, notifyPos, resetPosition, setFinished, setParent |
| Constructor Detail |
public LeaderLayoutManager(Leader node)
node - the formatting object that creates this area| Method Detail |
public void initialize()
LayoutManager
initialize in interface LayoutManagerinitialize in class AbstractLayoutManagerLayoutManager.initialize()public InlineArea get(LayoutContext context)
get in class LeafNodeLayoutManagercontext - the layout context
protected MinOptMax getAllocationIPD(int refIPD)
getAllocationIPD in class LeafNodeLayoutManagerrefIPD - the IPD of the reference area
public void addAreas(PositionIterator posIter,
LayoutContext context)
LeafNodeLayoutManager
addAreas in interface LayoutManageraddAreas in class LeafNodeLayoutManagerposIter - the position iteratorcontext - the layout context for adding the areaLeafNodeLayoutManager.addAreas(PositionIterator, LayoutContext)
public java.util.LinkedList getNextKnuthElements(LayoutContext context,
int alignment)
LayoutManager
getNextKnuthElements in interface LayoutManagergetNextKnuthElements in class LeafNodeLayoutManagerLayoutManager.getNextKnuthElements(LayoutContext, int)
public void hyphenate(Position pos,
HyphContext hc)
InlineLevelLayoutManager
hyphenate in interface InlineLevelLayoutManagerhyphenate in class LeafNodeLayoutManagerInlineLevelLayoutManager.hyphenate(Position, HyphContext)public boolean applyChanges(java.util.List oldList)
InlineLevelLayoutManager
applyChanges in interface InlineLevelLayoutManagerapplyChanges in class LeafNodeLayoutManagerInlineLevelLayoutManager.applyChanges(List)
public java.util.LinkedList getChangedKnuthElements(java.util.List oldList,
int alignment)
LayoutManager
getChangedKnuthElements in interface LayoutManagergetChangedKnuthElements in class LeafNodeLayoutManagerLayoutManager.getChangedKnuthElements(List, int)protected void addId()
LeafNodeLayoutManager
addId in class LeafNodeLayoutManagerLeafNodeLayoutManager.addId()
public int getBaseLength(int lengthBase,
FObj fobj)
PercentBaseContextLengthBase.
getBaseLength in interface PercentBaseContextgetBaseLength in class AbstractBaseLayoutManagerPercentBaseContext.getBaseLength(int, FObj)public int getContentAreaIPD()
getContentAreaIPD in interface LayoutManagergetContentAreaIPD in class AbstractBaseLayoutManagerLayoutManager.getContentAreaIPD()
|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||