rtLib — Notes Rich Text Management Library Documentation of rtLib — Notes Rich Text Management Library Download rtLib — Notes Rich Text Management Library FAQ of rtLib — Notes Rich Text Management Library Purchase rtLib — Notes Rich Text Management Library Feedback about rtLib — Notes Rich Text Management Library
rtContainer

defineLabelAsText

Start searchMail feedback

rtContainer


All As rtCollection
BeginInsert
containsStyle
defineLabel
defineLabelAsText
docLinks As rtEnumeration
hasContent
hotspots As rtEnumeration
ID
ParentObject
sections As rtEnumeration
Style As rtStyle
tables As rtEnumeration
textRuns As rtEnumeration



add
addAfter
addNewLine As rTextParagraph
addPageBreak As rTextParagraph
appendItemValue
appendStyle
appendText As rTextParagraph
AddBefore
AddCollection
contains
createTextRange As rTextRange
Collection As rtCollection
Count
EndInsert
Find As rTextRange
FindNext As rTextRange
getFirstElement
getLastElement
getNextElement
getPrevElement
getRichTextItem
getText
importRTF
New
remove
replaceItemValue
root As rtContainer
Replace
SetStyle

version 1.5

Property Set defineLabelAsText As String

Objects having Labels may be defined as text to be included along with the regular text. A statement:

ctx.defineLabelAsText = RT_OBJ_BUTTON + RT_OBJ_SECTION

define all button labels and section titles to be included in text search functionality.

If you have defined it like above, the statement:

Msgbox ctx.Text

may display something like:

Some text <<this is button label>>

<<section title>>

some text in section...