#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "ut_types.h"
#include "ut_assert.h"
#include "ut_debugmsg.h"
#include "pd_Document.h"
#include "ut_string_class.h"
#include "ut_std_string.h"
#include "xap_Prefs.h"
#include "ie_imp_T602.h"
#include "xap_App.h"
#include "xap_Module.h"
Defines | |
#define | ABI_BUILTIN_FAR_CALL ABI_FAR_CALL |
#define | X_CheckDocError(v) if ((!v)) { UT_DEBUGMSG(("X_CheckDocError: ie_imp_T602.cpp:%d\n", __LINE__)); return UT_IE_IMPORTERROR; } |
#define | X_CheckT602Error(v) if ((v != UT_OK)) { UT_DEBUGMSG(("X_CheckT602Error: ie_imp_T602.cpp:%d\n", __LINE__)); return UT_IE_IMPORTERROR; } |
Functions | |
ABI_BUILTIN_FAR_CALL int | abi_plugin_register (XAP_ModuleInfo *mi) |
Register the OpenDocument plugin. | |
ABI_BUILTIN_FAR_CALL int | abi_plugin_unregister (XAP_ModuleInfo *mi) |
Unregister the OpenDocument plugin. | |
ABI_BUILTIN_FAR_CALL int | abi_plugin_supports_version (UT_uint32, UT_uint32, UT_uint32) |
Variables | |
static IE_Imp_T602_Sniffer * | m_sniffer = 0 |
static IE_SuffixConfidence | IE_Imp_T602_Sniffer__SuffixConfidence [] |
static const UT_uint16 | keybcs22ucs [] |
static const UT_uint16 | cp8522ucs [] |
static const UT_uint16 | koi8cs2ucs [] |
#define ABI_BUILTIN_FAR_CALL ABI_FAR_CALL |
#define X_CheckDocError | ( | v | ) | if ((!v)) { UT_DEBUGMSG(("X_CheckDocError: ie_imp_T602.cpp:%d\n", __LINE__)); return UT_IE_IMPORTERROR; } |
#define X_CheckT602Error | ( | v | ) | if ((v != UT_OK)) { UT_DEBUGMSG(("X_CheckT602Error: ie_imp_T602.cpp:%d\n", __LINE__)); return UT_IE_IMPORTERROR; } |
ABI_BUILTIN_FAR_CALL int abi_plugin_register | ( | XAP_ModuleInfo * | mi | ) |
Register the OpenDocument plugin.
References XAP_ModuleInfo::author, XAP_ModuleInfo::desc, XAP_ModuleInfo::name, IE_Imp::registerImporter(), XAP_ModuleInfo::usage, UT_ASSERT, and XAP_ModuleInfo::version.
ABI_BUILTIN_FAR_CALL int abi_plugin_unregister | ( | XAP_ModuleInfo * | mi | ) |
Unregister the OpenDocument plugin.
References XAP_ModuleInfo::author, XAP_ModuleInfo::desc, XAP_ModuleInfo::name, IE_Imp::unregisterImporter(), XAP_ModuleInfo::usage, UT_ASSERT, and XAP_ModuleInfo::version.
{ { "602", UT_CONFIDENCE_PERFECT }, { "t602", UT_CONFIDENCE_PERFECT }, { "txt", UT_CONFIDENCE_POOR }, { "", UT_CONFIDENCE_ZILCH } }
const UT_uint16 keybcs22ucs[] [static] |
const UT_uint16 koi8cs2ucs[] [static] |
IE_Imp_T602_Sniffer* m_sniffer = 0 [static] |