TextParagraph

Inheritance: java.lang.Object

public class TextParagraph

Represents PUB text paragraph

Constructors

ConstructorDescription
TextParagraph(List textParts, ParagraphStyle style)Constructor

Methods

MethodDescription
getTextParts()Text groups
getStyle()Style of paragraph

TextParagraph(List textParts, ParagraphStyle style)

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

Constructor

Parameters:

ParameterTypeDescription
textPartsjava.util.List<com.aspose.pub.TextGroup>Text groups
styleParagraphStyleParagraph’s style

getTextParts()

public final TextGroup[] getTextParts()

Text groups

Returns: com.aspose.pub.TextGroup[] - array of TextGroup instances

getStyle()

public final ParagraphStyle getStyle()

Style of paragraph

Returns: ParagraphStyle - ParagraphStyle instance