Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractDimensions - Class in com.teamten.typeset
-
Simple class that implements the Dimensions interface.
- AbstractDimensions(long, long, long) - Constructor for class com.teamten.typeset.AbstractDimensions
- AbstractFont - Class in com.teamten.font
-
Parent of real font classes, with stub methods.
- AbstractFont() - Constructor for class com.teamten.font.AbstractFont
-
An abstract font with no ligature support.
- AbstractFont(Ligatures) - Constructor for class com.teamten.font.AbstractFont
-
An abstract font with ligature support.
- add(Config.Key, String) - Method in class com.teamten.typeset.Config
-
Parses the value appropriately for the key type and adds it to the configuration.
- add(Flexibility) - Method in class com.teamten.typeset.element.TotalFlexibility
- add(IndexEntry) - Method in class com.teamten.typeset.IndexEntries
-
Adds an entry to the set.
- add(List<Block>, int) - Method in class com.teamten.typeset.IndexEntries
-
Add an entry by a list of text (entry, sub-entry, etc.) and page number.
- addBlock(Block) - Method in class com.teamten.markdown.Block.Builder
-
Add a whole block to this block.
- addBlock(Block) - Method in class com.teamten.markdown.Doc
-
Add a block (paragraph) to this document.
- addDistance(Config.Key, long) - Method in class com.teamten.typeset.Config
-
Adds a distance value to the configuration.
- addElement(Element) - Method in class com.teamten.typeset.ElementList
- addElement(Element) - Method in interface com.teamten.typeset.ElementSink
-
Add one Element to the receiver.
- addElement(Element) - Method in class com.teamten.typeset.VerticalList
-
Override this so that we can insert glues between lines to create an even baseline skip.
- addEndOfParagraph() - Method in class com.teamten.typeset.HorizontalList
-
Adds the necessary glue and penalty to end a paragraph.
- addFont(Config.Key, TypefaceVariantSize) - Method in class com.teamten.typeset.Config
-
Adds a font value to the configuration.
- addMetadata(String, String) - Method in class com.teamten.markdown.Doc
-
Add a key/value pair to the document's metadata.
- addPage(int) - Method in class com.teamten.typeset.IndexEntry
-
Add the specified page number to our set.
- addPagesToPdf(List<Page>, Config, Sections, FontManager, PDDocument) - Method in class com.teamten.typeset.Typesetter
-
Send each page (with the given size) to the PDF.
- addPageToPdf(Page, Config, Sections, FontManager, PDDocument) - Method in class com.teamten.typeset.Typesetter
-
Add the VBox as a page to the PDF.
- addSpan(Span) - Method in class com.teamten.markdown.Block
- addSpan(Span) - Method in class com.teamten.markdown.Block.Builder
-
Add any span to this block.
- addString(Config.Key, String) - Method in class com.teamten.typeset.Config
-
Adds a string value to the configuration.
- addText(char, FontVariantFlags) - Method in class com.teamten.markdown.Block.Builder
-
Add the character to the block.
- addText(String) - Method in class com.teamten.markdown.Block.Builder
-
Add a plain string (no markup).
- addText(String, SizedFont, HyphenDictionary) - Method in class com.teamten.typeset.HorizontalList
-
Add the specified text, in the specified font, to the horizontal list.
- addText(String, FontVariantFlags) - Method in class com.teamten.markdown.Block.Builder
-
Add a string.
- addTextSpan(TextSpan, FontPack, HyphenDictionary) - Method in class com.teamten.typeset.HorizontalList
-
Add the text span to the horizontal list, properly picking the font.
- addTypeface(Config.Key, Typeface) - Method in class com.teamten.typeset.Config
-
Adds a typeface value to the configuration.
- addVerticalListToPdf(VerticalList, Config, Sections, FontManager, PDDocument) - Method in class com.teamten.typeset.Typesetter
-
Adds the entire vertical list to the PDF, by first breaking it into pages and then adding the pages to the PDF.
- ALEGREYA - Enum constant in enum class com.teamten.font.Typeface
-
https://fonts.google.com/specimen/Alegreya
- ALEGREYA_ITALIC - Enum constant in enum class com.teamten.font.FontName
- ALEGREYA_REGULAR - Enum constant in enum class com.teamten.font.FontName
- ALEGREYA_SMALL_CAPS - Enum constant in enum class com.teamten.font.FontName
- appendedWith(Text) - Method in class com.teamten.typeset.element.Text
-
Returns a new Text object, the text of which is the concatenation of this text and the other text.
- AUTHOR - Enum constant in enum class com.teamten.typeset.Config.Key
B
- Block - Class in com.teamten.markdown
-
A block is a paragraph (similar to a block in HTML DOM).
- Block(BlockType, int, int, boolean) - Constructor for class com.teamten.markdown.Block
- BLOCK_QUOTE - Enum constant in enum class com.teamten.markdown.BlockType
- BLOCK_QUOTE_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- Block.Builder - Class in com.teamten.markdown
-
Builds a Block one character at a time.
- BlockType - Enum Class in com.teamten.markdown
-
Describes the type of the block (body, header).
- BODY - Enum constant in enum class com.teamten.markdown.BlockType
- BODY_CODE_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- BODY_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- bodyBlock(String, boolean) - Static method in class com.teamten.markdown.Block
-
Make a plain body block from a string.
- BOLD - Enum constant in enum class com.teamten.font.FontVariant
- BOLD_ITALIC - Enum constant in enum class com.teamten.font.FontVariant
- Bookmark - Class in com.teamten.typeset.element
-
Parent of all bookmark elements, which keep track of where certain items (like chapter titles and index entries) are.
- Bookmark() - Constructor for class com.teamten.typeset.element.Bookmark
- Bookmarks - Class in com.teamten.typeset
-
Keeps track of a set of bookmarks and which physical page they're on.
- BOTTOM - Enum constant in enum class com.teamten.typeset.VerticalAlignment
-
The baseline is at the bottom of the last element.
- Box - Class in com.teamten.typeset.element
-
Represents a 2D box of something, like a word or an image.
- Box(long, long, long) - Constructor for class com.teamten.typeset.element.Box
- Box(long, long, long, long) - Constructor for class com.teamten.typeset.element.Box
- Box(Dimensions) - Constructor for class com.teamten.typeset.element.Box
- Box(Dimensions, long) - Constructor for class com.teamten.typeset.element.Box
- breakUpInto(Collection<Element>) - Method in class com.teamten.typeset.element.Text
-
Add one Text object for each character in this object.
- build() - Method in class com.teamten.markdown.Block.Builder
-
Builds the block and returns it.
- Builder(BlockType, int, boolean) - Constructor for class com.teamten.markdown.Block.Builder
- BULLET_LIST - Enum constant in enum class com.teamten.markdown.BlockType
C
- CAPTION - Enum constant in enum class com.teamten.markdown.BlockType
- CAPTION_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- centered() - Static method in class com.teamten.typeset.HorizontalList
-
Create a new object that's centered.
- centered(Element, long) - Static method in class com.teamten.typeset.element.HBox
-
Make a new HBox with the content centered in a box of the specified width.
- centeredLine(long) - Static method in class com.teamten.typeset.HorizontalList
-
Make a centered thin horizontal divider line, ready to be formatted into a vertical list.
- changeColumnLayout(ColumnLayout) - Method in class com.teamten.typeset.VerticalList
-
Specify that there should be a new column layout after the last-inserted element.
- CHAPTER - Enum constant in enum class com.teamten.typeset.element.SectionBookmark.Type
- CHAPTER_HEADER - Enum constant in enum class com.teamten.markdown.BlockType
- CHAPTER_HEADER_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- Chunk - Class in com.teamten.typeset
-
Represents a sequence of elements being considered for fitting into a space, either horizontally into a line or vertically into a page.
- Chunk.ElementSizer - Interface in com.teamten.typeset
-
Functional interface for getting the size of an element.
- CM - Enum constant in enum class com.teamten.typeset.SpaceUnit
-
Centimeter.
- CODE - Enum constant in enum class com.teamten.markdown.BlockType
- CODE_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- COLOPHON - Enum constant in enum class com.teamten.typeset.Config.Key
- ColumnLayout - Class in com.teamten.typeset
-
Describes the number and sizes of columns.
- ColumnLayout(int, long, long) - Constructor for class com.teamten.typeset.ColumnLayout
-
Create a new column layout.
- Columns - Class in com.teamten.typeset.element
-
A horizontal box that contains multiple vertical columns.
- ColumnVerticalList - Class in com.teamten.typeset
-
A vertical list of elements that will get broken into columns.
- ColumnVerticalList() - Constructor for class com.teamten.typeset.ColumnVerticalList
- com.teamten.font - package com.teamten.font
- com.teamten.hyphen - package com.teamten.hyphen
- com.teamten.markdown - package com.teamten.markdown
- com.teamten.tex - package com.teamten.tex
- com.teamten.typeset - package com.teamten.typeset
- com.teamten.typeset.element - package com.teamten.typeset.element
- compareTo(IndexEntry) - Method in class com.teamten.typeset.IndexEntry
- computeBadness() - Method in class com.teamten.typeset.Chunk
-
Given what we found about this line or page, compute the badness, which basically tells us how much we had to stretch or shrink.
- computeStartIndices(List<ElementList.Breakpoint>) - Method in class com.teamten.typeset.ElementList
-
For each possible breakpoint, figure out the next displayed element (after the breakpoint).
- Config - Class in com.teamten.typeset
-
Stores all the configuration metadata about the book.
- Config() - Constructor for class com.teamten.typeset.Config
- Config.Key - Enum Class in com.teamten.typeset
-
Various keys that can be used in this configuration.
- configureFromBookmarks(Bookmarks) - Method in class com.teamten.typeset.Sections
-
Look through the bookmarks to figure out where the body starts and, for any given page, what part and chapter it's in.
- containsRightToLeftText() - Method in class com.teamten.typeset.element.Text
-
Whether any character in the text is right-to-left.
- COPYRIGHT - Enum constant in enum class com.teamten.typeset.Config.Key
- COPYRIGHT_PAGE - Enum constant in enum class com.teamten.markdown.BlockType
- COPYRIGHT_PAGE - Enum constant in enum class com.teamten.typeset.element.SectionBookmark.Type
- COPYRIGHT_PAGE_COLOPHON_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- COPYRIGHT_PAGE_COPYRIGHT_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- COURIER_NEW - Enum constant in enum class com.teamten.font.FontName
- COURIER_NEW - Enum constant in enum class com.teamten.font.Typeface
- COURIER_NEW_BOLD - Enum constant in enum class com.teamten.font.FontName
- COURIER_NEW_BOLD_ITALIC - Enum constant in enum class com.teamten.font.FontName
- COURIER_NEW_ITALIC - Enum constant in enum class com.teamten.font.FontName
- create(FontManager, TypefaceVariantSize, TypefaceVariantSize) - Static method in class com.teamten.font.FontPack
-
Create a font pack from a description of the regular font and the code font.
- create(SizedFont, double, double) - Static method in class com.teamten.font.TrackingFont
-
Utility method to create a SizedFont incorporating the TrackingFont and the same size.
- create(HBox, Block, Config, FontManager, Bookmarks, Sections, HyphenDictionary) - Static method in class com.teamten.typeset.element.Footnote
- create(List<Element>, long, long, boolean, boolean, Chunk.ElementSizer) - Static method in class com.teamten.typeset.Chunk
-
Create a new Chunk object given a list of elements and a size they must fit into.
- create(List<Element>, ColumnLayout) - Static method in class com.teamten.typeset.element.Columns
D
- Dimensions - Interface in com.teamten.typeset
-
Interface for anything that has width, height, and depth.
- DiscardableElement - Class in com.teamten.typeset.element
-
Represents an element that should be discarded at the start of a line.
- DiscardableElement() - Constructor for class com.teamten.typeset.element.DiscardableElement
- Discretionary - Class in com.teamten.typeset.element
-
Represents a discretionary line break, storing both the split and unsplit versions of the text.
- Discretionary(HBox, HBox, HBox, int) - Constructor for class com.teamten.typeset.element.Discretionary
- Doc - Class in com.teamten.markdown
-
Describes a whole document, namely the header and the blocks.
- Doc() - Constructor for class com.teamten.markdown.Doc
- draw(String, double, long, long, PDPageContentStream) - Method in class com.teamten.font.DummyFont
- draw(String, double, long, long, PDPageContentStream) - Method in class com.teamten.font.FailoverFont
- draw(String, double, long, long, PDPageContentStream) - Method in interface com.teamten.font.Font
-
Draw the text.
- draw(String, double, long, long, PDPageContentStream) - Method in class com.teamten.font.PdfBoxFont
- draw(String, double, long, long, PDPageContentStream) - Method in class com.teamten.font.SmallCapsFont
- draw(String, double, long, long, PDPageContentStream) - Method in class com.teamten.font.TrackingFont
- draw(String, long, long, PDPageContentStream) - Method in class com.teamten.font.SizedFont
-
Draw the text.
- DRAW_DEBUG - Variable in class com.teamten.typeset.element.Element
- drawDebugRectangle(PDPageContentStream, long, long) - Method in class com.teamten.typeset.element.Box
-
Draw a debug rectangle at specified point, which represents the left-most point at the baseline.
- drawDebugRectangle(PDPageContentStream, long, long, long, long) - Static method in class com.teamten.typeset.PdfUtil
-
Draw a light gray rectangle at the specified scaled point coordinates.
- drawHeadline(Page, Config, Sections, FontManager, PDPageContentStream) - Method in class com.teamten.typeset.Typesetter
-
Draw the headline (page number of part or chapter title) at the top of the page.
- drawSolidRectangle(PDPageContentStream, long, long, long, long) - Static method in class com.teamten.typeset.PdfUtil
-
Draw a solid black rectangle at the specified scaled point coordinates.
- DummyFont - Class in com.teamten.font
-
A font for testing.
- DummyFont(Ligatures) - Constructor for class com.teamten.font.DummyFont
-
Dummy font with reasonable sizes.
- DummyFont(Ligatures, long, long, long) - Constructor for class com.teamten.font.DummyFont
E
- ejectPage() - Method in class com.teamten.typeset.VerticalList
-
Add infinite vertical glue and force a page break.
- Element - Class in com.teamten.typeset.element
-
An element that can be stacked horizontally to make a line or vertically to make a page.
- Element() - Constructor for class com.teamten.typeset.element.Element
- ElementList - Class in com.teamten.typeset
-
Accumulates elements in a list, then finds the best place to break that list to make either lines or pages.
- ElementList() - Constructor for class com.teamten.typeset.ElementList
- ElementList.Breakpoint - Class in com.teamten.typeset
-
Keeps track of possible breakpoints in our paragraph or page, their penalty, and their effects on the whole paragraph or page.
- ElementSink - Interface in com.teamten.typeset
-
Receives Element objects one at a time.
- empty() - Static method in class com.teamten.typeset.Bookmarks
- entries() - Method in class com.teamten.typeset.Bookmarks
-
Get a set of bookmark entries, where the key is the physical page number and the value is the bookmark
- equals(Object) - Method in class com.teamten.font.SizedFont
- equals(Object) - Method in class com.teamten.font.TypefaceVariant
- equals(Object) - Method in class com.teamten.font.TypefaceVariantSize
- equals(Object) - Method in class com.teamten.markdown.Block
- equals(Object) - Method in class com.teamten.markdown.FontVariantFlags
- equals(Object) - Method in class com.teamten.markdown.TextSpan
- equals(Object) - Method in class com.teamten.typeset.Bookmarks
- equals(Object) - Method in class com.teamten.typeset.ColumnLayout
- equals(Object) - Method in class com.teamten.typeset.element.Discretionary
- equals(Object) - Method in class com.teamten.typeset.element.HBox
- equals(Object) - Method in class com.teamten.typeset.element.LabelBookmark
- equals(Object) - Method in class com.teamten.typeset.element.SectionBookmark
- equals(Object) - Method in class com.teamten.typeset.element.Text
- equals(Object) - Method in class com.teamten.typeset.IndexBookmark
F
- FailoverFont - Class in com.teamten.font
-
Font that has a primary font and a fallback font.
- FailoverFont(Font, Font) - Constructor for class com.teamten.font.FailoverFont
- FALLBACK_TYPEFACE - Enum constant in enum class com.teamten.typeset.Config.Key
- fillWithDefaults() - Method in class com.teamten.typeset.Config
-
Fill the configuration with default values so that each document doesn't have to define them all.
- findBreakpoints() - Method in class com.teamten.typeset.ElementList
-
Find all the places that we could break a line or page.
- FIRST_BOX - Enum constant in enum class com.teamten.typeset.VerticalAlignment
-
The baseline matches that of the first (top-most) box.
- fixed() - Method in class com.teamten.typeset.Chunk
-
Returns a copy of the element list but with the flexible element fixed so that all the elements will fit properly in the size that was specified when this object was created.
- fixed(long) - Method in class com.teamten.typeset.element.Columns
- fixed(long) - Method in interface com.teamten.typeset.element.Flexible
-
Fix the element to the specified size.
- fixed(long) - Method in class com.teamten.typeset.element.Glue
- fixed(long) - Method in class com.teamten.typeset.element.Leader
- fixed(long) - Static method in class com.teamten.typeset.OutputShape
-
Homogeneous output shape with no indent.
- fixed(long, VerticalAlignment) - Method in class com.teamten.typeset.element.VBox
-
Return a new VBox with all the elements stretches or shrunk to be
newSize
. - Flexibility - Class in com.teamten.typeset.element
-
Represents an amount by which a flexible element can stretch or shrink.
- Flexibility(long, boolean) - Constructor for class com.teamten.typeset.element.Flexibility
- Flexible - Interface in com.teamten.typeset.element
-
Interface for elements that can stretch or shrink.
- Font - Interface in com.teamten.font
-
Interface for a font in our system.
- Font.Metrics - Class in com.teamten.font
-
The metrics for a character or text, in scaled points.
- FontManager - Class in com.teamten.font
-
Loads and manages fonts.
- FontManager(Config, Function<TypefaceVariant, Font>) - Constructor for class com.teamten.font.FontManager
-
A font manager that creates new fonts from the specified font loader.
- FontName - Enum Class in com.teamten.font
-
Represents the individual fonts that we know about and where to find them.
- FontPack - Class in com.teamten.font
-
A collection of fonts for a paragraph.
- FontVariant - Enum Class in com.teamten.font
-
Describes the various variants of a typeface (regular, bold, etc.).
- FontVariantFlags - Class in com.teamten.markdown
-
Like the
FontVariant
class, but as a set of flags that can be built up in a parser. - Footnote - Class in com.teamten.typeset.element
-
Represents a footnote that will be displayed at the bottom of the page.
- FOOTNOTE_FONT_SCALE - Static variable in class com.teamten.typeset.element.Footnote
- FOOTNOTE_NUMBER_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- FOOTNOTE_SHIFT - Enum constant in enum class com.teamten.typeset.Config.Key
- FootnoteSpan - Class in com.teamten.markdown
-
Stores a footnote.
- FootnoteSpan(Block) - Constructor for class com.teamten.markdown.FootnoteSpan
- forBlock(Block, Block, Config, FontManager) - Static method in class com.teamten.typeset.ParagraphStyle
- forChar(int) - Static method in enum class com.teamten.typeset.element.Text.CharacterDirection
-
Return the direction for the character.
- format(ElementSink, long) - Method in class com.teamten.typeset.ElementList
-
Format the list and add the elements to the sink.
- format(ElementSink, OutputShape) - Method in class com.teamten.typeset.ElementList
-
Format the list and add the elements to the sink.
- formatIntoColumns(ColumnLayout) - Method in class com.teamten.typeset.ColumnVerticalList
-
Takes the list of elements in the vertical list and breaks them into equal-sized columns.
- fromBarSeparatedEntries(String) - Static method in class com.teamten.markdown.IndexSpan
-
Create an index span from a single string, where the entries are separated by bars (|).
- fromBodyWidth(int, long, long) - Static method in class com.teamten.typeset.ColumnLayout
-
Create a multi-column layout from the specified body width and margin.
- fromCharacter(int) - Static method in class com.teamten.tex.Token
-
Return the pseudo-codepoint for the character command.
- fromHeader(String) - Static method in enum class com.teamten.typeset.Config.Key
-
The string key is converted to upper case, and hyphens are converted to underscores.
- fromKeyword(String) - Static method in class com.teamten.tex.Token
-
Return the pseudo-codepoint for the keyword, or -1 if not found.
- fromPages(List<Page>) - Static method in class com.teamten.typeset.Bookmarks
- fromResource(String) - Static method in class com.teamten.hyphen.HyphenDictionary
-
Reads a .dic file from a resource.
- fromSp(double) - Method in enum class com.teamten.typeset.SpaceUnit
-
Convert from SP to this unit.
- fromSpAsFloat(double) - Method in enum class com.teamten.typeset.SpaceUnit
-
Convert from SP to this unit.
G
- get(FontVariant) - Method in enum class com.teamten.font.Typeface
-
Return the font name for this variant, or null if the typeface does not define one.
- get(Typeface, FontVariant) - Method in class com.teamten.font.FontManager
-
Utility method that calls
FontManager.get(TypefaceVariant)
with a newTypefaceVariant
object created from the two parameters. - get(Typeface, FontVariant, double) - Method in class com.teamten.font.FontManager
-
Utility method that calls
FontManager.get(TypefaceVariantSize)
with a newTypefaceVariant
object created from the two parameters. - get(TypefaceVariant) - Method in class com.teamten.font.FontManager
-
Fetches a font.
- get(TypefaceVariantSize) - Method in class com.teamten.font.FontManager
-
Fetches a font, returning the font and size together.
- getAmount() - Method in class com.teamten.typeset.element.Flexibility
-
Amount by which we can stretch or shrink.
- getAmount() - Method in class com.teamten.typeset.element.Kern
-
The amount to adjust.
- getAmount() - Method in class com.teamten.typeset.element.TotalFlexibility
-
The expandability, where any finite amount trumps the finite one.
- getBaselineSkip() - Method in class com.teamten.typeset.element.Footnote
-
Get the distance between baselines in this footnote.
- getBaselineSkip() - Method in class com.teamten.typeset.VerticalList
-
Get the distance between baselines.
- getBlock() - Method in class com.teamten.markdown.FootnoteSpan
- getBlock() - Method in class com.teamten.markdown.ShortenedSpan
- getBlocks() - Method in class com.teamten.markdown.Doc
-
Return an iterable of all the blocks in this document.
- getBlockType() - Method in class com.teamten.markdown.Block.Builder
- getBlockType() - Method in class com.teamten.markdown.Block
- getBodyHeight() - Method in class com.teamten.typeset.Config
-
The height of the text on the page.
- getBodyWidth() - Method in class com.teamten.typeset.Config
-
The width of the text on the page.
- getBoldFont() - Method in class com.teamten.font.FontPack
- getBoldItalicFont() - Method in class com.teamten.font.FontPack
- getCaption() - Method in class com.teamten.markdown.ImageSpan
-
The caption as a block, or an empty string if none was specified.
- getCaption() - Method in class com.teamten.typeset.element.Image
-
The caption as a box, or null if there's no caption.
- getCategory() - Method in class com.teamten.typeset.IndexEntry
-
Get the category for this index.
- getCharacterDirection() - Method in class com.teamten.typeset.element.Text
-
Return the character direction of the Text.
- getCharacterMetrics(int) - Method in class com.teamten.font.SizedFont
-
Return the size of a code point in the specified font size.
- getCharacterMetrics(int, double) - Method in class com.teamten.font.DummyFont
- getCharacterMetrics(int, double) - Method in class com.teamten.font.FailoverFont
- getCharacterMetrics(int, double) - Method in interface com.teamten.font.Font
-
Return the size of a code point in the specified font size.
- getCharacterMetrics(int, double) - Method in class com.teamten.font.PdfBoxFont
-
Return the size of a code point in the specified font size.
- getCharacterMetrics(int, double) - Method in class com.teamten.font.SmallCapsFont
- getCharacterMetrics(int, double) - Method in class com.teamten.font.TrackingFont
- getChunk() - Method in class com.teamten.typeset.ElementList.Breakpoint
-
The chunk of the line or page ending at this breakpoint.
- getChunkExtraIncrement(Chunk) - Method in class com.teamten.typeset.ColumnVerticalList
- getChunkExtraIncrement(Chunk) - Method in class com.teamten.typeset.ElementList
-
When generating breakpoints, if there are images and other things in a chunk, we must adjust the counter if those images will take up space (such as a space).
- getChunkExtraIncrement(Chunk) - Method in class com.teamten.typeset.HorizontalList
- getChunkExtraIncrement(Chunk) - Method in class com.teamten.typeset.VerticalList
- getCodeFont() - Method in class com.teamten.font.FontPack
- getColumnCount() - Method in class com.teamten.typeset.ColumnLayout
- getColumnWidth() - Method in class com.teamten.typeset.ColumnLayout
- getCounter() - Method in class com.teamten.markdown.Block
-
Get the counter for numbered lists.
- getCounter() - Method in class com.teamten.typeset.ElementList.Breakpoint
-
Generic counter, used for line number or physical page number.
- getDepth() - Method in class com.teamten.typeset.AbstractDimensions
- getDepth() - Method in interface com.teamten.typeset.Dimensions
-
The distance between the baseline and the bottom of the object in scaled points.
- getDepth() - Method in class com.teamten.typeset.element.Bookmark
- getDepth() - Method in class com.teamten.typeset.element.Box
-
The distance from the baseline to the bottom of the box.
- getDepth() - Method in class com.teamten.typeset.element.Discretionary
- getDepth() - Method in class com.teamten.typeset.element.Element
-
Return the depth (below the baseline) of the element.
- getDepth() - Method in class com.teamten.typeset.element.Glue
- getDepth() - Method in class com.teamten.typeset.element.Kern
- getDepth() - Method in class com.teamten.typeset.element.Penalty
- getDimensionString() - Method in class com.teamten.typeset.element.Box
-
A string that specifies the three dimensions of the box.
- getDistance(Config.Key) - Method in class com.teamten.typeset.Config
-
Gets the distance value for the key in scaled units, or throws if not in the configuration.
- getElements() - Method in class com.teamten.typeset.element.HBox
-
Do not modify this list.
- getElements() - Method in class com.teamten.typeset.element.VBox
- getElements() - Method in class com.teamten.typeset.ElementList
- getElementSize(Element) - Method in interface com.teamten.typeset.Chunk.ElementSizer
-
Returns the size of the element in the appropriate dimension, depending on how this Chunk is being computed.
- getElementSize(Element) - Method in class com.teamten.typeset.ColumnVerticalList
- getElementSize(Element) - Method in class com.teamten.typeset.ElementList
-
Return the size (width for horizontal lists, height + depth for vertical lists) of the element.
- getElementSize(Element) - Method in class com.teamten.typeset.HorizontalList
- getElementSize(Element) - Method in class com.teamten.typeset.VerticalList
- getElementSublist(ElementList.Breakpoint, ElementList.Breakpoint) - Method in class com.teamten.typeset.ColumnVerticalList
- getElementSublist(ElementList.Breakpoint, ElementList.Breakpoint) - Method in class com.teamten.typeset.ElementList
-
Return the list of elements on this line or page.
- getElementSublist(ElementList.Breakpoint, ElementList.Breakpoint) - Method in class com.teamten.typeset.HorizontalList
-
Return the list of elements on this line, from beginBreakpoint (inclusive) to endBreakpoint (inclusive only if it's a discretionary element).
- getElementSublist(ElementList.Breakpoint, ElementList.Breakpoint) - Method in class com.teamten.typeset.VerticalList
-
Return the list of elements on this page, from beginBreakpoint (inclusive) to endBreakpoint (exclusive).
- getEntries() - Method in class com.teamten.markdown.IndexSpan
-
Return the entries, where the first entry is the primary one, the second is the subentry, etc.
- getEntries() - Method in class com.teamten.typeset.IndexBookmark
- getEntries() - Method in class com.teamten.typeset.IndexEntries
-
Return a sorted list of index entries.
- getExtraSpace() - Method in class com.teamten.typeset.Chunk
- getFile() - Method in enum class com.teamten.font.FontName
- getFirstHBoxHeight() - Method in class com.teamten.typeset.element.Footnote
-
Get the height of the first HBox in this footnote.
- getFirstHBoxHeight() - Method in class com.teamten.typeset.VerticalList
-
Get the height of the first HBox we saw.
- getFirstLineIndent() - Method in class com.teamten.typeset.ParagraphStyle
-
Indent for the first line.
- getFlags() - Method in class com.teamten.markdown.PageRefSpan
- getFlags() - Method in class com.teamten.markdown.TextSpan
- getFont() - Method in class com.teamten.font.SizedFont
-
The font.
- getFont() - Method in class com.teamten.typeset.element.Text
-
The font the text should be displayed in.
- getFont(Config.Key) - Method in class com.teamten.typeset.Config
-
Gets the font value for the key, or null if not in the configuration.
- getFontName() - Method in class com.teamten.font.TypefaceVariant
-
Utility method that gets the
FontName
from the typeface for the font variant. - getFontPack() - Method in class com.teamten.typeset.ParagraphStyle
-
The font pack for this paragraph.
- getFontVariant() - Method in class com.teamten.font.TypefaceVariant
- getFootnoteCount() - Method in class com.teamten.typeset.HorizontalList
-
Get the number of footnotes in this horizontal list.
- getFootnotes() - Method in class com.teamten.typeset.Chunk
-
The list of footnotes that were extracted from the original list of elements.
- getHeadlineLabel(int, Config) - Method in class com.teamten.typeset.Sections
-
Return the string to display at the top center of the page.
- getHeight() - Method in class com.teamten.typeset.AbstractDimensions
- getHeight() - Method in interface com.teamten.typeset.Dimensions
-
The distance between the baseline and the top of the object in scaled points.
- getHeight() - Method in class com.teamten.typeset.element.Bookmark
- getHeight() - Method in class com.teamten.typeset.element.Box
-
The distance from the baseline to the top of the box.
- getHeight() - Method in class com.teamten.typeset.element.Discretionary
- getHeight() - Method in class com.teamten.typeset.element.Element
-
Return the height (above the baseline) of the element.
- getHeight() - Method in class com.teamten.typeset.element.Glue
- getHeight() - Method in class com.teamten.typeset.element.Kern
- getHeight() - Method in class com.teamten.typeset.element.Penalty
- getImages() - Method in class com.teamten.typeset.Chunk
-
The list of images that were extracted from the original list of elements.
- getIndent(int) - Method in class com.teamten.typeset.OutputShape
-
Get the indent for the specified (1-based) line or page.
- getIndex() - Method in class com.teamten.typeset.ElementList.Breakpoint
-
The index into the mElements array where this break would happen.
- getIndexParagraph(Sections) - Method in class com.teamten.typeset.IndexEntry
-
Get the full paragraph to display for this entry in the index.
- getItalicFont() - Method in class com.teamten.font.FontPack
- getKerning(int, int) - Method in class com.teamten.font.SizedFont
-
Get the kerning between the two code points.
- getKerning(int, int, double) - Method in class com.teamten.font.AbstractFont
- getKerning(int, int, double) - Method in interface com.teamten.font.Font
-
Get the kerning between the two code points.
- getKerning(int, int, double) - Method in class com.teamten.font.PdfBoxFont
-
Get the kerning between the two code points.
- getKerning(int, int, double) - Method in class com.teamten.font.SmallCapsFont
- getKerning(int, int, double) - Method in class com.teamten.font.TrackingFont
- getKeyType() - Method in enum class com.teamten.typeset.Config.Key
-
Specifies what kind of key this is (string, font, or distance).
- getLastHBoxDepth() - Method in class com.teamten.typeset.element.Footnote
-
Get the depth of the last HBox in this footnote.
- getLastHBoxDepth() - Method in class com.teamten.typeset.VerticalList
-
Get the depth of the most recent HBox we've seen.
- getLastWord() - Method in class com.teamten.markdown.SectionName
- getLeading() - Method in class com.teamten.typeset.ParagraphStyle
-
The leading for paragraph lines.
- getLineNumber() - Method in class com.teamten.markdown.Block
-
Get line in source where this block started.
- getMargin() - Method in class com.teamten.typeset.ColumnLayout
- getMarginBottom() - Method in class com.teamten.typeset.ParagraphStyle
-
The margin below the paragraph.
- getMarginLeft() - Method in class com.teamten.typeset.ParagraphStyle
-
The margin to the left of the paragraph, in addition to the various indents.
- getMarginRight() - Method in class com.teamten.typeset.ParagraphStyle
-
The margin to the right of the paragraph, in addition to the various indents.
- getMarginTop() - Method in class com.teamten.typeset.ParagraphStyle
-
The margin above the paragraph.
- getMetadata() - Method in class com.teamten.markdown.Doc
-
Return an unordered iterable over the document's metadata.
- getMulti() - Method in class com.teamten.typeset.Ligature
-
The multi-character version of the ligature (e.g., "fi").
- getName() - Method in class com.teamten.markdown.LabelSpan
- getName() - Method in class com.teamten.markdown.PageRefSpan
- getName() - Method in class com.teamten.typeset.element.LabelBookmark
- getName() - Method in class com.teamten.typeset.element.SectionBookmark
- getNoBreak() - Method in class com.teamten.typeset.element.Discretionary
- getOnlyString() - Method in class com.teamten.typeset.element.HBox
-
If the HBox contains only one element, and this element is a Text, then returns the text of this Text.
- getPageHeight() - Method in class com.teamten.typeset.Config
-
Gets the page height in scaled points from
Config.Key.PAGE_HEIGHT
. - getPageMarginBottom() - Method in class com.teamten.typeset.Config
-
Gets the page bottom margin in scaled points from
Config.Key.PAGE_MARGIN_BOTTOM
. - getPageMarginInner() - Method in class com.teamten.typeset.Config
-
Gets the page inner margin in scaled points from
Config.Key.PAGE_MARGIN_INNER
. - getPageMarginOuter() - Method in class com.teamten.typeset.Config
-
Gets the page outer margin in scaled points from
Config.Key.PAGE_MARGIN_OUTER
. - getPageMarginTop() - Method in class com.teamten.typeset.Config
-
Gets the page top margin in scaled points from
Config.Key.PAGE_MARGIN_TOP
. - getPageNumberLabel(int) - Method in class com.teamten.typeset.Sections
-
Returns the displayed page number label for the physical page number.
- getPageWidth() - Method in class com.teamten.typeset.Config
-
Gets the page width in scaled points from
Config.Key.PAGE_WIDTH
. - getParagraphIndent() - Method in class com.teamten.typeset.ParagraphStyle
-
Indent size, whether used or not.
- getPathname() - Method in class com.teamten.markdown.ImageSpan
- getPdFont() - Method in class com.teamten.font.PdfBoxFont
-
The PDFont that this font is based on.
- getPenalty() - Method in class com.teamten.typeset.element.Discretionary
- getPenalty() - Method in class com.teamten.typeset.element.Penalty
-
Gets the value of the penalty.
- getPenalty() - Method in class com.teamten.typeset.ElementList.Breakpoint
-
The penalty for breaking here.
- getPhysicalPageNumber() - Method in class com.teamten.typeset.element.Page
- getPhysicalPageNumberForLabel(String) - Method in class com.teamten.typeset.Bookmarks
-
Return the physical page number for a label, or null if not found.
- getPhysicalPageNumbers() - Method in class com.teamten.typeset.IndexEntry
-
Return a sorted list of page numbers for this entry.
- getPostBreak() - Method in class com.teamten.typeset.element.Discretionary
- getPreBreak() - Method in class com.teamten.typeset.element.Discretionary
- getPreviousBreakpoint() - Method in class com.teamten.typeset.ElementList.Breakpoint
-
The previous breakpoint in the paragraph or page assuming we're selected as a breakpoint.
- getRatio() - Method in class com.teamten.typeset.Chunk
- getRegularFont() - Method in class com.teamten.font.FontPack
- getSectionBookmark(int) - Method in class com.teamten.typeset.Sections
-
Gets the section bookmark for the physical page number, or null if that page doesn't start a section.
- getSectionName() - Method in class com.teamten.markdown.Block
-
Return the first section name span in this block, if any.
- getSectionName() - Method in class com.teamten.typeset.element.SectionBookmark
- getShift() - Method in class com.teamten.typeset.element.Box
-
The amount to shift this box, to the right during vertical layout and up during horizontal layout.
- getShortenedName() - Method in class com.teamten.typeset.element.SectionBookmark
- getShortenedText() - Method in class com.teamten.markdown.Block
-
Return the shortened version of the block, if specified using a SHORTENED tag, otherwise the normal block text.
- getShrink() - Method in class com.teamten.typeset.element.Columns
- getShrink() - Method in interface com.teamten.typeset.element.Flexible
-
How much this element can shrink.
- getShrink() - Method in class com.teamten.typeset.element.Glue
- getSingleChar() - Method in class com.teamten.typeset.Ligature
-
The single-character version of the ligature (e.g., "fi"), as a code point.
- getSingleString() - Method in class com.teamten.typeset.Ligature
-
The single-character version of the ligature (e.g., "fi"), as a string.
- getSize() - Method in class com.teamten.font.SizedFont
-
The size in points.
- getSize() - Method in class com.teamten.font.TypefaceVariantSize
-
Get the font size in points.
- getSize() - Method in class com.teamten.typeset.Chunk
- getSize() - Method in class com.teamten.typeset.element.Columns
- getSize() - Method in interface com.teamten.typeset.element.Flexible
-
Get the size of this element in the dimension of its flexibility.
- getSize() - Method in class com.teamten.typeset.element.Glue
- getSize(int) - Method in class com.teamten.typeset.OutputShape
-
Get the size for the specified (1-based) line or page.
- getSmallCapsFont() - Method in class com.teamten.font.FontPack
- getSpaceWidth() - Method in class com.teamten.font.DummyFont
- getSpaceWidth() - Method in class com.teamten.font.FailoverFont
- getSpaceWidth() - Method in interface com.teamten.font.Font
-
The width of a space for a 1pt font, in scaled points.
- getSpaceWidth() - Method in class com.teamten.font.PdfBoxFont
-
The width of a space for a 1pt font, in scaled points.
- getSpaceWidth() - Method in class com.teamten.font.SizedFont
-
The width of a space in scaled points.
- getSpaceWidth() - Method in class com.teamten.font.SmallCapsFont
- getSpaceWidth() - Method in class com.teamten.font.TrackingFont
- getSpans() - Method in class com.teamten.markdown.Block
- getStartIndex() - Method in class com.teamten.typeset.ElementList.Breakpoint
-
The index into mElements where the line would start after this break.
- getStretch() - Method in class com.teamten.typeset.element.Columns
- getStretch() - Method in interface com.teamten.typeset.element.Flexible
-
How much this element can stretch.
- getStretch() - Method in class com.teamten.typeset.element.Glue
- getString(Config.Key) - Method in class com.teamten.typeset.Config
-
Gets the string value for the key, or null if not in the configuration.
- getString(Config.Key, String) - Method in class com.teamten.typeset.Config
-
Gets the string value for the key, or the provided default value if not in the configuration.
- getStringMetrics(String) - Method in class com.teamten.font.SizedFont
-
Get the size of the text in the specified font size.
- getStringMetrics(String, double) - Method in interface com.teamten.font.Font
-
Get the size of the text in the specified font size.
- getSubEntries() - Method in class com.teamten.typeset.IndexEntry
- getSubsequentLinesIndent() - Method in class com.teamten.typeset.ParagraphStyle
-
Indent for all lines but the first.
- getText() - Method in class com.teamten.markdown.Block
-
Return a string version of all text spans.
- getText() - Method in class com.teamten.markdown.TextSpan
- getText() - Method in class com.teamten.typeset.element.Text
-
The text that this element was constructed with.
- getText() - Method in class com.teamten.typeset.IndexEntry
-
Get the text to display in the index.
- getTotalDemerits() - Method in class com.teamten.typeset.ElementList.Breakpoint
-
The demerits of the rest of the paragraph or page starting at this break.
- getType() - Method in class com.teamten.typeset.element.SectionBookmark
- getTypeface() - Method in class com.teamten.font.TypefaceVariant
- getTypeface(Config.Key) - Method in class com.teamten.typeset.Config
-
Gets the typeface value for the key, or null if not in the configuration.
- getVerticalSize() - Method in class com.teamten.typeset.element.Element
-
Convenience method for adding the height and depth.
- getWidth() - Method in class com.teamten.typeset.AbstractDimensions
- getWidth() - Method in interface com.teamten.typeset.Dimensions
-
The width of the object in scaled points.
- getWidth() - Method in class com.teamten.typeset.element.Bookmark
- getWidth() - Method in class com.teamten.typeset.element.Box
-
The width (horizontally) of this box.
- getWidth() - Method in class com.teamten.typeset.element.Discretionary
- getWidth() - Method in class com.teamten.typeset.element.Element
-
Return the width of the element.
- getWidth() - Method in class com.teamten.typeset.element.Glue
- getWidth() - Method in class com.teamten.typeset.element.Kern
- getWidth() - Method in class com.teamten.typeset.element.Penalty
- getWords() - Method in class com.teamten.markdown.SectionName
- Glue - Class in com.teamten.typeset.element
-
Whitespace that has a default width but can be shrunk or stretched.
- Glue(long, long, boolean, long, boolean, boolean) - Constructor for class com.teamten.typeset.element.Glue
-
All units are in scaled points.
- Glue(long, long, long, boolean) - Constructor for class com.teamten.typeset.element.Glue
-
Convenience constructor for non-infinite glue.
- Glue(long, Flexibility, Flexibility, boolean) - Constructor for class com.teamten.typeset.element.Glue
-
All units are in scaled points.
- GLUE - Static variable in class com.teamten.tex.Token
H
- HALF_TITLE_PAGE - Enum constant in enum class com.teamten.markdown.BlockType
- HALF_TITLE_PAGE - Enum constant in enum class com.teamten.typeset.element.SectionBookmark.Type
- HALF_TITLE_PAGE_SUBTITLE_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- HALF_TITLE_PAGE_TITLE_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- hasCharacter(int) - Method in class com.teamten.font.DummyFont
- hasCharacter(int) - Method in class com.teamten.font.FailoverFont
- hasCharacter(int) - Method in interface com.teamten.font.Font
-
Whether this font handles this character.
- hasCharacter(int) - Method in class com.teamten.font.PdfBoxFont
- hasCharacter(int) - Method in class com.teamten.font.SmallCapsFont
- hasCharacter(int) - Method in class com.teamten.font.TrackingFont
- hashCode() - Method in class com.teamten.font.SizedFont
- hashCode() - Method in class com.teamten.font.TypefaceVariant
- hashCode() - Method in class com.teamten.font.TypefaceVariantSize
- hashCode() - Method in class com.teamten.markdown.Block
- hashCode() - Method in class com.teamten.markdown.FontVariantFlags
- hashCode() - Method in class com.teamten.markdown.TextSpan
- hashCode() - Method in class com.teamten.typeset.Bookmarks
- hashCode() - Method in class com.teamten.typeset.ColumnLayout
- hashCode() - Method in class com.teamten.typeset.element.Discretionary
- hashCode() - Method in class com.teamten.typeset.element.HBox
- hashCode() - Method in class com.teamten.typeset.element.LabelBookmark
- hashCode() - Method in class com.teamten.typeset.element.SectionBookmark
- hashCode() - Method in class com.teamten.typeset.element.Text
- hashCode() - Method in class com.teamten.typeset.IndexBookmark
- hasParts() - Method in class com.teamten.typeset.Sections
-
Whether we have any parts.
- HBox - Class in com.teamten.typeset.element
-
Horizontal sequence of elements.
- HBox(List<Element>) - Constructor for class com.teamten.typeset.element.HBox
- HBox(List<Element>, long) - Constructor for class com.teamten.typeset.element.HBox
- HBox(List<Element>, Dimensions, long) - Constructor for class com.teamten.typeset.element.HBox
- HBOX - Static variable in class com.teamten.tex.Token
- HEADLINE_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- HELVETICA_NEUE_ULTRA_LIGHT - Enum constant in enum class com.teamten.font.FontName
- horizontal(long) - Static method in class com.teamten.typeset.element.Glue
-
Return fixed horizontal glue.
- HorizontalList - Class in com.teamten.typeset
-
Accumulates elements in a horizontal list until a paragraph is finished, at which point a list of elements is generated and added to a vertical list.
- HorizontalList() - Constructor for class com.teamten.typeset.HorizontalList
- horizontally(List<? extends Dimensions>) - Static method in interface com.teamten.typeset.Dimensions
-
Computes the sum of the item widths and the max of the height and depth.
- HYPHEN_PENALTY - Static variable in class com.teamten.typeset.element.Discretionary
- hyphenate(String) - Method in class com.teamten.hyphen.HyphenDictionary
-
Hyphenate the specified word, returning a list of word fragments between which hyphenation can happen.
- HyphenDictionary - Class in com.teamten.hyphen
-
A TeX-style hyphen dictionary.
I
- IM_FELL_ENGLISH - Enum constant in enum class com.teamten.font.Typeface
-
https://fonts.google.com/specimen/IM+Fell+English
- IM_FELL_ENGLISH_ITALIC - Enum constant in enum class com.teamten.font.FontName
- IM_FELL_ENGLISH_REGULAR - Enum constant in enum class com.teamten.font.FontName
- IM_FELL_ENGLISH_SMALL_CAPS - Enum constant in enum class com.teamten.font.FontName
- Image - Class in com.teamten.typeset.element
-
Represents an image to be inserted into the document.
- ImageSpan - Class in com.teamten.markdown
-
Stores an image and its caption.
- ImageSpan(String, Block) - Constructor for class com.teamten.markdown.ImageSpan
- IN - Enum constant in enum class com.teamten.typeset.SpaceUnit
-
Inch.
- INDEX - Enum constant in enum class com.teamten.markdown.BlockType
- INDEX - Enum constant in enum class com.teamten.typeset.element.SectionBookmark.Type
- INDEX_TITLE - Enum constant in enum class com.teamten.typeset.Config.Key
- IndexBookmark - Class in com.teamten.typeset
-
Represents a reference from an index entry.
- IndexBookmark(List<Block>) - Constructor for class com.teamten.typeset.IndexBookmark
- IndexEntries - Class in com.teamten.typeset
-
Stores a set of index entries.
- IndexEntries(Collator) - Constructor for class com.teamten.typeset.IndexEntries
-
Specify a collator for sorting the index entries.
- IndexEntry - Class in com.teamten.typeset
-
Stores a single index entry, its physical pages, and its sub-entries.
- IndexEntry(Block, Collator) - Constructor for class com.teamten.typeset.IndexEntry
- IndexSpan - Class in com.teamten.markdown
-
Stores an index reference.
- IndexSpan(List<Block>) - Constructor for class com.teamten.markdown.IndexSpan
- infinite(boolean) - Static method in class com.teamten.typeset.element.Glue
-
Return infinite glue of zero size.
- infiniteHorizontal() - Static method in class com.teamten.typeset.element.Glue
-
Return infinite horizontal glue of zero width.
- infiniteVertical() - Static method in class com.teamten.typeset.element.Glue
-
Return infinite vertical glue of zero height.
- INFINITY - Static variable in class com.teamten.typeset.element.Penalty
-
Prevents breaking a line or page at this location.
- INPUT - Enum constant in enum class com.teamten.markdown.BlockType
- INPUT_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- isAllowLineBreaks() - Method in class com.teamten.typeset.ParagraphStyle
-
Whether to allow line breaks in this paragraph.
- isBold() - Method in class com.teamten.markdown.FontVariantFlags
- isBold() - Method in class com.teamten.markdown.TextSpan
- isCenter() - Method in class com.teamten.typeset.ParagraphStyle
-
Whether to center the whole paragraph.
- isCode() - Method in class com.teamten.markdown.FontVariantFlags
- isCode() - Method in class com.teamten.markdown.TextSpan
- isCommand(int) - Static method in class com.teamten.tex.Token
-
Whether the token is a command (\hbox or \+).
- isCompatibleWith(Text) - Method in class com.teamten.typeset.element.Text
-
Whether this text can be appended to the other text.
- isConsole() - Method in enum class com.teamten.markdown.BlockType
-
Whether this represents what you might see on a console.
- isEmpty() - Method in class com.teamten.markdown.Block.Builder
-
Returns whether any characters have been added so far.
- isEmpty() - Method in class com.teamten.typeset.element.HBox
-
Whether this horizontal box is empty, i.e., has no elements in it.
- isEvenPageOnly() - Method in class com.teamten.typeset.element.Penalty
-
Whether this penalty should only be considered at the end of even pages.
- isHorizontal() - Method in class com.teamten.typeset.element.Glue
- isHorizontal() - Method in class com.teamten.typeset.element.Kern
-
Whether this kern is intended to be horizontal (between letters) or vertical (between lines).
- isInBlockQuote() - Method in class com.teamten.markdown.Block
-
Whether this block is inside a blockquote (indented, etc.).
- isIncludedInTableOfContents() - Method in enum class com.teamten.typeset.element.SectionBookmark.Type
-
Whether this section should be included in the table of contents.
- isInfinite() - Method in class com.teamten.typeset.element.Flexibility
-
Whether this is an infinite stretch or shrink, meaning that non-infinite ones don't factor.
- isInfinite() - Method in class com.teamten.typeset.element.TotalFlexibility
-
Whether there was non-zero infinite expandability.
- isItalic() - Method in class com.teamten.markdown.FontVariantFlags
- isItalic() - Method in class com.teamten.markdown.TextSpan
- isLeftPage() - Method in class com.teamten.typeset.element.Page
-
Whether this page is on the left of the spread.
- isNewPage() - Method in class com.teamten.typeset.ParagraphStyle
-
Whether the block should start a new page.
- isOddPage() - Method in class com.teamten.typeset.ParagraphStyle
-
Whether the block should start a new odd page (skipping an even page if necessary).
- isOverfull() - Method in class com.teamten.typeset.Chunk
- isOwnPage() - Method in class com.teamten.typeset.ParagraphStyle
-
Whether the block should be on its own page (starting a new page and ejecting afterward).
- isResetFootnoteNumber() - Method in class com.teamten.typeset.ParagraphStyle
-
Whether to reset the footnote number to 1 before processing this paragraph.
- isSmallCaps() - Method in class com.teamten.markdown.FontVariantFlags
- isSmallCaps() - Method in class com.teamten.markdown.TextSpan
- isWordCharacter(int) - Static method in class com.teamten.typeset.HorizontalList
-
Whether the character can be part of a hyphenated word.
- ITALIC - Enum constant in enum class com.teamten.font.FontVariant
K
- Kern - Class in com.teamten.typeset.element
-
Represents a kerning adjustment.
- Kern(long, boolean) - Constructor for class com.teamten.typeset.element.Kern
L
- LabelBookmark - Class in com.teamten.typeset.element
-
Element for storing the label that can be referenced elsewhere.
- LabelBookmark(String) - Constructor for class com.teamten.typeset.element.LabelBookmark
- LabelSpan - Class in com.teamten.markdown
-
An invisible label that can elsewhere be used to reference the page it's on.
- LabelSpan(String) - Constructor for class com.teamten.markdown.LabelSpan
- LANGUAGE - Enum constant in enum class com.teamten.typeset.Config.Key
- LAST_BOX - Enum constant in enum class com.teamten.typeset.VerticalAlignment
-
The baseline matches that of the last (bottom-most) box.
- layOut(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.VBox
-
Lay out all the elements back to back vertically.
- layOutHorizontally(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Bookmark
- layOutHorizontally(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Box
- layOutHorizontally(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Discretionary
- layOutHorizontally(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Element
-
Add the element to the contents as part of a horizontal sequence.
- layOutHorizontally(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Glue
- layOutHorizontally(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.HBox
- layOutHorizontally(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Image
- layOutHorizontally(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Kern
- layOutHorizontally(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Leader
- layOutHorizontally(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Penalty
- layOutHorizontally(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Rule
- layOutHorizontally(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Text
- layOutHorizontally(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.VBox
- layOutVertically(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Bookmark
- layOutVertically(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Box
- layOutVertically(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Discretionary
- layOutVertically(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Element
-
Add the element to the contents as part of a vertical sequence.
- layOutVertically(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Glue
- layOutVertically(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.HBox
- layOutVertically(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Image
- layOutVertically(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Kern
- layOutVertically(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Penalty
- layOutVertically(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Rule
- layOutVertically(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.Text
- layOutVertically(long, long, PDPageContentStream) - Method in class com.teamten.typeset.element.VBox
- Leader - Class in com.teamten.typeset.element
-
Like glue, but draws a pattern over and over (e.g., for table of contents).
- Leader(SizedFont, String, long) - Constructor for class com.teamten.typeset.element.Leader
-
Creates a leader which can be used like any other horizontal glue.
- LEFT_TO_RIGHT - Enum constant in enum class com.teamten.typeset.element.Text.CharacterDirection
- leftAligned(Element, long) - Static method in class com.teamten.typeset.element.HBox
-
Make a new HBox with the content left-aligned in a box of the specified width.
- Ligature - Class in com.teamten.typeset
-
Represents a single ligature.
- Ligature(String, int) - Constructor for class com.teamten.typeset.Ligature
- Ligatures - Class in com.teamten.typeset
-
Manages all ligature information for a particular font.
- Ligatures() - Constructor for class com.teamten.typeset.Ligatures
-
A test set of ligatures that includes all the ones we know of.
- Ligatures(Predicate<Integer>) - Constructor for class com.teamten.typeset.Ligatures
-
Create a set of ligatures for a particular font.
- listSink(List<T>, Class<T>) - Static method in interface com.teamten.typeset.ElementSink
-
Convenience method for making a sink that writes to a list.
- load(Path, long, long, Block, Config, FontManager, Bookmarks, Sections, HyphenDictionary, PDDocument) - Static method in class com.teamten.typeset.element.Image
-
Loads an image as a new element.
M
- main(String[]) - Static method in class com.teamten.markdown.MarkdownParser
- main(String[]) - Static method in class com.teamten.tex.TexParser
- main(String[]) - Static method in class com.teamten.typeset.PdfTest
- main(String[]) - Static method in class com.teamten.typeset.Typesetter
- main(String[]) - Static method in class com.teamten.typeset.TypesetterTest
- makeFakeIndex(Collator, int) - Method in class com.teamten.typeset.IndexEntries
-
Fill this object with count entries or sub-entries.
- makeHorizontalListFromBlock(Block, ParagraphStyle, PDDocument, Config, FontManager, Bookmarks, Sections, HyphenDictionary, int) - Static method in class com.teamten.typeset.Typesetter
- makeOnlyString(String, SizedFont) - Static method in class com.teamten.typeset.element.HBox
-
Make an HBox that contains only a Text with the given string, font, and font size.
- makeOutputBox(List<Element>, int, long) - Method in class com.teamten.typeset.ColumnVerticalList
- makeOutputBox(List<Element>, int, long) - Method in class com.teamten.typeset.ElementList
-
Generate the Box that will be sent to the output.
- makeOutputBox(List<Element>, int, long) - Method in class com.teamten.typeset.HorizontalList
- makeOutputBox(List<Element>, int, long) - Method in class com.teamten.typeset.VerticalList
- makeOutputShape(long) - Method in class com.teamten.typeset.ParagraphStyle
-
Creates an OutputShape object corresponding to this style for the specified body width.
- MarkdownParser - Class in com.teamten.markdown
-
Parses a Markdown file into a DOM.
- MarkdownParser() - Constructor for class com.teamten.markdown.MarkdownParser
- mergeWith(IndexEntries) - Method in class com.teamten.typeset.IndexEntries
-
Adds a set of entries to our own.
- mergeWith(IndexEntry) - Method in class com.teamten.typeset.IndexEntry
-
Add the information from the other index entry into this one.
- Metrics(long, long, long) - Constructor for class com.teamten.font.Font.Metrics
- MINION - Enum constant in enum class com.teamten.font.FontName
- MINION - Enum constant in enum class com.teamten.font.Typeface
- MINION_BOLD - Enum constant in enum class com.teamten.font.FontName
- MINION_BOLD_ITALIC - Enum constant in enum class com.teamten.font.FontName
- MINION_ITALIC - Enum constant in enum class com.teamten.font.FontName
- MINION_SMALL_CAPS - Enum constant in enum class com.teamten.font.FontName
- MINOR_HEADER - Enum constant in enum class com.teamten.markdown.BlockType
- MINOR_HEADER_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- MINOR_SECTION - Enum constant in enum class com.teamten.typeset.element.SectionBookmark.Type
- MINOR_SECTION_HEADER - Enum constant in enum class com.teamten.markdown.BlockType
- MINUS - Static variable in class com.teamten.tex.Token
- MM - Enum constant in enum class com.teamten.typeset.SpaceUnit
-
Millimeter.
- mWarningCount - Static variable in class com.teamten.typeset.Typesetter
N
- NEUTRAL - Enum constant in enum class com.teamten.typeset.element.Text.CharacterDirection
- NEW_PAGE - Enum constant in enum class com.teamten.markdown.BlockType
- newPage() - Method in class com.teamten.typeset.VerticalList
-
Like
ejectPage()
, but only if the document is not empty. - next() - Method in class com.teamten.tex.TexTokenizer
-
Return the next token in the stream, or -1 on end of file.
- noLineBreaks() - Static method in class com.teamten.typeset.HorizontalList
-
Create a new object that does not permit line breaks at spaces.
- NonDiscardableElement - Class in com.teamten.typeset.element
-
The subset of Elements that are not discarded at the beginning of a new line.
- NonDiscardableElement() - Constructor for class com.teamten.typeset.element.NonDiscardableElement
- NUMBERED_LIST - Enum constant in enum class com.teamten.markdown.BlockType
- numberedListBuilder(int, int, boolean) - Static method in class com.teamten.markdown.Block
-
Make a builder for numbered lists.
O
- ODD_PAGE - Enum constant in enum class com.teamten.markdown.BlockType
- oddPage() - Method in class com.teamten.typeset.VerticalList
-
Like
newPage()
, but ensures that the next page is an odd page. - ofWidth(List<Element>, long) - Static method in class com.teamten.typeset.element.HBox
-
Make a new HBox that's forced to be the specified width.
- OUTPUT - Enum constant in enum class com.teamten.markdown.BlockType
- OUTPUT_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- OutputShape - Class in com.teamten.typeset
-
Records the shape of the output of this element list.
P
- Page - Class in com.teamten.typeset.element
-
Represents a printed page, including the text and physical page number.
- Page(List<Element>, int, long) - Constructor for class com.teamten.typeset.element.Page
-
The elements are listed top to bottom.
- PAGE_HEIGHT - Enum constant in enum class com.teamten.typeset.Config.Key
- PAGE_MARGIN_BOTTOM - Enum constant in enum class com.teamten.typeset.Config.Key
- PAGE_MARGIN_INNER - Enum constant in enum class com.teamten.typeset.Config.Key
- PAGE_MARGIN_OUTER - Enum constant in enum class com.teamten.typeset.Config.Key
- PAGE_MARGIN_TOP - Enum constant in enum class com.teamten.typeset.Config.Key
- PAGE_NUMBER_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- PAGE_WIDTH - Enum constant in enum class com.teamten.typeset.Config.Key
- PageRefSpan - Class in com.teamten.markdown
-
A page reference to another label (see LabelSpan).
- PageRefSpan(String, FontVariantFlags) - Constructor for class com.teamten.markdown.PageRefSpan
- ParagraphStyle - Class in com.teamten.typeset
-
Describes various layout attributes about a paragraph.
- ParagraphStyle(boolean, boolean, boolean, boolean, boolean, long, long, long, long, boolean, long, long, long, long, boolean, FontPack) - Constructor for class com.teamten.typeset.ParagraphStyle
- parse(InputStream) - Method in class com.teamten.markdown.MarkdownParser
- parse(String) - Static method in enum class com.teamten.font.FontVariant
-
Parses a font variant by converting it to upper case and transforming spaces and hyphens to underscores, then looking it up in this enum.
- parse(String) - Static method in enum class com.teamten.font.Typeface
-
Parses a typeface name by converting it to upper case and transforming spaces and hyphens to underscores, then looking it up in this enum.
- parseDistance(Reader) - Static method in enum class com.teamten.typeset.SpaceUnit
-
Parse a distance, such as "2in", "3.5 in", or "-2 mm".
- parseDistance(String) - Static method in enum class com.teamten.typeset.SpaceUnit
-
Parses a distance as a string.
- parseDoc(String) - Static method in class com.teamten.markdown.MarkdownParser
-
Parse a doc from a string.
- parseSingleBlock(String) - Static method in class com.teamten.markdown.MarkdownParser
-
Parse a single block from a string, returning the block.
- PART - Enum constant in enum class com.teamten.typeset.element.SectionBookmark.Type
- PART_HEADER - Enum constant in enum class com.teamten.markdown.BlockType
- PART_HEADER_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- PC - Enum constant in enum class com.teamten.typeset.SpaceUnit
-
Pica.
- PdfBoxFont - Class in com.teamten.font
-
Wrapper around a PDFBOX font.
- PdfBoxFont(PDDocument, File) - Constructor for class com.teamten.font.PdfBoxFont
- PdfBoxFontManager - Class in com.teamten.font
-
A font manager for fonts loaded by PdfBox.
- PdfBoxFontManager(Config, PDDocument) - Constructor for class com.teamten.font.PdfBoxFontManager
-
A font manager that creates new PdfBox fonts for the specified PDDocument.
- PdfTest - Class in com.teamten.typeset
-
Utility class for testing PDF things.
- PdfTest() - Constructor for class com.teamten.typeset.PdfTest
- PdfUtil - Class in com.teamten.typeset
-
Static methods for helping draw into PDF files.
- PdfUtil() - Constructor for class com.teamten.typeset.PdfUtil
- Penalty - Class in com.teamten.typeset.element
-
A location where the line or page can be broken, but with a penalty.
- Penalty(long) - Constructor for class com.teamten.typeset.element.Penalty
-
Create a penalty with the given score that is not limited to only even pages.
- Penalty(long, boolean) - Constructor for class com.teamten.typeset.element.Penalty
-
Create a penalty with the given score and whether to only apply the penalty at the end of even pages.
- PENALTY - Static variable in class com.teamten.tex.Token
- PLAIN - Static variable in class com.teamten.markdown.FontVariantFlags
-
Everything off.
- PLUS - Static variable in class com.teamten.tex.Token
- POETRY - Enum constant in enum class com.teamten.markdown.BlockType
- postProcessText(String) - Method in class com.teamten.markdown.Block
-
Convert apostrophes, quotes, etc.
- postProcessText(String) - Method in class com.teamten.markdown.FootnoteSpan
- postProcessText(String) - Method in class com.teamten.markdown.ImageSpan
- postProcessText(String) - Method in class com.teamten.markdown.IndexSpan
- postProcessText(String) - Method in class com.teamten.markdown.ShortenedSpan
- postProcessText(String) - Method in class com.teamten.markdown.Span
-
Convert apostrophes, quotes, etc.
- preprocessImage(Path, long, long) - Static method in class com.teamten.typeset.element.Image
-
Make a copy of this image, ensuring that its resolution is not unnecessarily high.
- preventBreak() - Method in class com.teamten.typeset.ParagraphStyle
-
Whether to prevent a page break after this paragraph (for titles).
- println(PrintStream) - Method in class com.teamten.typeset.Bookmarks
-
Print all bookmarks, ordered by page number.
- println(PrintStream, String) - Method in class com.teamten.typeset.element.Discretionary
- println(PrintStream, String) - Method in class com.teamten.typeset.element.Element
-
Pretty prints the element to the PrintWriter with the given indent.
- println(PrintStream, String) - Method in class com.teamten.typeset.element.Glue
- println(PrintStream, String) - Method in class com.teamten.typeset.element.HBox
- println(PrintStream, String) - Method in class com.teamten.typeset.element.Kern
- println(PrintStream, String) - Method in class com.teamten.typeset.element.Leader
- println(PrintStream, String) - Method in class com.teamten.typeset.element.Penalty
- println(PrintStream, String) - Method in class com.teamten.typeset.element.Text
- println(PrintStream, String) - Method in class com.teamten.typeset.element.VBox
- println(PrintStream, String) - Method in class com.teamten.typeset.ElementList
-
Pretty prints the list to the PrintWriter with the given indent.
- println(PrintStream, String) - Method in class com.teamten.typeset.IndexEntries
-
Print the entries to the stream.
- println(PrintStream, String) - Method in class com.teamten.typeset.IndexEntry
-
Print the entries to the stream.
- println(Iterable<? extends Element>, PrintStream, String) - Static method in class com.teamten.typeset.element.Element
-
Convenience method for implementing
Element.println(PrintStream, String)
from a list of elements. - PT - Enum constant in enum class com.teamten.typeset.SpaceUnit
-
Point.
- PUBLISHER_LOCATION - Enum constant in enum class com.teamten.typeset.Config.Key
- PUBLISHER_NAME - Enum constant in enum class com.teamten.typeset.Config.Key
R
- raggedRight() - Static method in class com.teamten.typeset.HorizontalList
-
Create a new object that has a ragged right edge (no justification).
- REGULAR - Enum constant in enum class com.teamten.font.FontVariant
- replace(String) - Method in class com.teamten.typeset.Ligature
-
Replace all instances of the ligature in the string with the single-char version.
- reverseRightToLeftText(List<Element>) - Method in class com.teamten.typeset.ElementList
-
Optional function to reverse any right-to-left text in the list of elements.
- reverseRightToLeftText(List<Element>) - Method in class com.teamten.typeset.HorizontalList
- RIGHT_TO_LEFT - Enum constant in enum class com.teamten.typeset.element.Text.CharacterDirection
- rightAligned(Element, long) - Static method in class com.teamten.typeset.element.HBox
-
Make a new HBox with the content right-aligned in a box of the specified width.
- ROBOTO_MONO - Enum constant in enum class com.teamten.font.FontName
- ROBOTO_MONO - Enum constant in enum class com.teamten.font.Typeface
- ROBOTO_MONO_BOLD - Enum constant in enum class com.teamten.font.FontName
- ROBOTO_MONO_BOLD_ITALIC - Enum constant in enum class com.teamten.font.FontName
- ROBOTO_MONO_ITALIC - Enum constant in enum class com.teamten.font.FontName
- ROBOTO_MONO_LIGHT - Enum constant in enum class com.teamten.font.FontName
- ROBOTO_MONO_LIGHT_ITALIC - Enum constant in enum class com.teamten.font.FontName
- ROBOTO_MONO_MEDIUM - Enum constant in enum class com.teamten.font.FontName
- ROBOTO_MONO_MEDIUM_ITALIC - Enum constant in enum class com.teamten.font.FontName
- ROBOTO_MONO_THIN - Enum constant in enum class com.teamten.font.FontName
- ROBOTO_MONO_THIN_ITALIC - Enum constant in enum class com.teamten.font.FontName
- Rule - Class in com.teamten.typeset.element
-
Represents a filled-in black rectangle (though usually a horizontal or vertical line).
- Rule(long, long, long) - Constructor for class com.teamten.typeset.element.Rule
S
- SectionBookmark - Class in com.teamten.typeset.element
-
A bookmark for a section, such as a part or chapter.
- SectionBookmark(SectionBookmark.Type, String) - Constructor for class com.teamten.typeset.element.SectionBookmark
- SectionBookmark(SectionBookmark.Type, String, String, SectionName) - Constructor for class com.teamten.typeset.element.SectionBookmark
- SectionBookmark.Type - Enum Class in com.teamten.typeset.element
- SectionName - Class in com.teamten.markdown
-
Something like "Chapter 7" for a chapter.
- SectionName(String[]) - Constructor for class com.teamten.markdown.SectionName
- sections() - Method in class com.teamten.typeset.Sections
-
Returns an ordered sequence of the sections in this document.
- Sections - Class in com.teamten.typeset
-
Keeps track of the positions of the sections (parts, chapters) of the book.
- Sections() - Constructor for class com.teamten.typeset.Sections
- segmentsToString(List<String>) - Static method in class com.teamten.hyphen.HyphenDictionary
-
Takes a list of segments and return them separated by hyphens.
- SEPARATOR - Enum constant in enum class com.teamten.markdown.BlockType
- setBaselineSkip(long) - Method in class com.teamten.typeset.VerticalList
-
Specify the distance between baselines.
- setChunk(Chunk) - Method in class com.teamten.typeset.ElementList.Breakpoint
-
Set the chunk of the line or page ending at this breakpoint.
- setCounter(int) - Method in class com.teamten.typeset.ElementList.Breakpoint
-
Set the counter (line or page number) for this chunk.
- setForceBody(boolean) - Method in class com.teamten.markdown.MarkdownParser
-
Whether to force the parse as a body block.
- setLigatures(Ligatures) - Method in class com.teamten.font.AbstractFont
- setPreviousBreakpoint(ElementList.Breakpoint) - Method in class com.teamten.typeset.ElementList.Breakpoint
-
Set the previous breakpoint in the paragraph or page assuming we're selected as a breakpoint.
- setStartIndex(int) - Method in class com.teamten.typeset.ElementList.Breakpoint
-
Set the index into mElements where the line would start after this break.
- setTotalDemerits(long) - Method in class com.teamten.typeset.ElementList.Breakpoint
-
Set the demerits of the rest of the paragraph or page starting at this break.
- ShortenedSpan - Class in com.teamten.markdown
-
Shortened version of a chapter title, to fit in headlines.
- ShortenedSpan(Block) - Constructor for class com.teamten.markdown.ShortenedSpan
- shouldDrawHeadline(int) - Method in class com.teamten.typeset.Sections
-
Whether we should draw a headline on this page.
- shouldSkipElementAtStart() - Method in class com.teamten.typeset.element.Element
-
Returns whether this element, at the beginning of a line or page, should be skipped.
- SIGNATURE - Enum constant in enum class com.teamten.markdown.BlockType
- single() - Static method in class com.teamten.typeset.ColumnLayout
-
Create a new single-column layout of zero width.
- single(long) - Static method in class com.teamten.typeset.ColumnLayout
-
Create a new single-column layout of the specified width.
- singleLine(long, long, long) - Static method in class com.teamten.typeset.OutputShape
-
Single line of indent.
- SizedFont - Class in com.teamten.font
-
The combination of a font and a size.
- SizedFont(Font, double) - Constructor for class com.teamten.font.SizedFont
- skipNextLeadingAdjust() - Method in class com.teamten.typeset.VerticalList
-
Skip the next vertical space inserted before an HBox to get the leading to work.
- SMALL_CAPS - Enum constant in enum class com.teamten.font.FontVariant
- SmallCapsFont - Class in com.teamten.font
-
Wraps another font, converting it to small caps by shrinking the size of lower-case letters.
- SmallCapsFont(Font, double) - Constructor for class com.teamten.font.SmallCapsFont
- SORTS_MILL_GOUDY - Enum constant in enum class com.teamten.font.Typeface
-
https://fonts.google.com/specimen/Sorts+Mill+Goudy
- SORTS_MILL_GOUDY_ITALIC - Enum constant in enum class com.teamten.font.FontName
- SORTS_MILL_GOUDY_REGULAR - Enum constant in enum class com.teamten.font.FontName
- SP - Enum constant in enum class com.teamten.typeset.SpaceUnit
-
Scaled point, about 5 nm, or 1/100 the wavelength of visible light.
- SpaceUnit - Enum Class in com.teamten.typeset
-
Represents various units to measure 1-dimensional space.
- Span - Class in com.teamten.markdown
-
Superclass of all spans.
- Span() - Constructor for class com.teamten.markdown.Span
- SUBTITLE - Enum constant in enum class com.teamten.typeset.Config.Key
T
- TABLE_OF_CONTENTS - Enum constant in enum class com.teamten.markdown.BlockType
- TABLE_OF_CONTENTS - Enum constant in enum class com.teamten.typeset.element.SectionBookmark.Type
- testConfig() - Static method in class com.teamten.typeset.Config
-
A configuration suitable for quick tests.
- TexParser - Class in com.teamten.tex
-
A TeX-like parser.
- TexParser(InputStream, FontManager) - Constructor for class com.teamten.tex.TexParser
- Text - Class in com.teamten.typeset.element
-
A sequence of characters.
- Text(int, SizedFont) - Constructor for class com.teamten.typeset.element.Text
-
Constructor for single character.
- Text(SizedFont, String, long, long, long) - Constructor for class com.teamten.typeset.element.Text
-
Constructor for string of any size.
- Text(String, SizedFont) - Constructor for class com.teamten.typeset.element.Text
-
Constructor for a string.
- Text.CharacterDirection - Enum Class in com.teamten.typeset.element
-
Encodes a character direction according to the Unicode standard.
- TexTokenizer - Class in com.teamten.tex
-
Returns TeX-like tokens from an input stream.
- TexTokenizer(InputStream) - Constructor for class com.teamten.tex.TexTokenizer
- TextSpan - Class in com.teamten.markdown
-
A text span is a horizontal sequence of letters with a specific set of attributes, like font.
- TextSpan(String, FontVariantFlags) - Constructor for class com.teamten.markdown.TextSpan
- textToElements(String, SizedFont, HyphenDictionary) - Method in class com.teamten.typeset.HorizontalList
-
Convert the given text to a sequence of elements.
- TIMES_NEW_ROMAN - Enum constant in enum class com.teamten.font.FontName
- TIMES_NEW_ROMAN - Enum constant in enum class com.teamten.font.Typeface
- TIMES_NEW_ROMAN_BOLD - Enum constant in enum class com.teamten.font.FontName
- TIMES_NEW_ROMAN_BOLD_ITALIC - Enum constant in enum class com.teamten.font.FontName
- TIMES_NEW_ROMAN_ITALIC - Enum constant in enum class com.teamten.font.FontName
- TITLE - Enum constant in enum class com.teamten.typeset.Config.Key
- TITLE_PAGE - Enum constant in enum class com.teamten.markdown.BlockType
- TITLE_PAGE - Enum constant in enum class com.teamten.typeset.element.SectionBookmark.Type
- TITLE_PAGE_AUTHOR_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- TITLE_PAGE_PUBLISHER_LOCATION_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- TITLE_PAGE_PUBLISHER_NAME_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- TITLE_PAGE_SUBTITLE_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- TITLE_PAGE_TITLE_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- toBriefString() - Method in class com.teamten.markdown.Block
-
Return just the text of the block.
- TOC_PAGE_CHAPTER_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- TOC_PAGE_PART_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- TOC_PAGE_TITLE_FONT - Enum constant in enum class com.teamten.typeset.Config.Key
- TOC_STYLE - Enum constant in enum class com.teamten.typeset.Config.Key
- TOC_STYLE_CLASSIC - Static variable in class com.teamten.typeset.Config
- TOC_STYLE_MODERN - Static variable in class com.teamten.typeset.Config
- TOC_TITLE - Enum constant in enum class com.teamten.typeset.Config.Key
- toCharacter(int) - Static method in class com.teamten.tex.Token
-
Return the code point for the original command, or -1 if not a character command.
- toFlexibility() - Method in class com.teamten.typeset.element.TotalFlexibility
-
The total expressed as an immutable Flexibility object.
- toggleBold() - Method in class com.teamten.markdown.FontVariantFlags
- toggleCode() - Method in class com.teamten.markdown.FontVariantFlags
- toggleItalic() - Method in class com.teamten.markdown.FontVariantFlags
- Token - Class in com.teamten.tex
-
The commands we know about, and how to encode them as code points.
- Token() - Constructor for class com.teamten.tex.Token
- toKeyword(int) - Static method in class com.teamten.tex.Token
-
Return the keyword for the character, or null if it doesn't map to a keyword.
- TOP - Enum constant in enum class com.teamten.typeset.VerticalAlignment
-
The baseline is at the top of the first element.
- toSp(double) - Method in enum class com.teamten.typeset.SpaceUnit
-
Convert from this unit to SP.
- toString() - Method in class com.teamten.font.DummyFont
- toString() - Method in class com.teamten.font.PdfBoxFont
-
The basename ("Times New Roman") of the font filename.
- toString() - Method in class com.teamten.font.SizedFont
- toString() - Method in class com.teamten.font.TypefaceVariant
- toString() - Method in class com.teamten.font.TypefaceVariantSize
- toString() - Method in class com.teamten.markdown.Block
- toString() - Method in class com.teamten.markdown.FontVariantFlags
- toString() - Method in class com.teamten.markdown.ImageSpan
- toString() - Method in class com.teamten.markdown.TextSpan
- toString() - Method in class com.teamten.typeset.ColumnLayout
- toString() - Method in class com.teamten.typeset.element.Box
- toString() - Method in class com.teamten.typeset.element.Discretionary
- toString() - Method in class com.teamten.typeset.element.Flexibility
- toString() - Method in class com.teamten.typeset.element.Glue
- toString() - Method in class com.teamten.typeset.element.Image
- toString() - Method in class com.teamten.typeset.element.LabelBookmark
- toString() - Method in class com.teamten.typeset.element.Page
- toString() - Method in class com.teamten.typeset.element.SectionBookmark
- toString() - Method in enum class com.teamten.typeset.element.SectionBookmark.Type
- toString() - Method in class com.teamten.typeset.element.Text
- toString() - Method in class com.teamten.typeset.IndexBookmark
- toString(int) - Static method in class com.teamten.tex.Token
-
Convert to a user-friendly command, with backslash prefix if necessary.
- toString(String) - Method in class com.teamten.typeset.element.Flexibility
- TotalFlexibility - Class in com.teamten.typeset.element
-
Keeps track of a sum of flexibility, along with whether the infinite amount trumps the finite one.
- TotalFlexibility() - Constructor for class com.teamten.typeset.element.TotalFlexibility
- toTextString() - Method in class com.teamten.typeset.element.Discretionary
- toTextString() - Method in class com.teamten.typeset.element.Element
-
Return a text version of the element, ideally containing only the text of the element and its children.
- toTextString() - Method in class com.teamten.typeset.element.Glue
- toTextString() - Method in class com.teamten.typeset.element.HBox
- toTextString() - Method in class com.teamten.typeset.element.Kern
- toTextString() - Method in class com.teamten.typeset.element.Leader
- toTextString() - Method in class com.teamten.typeset.element.Text
- toTextString(List<Element>) - Static method in class com.teamten.typeset.element.Element
-
Convenience method for implementing
Element.toTextString()
from a list of elements. - TrackingFont - Class in com.teamten.font
-
A font that wraps another font and adds tracking (inter-letter spacing).
- TrackingFont(Font, double, double) - Constructor for class com.teamten.font.TrackingFont
- transform(String) - Method in class com.teamten.typeset.Ligatures
-
Converts all ligatures to their Unicode characters.
- transformLigatures(String) - Method in class com.teamten.font.AbstractFont
- transformLigatures(String) - Method in interface com.teamten.font.Font
-
Replaces all ligatures (supported by this font) in the string.
- transformLigatures(String) - Method in class com.teamten.font.SizedFont
-
Replaces all ligatures (supported by this font) in the string.
- Typeface - Enum Class in com.teamten.font
-
Tracks sets of fonts for a given typeface.
- TypefaceVariant - Class in com.teamten.font
-
Represents both a typeface (e.g., Helvetica) and its variant (e.g., bold italic).
- TypefaceVariant(Typeface, FontVariant) - Constructor for class com.teamten.font.TypefaceVariant
- TypefaceVariantSize - Class in com.teamten.font
-
Represents a typeface, a variant (e.g., bold), and a size (e.g., 11pt).
- TypefaceVariantSize(Typeface, FontVariant, double) - Constructor for class com.teamten.font.TypefaceVariantSize
- typeset(Doc) - Method in class com.teamten.typeset.Typesetter
- Typesetter - Class in com.teamten.typeset
-
Converts a document to a PDF.
- Typesetter() - Constructor for class com.teamten.typeset.Typesetter
- TypesetterTest - Class in com.teamten.typeset
-
Test app for trying various things with the typesetter.
- TypesetterTest() - Constructor for class com.teamten.typeset.TypesetterTest
V
- valueOf(String) - Static method in enum class com.teamten.font.FontName
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.teamten.font.FontVariant
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.teamten.font.Typeface
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in class com.teamten.font.TypefaceVariantSize
-
Parses a string as a typeface, variant, and size.
- valueOf(String) - Static method in enum class com.teamten.markdown.BlockType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.teamten.typeset.Config.Key
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.teamten.typeset.element.SectionBookmark.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.teamten.typeset.element.Text.CharacterDirection
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.teamten.typeset.SpaceUnit
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.teamten.typeset.VerticalAlignment
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.teamten.font.FontName
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.teamten.font.FontVariant
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.teamten.font.Typeface
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.teamten.markdown.BlockType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.teamten.typeset.Config.Key
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.teamten.typeset.element.SectionBookmark.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.teamten.typeset.element.Text.CharacterDirection
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.teamten.typeset.SpaceUnit
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.teamten.typeset.VerticalAlignment
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VBox - Class in com.teamten.typeset.element
-
Represents a page in the output medium.
- VBox(List<Element>) - Constructor for class com.teamten.typeset.element.VBox
-
The elements are listed top to bottom.
- VBox(List<Element>, long) - Constructor for class com.teamten.typeset.element.VBox
-
The elements are listed top to bottom.
- VBox(List<Element>, Dimensions, long) - Constructor for class com.teamten.typeset.element.VBox
-
The elements are listed top to bottom.
- VBOX - Static variable in class com.teamten.tex.Token
- vertical(long) - Static method in class com.teamten.typeset.element.Glue
-
Return fixed vertical glue.
- VERTICAL_SPACE - Enum constant in enum class com.teamten.markdown.BlockType
- VerticalAlignment - Enum Class in com.teamten.typeset
-
Various ways to vertically align a list of elements.
- VerticalList - Class in com.teamten.typeset
-
Accumulates elements in a vertical list until the document is finished, at which point a list of pages (type VBox) is generated.
- VerticalList() - Constructor for class com.teamten.typeset.VerticalList
- verticalListToPages(VerticalList, long) - Method in class com.teamten.typeset.Typesetter
-
Format the vertical list into a sequence of pages.
- vertically(List<? extends Dimensions>, VerticalAlignment) - Static method in interface com.teamten.typeset.Dimensions
-
Compute the dimensions of a vertical stack of elements, aligning them according to the specified parameter.
- verticallyFirstBoxAligned(List<? extends Dimensions>) - Static method in interface com.teamten.typeset.Dimensions
-
Computes the size of a vertical box where the baseline alignment is on the first box.
- verticallyLastBoxAligned(List<? extends Dimensions>) - Static method in interface com.teamten.typeset.Dimensions
-
Computes the size of a vertical box where the baseline alignment is on the last box.
- visit(Consumer<Element>) - Method in class com.teamten.typeset.element.Element
-
Calls the consumer on this element and all child elements in pre-order.
- visit(Consumer<Element>) - Method in class com.teamten.typeset.element.HBox
- visit(Consumer<Element>) - Method in class com.teamten.typeset.element.VBox
W
- withBlockType(BlockType) - Method in class com.teamten.markdown.Block
-
Return a copy of this block with a different block type.
- withFont(Font) - Method in class com.teamten.font.SizedFont
-
Create a new object, replacing the font.
- withItalic(boolean) - Method in class com.teamten.markdown.FontVariantFlags
- withScaledFont(double) - Method in class com.teamten.font.FontPack
-
Return a new font pack with all the fonts scaled by the specified amount.
- withScaledFont(double) - Method in class com.teamten.typeset.ParagraphStyle
-
Return a new paragraph size, identical except the font pack is scaled by the specified amount.
- withScaledSize(double) - Method in class com.teamten.font.SizedFont
-
Create a new object, scaling the size.
- withSmallCaps(boolean) - Method in class com.teamten.markdown.FontVariantFlags
- withTracking(double, double) - Method in class com.teamten.font.FontPack
-
Returns a new font pack with all the fonts tracked as specified.
- withTypeface(Typeface) - Method in class com.teamten.font.TypefaceVariant
-
Create a new typeface variant with the specified typeface but this object's variant.
- withVariant(FontVariant) - Method in class com.teamten.font.TypefaceVariantSize
-
Return a new instance with the specified variant.
All Classes and Interfaces|All Packages|Constant Field Values