#include <stdio.h>#include <stdlib.h>#include <string.h>#include "ut_types.h"#include "ut_assert.h"#include "ut_debugmsg.h"#include "ut_string.h"#include "ie_imp_ClarisWorks.h"#include "pd_Document.h"#include "ut_growbuf.h"#include "xap_Module.h"Defines | |
| #define | ABI_BUILTIN_FAR_CALL ABI_FAR_CALL |
| #define | X_CleanupIfError(ies, exp) do { if (((ies)=(exp)) != UT_OK) goto Cleanup; } while (0) |
| #define | X_ReturnIfFail(exp, ies) do { bool b = (exp); if (!b) return (ies); } while (0) |
| #define | X_ReturnNoMemIfError(exp) X_ReturnIfFail(exp,UT_IE_NOMEMORY) |
Enumerations | |
| enum | { CW_HANDLED_VERSION = 5 } |
Functions | |
| ABI_BUILTIN_FAR_CALL int | abi_plugin_register (XAP_ModuleInfo *mi) |
| ABI_BUILTIN_FAR_CALL int | abi_plugin_unregister (XAP_ModuleInfo *mi) |
| ABI_BUILTIN_FAR_CALL int | abi_plugin_supports_version (UT_uint32, UT_uint32, UT_uint32) |
Variables | |
| static IE_Imp_ClarisWorks_Sniffer * | m_sniffer = 0 |
| static const char | PROPS_XML_ATTR_NAME [] = "props" |
| static const char | FONT_FAMILY [] = "font-family:%s;" |
| static const char | FONT_STYLE [] = "font-style:%s;" |
| static const char | FONT_STYLE_ITALIC [] = "italic" |
| static const char | FONT_WEIGHT [] = "font-weight:%s;" |
| static const char | FONT_WEIGHT_BOLD [] = "bold" |
| static const char | FONT_SIZE [] = "font-size:%spt;" |
| static IE_SuffixConfidence | IE_Imp_ClarisWorks_Sniffer__SuffixConfidence [] |
| #define ABI_BUILTIN_FAR_CALL ABI_FAR_CALL |
| #define X_CleanupIfError | ( | ies, | ||
| exp | ||||
| ) | do { if (((ies)=(exp)) != UT_OK) goto Cleanup; } while (0) |
Referenced by IE_Imp_ClarisWorks::_loadFile().
| #define X_ReturnIfFail | ( | exp, | ||
| ies | ||||
| ) | do { bool b = (exp); if (!b) return (ies); } while (0) |
| #define X_ReturnNoMemIfError | ( | exp | ) | X_ReturnIfFail(exp,UT_IE_NOMEMORY) |
Referenced by IE_Imp_ClarisWorks::_parseFile(), and IE_Imp_ClarisWorks::_writeHeader().
| ABI_BUILTIN_FAR_CALL int abi_plugin_register | ( | XAP_ModuleInfo * | mi | ) |
| ABI_BUILTIN_FAR_CALL int abi_plugin_unregister | ( | XAP_ModuleInfo * | mi | ) |
const char FONT_FAMILY[] = "font-family:%s;" [static] |
const char FONT_SIZE[] = "font-size:%spt;" [static] |
const char FONT_STYLE[] = "font-style:%s;" [static] |
const char FONT_STYLE_ITALIC[] = "italic" [static] |
const char FONT_WEIGHT[] = "font-weight:%s;" [static] |
const char FONT_WEIGHT_BOLD[] = "bold" [static] |
{
{ "cwk", UT_CONFIDENCE_PERFECT },
{ "", UT_CONFIDENCE_ZILCH }
}
IE_Imp_ClarisWorks_Sniffer* m_sniffer = 0 [static] |
const char PROPS_XML_ATTR_NAME[] = "props" [static] |
1.7.1