Parts Reference
- close
- The close action closes the OLE file.
- deleteAttributes
- The deleteAttributes action deletes the attribute
ByteArray from the receiver. This saved array typically
contains attributes that have meaning to all named OLE objects stored in the
file. This action returns true if it is successful,
false if it fails.
- deleteWidgetNamed: (String)
- The deleteWidgetNamed: action deletes the named widget,
and its arguments, from the file.
- open
- The open action opens the file specified by the part's
path attribute. If the path attribute is
nil, a file prompter will open to request the name of the file to
be opened.
- restoreAttributes
- The restoreAttributes action returns a ByteArray
containing attributes that have meaning to all named OLE objects stored in the
file. This action returns nil if it is unsuccessful.
- restoreAttributesNamed: (String)
- The restoreAttributesNamed: action returns a
ByteArray containing the attributes of the OLE object saved in the
file under the specified name. This action returns nil if it
is unsuccessful.
- restoreWidget: (Object) named: (String)
- The restoreWidget:named: action returns
true if an OLE object with the specified name was successfully read
from the file into the OLE widget. If the OLE object was linked when
saved, the object is restored as a link. If the object was embedded
when saved, the application data for the object is restored from the file to
the widget.
- saveAttributes: (ByteArray)
- The saveAttributes: action saves the specified
ByteArray in the file. The array saved will typically
contain attributes that have meaning to all named OLE objects stored in the
file. This action returns true if it is successful,
false if it fails.
- saveAttributes: (ByteArray) named: (Object)
- The saveAttributes:named: action saves the
specified ByteArray in the file under the specified name.
This action provides a mechanism for saving user-defined attributes of the OLE
object saved under the same name. This action returns true
if it is successful, false if it fails.
- saveWidget: (Object) named: (String)
- The saveWidget:named: action returns
true if the OLE widget's OLE object was successfully saved in
the file under the specified name. If the OLE object is linked when
saved, it will be restored as a link. If the object is embedded when
saved, the application data for the object will be restored from the file to
the widget.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]