#include "ap_Strings.h"
#include "ev_EditMethod.h"
#include "fv_View.h"
#include "fp_Run.h"
#include "ie_impGraphic.h"
#include "pd_Document.h"
#include "pp_AttrProp.h"
#include "gr_Painter.h"
#include "gr_UnixImage.h"
#include "ut_units.h"
#include "gr_UnixCairoGraphics.h"
#include "xap_Dialog_Id.h"
#include "xap_Dlg_FileOpenSaveAs.h"
#include "xap_Dlg_MessageBox.h"
#include "xap_Frame.h"
#include "xap_UnixFrameImpl.h"
#include "xap_UnixDialogHelper.h"
#include "AbiGOComponent.h"
#include "ie_imp_GOComponent.h"
#include "AbiGOffice.h"
#include <math.h>
#include <goffice/component/go-component-factory.h>
#include <goffice/goffice.h>
#include <gsf/gsf-libxml.h>
Defines | |
#define | G_VALUE_INIT { 0, { { 0 } } } |
Functions | |
static void | changed_cb (GOComponent *, gpointer) |
XAP_Dialog_MessageBox::tAnswer | s_CouldNotLoadFileMessage (XAP_Frame *pFrame, const char *pNewFile, UT_Error errorCode) |
static bool | s_AskForGOComponentPathname (XAP_Frame *pFrame, char **ppPathname, IEGraphicFileType *iegft) |
bool | AbiGOComponent_FileInsert (G_GNUC_UNUSED AV_View *v, G_GNUC_UNUSED EV_EditMethodCallData *d) |
static bool | button_press_cb (GtkDialog *dlg, GdkEventButton *ev) |
bool | AbiGOComponent_Create (G_GNUC_UNUSED AV_View *v, G_GNUC_UNUSED EV_EditMethodCallData *d) |
#define G_VALUE_INIT { 0, { { 0 } } } |
bool AbiGOComponent_Create | ( | G_GNUC_UNUSED AV_View * | v, | |
G_GNUC_UNUSED EV_EditMethodCallData * | d | |||
) |
References button_press_cb(), changed_cb(), convertMnemonics(), gchar, XAP_App::getApp(), XAP_Frame::getFrameImpl(), XAP_App::getLastFocussedFrame(), XAP_App::getStringSet(), XAP_UnixFrameImpl::getTopLevelWindow(), XAP_StringSet::getValueUTF8(), and mime_types.
Referenced by AbiGOffice_addToMenus().
bool AbiGOComponent_FileInsert | ( | G_GNUC_UNUSED AV_View * | v, | |
G_GNUC_UNUSED EV_EditMethodCallData * | d | |||
) |
static bool button_press_cb | ( | GtkDialog * | dlg, | |
GdkEventButton * | ev | |||
) | [static] |
Referenced by AbiGOComponent_Create().
static void changed_cb | ( | GOComponent * | component, | |
gpointer | data | |||
) | [static] |
References UT_String::c_str(), FV_View::cmdInsertEmbed(), FV_View::cmdSelect(), flags, XAP_App::getApp(), XAP_Frame::getCurrentView(), XAP_App::getLastFocussedFrame(), FV_View::getPoint(), GOComponentView::update(), UT_String_sprintf(), and void().
Referenced by AbiGOComponent_Create(), and GOComponentView::loadBuffer().
static bool s_AskForGOComponentPathname | ( | XAP_Frame * | pFrame, | |
char ** | ppPathname, | |||
IEGraphicFileType * | iegft | |||
) | [static] |
References IE_ImpGraphic::enumerateDlgLabels(), FREEP, XAP_Dialog_FileOpenSaveAs::getAnswer(), XAP_Frame::getDialogFactory(), XAP_Dialog_FileOpenSaveAs::getFileType(), IE_ImpGraphic::getImporterCount(), XAP_Dialog_FileOpenSaveAs::getPathname(), XAP_Frame::raise(), XAP_DialogFactory::releaseDialog(), XAP_DialogFactory::requestDialog(), XAP_Dialog_FileOpenSaveAs::runModal(), XAP_Dialog_FileOpenSaveAs::setCurrentPathname(), XAP_Dialog_FileOpenSaveAs::setDefaultFileType(), XAP_Dialog_FileOpenSaveAs::setFileTypeList(), XAP_Dialog_FileOpenSaveAs::setSuggestFilename(), type, UT_ASSERT_HARMLESS, UT_calloc(), UT_DEBUGMSG, UT_return_val_if_fail, UT_SHOULD_NOT_HAPPEN, XAP_DIALOG_FILEOPENSAVEAS_FILE_TYPE_AUTO, and XAP_DIALOG_ID_INSERTOBJECT.
Referenced by AbiGOComponent_FileInsert().
XAP_Dialog_MessageBox::tAnswer s_CouldNotLoadFileMessage | ( | XAP_Frame * | pFrame, | |
const char * | pNewFile, | |||
UT_Error | errorCode | |||
) |