public class FormattedText
extends java.lang.Object
| Constructor and Description |
|---|
FormattedText()
Initializes a new instance of the
FormattedText class. |
FormattedText(java.lang.String text)
Initializes a new instance of the
FormattedText class from the specified markup text. |
| Modifier and Type | Method and Description |
|---|---|
com.mindfusion.common.ExtendedArrayList<Run> |
getRuns()
Gets a list with the text fragments of this object.
|
java.lang.String |
toString() |
public FormattedText()
FormattedText class.public FormattedText(java.lang.String text)
FormattedText class from the specified markup text.text - A markup text specifying the formatted text. The markup can contain
the following tags: <fontname="value">, <fontsize="value">,
<b>, <i>, <u>, <s>, <color="#rrggbb">.
The font size must be specified as culture invariant.public java.lang.String toString()
toString in class java.lang.Objectpublic com.mindfusion.common.ExtendedArrayList<Run> getRuns()