JAVA/CORBA CLASSES


RichTextRange class
Example

Represents a range of elements in a rich text item.

Note This class is new with Release 6.5.

Containment

Contained by: RichTextItem

Contains: RichTextStyle

Properties

Navigator through getNavigator

Style through getStyle

TextParagraph through getTextParagraph

TextRun through getTextRun

Type through getType

Methods

Clone

findandReplace

recycle

remove

reset

setBegin

setEnd

setStyle

Creation

To create a new RichTextRange object, use the createRange method in RichTextItem.

The default range for a new RichTextRange is the beginning and end of the item. Type is 0 (no type).

Use setBegin and setEnd in conjunction with the RichTextNavigator methods to delineate a range of elements in the item.

Example
See Also