Classes | Defines | Functions | Variables

AbiGDA.cpp File Reference

#include "xap_Module.h"
#include "xap_App.h"
#include "xap_Frame.h"
#include "fv_View.h"
#include "pd_Document.h"
#include "ap_Menu_Id.h"
#include "ev_Menu_Actions.h"
#include "ev_Menu.h"
#include "ev_Menu_Layouts.h"
#include "ev_Menu_Labels.h"
#include "ev_EditMethod.h"
#include "xap_Menu_Layouts.h"
#include "ut_string_class.h"
#include "ie_imp.h"
#include "ie_types.h"
#include "ut_growbuf.h"
#include "ut_stack.h"
#include "xap_UnixFrameImpl.h"
#include "xap_UnixDialogHelper.h"
#include <gtk/gtk.h>
#include <libgda/libgda.h>
#include <libgnomedb/gnome-db-editor.h>
#include <libgnomedb/gnome-db-login.h>
#include <libgnomedb/gnome-db-util.h>


class  IE_Imp_GDA
 This class' purpose is to take (or generate) a GdaDataModel and turn it into an AbiWord table. More...


#define X_ReturnNoMemIfError(exp)   UT_return_val_if_fail(exp,UT_IE_NOMEMORY)
#define X_CheckError(v)   UT_return_if_fail(v != UT_OK)


static bool handle_recordset (GdaDataModel *recset, PD_Document *pDoc)
static bool gda_ok_pressed (GtkWidget *login, GtkWidget *txt, PD_Document *pDoc)
static bool GDA_execSQL (AV_View *v, EV_EditMethodCallData *d)
static bool GDA_viewDataSources (AV_View *v, EV_EditMethodCallData *d)
static void GDA_removeFromMenus ()
static void GDA_addToMenus ()
ABI_FAR_CALL int abi_plugin_register (XAP_ModuleInfo *mi)
ABI_FAR_CALL int abi_plugin_unregister (XAP_ModuleInfo *mi)
ABI_FAR_CALL int abi_plugin_supports_version (UT_uint32 major, UT_uint32 minor, UT_uint32 release)


static GdaClient * connection_pool = NULL
struct {
   const char *   methodName
   EV_EditMethod_pFn   method
   const char *   label
   const char *   description
   EV_Menu_LayoutFlags   flags
gda_menus []

Define Documentation

#define X_CheckError (   v  )     UT_return_if_fail(v != UT_OK)
#define X_ReturnNoMemIfError (   exp  )     UT_return_val_if_fail(exp,UT_IE_NOMEMORY)

Function Documentation

ABI_FAR_CALL int abi_plugin_register ( XAP_ModuleInfo mi  ) 
ABI_FAR_CALL int abi_plugin_supports_version ( UT_uint32  major,
UT_uint32  minor,
UT_uint32  release 
ABI_FAR_CALL int abi_plugin_unregister ( XAP_ModuleInfo mi  ) 
static void GDA_addToMenus (  )  [static]
static bool GDA_execSQL ( AV_View v,
EV_EditMethodCallData d 
) [static]
static bool gda_ok_pressed ( GtkWidget *  login,
GtkWidget *  txt,
PD_Document pDoc 
) [static]
static void GDA_removeFromMenus (  )  [static]
static bool GDA_viewDataSources ( AV_View v,
EV_EditMethodCallData d 
) [static]
static bool handle_recordset ( GdaDataModel *  recset,
PD_Document pDoc 
) [static]

References IE_Imp_GDA::importDataModel().

Referenced by gda_ok_pressed().

Variable Documentation

GdaClient* connection_pool = NULL [static]
const char* description
const { ... } gda_menus[] [static]
const char* label
const char* methodName