25. The method of claim 20, including the step of containing document data.
20. A method for document processing for use in a computer system having a processor, storage and a display under control of the processor, the method comprising the steps of: (a) storing a plurality of model classes in the storage, each one of the plurality of model classes defining referencing data stored in the storage; (b) creating a container object to hold a plurality of objects instantiated from one or more of the plurality of model classes (c) creating logic for processing the data and objects held in the container object; (d) instantiating a root model object from one of the plurality of model classes, the root model object containing a reference to data of a first type; (e) instantiating a plurality of additional model objects from the plurality of model classes each one of the plurality of additional model objects containing a reference to data of a type different from the first type; (f) adding at least one of the additional model objects to a container in the root model object to provide a compound document from the root model object; and (g) processing the compound document by processing the root model object, which applies the processing to the at least one additional model object in the container in the root model object.