findLastElement (RichTextNavigator - Java)

Moves the current position to the last element of a specified type in a rich text item.

Defined in

RichTextNavigator

Syntax

public boolean findLastElement(int type)
    throws NotesException

Parameters

int type
  • RichTextItem.RTELEM_TYPE_DOCLINK
  • RichTextItem.RTELEM_TYPE_FILEATTACHMENT
  • RichTextItem.RTELEM_TYPE_OLE
  • RichTextItem.RTELEM_TYPE_SECTION
  • RichTextItem.RTELEM_TYPE_TABLE
  • RichTextItem.RTELEM_TYPE_TABLECELL
  • RichTextItem.RTELEM_TYPE_TEXTPARAGRAPH
  • RichTextItem.RTELEM_TYPE_TEXTRUN

Return value

boolean
  • true if the element exists and the current position is reset
  • false if the element does not exist and the current position is not reset

Example