API Reference


Brew Release
Brew MP 1.0.2
IDocModel is inherited from the IModel interface and is used to input data into a document viewer such as the HTML widget. This model only contains applet side methods (for inputting data), the widget to model interface is undefined and uses private methods for data access.
The DocModel is created by and bound to the HTML widget. - The user can get the model pointer from the HTML Widget using the api:
IWidget_GetModel() from the html widget pointer using the AEEIID_IDocModel id. - Can load the source using: IDocModel_LoadSource(), IDocModel_Write(), etc.
- To add a listener for HTML Widget call the following:
LISTENER_SetListenerInfo() with the listener function IDocModel_AddListener() to add the previously created listener - The listener function can be set up to catch events such as: EVT_HDM_RESET,
  • Follow