| Operations Summary: | |
| void | initWithMarkerType(in SpeechObject source, in long id, in string text, in long markerType) |
| void | initWithWordEnd(in SpeechObject source, in long id, in string text, in long wordStart, in long wordEnd) |
| long | getMarkerType() |
| string | getText() |
| long | getWordEnd() |
| long | getWordStart() |
| Operations Inherited from SpeechEvent | |
| init, initWithId, getId, getSource, paramString, toString | |
| Operations Inherited from Bonobo::Unknown | |
| ref, unref, queryInterface | |
| Operation Details: |
Initialises an SpeakableEvent with a specified source,
identifier, text and marker type (used for a
MARKER_REACHED event).
MARKER_REACHED event).
Initializer for a specified source, identifier, text, wordStart
and wordEnd (called for a WORD_STARTED event).
WORD_STARTED event).Get the marker type.
MARKER_REACHED event. MARKER_REACHED
ELEMENT_OPEN
ELEMENT_CLOSE
ELEMENT_EMPTY Get the text associated with the event.
For WORD_STARTED, the text is the next word to be
spoken. This text may differ from the text between the
wordStart and wordEnd points is the
original marked up text.
For MARKER_REACHED, the text is the MARK
attribute in the marked up text.
WORD_STARTED
MARKER_REACHED
For a WORD_STARTED event, return the index
of the last character of the word in the marked up text.
For a WORD_STARTED event, return the index
of the first character of the word in the marked up text.