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
29d4aefcaeSZheng Fan#define VS_UNDERLINE_WIDTH	57
30d4aefcaeSZheng Fan#define VS_UNDERLINE_HEIGHT	 12 * 10
31*6a606da0SAndre Fischer
32*6a606da0SAndre Fischer#define CONTROL_HEIGHT_FONT_NAME  		250
33*6a606da0SAndre Fischer#define CONTROL_HEIGHT_FONT_SIZE		180
34*6a606da0SAndre Fischer#define FONTSIZE_WIDTH					(TOOLBOX_ITEM_WIDTH * 2 - 1)
35*6a606da0SAndre Fischer#define FONTNAME_WIDTH					(TOOLBOX_ITEM_WIDTH * 4)
36*6a606da0SAndre Fischer//PROPERTYPAGE_WIDTH - (FONTSIZE_WIDTH) - 6)
37*6a606da0SAndre Fischer
38*6a606da0SAndre Fischer#define TB_SPACE				18
39*6a606da0SAndre Fischer#define TB_SPACE_V				4
40*6a606da0SAndre Fischer#define TEXT_WIDTH				TOOLBOX_42_42_ITEM_DD_WIDTH + TB_SPACE - 3
41*6a606da0SAndre Fischer
42*6a606da0SAndre Fischer#define FT_TB_SPACE				1
43*6a606da0SAndre Fischer#define BK_IMG					20
44*6a606da0SAndre Fischer
45*6a606da0SAndre Fischer#define X0                      SECTIONPAGE_MARGIN_HORIZONTAL
46*6a606da0SAndre Fischer#define X1                      SECTIONPAGE_MARGIN_HORIZONTAL + 1 + TOOLBOX_ITEM_WIDTH * 2  + 4
47*6a606da0SAndre Fischer#define X2                      (PROPERTYPAGE_WIDTH - (FONTSIZE_WIDTH))
48*6a606da0SAndre Fischer#define X3                      (X2 - (TOOLBOX_ITEM_DD_WIDTH) - 2)
49*6a606da0SAndre Fischer
50*6a606da0SAndre Fischer#define FIRST_LINE_Y            SECTIONPAGE_MARGIN_VERTICAL_TOP
51*6a606da0SAndre Fischer#define SECOND_LINE_Y           FIRST_LINE_Y + CBOX_HEIGHT + CONTROL_SPACING_VERTICAL  + 1
52*6a606da0SAndre Fischer#define THIRD_LINE_Y            SECOND_LINE_Y + CONTROL_SPACING_VERTICAL + (TOOLBOX_ITEM_HEIGHT + 2)
53*6a606da0SAndre Fischer
54*6a606da0SAndre Fischer
55*6a606da0SAndre Fischer
56*6a606da0SAndre Fischer
57b9e67834SAndre Fischer//#define FT_TEST					1
58b9e67834SAndre Fischer#define CB_SBFONT_FONT			2
59b9e67834SAndre Fischer#define MB_SBFONT_FONTSIZE		3
60b9e67834SAndre Fischer#define TB_FONT					4
61b9e67834SAndre Fischer#define	TB_INCREASE_DECREASE	5
62b9e67834SAndre Fischer#define	TB_FONTCOLOR			6
63ae13266dSAndre Fischer#define	TB_FONTCOLOR_SW			7
64b9e67834SAndre Fischer#define	TB_HIGHLIGHT			8
65b9e67834SAndre Fischer#define TB_SPACING				9
66b9e67834SAndre Fischer#define TB_SCRIPT				10
67ae13266dSAndre Fischer#define TB_SCRIPT_SW			11
68b9e67834SAndre Fischer
69b9e67834SAndre Fischer#define TBI_FONTCOLOR			50
70b9e67834SAndre Fischer#define TBI_BOLD				51
71b9e67834SAndre Fischer#define TBI_ITALIC				52
72b9e67834SAndre Fischer#define TBI_UNDERLINE			53
73b9e67834SAndre Fischer#define TBI_STRIKEOUT			54
74b9e67834SAndre Fischer#define TBI_SHADOWED			55
75b9e67834SAndre Fischer#define TBI_INCREASE			56
76b9e67834SAndre Fischer#define TBI_DECREASE			57
77b9e67834SAndre Fischer#define TBI_HIGHLIGHT			58
78b9e67834SAndre Fischer#define TBI_SUPER				59
79b9e67834SAndre Fischer#define TBI_SUB					60
80b9e67834SAndre Fischer#define TBI_SUPER_SW			61
81b9e67834SAndre Fischer#define TBI_SUB_SW				62
82b9e67834SAndre Fischer#define TBI_SPACING				63
83b9e67834SAndre Fischer
84b9e67834SAndre Fischer#define IMG_SPACING_D				71
85b9e67834SAndre Fischer
86b9e67834SAndre Fischer//popup window underline
87b9e67834SAndre Fischer#define	VS_UNDERLINE			1
88b9e67834SAndre Fischer#define PB_OPTIONS				2
89d4aefcaeSZheng Fan#define BMP_UNDERLINE_MORE		3
90d4aefcaeSZheng Fan#define BMP_UNDERLINE_MORE_H	4
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
136a3586beeSOliver-Rainer Wittmann#define STR_WITHOUT             50
137a3586beeSOliver-Rainer Wittmann
138b9e67834SAndre Fischer//popup window font color
139b9e67834SAndre Fischer#define VS_FONT_COLOR			1
140b9e67834SAndre Fischer#define STR_AUTOMATICE			2
141b9e67834SAndre Fischer
142b9e67834SAndre Fischer//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
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