|
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.FootnoteLayoutManager
Layout manager for fo:footnote.
Field Summary |
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 |
Constructor Summary | |
FootnoteLayoutManager(Footnote node)
Create a new footnote layout manager. |
Method Summary | |
java.util.List |
addALetterSpaceTo(java.util.List oldList)
Tell the LM to modify its data, adding a letter space to the word fragment represented by the given elements, and returning the corrected elements |
boolean |
applyChanges(java.util.List oldList)
Tell the LM to apply the changes due to hyphenation |
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. |
java.util.LinkedList |
getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content of the node assigned to the LM |
void |
getWordChars(java.lang.StringBuffer sbChars,
Position pos)
Get the word chars corresponding to the given position |
void |
hyphenate(Position pos,
HyphContext hc)
Tell the LM to hyphenate a word |
void |
initialize()
initialize the layout manager. |
void |
removeWordSpace(java.util.List oldList)
Remove the word space represented by the given elements |
Methods inherited from class org.apache.fop.layoutmgr.AbstractLayoutManager |
addAreas, addChildArea, addChildLM, addChildLMs, createChildLMs, createNextChildLMs, getChildLM, getChildLMs, getCurrentPage, getCurrentPV, getParent, getParentArea, getPSLM, hasNextChildLM, isFinished, isFirst, isLast, notifyPos, reset, resetPosition, 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 |
addAreas, addChildArea, addChildLM, addChildLMs, createNextChildLMs, getChildLMs, getContentAreaBPD, getContentAreaIPD, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getParent, getParentArea, getPSLM, isFinished, notifyPos, resetPosition, setFinished, setParent |
Methods inherited from interface org.apache.fop.datatypes.PercentBaseContext |
getBaseLength |
Constructor Detail |
public FootnoteLayoutManager(Footnote node)
node
- footnote to create the layout manager forMethod Detail |
public void initialize()
LayoutManager
initialize
in interface LayoutManager
initialize
in class AbstractLayoutManager
LayoutManager.initialize()
public java.util.LinkedList getNextKnuthElements(LayoutContext context, int alignment)
LayoutManager
getNextKnuthElements
in interface LayoutManager
getNextKnuthElements
in class AbstractLayoutManager
LayoutManager
public java.util.List addALetterSpaceTo(java.util.List oldList)
InlineLevelLayoutManager
addALetterSpaceTo
in interface InlineLevelLayoutManager
oldList
- the elements which must be given one more letter space
InlineLevelLayoutManager
public void removeWordSpace(java.util.List oldList)
removeWordSpace
in interface InlineLevelLayoutManager
oldList
- the elements representing the word spacepublic void getWordChars(java.lang.StringBuffer sbChars, Position pos)
InlineLevelLayoutManager
getWordChars
in interface InlineLevelLayoutManager
sbChars
- the StringBuffer used to append word charspos
- the Position referring to the needed word charsInlineLevelLayoutManager
public void hyphenate(Position pos, HyphContext hc)
InlineLevelLayoutManager
hyphenate
in interface InlineLevelLayoutManager
pos
- the Position referring to the wordhc
- the HyphContext storing hyphenation informationInlineLevelLayoutManager
public boolean applyChanges(java.util.List oldList)
InlineLevelLayoutManager
applyChanges
in interface InlineLevelLayoutManager
oldList
- the list of the old elements the changes refer to
InlineLevelLayoutManager
public java.util.LinkedList getChangedKnuthElements(java.util.List oldList, int alignment)
LayoutManager
getChangedKnuthElements
in interface LayoutManager
getChangedKnuthElements
in class AbstractLayoutManager
LayoutManager.getChangedKnuthElements(java.util.List, int)
|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |