Accessing rich text items in Java classes

An item of Type Item.RICHTEXT (1) allows the inclusion of text of different fonts as well as attachments, embedded objects, tables, doclinks, and sections. The RichTextItem class inherits from Item, meaning that RichTextItem objects can use all the properties and methods of Item. RichTextItem has additional properties and methods that allow you to:

  • Get text renditions of rich text items
  • Navigate in rich text items
  • Write in rich text items
  • Work with text
  • Work with attachments and embedded objects
  • Work with tables
  • Work with doclinks
  • Work with sections

If you don't need the additional properties and methods, you can access a rich text item as either an Item or RichTextItem object.