Package org.apache.fop.layoutmgr.inline
Interface InlineLevelLayoutManager
- All Superinterfaces:
LayoutManager
,PercentBaseContext
- All Known Implementing Classes:
AbstractGraphicsLayoutManager
,AbstractPageNumberCitationLayoutManager
,BasicLinkLayoutManager
,BidiLayoutManager
,CharacterLayoutManager
,ContentLayoutManager
,ExternalGraphicLayoutManager
,FloatLayoutManager
,FootnoteLayoutManager
,InlineContainerLayoutManager
,InlineLayoutManager
,InlineStackingLayoutManager
,InstreamForeignObjectLM
,LeaderLayoutManager
,LeafNodeLayoutManager
,LineLayoutManager
,PageNumberCitationLastLayoutManager
,PageNumberCitationLayoutManager
,PageNumberLayoutManager
,RetrieveTableMarkerLayoutManager
,TextLayoutManager
,WrapperLayoutManager
The interface for LayoutManagers which generate inline areas
-
Method Summary
Modifier and TypeMethodDescriptionaddALetterSpaceTo
(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 elementsaddALetterSpaceTo
(List oldList, int depth) Tell the LM to modify its data, adding a letter space to the word fragment represented by the given elements, and returning the corrected elementsboolean
applyChanges
(List oldList) Tell the LM to apply the changes due to hyphenationboolean
applyChanges
(List oldList, int depth) Tell the LM to apply the changes due to hyphenationgetChangedKnuthElements
(List oldList, int alignment, int depth) Get a sequence of KnuthElements representing the content of the node assigned to the LM, after changes have been appliedgetWordChars
(Position pos) Get the word chars corresponding to the given position.void
hyphenate
(Position pos, HyphContext hyphContext) Tell the LM to hyphenate a wordMethods inherited from interface org.apache.fop.layoutmgr.LayoutManager
addAreas, addChildArea, addChildLM, addChildLMs, createNextChildLMs, getBaselineOffset, getChangedKnuthElements, getChildLMs, getContentAreaBPD, getContentAreaIPD, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getNextKnuthElements, getNextKnuthElements, getParent, getParentArea, getPSLM, hasLineAreaDescendant, initialize, isFinished, isRestartable, notifyPos, reset, setFinished, setParent
Methods inherited from interface org.apache.fop.datatypes.PercentBaseContext
getBaseLength
-
Method Details
-
addALetterSpaceTo
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- Parameters:
oldList
- the elements which must be given one more letter space- Returns:
- the new elements replacing the old ones
-
addALetterSpaceTo
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- Parameters:
oldList
- the elements which must be given one more letter spacedepth
- the depth at which the Positions for this LM in oldList are found- Returns:
- the new elements replacing the old ones
-
getWordChars
Get the word chars corresponding to the given position.- Parameters:
pos
- the position referring to the needed word chars.- Returns:
- the word chars
-
hyphenate
Tell the LM to hyphenate a word- Parameters:
pos
- the Position referring to the wordhyphContext
- the HyphContext storing hyphenation information
-
applyChanges
Tell the LM to apply the changes due to hyphenation- Parameters:
oldList
- the list of the old elements the changes refer to- Returns:
- true if the LM had to change its data, false otherwise
-
applyChanges
Tell the LM to apply the changes due to hyphenation- Parameters:
oldList
- the list of the old elements the changes refer todepth
- the depth at which the Positions for this LM in oldList are found- Returns:
- true if the LM had to change its data, false otherwise
-
getChangedKnuthElements
Get a sequence of KnuthElements representing the content of the node assigned to the LM, after changes have been applied- Parameters:
oldList
- the elements to replacealignment
- the desired text alignmentdepth
- the depth at which the Positions for this LM in oldList are found- Returns:
- the updated list of KnuthElements
-