1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22#include "svx/dialogs.hrc"
23
24#define VS_SPACING_WIDTH		80
25#define	CUSTOM_HEIGHT			CBOX_HEIGHT +  MBOX_HEIGHT + POPUPPANEL_MARGIN_LARGE * 3 + POPUPPANEL_MARGIN_SMALL * 2 + TEXT_HEIGHT * 2
26#define CUSTOM_WIDTH			VS_SPACING_WIDTH - 8
27#define CUSTOM_X				POPUPPANEL_MARGIN_LARGE + OFFSET_X + 1
28#define CUSTOM_Y				OFFSET_Y + POPUPPANEL_MARGIN_SMALL * 3 + 15 * 6 + TEXT_HEIGHT
29#define VS_UNDERLINE_WIDTH	57
30#define VS_UNDERLINE_HEIGHT	 12 * 10
31//#define FT_TEST					1
32#define CB_SBFONT_FONT			2
33#define MB_SBFONT_FONTSIZE		3
34#define TB_FONT					4
35#define	TB_INCREASE_DECREASE	5
36#define	TB_FONTCOLOR			6
37#define TB_SCRIPT_SW			7
38#define	TB_HIGHLIGHT			8
39#define TB_SPACING				9
40#define TB_SCRIPT				10
41
42
43#define TBI_FONTCOLOR			50
44#define TBI_BOLD				51
45#define TBI_ITALIC				52
46#define TBI_UNDERLINE			53
47#define TBI_STRIKEOUT			54
48#define TBI_SHADOWED			55
49#define TBI_INCREASE			56
50#define TBI_DECREASE			57
51#define TBI_HIGHLIGHT			58
52#define TBI_SUPER				59
53#define TBI_SUB					60
54#define TBI_SUPER_SW			61
55#define TBI_SUB_SW				62
56#define TBI_SPACING				63
57
58#define IMG_SPACING_D				71
59
60//popup window underline
61#define	VS_UNDERLINE			1
62#define PB_OPTIONS				2
63#define BMP_UNDERLINE_MORE		3
64#define BMP_UNDERLINE_MORE_H	4
65
66#define IMG_SINGLE				10
67#define IMG_DOUBLE				11
68#define IMG_BOLD2				12
69#define IMG_DOT					13
70#define IMG_DOT_BOLD			14
71#define IMG_DASH				15
72#define IMG_DASH_LONG			16
73#define IMG_DASH_DOT			17
74#define IMG_DASH_DOT_DOT		18
75#define IMG_WAVE				19
76
77#define STR_SINGLE				20
78#define STR_DOUBLE				21
79#define STR_BOLD				22
80#define STR_DOT					23
81#define STR_DOT_BOLD			24
82#define STR_DASH				25
83#define STR_DASH_LONG			26
84#define STR_DASH_DOT			27
85#define STR_DASH_DOT_DOT		28
86#define STR_WAVE				29
87
88#define IMG_SINGLE_H			30
89#define IMG_DOUBLE_H			31
90#define IMG_BOLD2_H				32
91#define IMG_DOT_H				33
92#define IMG_DOT_BOLD_H			34
93#define IMG_DASH_H				35
94#define IMG_DASH_LONG_H			36
95#define IMG_DASH_DOT_H			37
96#define IMG_DASH_DOT_DOT_H		38
97#define IMG_WAVE_H				39
98
99#define IMG_SINGLE_SEL			40
100#define IMG_DOUBLE_SEL			41
101#define IMG_BOLD2_SEL			42
102#define IMG_DOT_SEL				43
103#define IMG_DOT_BOLD_SEL		44
104#define IMG_DASH_SEL			45
105#define IMG_DASH_LONG_SEL		46
106#define IMG_DASH_DOT_SEL		47
107#define IMG_DASH_DOT_DOT_SEL	48
108#define IMG_WAVE_SEL			49
109
110#define STR_WITHOUT             50
111
112//popup window font color
113#define VS_FONT_COLOR			1
114#define STR_AUTOMATICE			2
115
116//POPUP WINDOW OF SPACING
117#define VS_SPACING					1
118
119#define	CT_BORDER					7
120#define LB_KERNING					8
121#define ED_KERNING					9
122
123#define FT_SPACING					18
124#define FT_BY						19
125#define FT_LASTCUSTOM				20
126
127#define IMG_NORMAL					31
128#define IMG_VERY_TIGHT				32
129#define IMG_TIGHT					33
130#define IMG_LOOSE					34
131#define IMG_VERY_LOOSE				35
132#define IMG_CUSTOM					36
133#define IMG_CUSTOM_GRAY				37
134
135#define IMG_NORMAL_S				51
136#define IMG_VERY_TIGHT_S			52
137#define IMG_TIGHT_S					53
138#define IMG_LOOSE_S					54
139#define IMG_VERY_LOOSE_S			55
140
141#define STR_VERY_TIGHT				61
142#define STR_TIGHT					62
143#define STR_NORMAL					63
144#define STR_LOOSE					64
145#define STR_VERY_LOOSE				65
146#define STR_CUSTOM					66
147
148#define STR_VERY_TIGHT_TIP			67
149#define STR_TIGHT_TIP				68
150#define STR_NORMAL_TIP				69
151#define STR_LOOSE_TIP				70
152#define STR_VERY_LOOSE_TIP			71
153
154#define STR_CUSTOM_C_TIP			72
155#define STR_CUSTOM_E_TIP			73
156#define STR_PT						74
157
158//help ids
159#define	HID_COMBO_FONT_NAME				"SVX_HID_COMBO_FONT_NAME"
160#define HID_METRIC_FONT_SIZE            "SVX_HID_METRIC_FONT_SIZE"
161#define HID_TB_INCREASE_DECREASE		"SVX_HID_TB_INCREASE_DECREASE"
162#define HID_TBI_INCREASE				"SVX_HID_TBI_INCREASE"
163#define HID_TBI_DECREASE				"SVX_HID_TBI_DECREASE"
164#define HID_TB_FONT						"SVX_HID_TB_FONT"
165#define HID_TBI_FONT_BOLD				"SVX_HID_TBI_FONT_BOLD"
166#define HID_TBI_FONT_ITALIC				"SVX_HID_TBI_FONT_ITALIC"
167#define HID_TBI_FONT_UNDERLINE			"SVX_HID_TBI_FONT_UNDERLINE"
168#define HID_TBI_FONT_STRIKEOUT			"SVX_HID_TBI_FONT_STRIKEOUT"
169#define HID_TBI_FONT_SHADOWED			"SVX_HID_TBI_FONT_SHADOWED"
170#define HID_TB_COLOR					"SVX_HID_TB_COLOR"
171#define HID_TBI_COLOR					"SVX_HID_TBI_COLOR"
172#define HID_TB_SCRIPT					"SVX_HID_TB_SCRIPT"
173#define HID_TBI_SCRIPT_SUPER			"SVX_HID_TBI_SCRIPT_SUPER"
174#define HID_TBI_SCRIPT_SUB				"SVX_HID_TBI_SCRIPT_SUB"
175#define HID_TB_SCRIPT_SW				"SVX_HID_TB_SCRIPT_SW"
176#define HID_TBI_SCRIPT_SW_SUPER			"SVX_HID_TBI_SCRIPT_SW_SUPER"
177#define HID_TBI_SCRIPT_SW_SUB			"SVX_HID_TBI_SCRIPT_SW_SUB"
178#define HID_TB_SPACING					"SVX_HID_TB_SPACING"
179#define HID_TBI_SPACING					"SVX_HID_TBI_SPACING"
180#define HID_TB_HIGHLIGHT				"SVX_HID_TB_HIGHLIGHT"
181#define HID_TBI_HIGHLIGHT				"SVX_HID_TBI_HIGHLIGHT"
182
183#define HID_UNDERLINE_VS				"SVX_HID_UNDERLINE_VS"
184#define HID_UNDERLINE_BTN				"SVX_HID_UNDERLINE_BTN"
185
186#define HID_COLOR_VS					"SVX_HID_COLOR_VS"
187
188#define HID_SPACING_TB_VERY_LOOSE		"SVX_HID_SPACING_TB_VERY_LOOSE"
189#define HID_SPACING_TBI_VERY_LOOSE		"SVX_HID_SPACING_TBI_VERY_LOOSE"
190#define HID_SPACING_TB_LOOSE			"SVX_HID_SPACING_TB_LOOSE"
191#define HID_SPACING_TBI_LOOSE			"SVX_HID_SPACING_TBI_LOOSE"
192#define HID_SPACING_TB_NORMAL			"SVX_HID_SPACING_TB_NORMAL"
193#define HID_SPACING_TBI_NORMAL			"SVX_HID_SPACING_TBI_NORMAL"
194#define HID_SPACING_TB_TIGHT			"SVX_HID_SPACING_TB_TIGHT"
195#define HID_SPACING_TBI_TIGHT			"SVX_HID_SPACING_TBI_TIGHT"
196#define HID_SPACING_TB_VERY_TIGHT		"SVX_HID_SPACING_TB_VERY_TIGHT"
197#define HID_SPACING_TBI_VERY_TIGHT		"SVX_HID_SPACING_TBI_VERY_TIGHT"
198#define HID_SPACING_TB_CUSTOM			"SVX_HID_SPACING_TB_CUSTOM"
199#define HID_SPACING_TBI_CUSTOM			"SVX_HID_SPACING_TBI_CUSTOM"
200#define HID_SPACING_CB_KERN				"SVX_HID_SPACING_CB_KERN"
201#define HID_SPACING_MB_KERN				"SVX_HID_SPACING_MB_KERN"
202