XML FOR DOMINO


objectref element
Represents a reference to an object or control in rich text. This element defines how the object is rendered by the Notes client. The actual data making up the object is stored in a number of $FILE items; the name attribute identifies the first of these items.

Containment Hierarchy

Contained by: %richtext.hot.inline;

Contains: <associatedfiles>, %richtext.nonhot.inline;

Syntax

<!ELEMENT objectref ( associatedfiles?, (%richtext.nonhot.inline;)* )>

Content

associatedfiles?, %richtext.nonhot.inline;


Attributes

<!ATTLIST objectref
version%integer;"2"
name%string;#REQUIRED
class%string;#IMPLIED
type(%objectref.types;)"embeddedobject"
savewhenchanged%boolean;"false"
render%boolean;"true"
displayformat(%objectref.display.formats;)"metafile"
description%string;#IMPLIED
classid%string;#REQUIRED
storageformat(%objectref.storage.formats;)"structstorage"
scripted%boolean;"false"
runreadonly%boolean;"false"
fittowindow%boolean;"false"
control%boolean;"false"
fitbelowfields%boolean;"false"
regionid%integer;#IMPLIED
%html.core.attrs;
>

class


classid
control
description
displayformat
fitbelowfields
fittowindow
name
regionid
render
savewhenchanged
scripted
storageformat
type
version
Defined entity for <objectref> element

The %objectref.display.formats; entity defines the style with which to display the object. Not all objects support all display formats.

Syntax:

<!ENTITY % objectref.display.formats "text | metafile | bitmap | richtext | icon ">

bitmap


icon
metafile
richtext
text
The %objectref.storage.formats; entity defines the types of storage formats used to store objects. Each format consists of the following interfaces used in different combinations:
InterfaceDefinition
IStorageProvides the structure of the object, by supporting and managing object storage.
IStreamProvides access to the streams, which contain the data, by allowing you to read and write data to stream objects. Streams are elements nested within a storage object.
IRootStorageProvides a single method that switches a storage object to a different underlying file and saves the object to that file. This interface is implemented in addition to the IStorage interface for storage objects that are based on a file.
Syntax:

<!ENTITY % objectref.storage.formats "structstorage | istorageistream | structstream ">

istorageistream


structstorage
structstream
The %objectref.types; entity defines the types of objects you can include in a Notes form. The two basic object types in Lotus Notes are defined in the following table:
Basic object typeDefinition
LinkedThese objects live in the source application, which means that they can be updated in one location and the updates are automatically picked up by any documents containing links to those objects. Linking also requires that the user opening a document containing a linked object has access to the location where the source file is stored.
EmbeddedLive with the form they are embedded in. Users can modify an embedded object but must have access to the source application to view it and access to Lotus Domino Designer to edit it.
Syntax:

<!ENTITY % objectref.types "autolink | manuallink | embeddedobject ">

autolink


embeddedobject
manuallink
See Also