#include <stdio.h>
#include <stdlib.h>
#include "ut_types.h"
#include "ut_assert.h"
#include "ut_debugmsg.h"
#include "ut_string.h"
#include "ie_imp_Applix.h"
#include "pd_Document.h"
#include "ut_growbuf.h"
#include "ut_bytebuf.h"
#include "xap_EncodingManager.h"
#include "ie_impexp_Applix.h"
Defines | |
#define | AX_STR_CMP(x, y) strcmp((x), (y)) |
#define | AX_STRN_CMP(x, y, z) strncmp((x), (y), (z)) |
#define | APPLIX_LINE_LENGTH 80 |
#define | APPLIX_MAX_LINE_LENGTH 4096 |
#define | nAxWords (sizeof(IE_Imp_Applix::axwords) / sizeof(IE_Imp_Applix::axwords[0])) |
#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 char * | fgets (char *s, int count, GsfInput *stream) |
Variables | |
static IE_SuffixConfidence | IE_Imp_Applix_Sniffer__SuffixConfidence [] |
static IE_MimeConfidence | IE_Imp_Applix_Sniffer__MimeConfidence [] |
#define APPLIX_LINE_LENGTH 80 |
Referenced by IE_Imp_Applix::_parseFile(), and IE_Imp_Applix::s_getTagName().
#define APPLIX_MAX_LINE_LENGTH 4096 |
Referenced by IE_Imp_Applix::_applixGetLine().
Referenced by IE_Imp_Applix::s_name_2_tag().
#define nAxWords (sizeof(IE_Imp_Applix::axwords) / sizeof(IE_Imp_Applix::axwords[0])) |
#define X_CleanupIfError | ( | error, | ||
exp | ||||
) | do { if (((error)=(exp)) != UT_OK) goto Cleanup; } while (0) |
Referenced by IE_Imp_Applix::_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) |
Referenced by IE_Imp_Applix::_writeHeader().
static char* fgets | ( | char * | s, | |
int | count, | |||
GsfInput * | stream | |||
) | [static] |
Referenced by IE_Imp_Applix::_applixGetLine(), read_aliases(), and UT_UnixAssertMsg().
{ { IE_MIME_MATCH_FULL, IE_MIMETYPE_Applix, UT_CONFIDENCE_GOOD }, { IE_MIME_MATCH_BOGUS, "", UT_CONFIDENCE_ZILCH } }
{ { "aw", UT_CONFIDENCE_PERFECT }, { "", UT_CONFIDENCE_ZILCH } }