| Package | Description |
|---|---|
| rst.pdfbox.layout.text | |
| rst.pdfbox.layout.text.annotations |
| Modifier and Type | Class and Description |
|---|---|
class |
ControlFragment
A control fragment has no drawable representation but is meant to control the
text rendering.
|
class |
Indent
Control fragment that represents a indent in text.
|
class |
NewLine
Control fragment that represents a new line in text.
|
class |
ReplacedWhitespace
Acts as a replacement for whitespace that has been removed by word wrapping.
|
class |
StyledText
Base class representing drawable text styled with font, size, color etc.
|
class |
WrappingNewLine
A NewLine introduced by wrapping.
|
| Modifier and Type | Method and Description |
|---|---|
protected static TextFragment |
TextSequenceUtil.deriveFromExisting(TextFragment toDeriveFrom,
String text,
float leftMargin,
float rightMargin)
Derive a new TextFragment from an existing one, means use attributes like
font, color etc.
|
TextFragment |
TextFlow.getLast() |
TextFragment |
TextFlow.removeLast()
Removes the last added fragment.
|
TextFragment |
ReplacedWhitespace.toReplacedFragment() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<TextFragment> |
TextFlow.iterator() |
Iterator<TextFragment> |
TextLine.iterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
TextFlow.add(TextFragment fragment)
Adds a text fragment to this flow.
|
protected static TextFragment |
TextSequenceUtil.deriveFromExisting(TextFragment toDeriveFrom,
String text,
float leftMargin,
float rightMargin)
Derive a new TextFragment from an existing one, means use attributes like
font, color etc.
|
static TextFlow |
TextSequenceUtil.splitWords(TextFragment text)
Splits the fragment into words.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AnnotatedStyledText
Extension of styled text that supports annotations.
|
Copyright © 2021. All rights reserved.