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