DocComponentClass Class Reference
This provides a class of objects which implement an interface to a particular kind of document component - for example a colour table, or a list of arrowheads. Each kind of object should register with the application on startup, and then when a document is created, each of these objects is asked to add an instance of a DocumentComponent object to it. The DocumentComponent objects are the actual implemtations of the components. For example, they contain the colours for a colour list, and so on. This class, the DocumentComponentClass, is merely for registering the existence of a new kind of document component, and providing a mechanism for inserting them into new documents.
More...
#include <doccomp.h>
Inheritance diagram for DocComponentClass:
List of all members.
Detailed Description
This provides a class of objects which implement an interface to a particular kind of document component - for example a colour table, or a list of arrowheads. Each kind of object should register with the application on startup, and then when a document is created, each of these objects is asked to add an instance of a DocumentComponent object to it. The DocumentComponent objects are the actual implemtations of the components. For example, they contain the colours for a colour list, and so on. This class, the DocumentComponentClass, is merely for registering the existence of a new kind of document component, and providing a mechanism for inserting them into new documents.
- Author:
- Tim_Browse (Xara Group Ltd) <camelotdev@xara.com>
- Date:
- 01/08/94
- See also:
- DocumentComponent
Definition at line 132 of file doccomp.h.
Member Function Documentation
virtual BOOL DocComponentClass::AddComponent |
( |
BaseDocument * |
|
) |
[pure virtual] |
|
|
Implemented in BitmapListComponentClass, BrushComponentClass, ColourListComponentClass, FontComponentClass, DocInfoComponentClass, PrintComponentClass, PrintMarkComponentClass, StrokeComponentClass, WizOpStyleComponentClass, UnitListComponentClass, and ViewComponentClass. |
The documentation for this class was generated from the following file:
Generated on Sat Nov 10 03:53:42 2007 for Camelot by
1.4.4