Class: Notesgrip::NotesRichTextRange
Overview
Represents a range of elements in a rich text item.
Constant Summary
collapse
- RTELEM_TYPE_DOCLINK =
5
- RTELEM_TYPE_FILEATTACHMENT =
8
- RTELEM_TYPE_OLE =
9
- RTELEM_TYPE_SECTION =
6
- RTELEM_TYPE_TABLE =
1
- RTELEM_TYPE_TABLECELL =
7
- RTELEM_TYPE_TEXTPARAGRAPH =
4
- RTELEM_TYPE_TEXTPOSITION =
10
- RTELEM_TYPE_TEXTRUN =
3
- RTELEM_TYPE_TEXTSTRING =
11
- RT_FIND_ACCENTINSENSITIVE =
accent insensitive search (default is accent sensitive)
4
- RT_FIND_CASEINSENSITIVE =
case insensitive search (default is case sensitive)
1
- RT_FIND_PITCHINSENSITIVE =
pitch insensitive search (default is pitch sensitive)
2
- RT_REPL_ALL =
replace all occurrences of the search string
16
- RT_REPL_PRESERVECASE =
preserve case in the replacement string
8
Instance Method Summary
collapse
Methods inherited from GripWrapper
#initialize, #inspect, #raw
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Notesgrip::GripWrapper
Instance Method Details
#Clone ⇒ Object
307
308
309
310
|
# File 'lib/notesgrip/NotesRichTextItem.rb', line 307
def Clone
= @raw_object.Clone
NotesRichTextRange.new()
end
|
#FindAndReplace(target, replacemen, options = 0) ⇒ Object
317
318
319
|
# File 'lib/notesgrip/NotesRichTextItem.rb', line 317
def FindAndReplace( target , replacemen, options=0 )
@raw_object.FindAndReplace( target , replacemen, options )
end
|
#Navigator ⇒ Object
283
284
285
286
|
# File 'lib/notesgrip/NotesRichTextItem.rb', line 283
def Navigator
raw_richTextNavigator = @raw_object.Vavigator
NotesRichTextNavigator.new(raw_richTextNavigator)
end
|
#Remove ⇒ Object
321
322
323
324
|
# File 'lib/notesgrip/NotesRichTextItem.rb', line 321
def Remove
@raw_object.Remove
@raw_object = nil
end
|
#SetBegin(element) ⇒ Object
326
327
328
329
|
# File 'lib/notesgrip/NotesRichTextItem.rb', line 326
def SetBegin( element )
raw_element = toRaw(element)
@raw_object.SetBegin(raw_element)
end
|
#SetEnd(element) ⇒ Object
331
332
333
334
|
# File 'lib/notesgrip/NotesRichTextItem.rb', line 331
def SetEnd( element )
raw_element = toRaw(element)
@raw_object.SetEnd(raw_element)
end
|
#SetStyle(style) ⇒ Object
336
337
338
339
|
# File 'lib/notesgrip/NotesRichTextItem.rb', line 336
def SetStyle( style )
raw_style = toRaw(style)
@raw_object.SetStyle(raw_style)
end
|
#Style ⇒ Object
288
289
290
291
|
# File 'lib/notesgrip/NotesRichTextItem.rb', line 288
def Style
raw_richTextStyle = @raw_object.Stle
NotesRichTextStyle.new(raw_richTextStyle)
end
|
#Type ⇒ Object
303
304
305
|
# File 'lib/notesgrip/NotesRichTextItem.rb', line 303
def Type
@raw_object.Type
end
|