public class KnuthBlockBox extends KnuthBox
INFINITE| Constructor and Description |
|---|
KnuthBlockBox(int width,
List list,
Position pos,
boolean auxiliary)
Creates a new box.
|
KnuthBlockBox(int width,
List list,
Position pos,
boolean auxiliary,
List<FloatContentLayoutManager> fclms) |
KnuthBlockBox(int width,
MinOptMax range,
int bpdim,
Position pos,
boolean auxiliary)
Creates a new box.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addElementList(List 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.
|
List |
getElementLists()
Returns the list of Knuth sequences registered by this box.
|
List<FloatContentLayoutManager> |
getFloatContentLMs() |
List<FootnoteBodyLayoutManager> |
getFootnoteBodyLMs() |
MinOptMax |
getIPDRange() |
boolean |
hasAnchors() |
boolean |
hasFloatAnchors() |
getPenalty, getShrink, getStretch, getWidth, isAuxiliary, isUnresolvedElementgetLayoutManager, getPosition, isForcedBreak, isGlue, isPenalty, setPositionpublic KnuthBlockBox(int width,
MinOptMax range,
int bpdim,
Position pos,
boolean auxiliary)
width - 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 boxauxiliary - is this box auxiliary?public KnuthBlockBox(int width,
List list,
Position pos,
boolean auxiliary)
width - block progression dimension of this boxlist - footnotes cited by elements in this box. The list contains the corresponding
FootnoteBodyLayoutManagerspos - the Position stored in this boxauxiliary - is this box auxiliary?public KnuthBlockBox(int width,
List list,
Position pos,
boolean auxiliary,
List<FloatContentLayoutManager> fclms)
public List<FootnoteBodyLayoutManager> getFootnoteBodyLMs()
public boolean hasAnchors()
public void addElementList(List list)
list - elements corresponding to a footnote bodypublic List getElementLists()
public MinOptMax getIPDRange()
public int getBPD()
public List<FloatContentLayoutManager> getFloatContentLMs()
public boolean hasFloatAnchors()
Copyright © 2023 Apache Software Foundation. All rights reserved.