Defines | Variables

ie_imp_GOChart.cpp File Reference

#include "ut_types.h"
#include "ut_assert.h"
#include "ut_debugmsg.h"
#include "ut_string.h"
#include "ut_iconv.h"
#include "ie_imp_GOChart.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"

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)

Variables

static IE_SuffixConfidence IE_Imp_Object_Sniffer__SuffixConfidence []
static IE_MimeConfidence IE_Imp_Object_Sniffer__MimeConfidence []

Define Documentation

#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)

Variable Documentation

Initial value:
 {
    { IE_MIME_MATCH_FULL,   "application/x-goffice-graph",  UT_CONFIDENCE_PERFECT   },
    { IE_MIME_MATCH_FULL,   "application/xml",              UT_CONFIDENCE_GOOD      },  
    { IE_MIME_MATCH_BOGUS,  "",                             UT_CONFIDENCE_ZILCH     }
}
Initial value:
 {
    { "xml",    UT_CONFIDENCE_GOOD      },
    { "",   UT_CONFIDENCE_ZILCH     }
}