1b9e67834SAndre Fischer/**************************************************************
2*769abe26Smseidel *
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
10*769abe26Smseidel *
11b9e67834SAndre Fischer *   http://www.apache.org/licenses/LICENSE-2.0
12*769abe26Smseidel *
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.
19*769abe26Smseidel *
20b9e67834SAndre Fischer *************************************************************/
21b9e67834SAndre Fischer
22*769abe26Smseidel
23*769abe26Smseidel
24b9e67834SAndre Fischer#include "svx/dialogs.hrc"
25b9e67834SAndre Fischer
26b9e67834SAndre Fischer#define VS_SPACING_WIDTH		80
27*769abe26Smseidel#define	CUSTOM_HEIGHT			CBOX_HEIGHT + MBOX_HEIGHT + POPUPPANEL_MARGIN_LARGE * 3 + POPUPPANEL_MARGIN_SMALL * 2 + TEXT_HEIGHT * 2
28b9e67834SAndre Fischer#define CUSTOM_WIDTH			VS_SPACING_WIDTH - 8
29b9e67834SAndre Fischer#define CUSTOM_X				POPUPPANEL_MARGIN_LARGE + OFFSET_X + 1
30b9e67834SAndre Fischer#define CUSTOM_Y				OFFSET_Y + POPUPPANEL_MARGIN_SMALL * 3 + 15 * 6 + TEXT_HEIGHT
31d4aefcaeSZheng Fan#define VS_UNDERLINE_WIDTH	57
32d4aefcaeSZheng Fan#define VS_UNDERLINE_HEIGHT	 12 * 10
336a606da0SAndre Fischer
34*769abe26Smseidel#define CONTROL_HEIGHT_FONT_NAME		250
356a606da0SAndre Fischer#define CONTROL_HEIGHT_FONT_SIZE		180
366a606da0SAndre Fischer#define FONTSIZE_WIDTH					(TOOLBOX_ITEM_WIDTH * 2 - 1)
376a606da0SAndre Fischer#define FONTNAME_WIDTH					(TOOLBOX_ITEM_WIDTH * 4)
386a606da0SAndre Fischer//PROPERTYPAGE_WIDTH - (FONTSIZE_WIDTH) - 6)
396a606da0SAndre Fischer
406a606da0SAndre Fischer#define TB_SPACE				18
416a606da0SAndre Fischer#define TB_SPACE_V				4
426a606da0SAndre Fischer#define TEXT_WIDTH				TOOLBOX_42_42_ITEM_DD_WIDTH + TB_SPACE - 3
436a606da0SAndre Fischer
446a606da0SAndre Fischer#define FT_TB_SPACE				1
456a606da0SAndre Fischer#define BK_IMG					20
466a606da0SAndre Fischer
47*769abe26Smseidel#define X0						SECTIONPAGE_MARGIN_HORIZONTAL
48*769abe26Smseidel#define X1						SECTIONPAGE_MARGIN_HORIZONTAL + 1 + TOOLBOX_ITEM_WIDTH * 2 + 4
49*769abe26Smseidel#define X2						(PROPERTYPAGE_WIDTH - (FONTSIZE_WIDTH))
50*769abe26Smseidel#define X3						(X2 - (TOOLBOX_ITEM_DD_WIDTH) - 3)
51*769abe26Smseidel
52*769abe26Smseidel#define FIRST_LINE_Y			SECTIONPAGE_MARGIN_VERTICAL_TOP
53*769abe26Smseidel#define SECOND_LINE_Y			FIRST_LINE_Y + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL
54*769abe26Smseidel#define THIRD_LINE_Y			SECOND_LINE_Y + CONTROL_SPACING_VERTICAL + TOOLBOX_ITEM_HEIGHT
556a606da0SAndre Fischer
566a606da0SAndre Fischer
576a606da0SAndre Fischer
586a606da0SAndre Fischer
59b9e67834SAndre Fischer//#define FT_TEST					1
60b9e67834SAndre Fischer#define CB_SBFONT_FONT			2
61b9e67834SAndre Fischer#define MB_SBFONT_FONTSIZE		3
62b9e67834SAndre Fischer#define TB_FONT					4
63b9e67834SAndre Fischer#define	TB_INCREASE_DECREASE	5
64b9e67834SAndre Fischer#define	TB_FONTCOLOR			6
65ae13266dSAndre Fischer#define	TB_FONTCOLOR_SW			7
66b9e67834SAndre Fischer#define	TB_HIGHLIGHT			8
67b9e67834SAndre Fischer#define TB_SPACING				9
68b9e67834SAndre Fischer#define TB_SCRIPT				10
69ae13266dSAndre Fischer#define TB_SCRIPT_SW			11
70b9e67834SAndre Fischer
71b9e67834SAndre Fischer#define TBI_FONTCOLOR			50
72b9e67834SAndre Fischer#define TBI_BOLD				51
73b9e67834SAndre Fischer#define TBI_ITALIC				52
74b9e67834SAndre Fischer#define TBI_UNDERLINE			53
75b9e67834SAndre Fischer#define TBI_STRIKEOUT			54
76b9e67834SAndre Fischer#define TBI_SHADOWED			55
77b9e67834SAndre Fischer#define TBI_INCREASE			56
78b9e67834SAndre Fischer#define TBI_DECREASE			57
79b9e67834SAndre Fischer#define TBI_HIGHLIGHT			58
80b9e67834SAndre Fischer#define TBI_SUPER				59
81b9e67834SAndre Fischer#define TBI_SUB					60
82b9e67834SAndre Fischer#define TBI_SUPER_SW			61
83b9e67834SAndre Fischer#define TBI_SUB_SW				62
84b9e67834SAndre Fischer#define TBI_SPACING				63
85b9e67834SAndre Fischer
86b9e67834SAndre Fischer#define IMG_SPACING_D				71
87b9e67834SAndre Fischer
88*769abe26Smseidel// popup window underline
89b9e67834SAndre Fischer#define	VS_UNDERLINE			1
90b9e67834SAndre Fischer#define PB_OPTIONS				2
91b9e67834SAndre Fischer
92b9e67834SAndre Fischer#define IMG_SINGLE				10
93b9e67834SAndre Fischer#define IMG_DOUBLE				11
94b9e67834SAndre Fischer#define IMG_BOLD2				12
95b9e67834SAndre Fischer#define IMG_DOT					13
96b9e67834SAndre Fischer#define IMG_DOT_BOLD			14
97b9e67834SAndre Fischer#define IMG_DASH				15
98b9e67834SAndre Fischer#define IMG_DASH_LONG			16
99b9e67834SAndre Fischer#define IMG_DASH_DOT			17
100b9e67834SAndre Fischer#define IMG_DASH_DOT_DOT		18
101b9e67834SAndre Fischer#define IMG_WAVE				19
102b9e67834SAndre Fischer
103b9e67834SAndre Fischer#define STR_SINGLE				20
104b9e67834SAndre Fischer#define STR_DOUBLE				21
105b9e67834SAndre Fischer#define STR_BOLD				22
106b9e67834SAndre Fischer#define STR_DOT					23
107b9e67834SAndre Fischer#define STR_DOT_BOLD			24
108b9e67834SAndre Fischer#define STR_DASH				25
109b9e67834SAndre Fischer#define STR_DASH_LONG			26
110b9e67834SAndre Fischer#define STR_DASH_DOT			27
111b9e67834SAndre Fischer#define STR_DASH_DOT_DOT		28
112b9e67834SAndre Fischer#define STR_WAVE				29
113b9e67834SAndre Fischer
114b9e67834SAndre Fischer#define IMG_SINGLE_H			30
115b9e67834SAndre Fischer#define IMG_DOUBLE_H			31
116b9e67834SAndre Fischer#define IMG_BOLD2_H				32
117b9e67834SAndre Fischer#define IMG_DOT_H				33
118b9e67834SAndre Fischer#define IMG_DOT_BOLD_H			34
119b9e67834SAndre Fischer#define IMG_DASH_H				35
120b9e67834SAndre Fischer#define IMG_DASH_LONG_H			36
121b9e67834SAndre Fischer#define IMG_DASH_DOT_H			37
122b9e67834SAndre Fischer#define IMG_DASH_DOT_DOT_H		38
123b9e67834SAndre Fischer#define IMG_WAVE_H				39
124b9e67834SAndre Fischer
125b9e67834SAndre Fischer#define IMG_SINGLE_SEL			40
126b9e67834SAndre Fischer#define IMG_DOUBLE_SEL			41
127b9e67834SAndre Fischer#define IMG_BOLD2_SEL			42
128b9e67834SAndre Fischer#define IMG_DOT_SEL				43
129b9e67834SAndre Fischer#define IMG_DOT_BOLD_SEL		44
130b9e67834SAndre Fischer#define IMG_DASH_SEL			45
131b9e67834SAndre Fischer#define IMG_DASH_LONG_SEL		46
132b9e67834SAndre Fischer#define IMG_DASH_DOT_SEL		47
133b9e67834SAndre Fischer#define IMG_DASH_DOT_DOT_SEL	48
134b9e67834SAndre Fischer#define IMG_WAVE_SEL			49
135b9e67834SAndre Fischer
136*769abe26Smseidel#define STR_WITHOUT				50
137a3586beeSOliver-Rainer Wittmann
138*769abe26Smseidel// popup window font color
139b9e67834SAndre Fischer#define VS_FONT_COLOR			1
140b9e67834SAndre Fischer#define STR_AUTOMATICE			2
141b9e67834SAndre Fischer
142*769abe26Smseidel// POPUP WINDOW OF SPACING
143b9e67834SAndre Fischer#define VS_SPACING					1
144b9e67834SAndre Fischer
145b9e67834SAndre Fischer#define	CT_BORDER					7
146b9e67834SAndre Fischer#define LB_KERNING					8
147b9e67834SAndre Fischer#define ED_KERNING					9
148b9e67834SAndre Fischer
149b9e67834SAndre Fischer#define FT_SPACING					18
150b9e67834SAndre Fischer#define FT_BY						19
151b9e67834SAndre Fischer#define FT_LASTCUSTOM				20
152b9e67834SAndre Fischer
153b9e67834SAndre Fischer#define IMG_NORMAL					31
154b9e67834SAndre Fischer#define IMG_VERY_TIGHT				32
155b9e67834SAndre Fischer#define IMG_TIGHT					33
156b9e67834SAndre Fischer#define IMG_LOOSE					34
157b9e67834SAndre Fischer#define IMG_VERY_LOOSE				35
158b9e67834SAndre Fischer#define IMG_CUSTOM					36
159b9e67834SAndre Fischer#define IMG_CUSTOM_GRAY				37
160b9e67834SAndre Fischer
161b9e67834SAndre Fischer#define IMG_NORMAL_S				51
162b9e67834SAndre Fischer#define IMG_VERY_TIGHT_S			52
163b9e67834SAndre Fischer#define IMG_TIGHT_S					53
164b9e67834SAndre Fischer#define IMG_LOOSE_S					54
165b9e67834SAndre Fischer#define IMG_VERY_LOOSE_S			55
166b9e67834SAndre Fischer
167b9e67834SAndre Fischer#define STR_VERY_TIGHT				61
168b9e67834SAndre Fischer#define STR_TIGHT					62
169b9e67834SAndre Fischer#define STR_NORMAL					63
170b9e67834SAndre Fischer#define STR_LOOSE					64
171b9e67834SAndre Fischer#define STR_VERY_LOOSE				65
172b9e67834SAndre Fischer#define STR_CUSTOM					66
173b9e67834SAndre Fischer
174b9e67834SAndre Fischer#define STR_VERY_TIGHT_TIP			67
175b9e67834SAndre Fischer#define STR_TIGHT_TIP				68
176b9e67834SAndre Fischer#define STR_NORMAL_TIP				69
177b9e67834SAndre Fischer#define STR_LOOSE_TIP				70
178b9e67834SAndre Fischer#define STR_VERY_LOOSE_TIP			71
179b9e67834SAndre Fischer
180b9e67834SAndre Fischer#define STR_CUSTOM_C_TIP			72
181b9e67834SAndre Fischer#define STR_CUSTOM_E_TIP			73
182b9e67834SAndre Fischer#define STR_PT						74
183b9e67834SAndre Fischer
184*769abe26Smseidel// help ids
185b9e67834SAndre Fischer#define	HID_COMBO_FONT_NAME				"SVX_HID_COMBO_FONT_NAME"
186*769abe26Smseidel#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