RichTextParagraphStyle (Java)

Represents rich text paragraph attributes.

Syntax

public class RichTextParagraphStyle extends Base

Containment

Contained by: Session

Contains: RichTextTab

Properties

Alignment through getAlignment and setAlignment

FirstLineLeftMargin through getFirstLineLeftMargin and setFirstLineLeftMargin

InterLineSpacing through getInterLineSpacing and setInterLineSpacing

LeftMargin through getLeftMargin and setLeftMargin

Pagination through getPagination and setPagination

RightMargin through getRightMargin and setRightMargin

SpacingAbove through getSpacingAbove and setSpacingAbove

SpacingBelow through getSpacingBelow and setSpacingBelow

Tabs through getTabs

Methods

clearAllTabs

recycle

setTab

setTabs

Creation and access

To create a new RichTextParagraphStyle object, use createRichTextParagraphStyle in Session.

Use a RichTextParagraphStyle object with appendParagraphStyle of RichTextItem. Text that follows a rich text paragraph style assumes the attributes of the rich text paragraph style.

Example