public abstract class TextFormatter extends DocumentPartFormatter<TextItem>
Provides the functionality for formatting a text.
Modifier | Constructor and Description |
---|---|
protected |
TextFormatter()
Initializes a new instance of the
TextFormatter class. |
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
protected TextFormatter()
Initializes a new instance of the TextFormatter
class.
public String getText(String text, DocumentPartOptions documentPartOptions)
Formats the text
.
text
- The text to formatting.documentPartOptions
- The options for the text formatting.text
.Copyright © 2019. All rights reserved.