OdTextParagraph

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 OdTextParagraph extends OdStyledObject

文本段落

构造函数

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

方法

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

OdTextParagraph(OdObject parent)

public OdTextParagraph(OdObject parent)

初始化 OdTextParagraph 类的新实例。

Parameters:

参数类型描述
parentOdObject父对象。

getText()

public final String getText()

获取文本。

Returns: java.lang.String - 文本。

setText(String value)

public final void setText(String value)

设置文本。

Parameters:

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