Class: Notesgrip::NotesEmbeddedObject

Inherits:
GripWrapper show all
Defined in:
lib/notesgrip/NotesRichTextItem.rb

Overview

NotesEmbeddedObject Class ================

An embedded object(attached file(EMBED_ATTACHMENT), object link(EMBED_OBJECTLINK), OLE(EMBED_OBJECT), etc)

Constant Summary collapse

EMBED_ATTACHMENT =
1454
EMBED_OBJECT =
1453
1452
TypeDic =
{
  1454=>'EMBED_ATTACHMENT', 1453=>'EMBED_OBJECT', 1452=>'EMBED_OBJECTLINK'
}

Instance Method Summary collapse

Methods inherited from GripWrapper

#initialize, #raw

Constructor Details

This class inherits a constructor from Notesgrip::GripWrapper

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Notesgrip::GripWrapper

Instance Method Details

#Activate(show = false) ⇒ Object



268
269
270
# File 'lib/notesgrip/NotesRichTextItem.rb', line 268

def Activate(show=false)
  @raw_object.Activate(show)
end

#ClassObject

—– Simple Relay Methods ——-



218
219
220
# File 'lib/notesgrip/NotesRichTextItem.rb', line 218

def Class()
  @raw_object.Class()
end

#DoVerb(verb) ⇒ Object



272
273
274
# File 'lib/notesgrip/NotesRichTextItem.rb', line 272

def DoVerb(verb)
  @raw_object.DoVerb(verb)
end

#ExtractFile(path) ⇒ Object



203
204
205
206
# File 'lib/notesgrip/NotesRichTextItem.rb', line 203

def ExtractFile( path )
  fullpath = FileSystemObject.instance.fullpath(path)
  @raw_object.ExtractFile(fullpath)
end

#FileSizeObject



222
223
224
# File 'lib/notesgrip/NotesRichTextItem.rb', line 222

def FileSize()
  @raw_object.FileSize()
end

#FitBelowFieldsObject



226
227
228
# File 'lib/notesgrip/NotesRichTextItem.rb', line 226

def FitBelowFields()
  @raw_object.FitBelowFields()
end

#FitBelowFields=(flag) ⇒ Object



229
230
231
# File 'lib/notesgrip/NotesRichTextItem.rb', line 229

def FitBelowFields=(flag)
  @raw_object.FitBelowFields = flag
end

#FitToWindowObject



233
234
235
# File 'lib/notesgrip/NotesRichTextItem.rb', line 233

def FitToWindow()
  @raw_object.FitToWindow()
end

#FitToWindow=(flag) ⇒ Object



236
237
238
# File 'lib/notesgrip/NotesRichTextItem.rb', line 236

def FitToWindow=(flag)
  @raw_object.FitToWindow = flag
end

#inspectObject



213
214
215
# File 'lib/notesgrip/NotesRichTextItem.rb', line 213

def inspect
  "<#{self.class} Type:#{TypeDic[self.Type]} Name:#{self.Name.inspect}>"
end

#NameObject



240
241
242
# File 'lib/notesgrip/NotesRichTextItem.rb', line 240

def Name()
  @raw_object.Name()
end

#ObjectObject



244
245
246
# File 'lib/notesgrip/NotesRichTextItem.rb', line 244

def Object()
  @raw_object.Object()
end

#ParentObject Also known as: parent



198
199
200
# File 'lib/notesgrip/NotesRichTextItem.rb', line 198

def Parent
  NotesRichTextItem.new(@raw_object.Parent)
end

#RemoveObject



208
209
210
211
# File 'lib/notesgrip/NotesRichTextItem.rb', line 208

def Remove()
  @raw_object.Remove()
  @raw_object = nil
end

#RunReadOnlyObject



248
249
250
# File 'lib/notesgrip/NotesRichTextItem.rb', line 248

def RunReadOnly()
  @raw_object.RunReadOnly()
end

#RunReadOnly=(flag) ⇒ Object



252
253
254
# File 'lib/notesgrip/NotesRichTextItem.rb', line 252

def RunReadOnly=(flag)
  @raw_object.RunReadOnly = flag
end

#SourceObject



256
257
258
# File 'lib/notesgrip/NotesRichTextItem.rb', line 256

def Source()
  @raw_object.Source()
end

#TypeObject



260
261
262
# File 'lib/notesgrip/NotesRichTextItem.rb', line 260

def Type()
  @raw_object.Type()
end

#VerbsObject



264
265
266
# File 'lib/notesgrip/NotesRichTextItem.rb', line 264

def Verbs()
  @raw_object.Verbs()
end