#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) |
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_Sniffer * | m_impSniffer = 0 |
#define WMF2SVG_MAXPECT (1 << 0) |
Referenced by IE_ImpGraphic_WMF::convertGraphicToSVG().
#define WMF2SVG_MAXSIZE (1 << 1) |
Referenced by IE_ImpGraphic_WMF::convertGraphicToSVG().
ABI_FAR_CALL int abi_plugin_register | ( | XAP_ModuleInfo * | mi | ) |
Register the OpenDocument plugin.
References IE_ImpGraphic::registerImporter().
ABI_FAR_CALL int abi_plugin_unregister | ( | XAP_ModuleInfo * | mi | ) |
Unregister the OpenDocument plugin.
References XAP_ModuleInfo::author, XAP_ModuleInfo::desc, m_impSniffer, XAP_ModuleInfo::name, IE_ImpGraphic::unregisterImporter(), XAP_ModuleInfo::usage, UT_ASSERT, and XAP_ModuleInfo::version.
static int AbiWord_WMF_function | ( | void * | context, | |
char * | buffer, | |||
int | length | |||
) | [static] |
References bbuf_write_info::pByteBuf.
static int AbiWord_WMF_read | ( | void * | context | ) | [static] |
References bbuf_read_info::len, bbuf_read_info::pByteBuf, and bbuf_read_info::pos.
Referenced by IE_ImpGraphic_WMF::convertGraphic(), and IE_ImpGraphic_WMF::convertGraphicToSVG().
static int AbiWord_WMF_seek | ( | void * | context, | |
long | pos | |||
) | [static] |
References bbuf_read_info::pos.
Referenced by IE_ImpGraphic_WMF::convertGraphic(), and IE_ImpGraphic_WMF::convertGraphicToSVG().
static long AbiWord_WMF_tell | ( | void * | context | ) | [static] |
References bbuf_read_info::pos.
Referenced by IE_ImpGraphic_WMF::convertGraphic(), and IE_ImpGraphic_WMF::convertGraphicToSVG().
static int explicit_wmf_error | ( | const char * | str, | |
wmf_error_t | err | |||
) | [static] |
References UT_UNUSED.
Referenced by IE_ImpGraphic_WMF::convertGraphicToSVG().
{ { "wmf", UT_CONFIDENCE_PERFECT }, { "", UT_CONFIDENCE_ZILCH } }
IE_ImpGraphicWMF_Sniffer* m_impSniffer = 0 [static] |
Referenced by abi_plugin_unregister().