summaryrefslogtreecommitdiff
path: root/include/editeng/eeitemid.hxx
blob: c6b55f4f4b2823c6707fa5267eec2d922781e986 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#ifndef _EEITEMID_HXX
#define _EEITEMID_HXX

#include <editeng/eeitem.hxx>

#ifdef ITEMID_FONT
#undef ITEMID_FONT
#endif
#ifdef ITEMID_FONTHEIGHT
#undef ITEMID_FONTHEIGHT
#endif
#ifdef ITEMID_COLOR
#undef ITEMID_COLOR
#endif
#ifdef ITEMID_WEIGHT
#undef ITEMID_WEIGHT
#endif
#ifdef ITEMID_POSTURE
#undef ITEMID_POSTURE
#endif
#ifdef ITEMID_SHADOWED
#undef ITEMID_SHADOWED
#endif
#ifdef ITEMID_CONTOUR
#undef ITEMID_CONTOUR
#endif
#ifdef ITEMID_CROSSEDOUT
#undef ITEMID_CROSSEDOUT
#endif
#ifdef ITEMID_UNDERLINE
#undef ITEMID_UNDERLINE
#endif
#ifdef ITEMID_OVERLINE
#undef ITEMID_OVERLINE
#endif
#ifdef ITEMID_LANGUAGE
#undef ITEMID_LANGUAGE
#endif
#ifdef ITEMID_ADJUST
#undef ITEMID_ADJUST
#endif
#ifdef ITEMID_WORDLINEMODE
#undef ITEMID_WORDLINEMODE
#endif
#ifdef ITEMID_CHARSETCOLOR
#undef ITEMID_CHARSETCOLOR
#endif
#ifdef ITEMID_SEARCH
#undef ITEMID_SEARCH
#endif
#ifdef ITEMID_BRUSH
#undef ITEMID_BRUSH
#endif

// Character Attributes....
#define ITEMID_FONT             EE_CHAR_FONTINFO
#define ITEMID_POSTURE          EE_CHAR_ITALIC
#define ITEMID_WEIGHT           EE_CHAR_WEIGHT
#define ITEMID_SHADOWED         EE_CHAR_SHADOW
#define ITEMID_CONTOUR          EE_CHAR_OUTLINE
#define ITEMID_CROSSEDOUT       EE_CHAR_STRIKEOUT
#define ITEMID_UNDERLINE        EE_CHAR_UNDERLINE
#define ITEMID_OVERLINE         EE_CHAR_OVERLINE
#define ITEMID_FONTHEIGHT       EE_CHAR_FONTHEIGHT
#define ITEMID_CHARSCALE_W      EE_CHAR_FONTWIDTH
#define ITEMID_COLOR            EE_CHAR_COLOR
#define ITEMID_WORDLINEMODE     EE_CHAR_WLM
#define ITEMID_PROPSIZE         0
#define ITEMID_CHARSETCOLOR     0   // EE_FEATURE_NOTCONV
#define ITEMID_CASEMAP          EE_CHAR_CASEMAP
#define ITEMID_LANGUAGE         0
#define ITEMID_ESCAPEMENT       EE_CHAR_ESCAPEMENT
#define ITEMID_NOLINEBREAK      0
#define ITEMID_NOHYPHENHERE     0
#define ITEMID_AUTOKERN         EE_CHAR_PAIRKERNING
#define ITEMID_KERNING          EE_CHAR_KERNING
#define ITEMID_EMPHASISMARK     EE_CHAR_EMPHASISMARK
#define ITEMID_CHARRELIEF       EE_CHAR_RELIEF

// Paragraph Attributes
#define ITEMID_SCRIPTSPACE      EE_PARA_ASIANCJKSPACING
#define ITEMID_ADJUST           EE_PARA_JUST
#define ITEMID_LINESPACING      EE_PARA_SBL
#define ITEMID_WIDOWS           0
#define ITEMID_ORPHANS          0
#define ITEMID_HYPHENZONE       0

#define ITEMID_TABSTOP          EE_PARA_TABS

#define ITEMID_PAPERBIN         0
#define ITEMID_LRSPACE          EE_PARA_LRSPACE
#define ITEMID_ULSPACE          EE_PARA_ULSPACE
#define ITEMID_FRAMEDIR         EE_PARA_WRITINGDIR
#define ITEMID_PRINT            0
#define ITEMID_OPAQUE           0
#define ITEMID_PROTECT          0
#define ITEMID_BACKGROUND       0
#define ITEMID_SHADOW           0
#define ITEMID_BOX              0
#define ITEMID_BOXINFO          0
#define ITEMID_BRUSH            0

#define ITEMID_FIELD            EE_FEATURE_FIELD

#define ITEMID_SEARCH           0

#endif //_EEITEMID_HXX

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */