org.apache.fop.layoutmgr
public class KnuthBlockBox extends KnuthBox
INFINITE
Constructor and Description |
---|
KnuthBlockBox(int w,
java.util.LinkedList list,
Position pos,
boolean bAux)
Creates a new box.
|
KnuthBlockBox(int w,
MinOptMax range,
int bpdim,
Position pos,
boolean bAux)
Creates a new box.
|
Modifier and Type | Method and Description |
---|---|
void |
addElementList(java.util.LinkedList list)
Adds the given list of Knuth elements to this box' list of elements.
|
int |
getBPD()
Returns the natural width (without stretching nor shrinking) of the line
represented by this box.
|
java.util.LinkedList |
getElementLists()
Returns the list of Knuth sequences registered by this box.
|
java.util.LinkedList |
getFootnoteBodyLMs() |
MinOptMax |
getIPDRange() |
boolean |
hasAnchors() |
getP, getW, getY, getZ, isAuxiliary, isUnresolvedElement
getLayoutManager, getPosition, isForcedBreak, isGlue, isPenalty, setPosition
public KnuthBlockBox(int w, MinOptMax range, int bpdim, Position pos, boolean bAux)
w
- block progression dimension of this boxrange
- min, opt, max inline progression dimension of this boxbpdim
- natural width of the line represented by this box.pos
- the Position stored in this boxbAux
- is this box auxiliary?public KnuthBlockBox(int w, java.util.LinkedList list, Position pos, boolean bAux)
w
- block progression dimension of this boxlist
- footnotes cited by elements in this box. The list contains the
corresponding FootnoteBodyLayoutManagerspos
- the Position stored in this boxbAux
- is this box auxiliary?public java.util.LinkedList getFootnoteBodyLMs()
public boolean hasAnchors()
public void addElementList(java.util.LinkedList list)
list
- elements corresponding to a footnote bodypublic java.util.LinkedList getElementLists()
public MinOptMax getIPDRange()
public int getBPD()
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.