#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 X_CleanupIfError | ( | error, | ||
| exp | ||||
| ) | do { if (((error)=(exp)) != UT_OK) goto Cleanup; } while (0) |
Referenced by IE_Imp_Object::_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) |
{
{ 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 }
}
{
{ "xml", UT_CONFIDENCE_GOOD },
{ "", UT_CONFIDENCE_ZILCH }
}
1.7.1