summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-07-29 19:22:59 +0200
committerThomas Arnhold <thomas@arnhold.org>2012-07-29 19:36:35 +0200
commit10ada83716e7c7d591d2c7d5c19cc5920db38faf (patch)
treeb29591fe42aa79fcf7a2aad4593efb4f11272506 /svtools
parentc03cdb3968c18f95da82ab58c6cc2050fccc4707 (diff)
Partially revert "Remove unused defines"
This partially reverts 00240d049790d11c4ef35de7a294819107197efd http://lists.freedesktop.org/archives/libreoffice/2012-July/035331.html Change-Id: Ib682cd258cca12e742be5fb1715b2aecfe0a761e
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/filter/wmf/winmtf.hxx23
1 files changed, 15 insertions, 8 deletions
diff --git a/svtools/source/filter/wmf/winmtf.hxx b/svtools/source/filter/wmf/winmtf.hxx
index 8e2194c280cb..bf81be57ff55 100644
--- a/svtools/source/filter/wmf/winmtf.hxx
+++ b/svtools/source/filter/wmf/winmtf.hxx
@@ -77,11 +77,11 @@
#define BLACK_PEN 7
#define NULL_PEN 8
#define OEM_FIXED_FONT 10
-// ANSI_FIXED_FONT 11
-// ANSI_VAR_FONT 12
-// SYSTEM_FONT 13
-// DEVICE_DEFAULT_FONT 14
-// DEFAULT_PALETTE 15
+#define ANSI_FIXED_FONT 11
+#define ANSI_VAR_FONT 12
+#define SYSTEM_FONT 13
+#define DEVICE_DEFAULT_FONT 14
+#define DEFAULT_PALETTE 15
#define SYSTEM_FIXED_FONT 16
@@ -122,10 +122,12 @@
#define BLACKONWHITE 1
#define WHITEONBLACK 2
#define COLORONCOLOR 3
+#define HALFTONE 4
#define MAXSTRETCHBLTMODE 4
#define STRETCH_ANDSCANS BLACKONWHITE
#define STRETCH_ORSCANS WHITEONBLACK
#define STRETCH_DELETESCANS COLORONCOLOR
+#define STRETCH_HALFTONE HALFTONE
#define LF_FACESIZE 32
@@ -185,6 +187,11 @@ struct WMF_EXTERNALHEADER;
#define PS_ALTERNATE 8
#define PS_STYLE_MASK 15
+#define PS_ENDCAP_ROUND 0x000
+#define PS_ENDCAP_SQUARE 0x100
+#define PS_ENDCAP_FLAT 0x200
+#define PS_ENDCAP_MASK 0xF00
+
#define PS_JOIN_ROUND 0x0000
#define PS_JOIN_BEVEL 0x1000
#define PS_JOIN_MITER 0x2000
@@ -220,9 +227,9 @@ struct WMF_EXTERNALHEADER;
/*WINVER >= 0x0400*/
#define ETO_GLYPH_INDEX 0x0010
#define ETO_RTLREADING 0x0080
-// ETO_NUMERICSLOCAL 0x0400
-// ETO_NUMERICSLATIN 0x0800
-// ETO_IGNORELANGUAGE 0x1000
+#define ETO_NUMERICSLOCAL 0x0400
+#define ETO_NUMERICSLATIN 0x0800
+#define ETO_IGNORELANGUAGE 0x1000
/*_WIN32_WINNT >= 0x0500*/
#define ETO_PDY 0x2000