FHConstants.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libfreehand project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10 #ifndef __FHCONSTANTS_H__
11 #define __FHCONSTANTS_H__
12
13 // VMpObj properties
14
15 #define FH_NAME 0x0321
16 #define FH_UID 0x065b
17 #define FH_PARA_TEXT_ALIGN 0x15e3
18 #define FH_PARA_TEXT_INDENT 0x1604
19 #define FH_PARA_LINE_TOGETHER 0x160b
20 #define FH_PARA_LEFT_INDENT 0x1614
21 #define FH_SPC_LETTER_MAX 0x161c
22 #define FH_SPC_WORD_MAX 0x1624
23 #define FH_SPC_LETTER_MIN 0x1634
24 #define FH_SPC_WORD_MIN 0x163c
25 #define FH_SPC_LETTER_OPT 0x164c
26 #define FH_SPC_WORD_OPT 0x1654
27 #define FH_PARA_RIGHT_INDENT 0x1664
28 #define FH_PARA_SPC_BELLOW 0x1684
29 #define FH_PARA_SPC_ABOVE 0x168c
30 #define FH_PARA_TAB_TABLE_ID 0x1691
31 #define FH_BASELN_SHIFT 0x169c
32 #define FH_PARA_KEEP_SAME_LINE 0x16a2
33 #define FH_TEFFECT_ID 0x16b1
34 #define FH_TXT_COLOR_ID 0x16b9
35 #define FH_FONT_ID 0x16c1
36 #define FH_HOR_SCALE 0x16d4
37 #define FH_PARA_LEADING 0x16dc
38 #define FH_PARA_LEADING_TYPE 0x16e3
39 #define FH_RNG_KERN 0x16ec
40 #define FH_FONT_SIZE 0x1734
41 #define FH_FONT_NAME 0x1739
42 #define FH_NEXT_STYLE 0x1749
43 #define FH_PAGE_START_X 0x1c24
44 #define FH_PAGE_START_Y 0x1c2c
45 #define FH_PAGE_START_X2 0x1c7c
46 #define FH_PAGE_START_Y2 0x1c84
47 #define FH_PAGE_WIDTH 0x1c34
48 #define FH_PAGE_HEIGHT 0x1c3c
49
50 // AGDFont properties
51
52 #define FH_AGD_FONT_NAME 0x0e11
53 #define FH_AGD_STYLE 0x0e1b
54 #define FH_AGD_SIZE 0x0e24
55
56 #define FH_DISLAY_BORDER 0x1302
57 #define FH_INSET_BOTTOM 0x130c
58 #define FH_DIMENSION_HEIGHT 0x131c
59 #define FH_ROWBREAK_FIRST 0x132a
60 #define FH_COL_SEPARATOR 0x1344
61 #define FH_DIMENSION_LEFT 0x134c
62 #define FH_INSET_LEFT 0x1354
63 #define FH_LINETABLE_ID 0x1369
64 #define FH_COL_NUM 0x137b
65 #define FH_ROW_NUM 0x1383
66 #define FH_INSET_RIGHT 0x13ac
67 #define FH_ROW_SEPARATOR 0x13bc
68 #define FH_TEXT_PATH_ID 0x13d1
69 #define FH_DIMENSION_TOP 0x13dc
70 #define FH_INSET_TOP 0x13e4
71 #define FH_TEXT_END_POS 0x13fb
72 #define FH_TEXT_BEGIN_POS 0x1403
73 #define FH_DIMENSION_WIDTH 0x140c
74
75 #define FH_EFFECT_NAME 0x1a91
76 #define FH_UNDERLINE_COLOR_ID 0x1ab9
77 #define FH_UNDERLINE_DASH_ID 0x1ac1
78 #define FH_UNDERLINE_POSITION 0x1acc
79 #define FH_STROKE_WIDTH 0x1ad4
80
81 // LensFill modes
82
83 #define FH_LENSFILL_MODE_TRANSPARENCY 0
84 #define FH_LENSFILL_MODE_MAGNIFY 1
85 #define FH_LENSFILL_MODE_LIGHTEN 2
86 #define FH_LENSFILL_MODE_DARKEN 3
87 #define FH_LENSFILL_MODE_INVERT 4
88 #define FH_LENSFILL_MODE_MONOCHROME 5
89
90 #endif // __FHCONSTANTS_H__
91 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */