#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>
Classes | |
class | IE_Imp_GDA |
This class' purpose is to take (or generate) a GdaDataModel and turn it into an AbiWord table. More... | |
Defines | |
#define | X_ReturnNoMemIfError(exp) UT_return_val_if_fail(exp,UT_IE_NOMEMORY) |
#define | X_CheckError(v) UT_return_if_fail(v != UT_OK) |
Functions | |
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) |
Variables | |
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 X_CheckError | ( | v | ) | UT_return_if_fail(v != UT_OK) |
Referenced by IE_Imp_GDA::addCell(), IE_Imp_GDA::closeTable(), and IE_Imp_GDA::openTable().
#define X_ReturnNoMemIfError | ( | exp | ) | UT_return_val_if_fail(exp,UT_IE_NOMEMORY) |
Referenced by IE_Imp_GDA::_importDataModel().
ABI_FAR_CALL int abi_plugin_register | ( | XAP_ModuleInfo * | mi | ) |
References connection_pool, and GDA_addToMenus().
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] |
References EV_Menu_ActionSet::addAction(), EV_EditMethodContainer::addEditMethod(), XAP_Menu_Factory::addNewLabel(), XAP_Menu_Factory::addNewMenuAfter(), description, flags, gda_menus, XAP_App::getApp(), XAP_App::getEditMethodContainer(), XAP_App::getFrame(), XAP_App::getFrameCount(), XAP_App::getMenuActionSet(), XAP_App::getMenuFactory(), label, method, methodName, and XAP_Frame::rebuildMenus().
Referenced by abi_plugin_register().
static bool GDA_execSQL | ( | AV_View * | v, | |
EV_EditMethodCallData * | d | |||
) | [static] |
static bool gda_ok_pressed | ( | GtkWidget * | login, | |
GtkWidget * | txt, | |||
PD_Document * | pDoc | |||
) | [static] |
References connection_pool, handle_recordset(), and UT_UTF8String::utf8_str().
Referenced by GDA_execSQL().
static void GDA_removeFromMenus | ( | ) | [static] |
References DELETEP, ev_EditMethod_lookup(), gda_menus, XAP_App::getApp(), XAP_App::getEditMethodContainer(), XAP_App::getFrame(), XAP_App::getFrameCount(), XAP_App::getMenuFactory(), label, methodName, XAP_Frame::rebuildMenus(), EV_EditMethodContainer::removeEditMethod(), and XAP_Menu_Factory::removeMenuItem().
Referenced by abi_plugin_unregister().
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().
GdaClient* connection_pool = NULL [static] |
Referenced by abi_plugin_register(), abi_plugin_unregister(), and gda_ok_pressed().
const char* description |
Referenced by GR_Win32USPGraphics::_drawChars(), IE_Imp_StarOffice::_loadFile(), addToMenus(), EV_CocoaMenu::buildAppMenu, changed_cb(), XAP_UnixFrameImpl::_fe::configure_event(), IE_ImpGraphic_WMF::convertGraphic(), IE_ImpGraphic_WMF::convertGraphicToSVG(), GDA_addToMenus(), readFlagRec(), XAP_Win32Dialog_MessageBox::runModal(), s_getDragInfo(), XAP_Prefs::startElement(), streamRead(), EV_Win32Menu::synthesizeMenu(), and GOComponentView::update().
const { ... } gda_menus[] [static] |
Referenced by GDA_addToMenus(), and GDA_removeFromMenus().
const char* label |
Referenced by XAP_UnixDialog_HTMLOptions::_constructWindow(), AP_UnixDialog_EpubExportOptions::_constructWindow(), AP_UnixDialog_Options::_constructWindowContents(), s_XSL_FO_Listener::_handleField(), XAP_CocoaDialog_FileOpenSaveAs::_makeSavePanel, EV_Menu::addMenuItem(), addToMenus(), GDA_addToMenus(), GDA_execSQL(), GDA_removeFromMenus(), fl_AutoNum::getLabel(), getSelectedText(), XAP_Toolbar_Factory::getToolbarNames(), LocalizeControl(), LocalizedString(), AP_UnixDialog_Spell::onSuggestionChanged(), XAP_UnixDialog_MessageBox::runModal(), XAP_CocoaDialog_WindowMore::runModal(), s_GetMenuItemComputedLabel_Fn(), XAP_OpenSavePanel_AccessoryController::setFileTypeLabel:, EV_Menu_LabelSet::setLabel(), AP_RDFSemanticItemGTKInjected< AP_RDFContact >::showEditorWindow(), and AiksaurusGTK_impl::Display::showMessage().
Referenced by abi_widget_invoke_ex(), addToMenus(), DumpEditMethods_invoke(), EV_EditBindingMap::findEditBits(), and GDA_addToMenus().
const char* methodName |