#include "xap_Module.h"#include "ie_imp_GOChart.h"#include "ie_imp_GOComponent.h"#include "xap_App.h"#include "xap_Frame.h"#include "ap_Menu_Id.h"#include "ev_Menu_Actions.h"#include "ev_EditMethod.h"#include "xap_Menu_Layouts.h"#include "ut_stack.h"#include "AbiGOffice.h"#include "AbiGOChart.h"#include "AbiGOComponent.h"#include <goffice/component/go-component-factory.h>#include <gsf/gsf-impl-utils.h>#include <list>#include <string>Typedefs | |
| typedef GObject | AbiCmdContext |
| typedef GObjectClass | AbiCmdContextClass |
Functions | |
| static void | abi_error_error (G_GNUC_UNUSED GOCmdContext *cc, GError *error) |
| static void | abi_error_info (G_GNUC_UNUSED GOCmdContext *cc, GOErrorInfo *error) |
| static char * | abi_get_password (G_GNUC_UNUSED GOCmdContext *cc, G_GNUC_UNUSED char const *filename) |
| static void | abi_set_sensitive (G_GNUC_UNUSED GOCmdContext *cc, G_GNUC_UNUSED gboolean sensitive) |
| static void | abi_progress_set (G_GNUC_UNUSED GOCmdContext *cc, G_GNUC_UNUSED double val) |
| static void | abi_progress_message_set (G_GNUC_UNUSED GOCmdContext *cc, G_GNUC_UNUSED gchar const *msg) |
| static void | abi_cmd_context_init (GOCmdContextClass *iface) |
| GSF_CLASS_FULL (AbiCmdContext, abi_cmd_context, NULL, NULL, NULL, NULL, NULL, G_TYPE_OBJECT, 0, GSF_INTERFACE(abi_cmd_context_init, GO_TYPE_CMD_CONTEXT)) static const char *Object_MenuLabelObject | |
| static void | AbiGOffice_addToMenus () |
| static void | AbiGOffice_removeFromMenus () |
| GOCmdContext * | abi_goffice_get_cmd_context (void) |
| static void | register_mime_cb (char const *mime_type, XAP_App *pApp) |
| 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 (G_GNUC_UNUSED UT_uint32 major, G_GNUC_UNUSED UT_uint32 minor, G_GNUC_UNUSED UT_uint32 release) |
| cairo_status_t | abi_CairoWrite (UT_ByteBuf *buf, unsigned char *data, unsigned int length) |
Variables | |
| static const char * | Object_MenuTooltipObject = "Insert Embeddable Object" |
| static const char * | AbiGOChart_MenuLabelInsert = "Gnome Office Chart" |
| static const char * | AbiGOChart_MenuTooltipInsert = "Create a chart" |
| static const char * | AbiGOComponent_MenuLabelInsertFromFile = "From File" |
| static const char * | AbiGOComponent_MenuTooltipInsertFromFile = "Insert the contents of a file" |
| static const char * | AbiGOComponent_MenuLabelCreate = "New" |
| static const char * | AbiGOComponent_MenuTooltipCreate = "Create a new object" |
| static XAP_Menu_Id | newObjectID = 0 |
| static XAP_Menu_Id | InsertGOChartID = 0 |
| static XAP_Menu_Id | InsertGOComponentFromFileID = 0 |
| static XAP_Menu_Id | CreateGOComponentID = 0 |
| static GR_GOChartManager * | pGOChartManager = NULL |
| static GR_GOComponentManager * | pGOComponentManager = NULL |
| static IE_Imp_Object_Sniffer * | m_impSniffer = 0 |
| static IE_Imp_Component_Sniffer * | m_impCSniffer = 0 |
| static GOCmdContext * | cc |
| std::list< std::string > | uids |
| typedef GObject AbiCmdContext |
| typedef GObjectClass AbiCmdContextClass |
| cairo_status_t abi_CairoWrite | ( | UT_ByteBuf * | buf, | |
| unsigned char * | data, | |||
| unsigned int | length | |||
| ) |
Referenced by GOChartView::exportToPNG(), GOChartView::exportToSVG(), and LasemMathView::getSnapShot().
| static void abi_cmd_context_init | ( | GOCmdContextClass * | iface | ) | [static] |
| static void abi_error_error | ( | G_GNUC_UNUSED GOCmdContext * | cc, | |
| GError * | error | |||
| ) | [static] |
| static void abi_error_info | ( | G_GNUC_UNUSED GOCmdContext * | cc, | |
| GOErrorInfo * | error | |||
| ) | [static] |
| static char* abi_get_password | ( | G_GNUC_UNUSED GOCmdContext * | cc, | |
| G_GNUC_UNUSED char const * | filename | |||
| ) | [static] |
| GOCmdContext* abi_goffice_get_cmd_context | ( | void | ) |
| ABI_FAR_CALL int abi_plugin_register | ( | XAP_ModuleInfo * | mi | ) |
| ABI_FAR_CALL int abi_plugin_supports_version | ( | G_GNUC_UNUSED UT_uint32 | major, | |
| G_GNUC_UNUSED UT_uint32 | minor, | |||
| G_GNUC_UNUSED UT_uint32 | release | |||
| ) |
| ABI_FAR_CALL int abi_plugin_unregister | ( | XAP_ModuleInfo * | mi | ) |
References AbiGOffice_removeFromMenus(), XAP_ModuleInfo::author, XAP_App::deleteClipboardFmt(), DELETEP, XAP_ModuleInfo::desc, XAP_App::getApp(), GR_GOComponentManager::getObjectType(), GR_GOChartManager::getObjectType(), mime_types, XAP_ModuleInfo::name, GR_GOChartManager::removeContextualMenu(), XAP_App::unRegisterEmbeddable(), IE_Imp::unregisterImporter(), XAP_ModuleInfo::usage, and XAP_ModuleInfo::version.
| static void abi_progress_message_set | ( | G_GNUC_UNUSED GOCmdContext * | cc, | |
| G_GNUC_UNUSED gchar const * | msg | |||
| ) | [static] |
| static void abi_progress_set | ( | G_GNUC_UNUSED GOCmdContext * | cc, | |
| G_GNUC_UNUSED double | val | |||
| ) | [static] |
| static void abi_set_sensitive | ( | G_GNUC_UNUSED GOCmdContext * | cc, | |
| G_GNUC_UNUSED gboolean | sensitive | |||
| ) | [static] |
| static void AbiGOffice_addToMenus | ( | ) | [static] |
References AbiGOChart_Create(), AbiGOChart_MenuLabelInsert, AbiGOChart_MenuTooltipInsert, AbiGOComponent_Create(), AbiGOComponent_FileInsert(), AbiGOComponent_MenuLabelCreate, AbiGOComponent_MenuLabelInsertFromFile, AbiGOComponent_MenuTooltipCreate, AbiGOComponent_MenuTooltipInsertFromFile, EV_Menu_ActionSet::addAction(), EV_EditMethodContainer::addEditMethod(), XAP_Menu_Factory::addNewLabel(), XAP_Menu_Factory::addNewMenuAfter(), XAP_Menu_Factory::addNewMenuBefore(), EV_MLF_BeginSubMenu, EV_MLF_EndSubMenu, EV_MLF_Normal, XAP_App::getApp(), XAP_App::getEditMethodContainer(), XAP_App::getFrame(), XAP_App::getFrameCount(), XAP_App::getMenuActionSet(), XAP_App::getMenuFactory(), mime_types, Object_MenuTooltipObject, XAP_Frame::rebuildMenus(), and UT_DEBUGMSG.
Referenced by abi_plugin_register().
| static void AbiGOffice_removeFromMenus | ( | ) | [static] |
References CreateGOComponentID, DELETEP, ev_EditMethod_lookup(), XAP_App::getApp(), XAP_App::getEditMethodContainer(), XAP_App::getFrame(), XAP_App::getFrameCount(), XAP_App::getMenuFactory(), InsertGOChartID, InsertGOComponentFromFileID, mime_types, newObjectID, XAP_Frame::rebuildMenus(), EV_EditMethodContainer::removeEditMethod(), and XAP_Menu_Factory::removeMenuItem().
Referenced by abi_plugin_unregister().
| GSF_CLASS_FULL | ( | AbiCmdContext | , | |
| abi_cmd_context | , | |||
| NULL | , | |||
| NULL | , | |||
| NULL | , | |||
| NULL | , | |||
| NULL | , | |||
| G_TYPE_OBJECT | , | |||
| 0 | , | |||
| GSF_INTERFACE(abi_cmd_context_init, GO_TYPE_CMD_CONTEXT) | ||||
| ) | const |
| static void register_mime_cb | ( | char const * | mime_type, | |
| XAP_App * | pApp | |||
| ) | [static] |
References XAP_App::addClipboardFmt(), and XAP_App::registerEmbeddable().
Referenced by abi_plugin_register().
const char* AbiGOChart_MenuLabelInsert = "Gnome Office Chart" [static] |
Referenced by AbiGOffice_addToMenus().
const char* AbiGOChart_MenuTooltipInsert = "Create a chart" [static] |
Referenced by AbiGOffice_addToMenus().
const char* AbiGOComponent_MenuLabelCreate = "New" [static] |
Referenced by AbiGOffice_addToMenus().
const char* AbiGOComponent_MenuLabelInsertFromFile = "From File" [static] |
Referenced by AbiGOffice_addToMenus().
const char* AbiGOComponent_MenuTooltipCreate = "Create a new object" [static] |
Referenced by AbiGOffice_addToMenus().
const char* AbiGOComponent_MenuTooltipInsertFromFile = "Insert the contents of a file" [static] |
Referenced by AbiGOffice_addToMenus().
GOCmdContext* cc [static] |
Referenced by AP_Win32Preview_Annotation::_createToolTip(), AP_Win32Dialog_FormatTable::_onCommand(), AP_Win32Dialog_FormatFrame::_onCommand(), AP_Win32Dialog_Border_Shading::_onCommand(), AP_UnixDialog_Options::event_ChooseTransparentColor(), g_cclosure_user_marshal_VOID__INT_INT_INT(), g_cclosure_user_marshal_VOID__UINT_UINT(), and AP_Win32Dialog_Background::runModal().
XAP_Menu_Id CreateGOComponentID = 0 [static] |
Referenced by AbiGOffice_removeFromMenus().
XAP_Menu_Id InsertGOChartID = 0 [static] |
Referenced by AbiGOffice_removeFromMenus().
XAP_Menu_Id InsertGOComponentFromFileID = 0 [static] |
Referenced by AbiGOffice_removeFromMenus().
IE_Imp_Component_Sniffer* m_impCSniffer = 0 [static] |
IE_Imp_Object_Sniffer* m_impSniffer = 0 [static] |
XAP_Menu_Id newObjectID = 0 [static] |
Referenced by AbiGOffice_removeFromMenus().
const char* Object_MenuTooltipObject = "Insert Embeddable Object" [static] |
Referenced by AbiGOffice_addToMenus().
GR_GOChartManager* pGOChartManager = NULL [static] |
GR_GOComponentManager* pGOComponentManager = NULL [static] |
| std::list<std::string> uids |
1.7.1