TextParagraph
Inheritance: java.lang.Object
public class TextParagraph
表示 PUB 文本段落
构造函数
| Constructor | 描述 |
|---|---|
| TextParagraph(List | Constructor |
方法
| 方法 | 描述 |
|---|---|
| getTextParts() | 文本组 |
| getStyle() | 段落的样式 |
TextParagraph(List textParts, ParagraphStyle style)
public TextParagraph(List<TextGroup> textParts, ParagraphStyle style)
Constructor
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| textParts | java.util.List<com.aspose.pub.TextGroup> | 文本组 |
| style | ParagraphStyle | 段落的样式 |
getTextParts()
public final TextGroup[] getTextParts()
文本组
Returns: com.aspose.pub.TextGroup[] - TextGroup 实例数组
getStyle()
public final ParagraphStyle getStyle()
段落的样式
Returns: ParagraphStyle - ParagraphStyle instance