2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 #include "svx/dialogs.hrc"
20 #define VS_SPACING_WIDTH 80
21 #define CUSTOM_HEIGHT CBOX_HEIGHT + MBOX_HEIGHT + POPUPPANEL_MARGIN_LARGE * 3 + POPUPPANEL_MARGIN_SMALL * 2 + TEXT_HEIGHT * 2
22 #define CUSTOM_WIDTH VS_SPACING_WIDTH - 8
23 #define CUSTOM_X POPUPPANEL_MARGIN_LARGE + OFFSET_X + 1
24 #define CUSTOM_Y OFFSET_Y + POPUPPANEL_MARGIN_SMALL * 3 + 15 * 6 + TEXT_HEIGHT
25 #define VS_UNDERLINE_WIDTH 57
26 #define VS_UNDERLINE_HEIGHT 12 * 10
28 #define IMG_SPACING_D 71
30 //popup window underline
31 #define VS_UNDERLINE 1
33 #define BMP_UNDERLINE_MORE 3
39 #define IMG_DOT_BOLD 14
41 #define IMG_DASH_LONG 16
42 #define IMG_DASH_DOT 17
43 #define IMG_DASH_DOT_DOT 18
50 #define STR_DOT_BOLD 24
52 #define STR_DASH_LONG 26
53 #define STR_DASH_DOT 27
54 #define STR_DASH_DOT_DOT 28
57 #define IMG_SINGLE_SEL 40
58 #define IMG_DOUBLE_SEL 41
59 #define IMG_BOLD2_SEL 42
60 #define IMG_DOT_SEL 43
61 #define IMG_DOT_BOLD_SEL 44
62 #define IMG_DASH_SEL 45
63 #define IMG_DASH_LONG_SEL 46
64 #define IMG_DASH_DOT_SEL 47
65 #define IMG_DASH_DOT_DOT_SEL 48
66 #define IMG_WAVE_SEL 49
68 #define STR_WITHOUT 50
70 //popup window font color
71 #define VS_FONT_COLOR 1
72 #define STR_AUTOMATICE 2
74 //POPUP WINDOW OF SPACING
83 #define FT_LASTCUSTOM 20
86 #define IMG_VERY_TIGHT 32
89 #define IMG_VERY_LOOSE 35
91 #define IMG_CUSTOM_GRAY 37
93 #define IMG_NORMAL_S 51
94 #define IMG_VERY_TIGHT_S 52
95 #define IMG_TIGHT_S 53
96 #define IMG_LOOSE_S 54
97 #define IMG_VERY_LOOSE_S 55
99 #define STR_VERY_TIGHT 61
101 #define STR_NORMAL 63
103 #define STR_VERY_LOOSE 65
104 #define STR_CUSTOM 66
106 #define STR_VERY_TIGHT_TIP 67
107 #define STR_TIGHT_TIP 68
108 #define STR_NORMAL_TIP 69
109 #define STR_LOOSE_TIP 70
110 #define STR_VERY_LOOSE_TIP 71
112 #define STR_CUSTOM_C_TIP 72
113 #define STR_CUSTOM_E_TIP 73
117 #define HID_COMBO_FONT_NAME "SVX_HID_COMBO_FONT_NAME"
118 #define HID_METRIC_FONT_SIZE "SVX_HID_METRIC_FONT_SIZE"
119 #define HID_TB_INCREASE_DECREASE "SVX_HID_TB_INCREASE_DECREASE"
120 #define HID_TBI_INCREASE "SVX_HID_TBI_INCREASE"
121 #define HID_TBI_DECREASE "SVX_HID_TBI_DECREASE"
122 #define HID_TB_FONT "SVX_HID_TB_FONT"
123 #define HID_TBI_FONT_BOLD "SVX_HID_TBI_FONT_BOLD"
124 #define HID_TBI_FONT_ITALIC "SVX_HID_TBI_FONT_ITALIC"
125 #define HID_TBI_FONT_UNDERLINE "SVX_HID_TBI_FONT_UNDERLINE"
126 #define HID_TBI_FONT_STRIKEOUT "SVX_HID_TBI_FONT_STRIKEOUT"
127 #define HID_TBI_FONT_SHADOWED "SVX_HID_TBI_FONT_SHADOWED"
128 #define HID_TB_COLOR "SVX_HID_TB_COLOR"
129 #define HID_TBI_COLOR "SVX_HID_TBI_COLOR"
130 #define HID_TB_SCRIPT "SVX_HID_TB_SCRIPT"
131 #define HID_TBI_SCRIPT_SUPER "SVX_HID_TBI_SCRIPT_SUPER"
132 #define HID_TBI_SCRIPT_SUB "SVX_HID_TBI_SCRIPT_SUB"
133 #define HID_TB_SCRIPT_SW "SVX_HID_TB_SCRIPT_SW"
134 #define HID_TBI_SCRIPT_SW_SUPER "SVX_HID_TBI_SCRIPT_SW_SUPER"
135 #define HID_TBI_SCRIPT_SW_SUB "SVX_HID_TBI_SCRIPT_SW_SUB"
136 #define HID_TB_SPACING "SVX_HID_TB_SPACING"
137 #define HID_TBI_SPACING "SVX_HID_TBI_SPACING"
138 #define HID_TB_HIGHLIGHT "SVX_HID_TB_HIGHLIGHT"
139 #define HID_TBI_HIGHLIGHT "SVX_HID_TBI_HIGHLIGHT"
141 #define HID_UNDERLINE_VS "SVX_HID_UNDERLINE_VS"
142 #define HID_UNDERLINE_BTN "SVX_HID_UNDERLINE_BTN"
144 #define HID_COLOR_VS "SVX_HID_COLOR_VS"
146 #define HID_SPACING_TB_VERY_LOOSE "SVX_HID_SPACING_TB_VERY_LOOSE"
147 #define HID_SPACING_TBI_VERY_LOOSE "SVX_HID_SPACING_TBI_VERY_LOOSE"
148 #define HID_SPACING_TB_LOOSE "SVX_HID_SPACING_TB_LOOSE"
149 #define HID_SPACING_TBI_LOOSE "SVX_HID_SPACING_TBI_LOOSE"
150 #define HID_SPACING_TB_NORMAL "SVX_HID_SPACING_TB_NORMAL"
151 #define HID_SPACING_TBI_NORMAL "SVX_HID_SPACING_TBI_NORMAL"
152 #define HID_SPACING_TB_TIGHT "SVX_HID_SPACING_TB_TIGHT"
153 #define HID_SPACING_TBI_TIGHT "SVX_HID_SPACING_TBI_TIGHT"
154 #define HID_SPACING_TB_VERY_TIGHT "SVX_HID_SPACING_TB_VERY_TIGHT"
155 #define HID_SPACING_TBI_VERY_TIGHT "SVX_HID_SPACING_TBI_VERY_TIGHT"
156 #define HID_SPACING_TB_CUSTOM "SVX_HID_SPACING_TB_CUSTOM"
157 #define HID_SPACING_TBI_CUSTOM "SVX_HID_SPACING_TBI_CUSTOM"
158 #define HID_SPACING_CB_KERN "SVX_HID_SPACING_CB_KERN"
159 #define HID_SPACING_MB_KERN "SVX_HID_SPACING_MB_KERN"