OdTextSpan

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.opendocument.OdObject, com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject, com.aspose.imaging.fileformats.opendocument.objects.graphic.OdStyledObject

public class OdTextSpan extends OdStyledObject

The text span

Constructors

ConstructorDescription
OdTextSpan(OdObject parent)Initializes a new instance of the OdTextSpan class.

Methods

MethodDescription
getText()Gets the text.
setText(String value)Sets the text.

OdTextSpan(OdObject parent)

public OdTextSpan(OdObject parent)

Initializes a new instance of the OdTextSpan class.

Parameters:

ParameterTypeDescription
parentOdObjectThe parent.

getText()

public final String getText()

Gets the text.

Returns: java.lang.String - the text.

setText(String value)

public final void setText(String value)

Sets the text.

Parameters:

ParameterTypeDescription
valuejava.lang.Stringthe text.