OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Documents

The traditional concept of a document and the Doc/View concept of a document differ in several important ways.

The traditional concept of a document is generally like that of a word-processing file: It consists of text mixed with the occasional graphic, along with embedded commands to assist the word-processing program in formatting the document.

A Doc/View document differs significantly from a traditional document.

  • Contents: A traditional document is mostly text with a few other bits of data, while a Doc/View document can contain literally any type of data, such as text, graphics, sounds, multimedia files, and even other documents.
  • Presentation: The format of a traditional document is usually designed with the document's presentation in mind, while a Doc/View document is completely independent of the way it is displayed.
  • Application format: A document from a particular word-processing program is generally dependent on the format demanded by that program; documents are usually portable between different word-processing programs only after a tedious porting process. Doc/View documents are intended to be application independent, so data can be easily ported between different applications, even applications whose basic functions are highly divergent.

The basic functionality for a document object is provided in the ObjectWindows class TDocument.

See Also