Package com.teamten.typeset.element
Class Footnote
java.lang.Object
com.teamten.typeset.element.Element
com.teamten.typeset.element.NonDiscardableElement
com.teamten.typeset.element.Box
com.teamten.typeset.element.VBox
com.teamten.typeset.element.Footnote
- All Implemented Interfaces:
Dimensions
Represents a footnote that will be displayed at the bottom of the page.
-
Field Summary
FieldsFields inherited from class com.teamten.typeset.element.Element
DRAW_DEBUG -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Footnotecreate(HBox mark, Block block, Config config, FontManager fontManager, Bookmarks bookmarks, Sections sections, HyphenDictionary hyphenDictionary) longGet the distance between baselines in this footnote.longGet the height of the first HBox in this footnote.longGet the depth of the last HBox in this footnote.Methods inherited from class com.teamten.typeset.element.VBox
fixed, getElements, layOut, layOutHorizontally, layOutVertically, println, visitMethods inherited from class com.teamten.typeset.element.Box
drawDebugRectangle, getDepth, getDimensionString, getHeight, getShift, getWidth, toStringMethods inherited from class com.teamten.typeset.element.Element
getVerticalSize, println, shouldSkipElementAtStart, toTextString, toTextString
-
Field Details
-
FOOTNOTE_FONT_SCALE
public static final double FOOTNOTE_FONT_SCALE- See Also:
-
-
Method Details
-
getBaselineSkip
public long getBaselineSkip()Get the distance between baselines in this footnote. -
getFirstHBoxHeight
public long getFirstHBoxHeight()Get the height of the first HBox in this footnote. -
getLastHBoxDepth
public long getLastHBoxDepth()Get the depth of the last HBox in this footnote. -
create
@NotNull public static @NotNull Footnote create(HBox mark, Block block, Config config, FontManager fontManager, Bookmarks bookmarks, Sections sections, HyphenDictionary hyphenDictionary) throws IOException - Throws:
IOException
-