fop 0.95

org.apache.fop.layoutmgr.inline
Interface InlineLevelLayoutManager

All Superinterfaces:
LayoutManager, PercentBaseContext
All Known Implementing Classes:
AbstractGraphicsLayoutManager, AbstractPageNumberCitationLayoutManager, BasicLinkLayoutManager, BidiLayoutManager, CharacterLayoutManager, ContentLayoutManager, ExternalGraphicLayoutManager, FootnoteLayoutManager, ICLayoutManager, InlineLayoutManager, InlineStackingLayoutManager, InstreamForeignObjectLM, LeaderLayoutManager, LeafNodeLayoutManager, LineLayoutManager, PageNumberCitationLastLayoutManager, PageNumberCitationLayoutManager, PageNumberLayoutManager, TextLayoutManager, WrapperLayoutManager

public interface InlineLevelLayoutManager
extends LayoutManager

The interface for LayoutManagers which generate inline areas


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
 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 removeWordSpace(java.util.List oldList)
          Tell the LM to modify its data, removing the word space represented by the given elements
 
Methods inherited from interface org.apache.fop.layoutmgr.LayoutManager
addAreas, addChildArea, addChildLM, addChildLMs, createNextChildLMs, getChangedKnuthElements, getChildLMs, getContentAreaBPD, getContentAreaIPD, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getNextKnuthElements, getParent, getParentArea, getPSLM, initialize, isFinished, notifyPos, setFinished, setParent
 
Methods inherited from interface org.apache.fop.datatypes.PercentBaseContext
getBaseLength
 

Method Detail

addALetterSpaceTo

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

Parameters:
oldList - the elements which must be given one more letter space
Returns:
the new elements replacing the old ones

removeWordSpace

void removeWordSpace(java.util.List oldList)
Tell the LM to modify its data, removing the word space represented by the given elements

Parameters:
oldList - the elements representing the word space

getWordChars

void getWordChars(java.lang.StringBuffer sbChars,
                  Position pos)
Get the word chars corresponding to the given position

Parameters:
sbChars - the StringBuffer used to append word chars
pos - the Position referring to the needed word chars

hyphenate

void hyphenate(Position pos,
               HyphContext hc)
Tell the LM to hyphenate a word

Parameters:
pos - the Position referring to the word
hc - the HyphContext storing hyphenation information

applyChanges

boolean applyChanges(java.util.List oldList)
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

fop 0.95

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.