|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface for all LayoutManagers.
Method Summary | |
void |
addAreas(PositionIterator posIter,
LayoutContext context)
Tell the layout manager to add all the child areas implied by Position objects which will be returned by the Iterator. |
void |
addChildArea(Area childArea)
Add the area as a child of the current area. |
void |
addChildLM(LayoutManager lm)
Add the LM in the argument to the list of child LMs; set this LM as the parent; initialize the LM. |
void |
addChildLMs(java.util.List newLMs)
Add the LMs in the argument to the list of child LMs; |
boolean |
createNextChildLMs(int pos)
Create more child LMs of the parent, up to child LM index pos |
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.List |
getChildLMs()
|
int |
getContentAreaBPD()
Returns the BPD of the content area |
int |
getContentAreaIPD()
Returns the IPD of the content area |
FObj |
getFObj()
Returns the fo this layout manager is associated with. |
boolean |
getGeneratesBlockArea()
Returns an indication if the layout manager generates a block area. |
boolean |
getGeneratesLineArea()
Returns an indication if the layout manager generates a line area. |
boolean |
getGeneratesReferenceArea()
Returns an indication if the layout manager generates a reference area. |
java.util.LinkedList |
getNextKnuthElements(LayoutContext context,
int alignment)
Get a sequence of KnuthElements representing the content of the node assigned to the LM |
LayoutManager |
getParent()
Get the parent layout manager. |
Area |
getParentArea(Area childArea)
Get the parent area for an area. |
PageSequenceLayoutManager |
getPSLM()
Get the active PageSequenceLayoutManager instance for this layout process. |
void |
initialize()
initialize the layout manager. |
boolean |
isFinished()
Return a value indicating whether this LayoutManager has laid out all its content (or generated BreakPossibilities for all content.) |
Position |
notifyPos(Position pos)
Adds a Position to the Position participating in the first|last determination by assigning it a unique position index. |
void |
resetPosition(Position position)
Reset to the position. |
void |
setFinished(boolean isFinished)
Set a flag indicating whether the LayoutManager has laid out all its content. |
void |
setParent(LayoutManager lm)
Set the parent layout manager. |
Methods inherited from interface org.apache.fop.datatypes.PercentBaseContext |
getBaseLength |
Method Detail |
public void setParent(LayoutManager lm)
lm
- the parent layout managerpublic LayoutManager getParent()
public void initialize()
public PageSequenceLayoutManager getPSLM()
public void resetPosition(Position position)
position
- the Position to reset topublic boolean isFinished()
public void setFinished(boolean isFinished)
isFinished
- the value to set the finished flag topublic Area getParentArea(Area childArea)
childArea
- the child area to get the parent for
public void addChildArea(Area childArea)
childArea
- the child area to addpublic void addAreas(PositionIterator posIter, LayoutContext context)
posIter
- the position iteratorcontext
- the contextpublic boolean createNextChildLMs(int pos)
pos
- index up to which child LMs are requested
public java.util.List getChildLMs()
public void addChildLM(LayoutManager lm)
lm
- the LM to be addedpublic void addChildLMs(java.util.List newLMs)
newLMs
- the list of LMs to be addedpublic java.util.LinkedList getNextKnuthElements(LayoutContext context, int alignment)
context
- the LayoutContext used to store layout informationalignment
- the desired text alignement
public java.util.LinkedList getChangedKnuthElements(java.util.List oldList, int alignment)
oldList
- the elements to replacealignment
- the desired text alignment
public int getContentAreaIPD()
public int getContentAreaBPD()
public boolean getGeneratesReferenceArea()
public boolean getGeneratesBlockArea()
public boolean getGeneratesLineArea()
public FObj getFObj()
public Position notifyPos(Position pos)
pos
- the Position
|
fop 0.93 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |