Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

wmfimport.cpp File Reference

#include "scconfig.h"
#include "wmfimport.h"
#include <QCursor>
#include <QDrag>
#include <QBuffer>
#include <QDataStream>
#include <QFile>
#include <QMimeData>
#include <QPainterPath>
#include <QRegExp>
#include "customfdialog.h"
#include "scribus.h"
#include "scribusXml.h"
#include "propertiespalette.h"
#include "prefsfile.h"
#include <cmath>
#include "commonstrings.h"
#include "fpointarray.h"
#include "menumanager.h"
#include "prefsmanager.h"
#include "pageitem.h"
#include "scraction.h"
#include "scribuscore.h"
#include "scribusdoc.h"
#include "selection.h"
#include "undomanager.h"
#include "loadsaveplugin.h"
#include "util.h"
#include "util_icon.h"
#include "util_math.h"
#include "fonts/scfontmetrics.h"
#include "wmfstruct.h"
#include "wmfcmd.h"
#include "wmfcontext.h"
#include "wmfhandle.h"
#include "metafuncs.h"

Include dependency graph for wmfimport.cpp:

Go to the source code of this file.

Defines

#define WMFIMPORT_DEBUG   1
#define MAX_OBJHANDLE   128
#define ANSI_CHARSET   0
#define DEFAULT_CHARSET   1
#define SYMBOL_CHARSET   2
#define MAC_CHARSET   77
#define SHIFTJIS_CHARSET   128
#define HANGEUL_CHARSET   129
#define JOHAB_CHARSET   130
#define GB2312_CHARSET   134
#define CHINESEBIG5_CHARSET   136
#define GREEK_CHARSET   161
#define TURKISH_CHARSET   162
#define VIETNAMESE_CHARSET   163
#define HEBREW_CHARSET   177
#define ARABIC_CHARSET   178
#define BALTIC_CHARSET   186
#define RUSSIAN_CHARSET   204
#define THAI_CHARSET   222
#define EASTEUROPE_CHARSET   238
#define OEM_CHARSET   255

Variables

static const ushort greek_symbol_to_unicode [64]
static const ushort symbol_to_unicode [96]


Define Documentation

#define ANSI_CHARSET   0

Definition at line 56 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define ARABIC_CHARSET   178

Definition at line 69 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define BALTIC_CHARSET   186

Definition at line 70 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define CHINESEBIG5_CHARSET   136

Definition at line 64 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define DEFAULT_CHARSET   1

Definition at line 57 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define EASTEUROPE_CHARSET   238

Definition at line 73 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define GB2312_CHARSET   134

Definition at line 63 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define GREEK_CHARSET   161

Definition at line 65 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define HANGEUL_CHARSET   129

Definition at line 61 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define HEBREW_CHARSET   177

Definition at line 68 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define JOHAB_CHARSET   130

Definition at line 62 of file wmfimport.cpp.

#define MAC_CHARSET   77

Definition at line 59 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define MAX_OBJHANDLE   128

#define OEM_CHARSET   255

Definition at line 74 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define RUSSIAN_CHARSET   204

Definition at line 71 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define SHIFTJIS_CHARSET   128

Definition at line 60 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define SYMBOL_CHARSET   2

Definition at line 58 of file wmfimport.cpp.

Referenced by WMFImport::extTextOut().

#define THAI_CHARSET   222

Definition at line 72 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define TURKISH_CHARSET   162

Definition at line 66 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define VIETNAMESE_CHARSET   163

Definition at line 67 of file wmfimport.cpp.

Referenced by WMFImport::codecFromCharset().

#define WMFIMPORT_DEBUG   1

Definition at line 53 of file wmfimport.cpp.

Referenced by WMFImport::loadWMF(), and WMFImport::parseWmfCommands().


Variable Documentation

const ushort greek_symbol_to_unicode[64] [static]

Initial value:

 {




    0x0391, 0x0392, 0x03A7, 0x0394, 0x0395, 0x03A6, 0x0393, 0x0397,

    0x0399, 0x03D1, 0x039A, 0x039B, 0x039C, 0x039D, 0x039F, 0x03A0,

    0x0398, 0x03A1, 0x03A3, 0x03A4, 0x03A5, 0x03DB, 0x03A9, 0x039E,

    0x03A8, 0x0396, 0x03EA, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,




    0x03B1, 0x03B2, 0x03C7, 0x03B4, 0x03B5, 0x03D5, 0x03B3, 0x03B7,

    0x03B9, 0x03C6, 0x03BA, 0x03BB, 0x03BC, 0x03BD, 0x03BF, 0x03C0,

    0x03B8, 0x03C1, 0x03C3, 0x03C4, 0x03C5, 0x03D6, 0x03B9, 0x03BE,

    0x03C8, 0x03B6, 0x03EA, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD
}

Definition at line 78 of file wmfimport.cpp.

Referenced by WMFImport::symbolToUnicode().

const ushort symbol_to_unicode[96] [static]

Definition at line 105 of file wmfimport.cpp.

Referenced by WMFImport::symbolToUnicode().

Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.