public class WordProcessingTextFormattedTextFragment extends FormattedTextFragment
Represents a fragment of formatted text in a Word document.
Modifier and Type | Method and Description |
---|---|
Color |
getBackgroundColor()
Gets the background color of the text.
|
Font |
getFont()
Gets the font of the text.
|
Color |
getForegroundColor()
Gets the foreground color of the text.
|
String |
getText()
Gets the fragment text.
|
public String getText()
Gets the fragment text.
getText
in class FormattedTextFragment
public Font getFont()
Gets the font of the text.
getFont
in class FormattedTextFragment
public Color getForegroundColor()
Gets the foreground color of the text.
getForegroundColor
in class FormattedTextFragment
public Color getBackgroundColor()
Gets the background color of the text.
getBackgroundColor
in class FormattedTextFragment