appendParagraphStyle (RichTextItem - Java)

Appends a paragraph style to a rich text item. Text following the paragraph style is rendered using the attributes of that paragraph style.

Defined in

RichTextItem

Syntax

public void appendParagraphStyle(RichTextParagraphStyle pstyle)
    throws NotesException

Parameters


RichTextParagraphStyle pstyle

The paragraph style to be appended.

Usage

See RichTextParagraphStyle for details and examples.

Usage

By default the insertion occurs at the end of the item. You can change the insertion point with beginInsert and endInsert.

In an open document in edit mode (the NotesDocument via NotesUIDocument.Document), changes made to rich text will not appear on screen immediately as they would with fields of other types. There is no method to cause this update to occur. You must close and reopen the document to see changes.

Example