org.apache.fop.layoutmgr.inline
Interface InlineLevelLayoutManager
- LayoutManager, PercentBaseContext
- AbstractGraphicsLayoutManager, BasicLinkLayoutManager, BidiLayoutManager, CharacterLayoutManager, ContentLayoutManager, ExternalGraphicLayoutManager, FootnoteLayoutManager, ICLayoutManager, InlineLayoutManager, InlineStackingLayoutManager, InstreamForeignObjectLM, LeaderLayoutManager, LeafNodeLayoutManager, LineLayoutManager, PageNumberCitationLastLayoutManager, PageNumberCitationLayoutManager, PageNumberLayoutManager, TextLayoutManager, WrapperLayoutManager
public interface InlineLevelLayoutManager
The interface for LayoutManagers which generate inline areas
List | addALetterSpaceTo(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(List oldList) - Tell the LM to apply the changes due to hyphenation
|
void | getWordChars(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 | removeWordSpace(List oldList) - Tell the LM to modify its data, removing the word space
represented by the given elements
|
addAreas , addChildArea , addChildLM , addChildLMs , createNextChildLMs , getChangedKnuthElements , getChildLMs , getContentAreaBPD , getContentAreaIPD , getFObj , getGeneratesBlockArea , getGeneratesLineArea , getGeneratesReferenceArea , getNextKnuthElements , getPSLM , getParent , getParentArea , initialize , isFinished , notifyPos , resetPosition , setFinished , setParent |
addALetterSpaceTo
public List addALetterSpaceTo(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
oldList
- the elements which must be given one more letter space
- the new elements replacing the old ones
applyChanges
public boolean applyChanges(List oldList)
Tell the LM to apply the changes due to hyphenation
oldList
- the list of the old elements the changes refer to
- true if the LM had to change its data, false otherwise
getWordChars
public void getWordChars(StringBuffer sbChars,
Position pos)
Get the word chars corresponding to the given position
sbChars
- the StringBuffer used to append word charspos
- the Position referring to the needed word chars
hyphenate
public void hyphenate(Position pos,
HyphContext hc)
Tell the LM to hyphenate a word
pos
- the Position referring to the wordhc
- the HyphContext storing hyphenation information
removeWordSpace
public void removeWordSpace(List oldList)
Tell the LM to modify its data, removing the word space
represented by the given elements
oldList
- the elements representing the word space
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.