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

文本片段

构造函数

构造函数描述
OdTextSpan(OdObject parent)初始化 OdTextSpan 类的新实例。

方法

方法描述
getText()获取文本。
setText(String value)设置文本。

OdTextSpan(OdObject parent)

public OdTextSpan(OdObject parent)

初始化 OdTextSpan 类的新实例。

Parameters:

参数类型描述
parentOdObject父对象。

getText()

public final String getText()

获取文本。

Returns: java.lang.String - 文本。

setText(String value)

public final void setText(String value)

设置文本。

Parameters:

参数类型描述
valuejava.lang.String文本。