org.apache.fop.layoutmgr
Class KnuthBlockBox
public class KnuthBlockBox
Knuth box used to represent a line in block-progression-dimension (i.e. the width is its height).
KnuthBlockBox
public KnuthBlockBox(int w,
LinkedList list,
Position pos,
boolean bAux)
Creates a new box.
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?
KnuthBlockBox
public KnuthBlockBox(int w,
MinOptMax range,
int bpdim,
Position pos,
boolean bAux)
Creates a new box.
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?
addElementList
public void addElementList(LinkedList list)
Adds the given list of Knuth elements to this box' list of elements.
list
- elements corresponding to a footnote body
getBPD
public int getBPD()
Returns the natural width (without stretching nor shrinking) of the line
represented by this box.
getElementLists
public LinkedList getElementLists()
Returns the list of Knuth sequences registered by this box.
- a list of KnuthElement sequences corresponding to footnotes cited in this
box
getFootnoteBodyLMs
public LinkedList getFootnoteBodyLMs()
- the LMs for the footnotes cited in this box.
getIPDRange
public MinOptMax getIPDRange()
- the inline progression dimension of this box.
hasAnchors
public boolean hasAnchors()
- true if this box contains footnote citations.
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.