1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #include "TextPropertyPanel.hrc"
20 #include <sfx2/sidebar/ResourceDefinitions.hrc>
23 Control RID_POPUPPANEL_TEXTPAGE_UNDERLINE
29 Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_UNDERLINE_WIDTH, 13+ VS_UNDERLINE_HEIGHT + POPUP_BORDER_HEIGHT + POPUPPANEL_MARGIN_SMALL * 2 + POPUPPANEL_MARGIN_LARGE);
32 HelpID = HID_PPROPERTYPANEL_TEXT_UNDERLINE_VS;
34 Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
35 Size = MAP_APPFONT ( VS_UNDERLINE_WIDTH ,VS_UNDERLINE_HEIGHT);
42 HelpID = HID_UNDERLINE_BTN;
43 Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL * 2 + OFFSET_Y + VS_UNDERLINE_HEIGHT );
44 Size = MAP_APPFONT ( VS_UNDERLINE_WIDTH, 13 );
46 Text [ en-US ] = "~More Options...";
51 ImageBitmap = Bitmap{File = "symphony/line1.bmp";};
55 ImageBitmap = Bitmap{File = "symphony/line2.bmp";};
59 ImageBitmap = Bitmap{File = "symphony/line3.bmp";};
63 ImageBitmap = Bitmap{File = "symphony/line4.bmp";};
67 ImageBitmap = Bitmap{File = "symphony/line5.bmp";};
71 ImageBitmap = Bitmap{File = "symphony/line6.bmp";};
75 ImageBitmap = Bitmap{File = "symphony/line7.bmp";};
79 ImageBitmap = Bitmap{File = "symphony/line8.bmp";};
81 Image IMG_DASH_DOT_DOT
83 ImageBitmap = Bitmap{File = "symphony/line9.bmp";};
87 ImageBitmap = Bitmap{File = "symphony/line10.bmp";};
93 ImageBitmap = Bitmap{File = "symphony/selected-line1.bmp";};
97 ImageBitmap = Bitmap{File = "symphony/selected-line2.bmp";};
101 ImageBitmap = Bitmap{File = "symphony/selected-line3.bmp";};
105 ImageBitmap = Bitmap{File = "symphony/selected-line4.bmp";};
107 Image IMG_DOT_BOLD_SEL
109 ImageBitmap = Bitmap{File = "symphony/selected-line5.bmp";};
113 ImageBitmap = Bitmap{File = "symphony/selected-line6.bmp";};
115 Image IMG_DASH_LONG_SEL
117 ImageBitmap = Bitmap{File = "symphony/selected-line7.bmp";};
119 Image IMG_DASH_DOT_SEL
121 ImageBitmap = Bitmap{File = "symphony/selected-line8.bmp";};
123 Image IMG_DASH_DOT_DOT_SEL
125 ImageBitmap = Bitmap{File = "symphony/selected-line9.bmp";};
129 ImageBitmap = Bitmap{File = "symphony/selected-line10.bmp";};
134 Text [ en-US ] = "(Without)";
140 Text [ en-US ] = "Single";
144 Text [ en-US ] = "Double";
148 Text [ en-US ] = "Bold";
152 Text [ en-US ] = "Dotted";
156 Text [ en-US ] = "Dotted (Bold)";
160 Text [ en-US ] = "Dash";
164 Text [ en-US ] = "Long Dash";
168 Text [ en-US ] = "Dot Dash";
170 String STR_DASH_DOT_DOT
172 Text [ en-US ] = "Dot Dot Dash";
176 Text [ en-US ] = "Wave";
181 Control RID_POPUPPANEL_TEXTPAGE_SPACING
184 DialogControl = TRUE;
187 Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_SPACING_WIDTH , POPUPPANEL_MARGIN_SMALL * 3 + 15 * 6 + CUSTOM_HEIGHT + TEXT_HEIGHT + POPUPPANEL_MARGIN_LARGE + POPUP_BORDER_WIDTH + 1);
191 HelpId = HID_PPROPERTYPANEL_TEXT_SPACING_VS ;
193 Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
194 Size = MAP_APPFONT ( VS_SPACING_WIDTH , 15 * 6);
196 Text = "Character Spacing";
199 FixedText FT_LASTCUSTOM
201 Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_LARGE + OFFSET_X ,POPUPPANEL_MARGIN_SMALL + OFFSET_Y + POPUPPANEL_MARGIN_SMALL + 15 * 6) ;
202 Size = MAP_APPFONT ( CUSTOM_WIDTH , TEXT_HEIGHT );
204 Text [ en-US ] = "Custom:" ;
209 Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE);
210 Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , TEXT_HEIGHT );
212 Text [ en-US ] = "~Character spacing: " ;
217 Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL);//20
218 Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , 80 ) ;
221 HelpID = HID_SPACING_CB_KERN;
222 StringList [ en-US ] =
224 < "Default" ; Default ; > ;
225 < "Expanded" ; Default ; > ;
226 < "Condensed" ; Default ; > ;
231 Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT + POPUPPANEL_MARGIN_SMALL + CBOX_HEIGHT );
232 Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , TEXT_HEIGHT );
234 Text [ en-US ] = "Change ~by: " ;
236 MetricField ED_KERNING
238 HelpID = HID_SPACING_MB_KERN;
240 Pos = MAP_APPFONT ( CUSTOM_X + POPUPPANEL_MARGIN_LARGE, CUSTOM_Y + POPUPPANEL_MARGIN_LARGE * 2 + TEXT_HEIGHT * 2 + POPUPPANEL_MARGIN_SMALL * 2 + CBOX_HEIGHT);//60
241 Size = MAP_APPFONT ( CUSTOM_WIDTH - POPUPPANEL_MARGIN_LARGE * 2 , MBOX_HEIGHT );
253 ImageBitmap = Bitmap{File = "symphony/spacing_normal.bmp" ;};//"spacing_normal.bmp"
257 ImageBitmap = Bitmap{File = "symphony/spacing_very tight.bmp";};
261 ImageBitmap = Bitmap{File = "symphony/spacing_tight.bmp";};
265 ImageBitmap = Bitmap{File = "symphony/spacing_loose.bmp";};
269 ImageBitmap = Bitmap{File = "symphony/spacing_very loose.bmp";};
274 ImageBitmap = Bitmap{File = "symphony/spacing_normal_s.bmp";};
276 Image IMG_VERY_TIGHT_S
278 ImageBitmap = Bitmap{File = "symphony/spacing_very tight_s.bmp";};
282 ImageBitmap = Bitmap{File = "symphony/spacing_tight_s.bmp";};
286 ImageBitmap = Bitmap{File = "symphony/spacing_loose_s.bmp";};
288 Image IMG_VERY_LOOSE_S
290 ImageBitmap = Bitmap{File = "symphony/spacing_very loose_s.bmp";};
295 ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";};
297 Image IMG_CUSTOM_GRAY
299 ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";};
302 String STR_VERY_TIGHT
304 Text [ en-US ] = "Very Tight";
308 Text [ en-US ] = "Tight";
312 Text [ en-US ] = "Normal";
316 Text [ en-US ] = "Loose";
318 String STR_VERY_LOOSE
320 Text [ en-US ] = "Very Loose";
324 Text [ en-US ] = "Last Custom Value";
327 String STR_VERY_TIGHT_TIP
329 Text [ en-US ] = " Spacing: Condensed By: 3 pt";
333 Text [ en-US ] = " Spacing: Condensed By: 1.5 pt";
335 String STR_NORMAL_TIP
337 Text [ en-US ] = " Spacing: Normal";
341 Text [ en-US ] = " Spacing: Expanded By: 3 pt";
343 String STR_VERY_LOOSE_TIP
345 Text [ en-US ] = " Spacing: Expanded By: 6 pt";
347 String STR_CUSTOM_C_TIP
349 Text [ en-US ] = " Spacing: Condensed By: ";
351 String STR_CUSTOM_E_TIP
353 Text [ en-US ] = " Spacing: Expanded By: ";
357 Text[ en-US ] = "pt";
361 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */