Classes | Defines | Typedefs | Functions | Variables

ie_impGraphic_WMF.cpp File Reference

#include "ut_types.h"
#include "ut_bytebuf.h"
#include "ut_string.h"
#include "ut_debugmsg.h"
#include "ut_assert.h"
#include "fg_GraphicRaster.h"
#include "fg_GraphicVector.h"
#include "ie_impGraphic_WMF.h"
#include <stdio.h>
#include <math.h>
#include <libwmf/api.h>
#include <libwmf/gd.h>
#include <libwmf/svg.h>
#include "xap_Module.h"

Classes

struct  _bbuf_read_info
struct  _bbuf_write_info

Defines

#define WMF2SVG_MAXPECT   (1 << 0)
#define WMF2SVG_MAXSIZE   (1 << 1)

Typedefs

typedef struct _bbuf_read_info bbuf_read_info
typedef struct _bbuf_write_info bbuf_write_info

Functions

static int AbiWord_WMF_read (void *context)
static int AbiWord_WMF_seek (void *context, long pos)
static long AbiWord_WMF_tell (void *context)
static int AbiWord_WMF_function (void *context, char *buffer, int length)
static int explicit_wmf_error (const char *str, wmf_error_t err)
ABI_FAR_CALL int abi_plugin_register (XAP_ModuleInfo *mi)
 Register the OpenDocument plugin.
ABI_FAR_CALL int abi_plugin_unregister (XAP_ModuleInfo *mi)
 Unregister the OpenDocument plugin.
ABI_FAR_CALL int abi_plugin_supports_version (UT_uint32, UT_uint32, UT_uint32)

Variables

static IE_SuffixConfidence IE_ImpGraphicWMF_Sniffer__SuffixConfidence []
static IE_ImpGraphicWMF_Snifferm_impSniffer = 0

Define Documentation

#define WMF2SVG_MAXPECT   (1 << 0)
#define WMF2SVG_MAXSIZE   (1 << 1)

Typedef Documentation


Function Documentation

ABI_FAR_CALL int abi_plugin_register ( XAP_ModuleInfo mi  ) 

Register the OpenDocument plugin.

References IE_ImpGraphic::registerImporter().

ABI_FAR_CALL int abi_plugin_supports_version ( UT_uint32  ,
UT_uint32  ,
UT_uint32   
)
ABI_FAR_CALL int abi_plugin_unregister ( XAP_ModuleInfo mi  ) 
static int AbiWord_WMF_function ( void *  context,
char *  buffer,
int  length 
) [static]
static int AbiWord_WMF_read ( void *  context  )  [static]
static int AbiWord_WMF_seek ( void *  context,
long  pos 
) [static]
static long AbiWord_WMF_tell ( void *  context  )  [static]
static int explicit_wmf_error ( const char *  str,
wmf_error_t  err 
) [static]

Variable Documentation

Initial value:
 {
    { "wmf",    UT_CONFIDENCE_PERFECT   },
    { "",   UT_CONFIDENCE_ZILCH     }
}

Referenced by abi_plugin_unregister().