#include <GDocView.h>
Inheritance diagram for GDocumentEnv:
Public Member Functions | |
virtual bool | AppendItems (GSubMenu *Menu, int Base=1000) |
virtual bool | OnMenu (GDocView *View, int Id) |
virtual bool | GetImageUri (char *Uri, GSurface **pDC, char *FileName=0, int FileBufSize=0) |
virtual bool | OnNavigate (char *Uri) |
Handle a click on URI. | |
virtual char * | OnDynamicContent (char *Code) |
Friends | |
class | GDocView |
|
Creating a context menu, usually when the user right clicks on the document. |
|
Return an external image resource based on URI Either by setting *pDC to something or by sending the GDocView a M_IMAGE_LOADED message sometime down the track with the Uri loaded and the image handle. This is useful for loading images in the background. In that case you should still return true here but leave the *pDC as NULL. Reimplemented in GDefaultDocumentEnv. |
|
Process dynamic content, returning a dynamically allocated string for the result of the executed script. Dynamic content is enclosed between <? and ?>. |
|
Do something when the menu items created by GDocumentEnv::AppendItems are clicked. |