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 "ParaPropertyPanel.hrc"
20 #include <sfx2/sidebar/ResourceDefinitions.hrc>
23 #define MASKCOLOR MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
25 #define SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST \
33 //add by wj for sym2_7380
34 #define SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST_RTL \
44 ImageBitmap = Bitmap{File = "symphony/spacing3.png";};
48 ImageBitmap = Bitmap{File = "symphony/Indent_Hanging.png";};
50 ImageList IL_NUM_BULLET
52 Prefix = "symphony/para_numbullet";
53 MaskColor = STD_MASKCOLOR ;
54 SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST
56 ImageList IL_NUM_BULLET_RTL
58 Prefix = "symphony/para_numbullet_rtl";
59 MaskColor = STD_MASKCOLOR ;
60 SVX_PROPERTYPANEL_PARA_NUMBULLET_IDLIST_RTL
63 //===========================================Back color page==============================
64 Control RID_POPUPPANEL_PARAPAGE_BACK_COLOR
69 Size = MAP_APPFONT( POPUP_COLOR_PICKER_WIDTH , POPUP_COLOR_PICKER_HEIGHT );
73 HelpID = HID_PPROPERTYPANEL_PARA_BACK_COLOR_VS ;
75 Pos = MAP_APPFONT ( OFFSET_X , OFFSET_Y );
76 Size = MAP_APPFONT ( POPUP_COLOR_PICKER_WIDTH - OFFSET_X * 2, POPUP_COLOR_PICKER_HEIGHT - OFFSET_Y * 2);
78 Text = "Color Picker";
82 Text [ en-US ] = "No Color";
86 //===========================================Bullet popup page==============================
87 Control RID_POPUPPANEL_PARAPAGE_BULLETS
93 Size = MAP_APPFONT ( POPUP_WIDTH_BULLET , POPUP_HEIGHT_BULLET) ;
96 Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_NB , POPUPPANEL_MARGIN_NB ) ;
97 Size = MAP_APPFONT ( VS_WIDTH_BULLET , VS_HEIGHT_BULLET) ;
98 HelpID = HID_POPUP_BULLET_VS_VALUES ;
102 PushButton CB_BULLET_MORE
104 Pos = MAP_APPFONT (CUST_MORE_BUTTON_X + POPUPPANEL_MARGIN_NB, VS_HEIGHT_BULLET + POPUPPANEL_MARGIN_NB * 2 ) ;
105 Size = MAP_APPFONT (POPUP_WIDTH_BULLET - 2*CUST_MORE_BUTTON_X - POPUPPANEL_MARGIN_NB*2, CUST_MORE_BUTTON_HEIGHT ) ;
106 HelpID = HID_POPUP_BULLET_CB_BULLET_MORE ;
108 Text [ en-US ] = "~More Options";
110 Bitmap BMP_BULLET_MORE
112 File = "symphony/__morebutton.bmp";
116 String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_0
118 Text [en-US] = "large square bullets";
121 String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_1
123 Text [en-US] = "graphic bullets";
126 String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_2
128 Text [en-US] = "graphic bullets";
131 String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_3
133 Text [en-US] = "graphic bullets";
136 String RID_SVXSTR_SIDEBAR_BULLET_DESCRIPTIONS_4
138 Text [en-US] = "graphic bullets";
141 //===========================================Numbering popup page==============================
142 Control RID_POPUPPANEL_PARAPAGE_NUMBERING
145 DialogControl = TRUE;
149 Size = MAP_APPFONT ( POPUP_WIDTH_NUM , POPUP_HEIGHT_NUM) ;
152 Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_NB, POPUPPANEL_MARGIN_NB ) ;
153 Size = MAP_APPFONT ( VS_WIDTH_NUM , VS_HEIGHT_NUM) ;
154 HelpID = HID_POPUP_NUM_VS_NUMBERING ;
158 PushButton CB_NUMBERING_MORE
160 Pos = MAP_APPFONT (CUST_MORE_BUTTON_X + POPUPPANEL_MARGIN_NB, VS_HEIGHT_NUM + POPUPPANEL_MARGIN_NB * 2 ) ;
161 Size = MAP_APPFONT (POPUP_WIDTH_NUM - 2*CUST_MORE_BUTTON_X - POPUPPANEL_MARGIN_NB*2, CUST_MORE_BUTTON_HEIGHT ) ;
162 HelpID = HID_POPUP_NUM_CB_NUMBERING_MORE ;
164 Text [ en-US ] = "~More Options";
166 Bitmap BMP_NUMERING_MORE
168 File = "symphony/__morebutton.bmp";
172 //===========================================Line Space popup page==============================
176 ImageBitmap = Bitmap{File = "symphony/lpspacing-1.png";};
180 ImageBitmap = Bitmap{File = "symphony/lpspacing-1_15.png";};
184 ImageBitmap = Bitmap{File = "symphony/lpspacing-1_5.png";};
188 ImageBitmap = Bitmap{File = "symphony/lpspacing-2.png";};
190 Image IMG_SEL_SPACING1
192 ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1.png";};
194 Image IMG_SEL_SPACING115
196 ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1_15.png";};
198 Image IMG_SEL_SPACING15
200 ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-1_5.png";};
202 Image IMG_SEL_SPACING2
204 ImageBitmap = Bitmap{File = "symphony/lpselected-spacing-2.png";};
208 ImageBitmap = Bitmap{File = "symphony/last_custom_common.png";};
210 Image IMG_CUSTOM_GRAY
212 ImageBitmap = Bitmap{File = "symphony/last_custom_common_grey.png";};
215 Control RID_POPUPPANEL_PARAPAGE_LINESPACING
218 DialogControl = TRUE;
221 Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_SPACING_WIDTH, POPUP_PAGE_HEIGHT );
225 Pos = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL + OFFSET_X , POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
226 Size = MAP_APPFONT ( VS_SPACING_WIDTH , 17 * 5);
228 Text = "Line Spacing";
233 Pos = MAP_APPFONT ( POP_FT_CUSTOM_X, POP_FT_CUSTOM_Y );
234 Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 50 , _FIXED_TEXT_HEIGHT) ;
235 Text [ en-US ] = "Custom:";
237 FixedText FT_LINE_SPACING
239 Pos = MAP_APPFONT ( FT_1_X, FT_1_Y );
240 Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH + 10, _FIXED_TEXT_HEIGHT) ;
241 Text [ en-US ] = "~Line Spacing:";
246 Pos = MAP_APPFONT ( FT_2_X, FT_2_Y );
247 Size = MAP_APPFONT ( _FIXED_TEXT_WIDTH , _FIXED_TEXT_HEIGHT) ;
248 Text [ en-US ] = "~Of:";
251 ListBox LB_LINE_SPACING
254 Pos = MAP_APPFONT ( EDIT_1_X, EDIT_1_Y );
255 Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2,LISTBOX_HEIGHT ) ;
258 HelpID = HID_POPUP_LS_LB_LINE_SPACING ;
259 StringList [ en-US ] =
261 < "Single" ; Default ; > ;
262 < "1.5 Lines" ; Default ; > ;
263 < "Double" ; Default ; > ;
264 < "Proportional" ; Default ; > ;
265 < "At least" ; Default ; > ;
266 < "Leading" ; Default ; > ;
267 < "Fixed" ; Default ; > ;
270 MetricField ED_SBINDE_LINEDISTPERCENT
274 Pos = MAP_APPFONT ( EDIT_2_X, EDIT_2_Y );
275 Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2,MBOX_HEIGHT ) ;
276 HelpID = HID_POPUP_LS_ED_SBINDE_LINEDISTPERCENT ;
283 Unit = FUNIT_PERCENT ;
288 MetricField ED_SBINDE_LINEDISTPOINT
292 Pos = MAP_APPFONT ( EDIT_2_X, EDIT_2_Y );
293 Size = MAP_APPFONT ( BD_WIDTH - POPUPPANEL_MARGIN_LARGE * 2, MBOX_HEIGHT ) ;
294 HelpID = HID_POPUP_LS_ED_SBINDE_LINEDISTPOINT ;
299 StrictFormat = TRUE ;
307 Text [ en-US ] = "Line spacing: Single";
311 Text [ en-US ] = "Line spacing: 1.15 Lines";
315 Text [ en-US ] = "Line spacing: 1.5 Lines";
319 Text [ en-US ] = "Line spacing: Double";
323 Text [ en-US ] = "Line spacing:";
327 Text [ en-US ] = "of:";
331 Text [ en-US ] = "Spacing: 1";
333 String STR_SPACING115
335 Text [ en-US ] = "Spacing: 1.15";
339 Text [ en-US ] = "Spacing: 1.5";
343 Text [ en-US ] = "Spacing: 2";
347 Text [ en-US ] = "Last Custom Value";
351 String RID_SVXSTR_NUMBULLET_NONE
353 Text [en-US] = "None";
356 //i122118, Seems the bullets graphic order and count is changed in the gallary,
357 //Following descriptions should be changed accordingly.
359 String RID_SVXSTR_GRAPHICS_DESCRIPTION_0
361 Text [en-US] = "Black Pearl";
363 String RID_SVXSTR_GRAPHICS_DESCRIPTION_1
365 Text [en-US] = "Blue Arrow 1";
367 String RID_SVXSTR_GRAPHICS_DESCRIPTION_2
369 Text [en-US] = "Blue Ball";
371 String RID_SVXSTR_GRAPHICS_DESCRIPTION_3
373 Text [en-US] = "Blue Diamond";
375 String RID_SVXSTR_GRAPHICS_DESCRIPTION_4
377 Text [en-US] = "Blue Red";
379 String RID_SVXSTR_GRAPHICS_DESCRIPTION_5
381 Text [en-US] = "Blue Square";
383 String RID_SVXSTR_GRAPHICS_DESCRIPTION_6
385 Text [en-US] = "Blue Star";
387 String RID_SVXSTR_GRAPHICS_DESCRIPTION_7
389 Text [en-US] = "Dark Red Circle";
391 String RID_SVXSTR_GRAPHICS_DESCRIPTION_8
393 Text [en-US] = "Blue Circle";
395 String RID_SVXSTR_GRAPHICS_DESCRIPTION_9
397 Text [en-US] = "Green Circle";
399 String RID_SVXSTR_GRAPHICS_DESCRIPTION_10
401 Text [en-US] = "Black Square";
403 String RID_SVXSTR_GRAPHICS_DESCRIPTION_11
405 Text [en-US] = "Orange Square";
407 String RID_SVXSTR_GRAPHICS_DESCRIPTION_12
409 Text [en-US] = "Purple Square";
411 String RID_SVXSTR_GRAPHICS_DESCRIPTION_13
413 Text [en-US] = "Blue Diamond";
415 String RID_SVXSTR_GRAPHICS_DESCRIPTION_14
417 Text [en-US] = "Light Blue Diamond";
419 String RID_SVXSTR_GRAPHICS_DESCRIPTION_15
421 Text [en-US] = "Red Diamond";
423 String RID_SVXSTR_GRAPHICS_DESCRIPTION_16
425 Text [en-US] = "Yellow Star";
427 String RID_SVXSTR_GRAPHICS_DESCRIPTION_17
429 Text [en-US] = "Blue Star";
431 String RID_SVXSTR_GRAPHICS_DESCRIPTION_18
433 Text [en-US] = "Blue Triangle";
435 String RID_SVXSTR_GRAPHICS_DESCRIPTION_19
437 Text [en-US] = "Dark Green Triangle";
439 String RID_SVXSTR_GRAPHICS_DESCRIPTION_20
441 Text [en-US] = "Red Arrow";
443 String RID_SVXSTR_GRAPHICS_DESCRIPTION_21
445 Text [en-US] = "Blue Arrow 2";
447 String RID_SVXSTR_GRAPHICS_DESCRIPTION_22
449 Text [en-US] = "Blue Box";
451 String RID_SVXSTR_GRAPHICS_DESCRIPTION_23
453 Text [en-US] = "Red Box";
455 String RID_SVXSTR_GRAPHICS_DESCRIPTION_24
457 Text [en-US] = "Light Blue Asterisk";
459 String RID_SVXSTR_GRAPHICS_DESCRIPTION_25
461 Text [en-US] = "Red Leaves";
463 String RID_SVXSTR_GRAPHICS_DESCRIPTION_26
465 Text [en-US] = "Blue Target";
467 String RID_SVXSTR_GRAPHICS_DESCRIPTION_27
469 Text [en-US] = "Blue Arrow 3";
471 String RID_SVXSTR_GRAPHICS_DESCRIPTION_28
473 Text [en-US] = "Dark Blue Arrow";
475 String RID_SVXSTR_GRAPHICS_DESCRIPTION_29
477 Text [en-US] = "Brown Arrow";
481 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */