Two types of data exchange

Although models are the fundamental unit of data exchange, data in the form of a model type X can be exchanged in two ways:

Note that model X can publish its data in the form of any model type Y it can export.

These two types of data exchange are unified by providing an embedder model class (TEmbedderModel). TEmbedderModel contains a collection of embedded document components.

When the source model is required to publish the presenter state information along with the model data, it provides an embedder model containing a single embedded document component. This component contains the copied data and presenter state.

If the data exchange is to be a Type 2 data exchange, then the embedded document component has a presenter state. If the data exchange is to be Type 1, then the model used for the exchange doesn't have an embedded document component.



Selections that receive a component need to be able to absorb TEmbedderModel objects.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker