TextParagraph

Inheritance: java.lang.Object

public class TextParagraph

表示 PUB 文本段落

构造函数

Constructor描述
TextParagraph(List textParts, ParagraphStyle style)Constructor

方法

方法描述
getTextParts()文本组
getStyle()段落的样式

TextParagraph(List textParts, ParagraphStyle style)

public TextParagraph(List<TextGroup> textParts, ParagraphStyle style)

Constructor

Parameters:

参数类型描述
textPartsjava.util.List<com.aspose.pub.TextGroup>文本组
styleParagraphStyle段落的样式

getTextParts()

public final TextGroup[] getTextParts()

文本组

Returns: com.aspose.pub.TextGroup[] - TextGroup 实例数组

getStyle()

public final ParagraphStyle getStyle()

段落的样式

Returns: ParagraphStyle - ParagraphStyle instance