addPageBreak (RichTextItem - Java)

Appends a page break to a rich text item.

Defined in



public void addPageBreak()
    throws NotesException
public void addPageBreak(RichTextParagraphStyle pstyle)
    throws NotesException


RichTextParagraphStyle pstyle

Starts the new page with the specified paragraph style.


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.