The CommonPoint application system anticipates that end users do not want to have their documents limited to data such as simple text and graphics. They want to have audio and full-motion video.
In the CommonPoint application system, models can hold either text or graphics. Many components can be used within the same document to provide a sophisticated presentation.
A model such as a simple text model (TTextModel) contains only its native data types (TText). Models that support embedding (such as TEmbedderTextModel) will also be able to manage document components that contain foreign data as well as their own native data.
In the CommonPoint application system persistent data is streamed in from storage media, operated upon during a document session, and then streamed out to the storage media again.
Types of models
The Compound Document framework provides two different types of models:
is the base class from which TEmbedderModel is derived.
Types of data
within a model
Storing data
from a model
Models are told by the document when it is time to commit their data to persistent storage. The model is asked to stream out its data only if the data is changed. Editing data
in a model
The model classes define member functions that permit access to the data within the model. Depending on how these functions are written (or overridden) you can add, delete, or change the information contained in the model.
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Generated with WebMaker