|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.layout.Box
org.apache.fop.layout.Area
org.apache.fop.layout.BodyAreaContainer
Field Summary |
Fields inherited from class org.apache.fop.layout.Area |
allocationWidth, areaClass, background, bp, children, contentRectangleWidth, currentHeight, foCreator, fontState, generatedBy, isFirst, isLast, maxHeight, page, tableCellXOffset |
Fields inherited from class org.apache.fop.layout.Box |
areaTree, parent |
Constructor Summary | |
BodyAreaContainer(FontState fontState,
int xPosition,
int yPosition,
int allocationWidth,
int maxHeight,
int position,
int columnCount,
int columnGap)
|
Method Summary | |
void |
adjustFootnoteArea()
|
AreaContainer |
getBeforeFloatReferenceArea()
|
AreaContainer |
getCurrentColumnArea()
|
AreaContainer |
getFootnoteReferenceArea()
|
int |
getFootnoteState()
|
IDReferences |
getIDReferences()
|
AreaContainer |
getMainReferenceArea()
|
AreaContainer |
getNextArea(FObj fo)
Depending on the column-count of the next FO, determine whether a new span area needs to be constructed or not, and return the appropriate ColumnArea. |
int |
getPosition()
|
int |
getRemainingHeight()
Determine remaining height for new span area. |
int |
getXPosition()
|
int |
getYPosition()
|
boolean |
isBalancingRequired(FObj fo)
This almost does what getNewArea() does, without actually returning an area. |
boolean |
isLastColumn()
Used in Flow when layout returns incomplete. |
boolean |
isNewSpanArea()
This variable is unset by getNextArea(), is set by addSpanArea(), and may be set by resetSpanArea(). |
boolean |
needsFootnoteAdjusting()
|
void |
render(Renderer renderer)
|
protected static void |
resetMaxHeight(Area ar,
int change)
|
void |
resetSpanArea()
This is where the balancing algorithm lives, or gets called. |
void |
setIDReferences(IDReferences idReferences)
|
void |
setXPosition(int value)
|
void |
setYPosition(int value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BodyAreaContainer(FontState fontState, int xPosition, int yPosition, int allocationWidth, int maxHeight, int position, int columnCount, int columnGap)
Method Detail |
public void render(Renderer renderer)
render
in class Box
public int getPosition()
public int getXPosition()
public void setXPosition(int value)
public int getYPosition()
public void setYPosition(int value)
public AreaContainer getMainReferenceArea()
public AreaContainer getBeforeFloatReferenceArea()
public AreaContainer getFootnoteReferenceArea()
public void setIDReferences(IDReferences idReferences)
setIDReferences
in class Area
public IDReferences getIDReferences()
getIDReferences
in class Area
public AreaContainer getNextArea(FObj fo) throws FOPException
fo
- The next formatting object
FOPException
public boolean isBalancingRequired(FObj fo)
fo
- The next formatting object
public void resetSpanArea()
public int getRemainingHeight()
public boolean isLastColumn()
public boolean isNewSpanArea()
public AreaContainer getCurrentColumnArea()
public int getFootnoteState()
public boolean needsFootnoteAdjusting()
public void adjustFootnoteArea()
protected static void resetMaxHeight(Area ar, int change)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |