appendStyle (RichTextItem - Java)

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

Defined in

RichTextItem

Syntax

public void appendStyle(RichTextStyle style)
    throws NotesException

Parameters


RichTextStyle style

The style to be appended.

Usage

This method does not affect text appended by appendRTItem.

See "RichTextStyle" for details and examples.

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