|
fop svn-trunk | |||||||||
| 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.ListItemContentLayoutManager
public class ListItemContentLayoutManager
LayoutManager for a list-item-label or list-item-body FO.
| Nested Class Summary |
|---|
| Nested classes/interfaces 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, parentLM |
| Fields inherited from class org.apache.fop.layoutmgr.AbstractBaseLayoutManager |
|---|
fobj, generatesBlockArea, generatesReferenceArea |
| Fields inherited from interface org.apache.fop.layoutmgr.BlockLevelLayoutManager |
|---|
KEEP_ALWAYS, KEEP_AUTO, LINE_HEIGHT_ADJUSTMENT, LINE_NUMBER_ADJUSTMENT, NO_ADJUSTMENT, SPACE_AFTER_ADJUSTMENT, SPACE_BEFORE_ADJUSTMENT |
| Constructor Summary | |
|---|---|
ListItemContentLayoutManager(ListItemBody node)
Create a new Cell layout manager. |
|
ListItemContentLayoutManager(ListItemLabel node)
Create a new Cell layout manager. |
|
| Method Summary | |
|---|---|
void |
addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
Add the areas for the break points. |
void |
addChildArea(Area childArea)
Add the child to the list item area. |
java.util.List |
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 possible hyphenation points. |
int |
getKeepTogetherStrength()
Returns the keep-together strength for this element. |
int |
getKeepWithNextStrength()
Returns the keep-with-next strength for this element. |
int |
getKeepWithPreviousStrength()
Returns the keep-with-previous strength for this element. |
Area |
getParentArea(Area childArea)
Return an Area which can contain the passed childArea. |
protected AbstractListItemPart |
getPartFO()
Convenience method. |
void |
setXOffset(int off)
Set the x offset of this list item. |
| Methods inherited from class org.apache.fop.layoutmgr.AbstractLayoutManager |
|---|
addChildLM, addChildLMs, addId, addMarkersToPage, checkEndOfLayout, createChildLMs, createNextChildLMs, getChildLM, getChildLMs, getCurrentPage, getCurrentPV, getParent, getPSLM, hasNextChildLM, initialize, isFinished, isFirst, isLast, notifyPos, setFinished, setParent, toString, transferExtensionAttachments, transferExtensions, 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, wait, wait, wait |
| Methods inherited from interface org.apache.fop.layoutmgr.LayoutManager |
|---|
addChildLM, addChildLMs, createNextChildLMs, getChildLMs, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getParent, getPSLM, initialize, isFinished, notifyPos, setFinished, setParent |
| Methods inherited from interface org.apache.fop.datatypes.PercentBaseContext |
|---|
getBaseLength |
| Constructor Detail |
|---|
public ListItemContentLayoutManager(ListItemLabel node)
node - list-item-label nodepublic ListItemContentLayoutManager(ListItemBody node)
node - list-item-body node| Method Detail |
|---|
protected AbstractListItemPart getPartFO()
public void setXOffset(int off)
off - the x offset
public java.util.List getChangedKnuthElements(java.util.List oldList,
int alignment)
getChangedKnuthElements in interface LayoutManagergetChangedKnuthElements in class BlockStackingLayoutManageroldList - the elements to replacealignment - the desired text alignment
public void addAreas(PositionIterator parentIter,
LayoutContext layoutContext)
addAreas in interface LayoutManageraddAreas in class AbstractLayoutManagerparentIter - the iterator of the break positionslayoutContext - the layout context for adding the areaspublic Area getParentArea(Area childArea)
getParentArea in interface LayoutManagergetParentArea in class AbstractLayoutManagerchildArea - the child area to get the parent for
public void addChildArea(Area childArea)
addChildArea in interface LayoutManageraddChildArea in class BlockStackingLayoutManagerchildArea - the child to add to the cellpublic int getKeepTogetherStrength()
public int getKeepWithNextStrength()
public int getKeepWithPreviousStrength()
|
fop svn-trunk | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||