#include "ut_types.h"#include "ut_assert.h"#include "ut_debugmsg.h"#include "ut_string.h"#include "ut_iconv.h"#include "ie_imp_GOComponent.h"#include "pd_Document.h"#include "xap_EncodingManager.h"#include "ap_Dialog_Id.h"#include "xap_DialogFactory.h"#include "xap_Dlg_Encoding.h"#include "ap_Prefs.h"#include "ie_imp_Text.h"#include "xap_Frame.h"#include "xap_UnixFrameImpl.h"#include "fv_View.h"#include <goffice/component/go-component-factory.h>#include <goffice/utils/go-file.h>Defines | |
| #define | X_CleanupIfError(error, exp) do { if (((error)=(exp)) != UT_OK) goto Cleanup; } while (0) |
| #define | X_ReturnIfFail(exp, error) do { bool b = (exp); if (!b) return (error); } while (0) |
| #define | X_ReturnNoMemIfError(exp) X_ReturnIfFail(exp,UT_IE_NOMEMORY) |
Functions | |
| static UT_Confidence_t | supports_mime (const char *szMIME) |
Variables | |
| GSList * | mime_types |
| static IE_MimeConfidence * | IE_Imp_Component_Sniffer__MimeConfidence = NULL |
| #define X_CleanupIfError | ( | error, | ||
| exp | ||||
| ) | do { if (((error)=(exp)) != UT_OK) goto Cleanup; } while (0) |
Referenced by IE_Imp_Component::_loadFile().
| #define X_ReturnIfFail | ( | exp, | ||
| error | ||||
| ) | do { bool b = (exp); if (!b) return (error); } while (0) |
| #define X_ReturnNoMemIfError | ( | exp | ) | X_ReturnIfFail(exp,UT_IE_NOMEMORY) |
| static UT_Confidence_t supports_mime | ( | const char * | szMIME | ) | [static] |
References mime_types.
Referenced by IE_Imp_Component_Sniffer::getMimeConfidence(), and IE_Imp_Component_Sniffer::recognizeContents().
IE_MimeConfidence* IE_Imp_Component_Sniffer__MimeConfidence = NULL [static] |
| GSList* mime_types |
Referenced by IE_Imp_Component::_parseStream(), abi_plugin_register(), abi_plugin_unregister(), AbiGOComponent_Create(), AbiGOffice_addToMenus(), AbiGOffice_removeFromMenus(), IE_ImpGraphicGdkPixbuf_Sniffer::getMimeConfidence(), IE_Imp_Component_Sniffer::getMimeConfidence(), IE_ImpGraphic_GdkPixbuf::pixbufForByteBuf(), and supports_mime().
1.7.1