Skip to main content

OfficeTextRun Class

The base class for text runs in a paragraph.

Declaration

public abstract class OfficeTextRun extends OfficeObject

Remarks

Refer to the following help topic for additional information: TextRun.

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

Constructors

OfficeTextRun() Constructor

Initializes a new instance of the OfficeTextRun class.

Declaration

public OfficeTextRun()

OfficeTextRun(TextProperties textProperties) Constructor

Initializes a new instance of the OfficeTextRun class with specified settings.

Declaration

public OfficeTextRun(TextProperties textProperties)

Parameters

Name Type Description
textProperties TextProperties

Text properties for the text run.

Methods

deepClone() Method

Returns a deep copy of this OfficeTextRun instance.

Declaration

public OfficeTextRun deepClone()

Returns

Type Description
OfficeTextRun

A deep copy of this OfficeTextRun.

getTextProperties() Method

Returns the text properties for the text run.

Declaration

public TextProperties getTextProperties()

Returns

Type Description
TextProperties

The text properties for the text run.

setTextProperties(TextProperties value) Method

Sets the text properties for the text run.

Declaration

public void setTextProperties(TextProperties value)

Parameters

Name Type Description
value TextProperties

The text properties for the text run.