public interface InlineLevelLayoutManager extends LayoutManager
| Modifier and Type | Method and Description |
|---|---|
List<ListElement> |
addALetterSpaceTo(List<ListElement> 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
|
List<ListElement> |
addALetterSpaceTo(List<ListElement> 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 elements
|
boolean |
applyChanges(List<ListElement> oldList)
Tell the LM to apply the changes due to hyphenation
|
boolean |
applyChanges(List<ListElement> oldList,
int depth)
Tell the LM to apply the changes due to hyphenation
|
List<ListElement> |
getChangedKnuthElements(List<ListElement> oldList,
int alignment,
int depth)
Get a sequence of KnuthElements representing the content
of the node assigned to the LM, after changes have been applied
|
String |
getWordChars(Position pos)
Get the word chars corresponding to the given position.
|
void |
hyphenate(Position pos,
HyphContext hyphContext)
Tell the LM to hyphenate a word
|
addAreas, addChildArea, addChildLM, addChildLMs, createNextChildLMs, getBaselineOffset, getChangedKnuthElements, getChildLMs, getContentAreaBPD, getContentAreaIPD, getFObj, getGeneratesBlockArea, getGeneratesLineArea, getGeneratesReferenceArea, getNextKnuthElements, getNextKnuthElements, getParent, getParentArea, getPSLM, hasLineAreaDescendant, initialize, isFinished, isFromFootnote, isRestartable, notifyPos, reset, setFinished, setFromFootnote, setParentgetBaseLengthList<ListElement> addALetterSpaceTo(List<ListElement> oldList)
oldList - the elements which must be given one more letter spaceList<ListElement> addALetterSpaceTo(List<ListElement> oldList, int depth)
oldList - the elements which must be given one more letter spacedepth - the depth at which the Positions for this LM in oldList are foundString getWordChars(Position pos)
pos - the position referring to the needed word chars.void hyphenate(Position pos, HyphContext hyphContext)
pos - the Position referring to the wordhyphContext - the HyphContext storing hyphenation informationboolean applyChanges(List<ListElement> oldList)
oldList - the list of the old elements the changes refer toboolean applyChanges(List<ListElement> oldList, int depth)
oldList - the list of the old elements the changes refer todepth - the depth at which the Positions for this LM in oldList are foundList<ListElement> getChangedKnuthElements(List<ListElement> oldList, int alignment, int depth)
oldList - the elements to replacealignment - the desired text alignmentdepth - the depth at which the Positions for this LM in oldList are foundCopyright © 2025 Apache Software Foundation. All rights reserved.