OWLNext 7.0
Borland's Object Windows Library for the modern age
|
The TDocument class provides basic functionality for your document classes.
You can expand the functionality of your document classes, for example, to add special functions for manipulating data, for understanding and acting on the information obtained from the user through a document's associated view, and so on. All this functionality goes into your TDocument-derived classes.
Because the Doc/View model is so flexible, there are no requirements or rules as to how you should approach this task. A document can handle almost any type of data because the Doc/View data-handling mechanism is a primitive framework, intended to be extended by derived classes. The base classes provided in ObjectWindows provide the functionality to support your extensions to the Doc/View model.