|
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.InlineStackingLayoutManager
org.apache.fop.layoutmgr.inline.InlineLayoutManager
LayoutManager for objects which stack children in the inline direction, such as Inline or Line
| Nested Class Summary |
| Nested classes inherited from class org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager |
InlineStackingLayoutManager.StackingIter |
| Field Summary | |
protected Length |
alignmentAdjust
The alignment adjust property |
protected int |
alignmentBaseline
The alignment baseline property |
protected Length |
baselineShift
The baseline shift property |
protected int |
dominantBaseline
The dominant baseline property |
protected SpaceProperty |
lineHeight
The line height property |
| Fields inherited from class org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager |
childLC, extraBPD |
| 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 | |
InlineLayoutManager(InlineLevel node)
Create an inline layout manager. |
|
| Method Summary | |
void |
addAreas(PositionIterator parentIter,
LayoutContext context)
Generate and add areas to parent area. |
void |
addChildArea(Area childArea)
Add the area as a child of the current area. |
protected void |
addId()
This method is called by addAreas() so IDs can be added to a page for FOs that support the 'id' property. |
protected void |
addKnuthElementsForBorderPaddingEnd(java.util.List returnList)
Creates Knuth elements for end border padding and adds them to the return list. |
protected void |
addKnuthElementsForBorderPaddingStart(java.util.List returnList)
Creates Knuth elements for start border padding and adds them to the return list. |
protected InlineArea |
createArea(boolean hasInlineParent)
|
protected Position |
getAuxiliaryPosition()
|
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 MinOptMax |
getExtraIPD(boolean isNotFirst,
boolean isNotLast)
Returns the extra IPD needed for any leading or trailing fences for the current area. |
java.util.LinkedList |
getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content of the node assigned to the LM |
protected SpaceProperty |
getSpaceEnd()
Get the space at the end of the inline area. |
protected SpaceProperty |
getSpaceStart()
Get the space at the start of the inline area. |
protected boolean |
hasLeadingFence(boolean isNotFirst)
Indication if the current area has a leading fence. |
protected boolean |
hasTrailingFence(boolean isNotLast)
Indication if the current area has a trailing fence. |
void |
initialize()
initialize the layout manager. |
boolean |
mustKeepTogether()
|
protected void |
setTraits(boolean isNotFirst,
boolean isNotLast)
Trait setter to be overridden by subclasses. |
| Methods inherited from class org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager |
addALetterSpaceTo, addSpace, applyChanges, clearPrevIPD, getContext, getCurrentArea, getPrevIPD, getWordChars, hyphenate, removeWordSpace, resetPosition, setChildContext, setCurrentArea, setLMiter |
| Methods inherited from class org.apache.fop.layoutmgr.AbstractLayoutManager |
addChildLM, addChildLMs, createChildLMs, createNextChildLMs, getChildLM, getChildLMs, getCurrentPage, getCurrentPV, getParent, getParentArea, getPSLM, hasNextChildLM, isFinished, isFirst, isLast, notifyPos, reset, setFinished, setParent, transferForeignAttributes |
| Methods inherited from class org.apache.fop.layoutmgr.AbstractBaseLayoutManager |
getAncestorBlockAreaBPD, getAncestorBlockAreaIPD, getBaseLength, getContentAreaBPD, getContentAreaIPD, 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, getContentAreaIPD, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getParent, getParentArea, getPSLM, isFinished, notifyPos, setFinished, setParent |
| Methods inherited from interface org.apache.fop.datatypes.PercentBaseContext |
getBaseLength |
| Field Detail |
protected Length alignmentAdjust
protected int alignmentBaseline
protected Length baselineShift
protected int dominantBaseline
protected SpaceProperty lineHeight
| Constructor Detail |
public InlineLayoutManager(InlineLevel node)
node - the formatting object that creates the area| Method Detail |
public void initialize()
LayoutManager
initialize in interface LayoutManagerinitialize in class AbstractLayoutManagerLayoutManager.initialize()
protected MinOptMax getExtraIPD(boolean isNotFirst,
boolean isNotLast)
InlineStackingLayoutManager
getExtraIPD in class InlineStackingLayoutManagerisNotFirst - true if not the first area for this layout managerisNotLast - true if not the last area for this layout manager
InlineStackingLayoutManager.getExtraIPD(boolean, boolean)protected boolean hasLeadingFence(boolean isNotFirst)
InlineStackingLayoutManager
hasLeadingFence in class InlineStackingLayoutManagerisNotFirst - true if not the first area for this layout manager
InlineStackingLayoutManager.hasLeadingFence(boolean)protected boolean hasTrailingFence(boolean isNotLast)
InlineStackingLayoutManager
hasTrailingFence in class InlineStackingLayoutManagerisNotLast - true if not the last area for this layout manager
InlineStackingLayoutManager.hasTrailingFence(boolean)protected SpaceProperty getSpaceStart()
InlineStackingLayoutManager
getSpaceStart in class InlineStackingLayoutManagerInlineStackingLayoutManager.getSpaceStart()protected SpaceProperty getSpaceEnd()
InlineStackingLayoutManager
getSpaceEnd in class InlineStackingLayoutManagerInlineStackingLayoutManager.getSpaceEnd()protected InlineArea createArea(boolean hasInlineParent)
createArea(boolean)
protected void setTraits(boolean isNotFirst,
boolean isNotLast)
InlineStackingLayoutManager
setTraits in class InlineStackingLayoutManagerisNotFirst - true if this is not the first child area addedisNotLast - true if this is not the last child area addedInlineStackingLayoutManager.setTraits(boolean, boolean)public boolean mustKeepTogether()
public java.util.LinkedList getNextKnuthElements(LayoutContext context,
int alignment)
LayoutManager
getNextKnuthElements in interface LayoutManagergetNextKnuthElements in class AbstractLayoutManagerLayoutManager
public void addAreas(PositionIterator parentIter,
LayoutContext context)
addAreas in interface LayoutManageraddAreas in class AbstractLayoutManagerparentIter - Iterator over Position information returned
by this LayoutManager.context - layout context.LayoutManager.addAreas(
org.apache.fop.layoutmgr.PositionIterator
, org.apache.fop.layoutmgr.LayoutContext)public void addChildArea(Area childArea)
LayoutManager
addChildArea in interface LayoutManageraddChildArea in class AbstractLayoutManagerchildArea - the child area to be addedLayoutManager.addChildArea(Area)
public java.util.LinkedList getChangedKnuthElements(java.util.List oldList,
int alignment)
LayoutManager
getChangedKnuthElements in interface LayoutManagergetChangedKnuthElements in class InlineStackingLayoutManagerLayoutManager.getChangedKnuthElements(List, int)protected void addKnuthElementsForBorderPaddingStart(java.util.List returnList)
returnList - return list to add the additional elements toprotected void addKnuthElementsForBorderPaddingEnd(java.util.List returnList)
returnList - return list to add the additional elements toprotected Position getAuxiliaryPosition()
protected void addId()
InlineStackingLayoutManager
addId in class InlineStackingLayoutManagerLeafNodeLayoutManager.addId()
|
fop 0.93 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||