OfficeTextRunString Class
The base class for text run string content.
Declaration
public abstract class OfficeTextRunString extends OfficeTextRun
Inherited Members
com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Inheritance
Object
JavaObject
OfficeObject
OfficeTextRun
OfficeTextRunString
Constructors
OfficeTextRunString() Constructor
Initializes a new instance of the OfficeTextRunString class.
Declaration
public OfficeTextRunString()
OfficeTextRunString(TextProperties textProperties) Constructor
Initializes a new instance of the OfficeTextRunString class with specified settings.
Declaration
public OfficeTextRunString(TextProperties textProperties)
Parameters
| Name | Type | Description |
|---|---|---|
| textProperties | TextProperties | Text properties for the text run. |
Methods
getText() Method
Returns the text of this text run string.
Declaration
public String getText()
Returns
| Type | Description |
|---|---|
| String | The text of this text run string. |
setText(String value) Method
Sets the text of this text run string.
Declaration
public void setText(String value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | String | The text to set. |
toString() Method
Returns the string representation of this OfficeTextRunString object.
Declaration
public String toString()
Returns
| Type | Description |
|---|---|
| String | The string representation of this |