public abstract class TextFormatter extends DocumentPartFormatter<TextItem>
Provides the functionality for formatting a text.
Constructor and Description |
---|
TextFormatter() |
Modifier and Type | Method and Description |
---|---|
String |
getText(String... texts)
Formats the
texts . |
String |
getText(String text,
DocumentPartOptions documentPartOptions)
Formats the
text . |
formatText, getPreviousDocumentPartOptions, getPreviousItem, getText, getText, isEmpty, isFirstItem, reset
public String getText(String text, DocumentPartOptions documentPartOptions)
Formats the text
.
text
- The text to formatting.documentPartOptions
- The options for the text formatting.text
.Copyright © 2018. All rights reserved.