|GR_EmbedView (AD_Document *pDoc, UT_uint32 api)|
see the document abi/src/doc/EmbedablePlugins.abw for a more detailed Descrition of the this class. Almost all the methods in this class are overridden by a specific embedable plugin. However this code is pure XP AbiWord that can be happily used through the rest of the AbiWord program without needing any external libraries. The idea is to have a generic XP class with a well defined API with default implementations. Plugins are subclasses of this class which override the default implementations.
The basic idea is that the EmbedManager takes care of drawing each object of the Managers Type. Each object created by the manager gets it's own unique identifier which is used as index into a collection of valid classes which each draw their own object.
Little helper class to keep track of default views. api is the Attribute/Properties Index which gives the attributes/properties the Embedded object.