Class: Notesgrip::NotesEmbeddedObject
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
- EMBED_OBJECTLINK =
1452
- TypeDic =
{
1454=>'EMBED_ATTACHMENT', 1453=>'EMBED_OBJECT', 1452=>'EMBED_OBJECTLINK'
}
Instance Method Summary
collapse
Methods inherited from GripWrapper
#initialize, #raw
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class Notesgrip::GripWrapper
Instance Method Details
136
137
138
139
|
# File 'lib/notesgrip/NotesRichTextItem.rb', line 136
def ( path )
fullpath = FileSystemObject.instance.fullpath(path)
@raw_object.(fullpath)
end
|
#inspect ⇒ Object
146
147
148
|
# File 'lib/notesgrip/NotesRichTextItem.rb', line 146
def inspect
"<#{self.class} Type:#{TypeDic[self.Type]} Name:#{self.Name.inspect}>"
end
|
#Parent ⇒ Object
Also known as:
parent
131
132
133
|
# File 'lib/notesgrip/NotesRichTextItem.rb', line 131
def Parent
NotesRichTextItem.new(@raw_object.Parent)
end
|
#Remove ⇒ Object
141
142
143
144
|
# File 'lib/notesgrip/NotesRichTextItem.rb', line 141
def Remove()
@raw_object.Remove()
@raw_object = nil
end
|