public class ControlCharacters extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ControlCharacters.BoldControlCharacter
An asterisk ('*') indicates switching of bold font mode in markup.
|
static class |
ControlCharacters.ColorControlCharacter
An
{color:#ee22aa} indicates switching the color in markup,
where the color is given as hex RGB code (ee22aa in this case). |
static interface |
ControlCharacters.ControlCharacterFactory
A control character factory is used to create control characters on the
fly from the control pattern.
|
static class |
ControlCharacters.ItalicControlCharacter
An underscore ('_') indicates switching of italic font mode in markup.
|
static class |
ControlCharacters.MetricsControlCharacter |
static class |
ControlCharacters.NewLineControlCharacter
LF ('\n') and CRLF ('\r\n') indicates a new line.
|
| Modifier and Type | Field and Description |
|---|---|
static ControlCharacters.ControlCharacterFactory |
BOLD_FACTORY
The factory for bold control characters.
|
static ControlCharacters.ControlCharacterFactory |
COLOR_FACTORY
The factory for color control characters.
|
static ControlCharacters.ControlCharacterFactory |
ITALIC_FACTORY
The factory for italic control characters.
|
static rst.pdfbox.layout.text.ControlCharacters.MetricsControlCharacterFactory |
METRICS_FACTORY
The factory for metrics control characters.
|
static ControlCharacters.ControlCharacterFactory |
NEWLINE_FACTORY
The factory for new line control characters.
|
| Constructor and Description |
|---|
ControlCharacters() |
| Modifier and Type | Method and Description |
|---|---|
static String |
unescapeBackslash(String text)
Unescapes the escape character backslash.
|
public static ControlCharacters.ControlCharacterFactory BOLD_FACTORY
public static ControlCharacters.ControlCharacterFactory ITALIC_FACTORY
public static ControlCharacters.ControlCharacterFactory NEWLINE_FACTORY
public static ControlCharacters.ControlCharacterFactory COLOR_FACTORY
public static rst.pdfbox.layout.text.ControlCharacters.MetricsControlCharacterFactory METRICS_FACTORY
Copyright © 2022. All rights reserved.