1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: border.src,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 // include ---------------------------------------------------------------
32 #include <svx/dialogs.hrc>
34 // pragma ----------------------------------------------------------------
36 // define ---------------------------------------------------------------
37 #define STD_MASKCOLOR Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; }
38 // RID_SVXPAGE_BORDER ---------------------------------------------------
39 TabPage RID_SVXPAGE_BORDER
41 Size = MAP_APPFONT ( 260 , 185 ) ;
44 Text [ en-US ] = "Borders" ;
47 Pos = MAP_APPFONT ( 6 , 3 ) ;
48 Size = MAP_APPFONT ( 70 , 8 ) ;
49 Text [ en-US ] = "Line arrangement" ;
53 Pos = MAP_APPFONT ( 12, 14) ;
54 Size = MAP_APPFONT ( 64, 8) ;
55 Text [ en-US ] = "~Default";
59 HelpId = HID_BORDER_CTL_PRESETS ;
61 Pos = MAP_APPFONT ( 12 , 25 ) ;
62 Size = MAP_APPFONT ( 61 , 12 ) ;
67 Pos = MAP_APPFONT (12 , 41) ;
68 Size = MAP_APPFONT ( 64, 8) ;
69 Text [ en-US ] = "~User-defined";
74 Pos = MAP_APPFONT ( 12 , 53 ) ;
75 Size = MAP_APPFONT ( 61 , 65 ) ;
77 Text = "Border control";
79 FixedLine FL_SEPARATOR1
81 Pos = MAP_APPFONT ( 77 , 14 ) ;
82 Size = MAP_APPFONT ( 4 , 104 ) ;
87 Pos = MAP_APPFONT ( 82 , 3 ) ;
88 Size = MAP_APPFONT ( 83 , 8 ) ;
89 Text [ en-US ] = "Line" ;
93 Pos = MAP_APPFONT ( 88, 14) ;
94 Size = MAP_APPFONT ( 77, 8) ;
95 Text [ en-US ] = "St~yle";
100 Pos = MAP_APPFONT ( 88 , 25 ) ;
101 Size = MAP_APPFONT ( 74 , 66 ) ;
105 Pos = MAP_APPFONT ( 88, 95 ) ;
106 Size = MAP_APPFONT ( 77, 8 ) ;
107 Text [ en-US ] = "~Color";
112 Pos = MAP_APPFONT ( 88 , 106 ) ;
113 Size = MAP_APPFONT ( 74 , 68 ) ;
115 DDExtraWidth = TRUE ;
117 FixedLine FL_SEPARATOR2
119 Pos = MAP_APPFONT ( 166 , 14 ) ;
120 Size = MAP_APPFONT ( 4 , 104 ) ;
125 Pos = MAP_APPFONT ( 177 , 16 ) ;
126 Size = MAP_APPFONT ( 34 , 8 ) ;
127 Text [ en-US ] = "~Left";
132 Pos = MAP_APPFONT ( 213 , 14 ) ;
133 Size = MAP_APPFONT ( 38 , 12 ) ;
146 Pos = MAP_APPFONT ( 177 , 32 ) ;
147 Size = MAP_APPFONT ( 34 , 8 ) ;
148 Text [ en-US ] = "Right";
153 Pos = MAP_APPFONT ( 213 , 30 ) ;
154 Size = MAP_APPFONT ( 38 , 12 ) ;
167 Pos = MAP_APPFONT ( 177 , 48 ) ;
168 Size = MAP_APPFONT ( 34 , 8 ) ;
169 Text [ en-US ] = "~Top";
174 Pos = MAP_APPFONT ( 213 , 46 ) ;
175 Size = MAP_APPFONT ( 38 , 12 ) ;
188 Pos = MAP_APPFONT ( 177 , 64 ) ;
189 Size = MAP_APPFONT ( 34 , 8 ) ;
190 Text [ en-US ] = "~Bottom";
192 MetricField MF_BOTTOM
195 Pos = MAP_APPFONT ( 213 , 62 ) ;
196 Size = MAP_APPFONT ( 38 , 12 ) ;
209 Pos = MAP_APPFONT ( 177 , 78 ) ;
210 Size = MAP_APPFONT ( 74 , 10 ) ;
211 Text [ en-US ] = "Synchronize";
213 FixedLine FL_DISTANCE
215 Pos = MAP_APPFONT ( 171 , 3 ) ;
216 Size = MAP_APPFONT ( 83 , 8 ) ;
217 Text [ en-US ] = "Spacing to contents";
220 FixedText FT_SHADOWPOS
222 Pos = MAP_APPFONT ( 12 , 133 ) ;
223 Size = MAP_APPFONT ( 74 , 8 ) ;
224 Text [ en-US ] = "~Position" ;
228 HelpId = HID_BORDER_CTL_SHADOWS ;
230 Pos = MAP_APPFONT ( 12 , 144 ) ;
231 Size = MAP_APPFONT ( 74 , 12 ) ;
234 FixedText FT_SHADOWSIZE
236 Pos = MAP_APPFONT ( 88 , 133 ) ;
237 Size = MAP_APPFONT ( 60 , 8 ) ;
238 Text [ en-US ] = "Distan~ce";
240 MetricField ED_SHADOWSIZE
243 Pos = MAP_APPFONT ( 88 , 144 ) ;
244 Size = MAP_APPFONT ( 40 , 12 ) ;
255 FixedText FT_SHADOWCOLOR
257 Pos = MAP_APPFONT ( 177 , 133 ) ;
258 Size = MAP_APPFONT ( 60 , 8 ) ;
259 Text [ en-US ] = "C~olor" ;
261 ListBox LB_SHADOWCOLOR
264 Pos = MAP_APPFONT ( 177 , 144 ) ;
265 Size = MAP_APPFONT ( 74 , 68 ) ;
267 DDExtraWidth = TRUE ;
271 Pos = MAP_APPFONT ( 6 , 123 ) ;
272 Size = MAP_APPFONT ( 248 , 8 ) ;
273 Text [ en-US ] = "Shadow style" ;
275 FixedLine FL_PROPERTIES
277 Pos = MAP_APPFONT ( 6 , 162 ) ;
278 Size = MAP_APPFONT ( 248 , 8 ) ;
280 Text [ en-US ] = "Properties" ;
282 CheckBox CB_MERGEWITHNEXT
284 Pos = MAP_APPFONT ( 12 , 173 ) ;
285 Size = MAP_APPFONT ( 242 , 10 ) ;
287 Text [ en-US ] = "~Merge with next paragraph" ;
289 CheckBox CB_MERGEADJACENTBORDERS
291 Pos = MAP_APPFONT ( 12 , 173 ) ;
292 Size = MAP_APPFONT ( 242 , 10 ) ;
294 Text [ en-US ] = "~Merge adjacent line styles" ;
297 #define _PREVIEW_IDLIST_ \
300 IID_PRE_CELL_NONE ; \
305 IID_PRE_CELL_DIAG ; \
307 IID_PRE_HOR_OUTER ; \
310 IID_PRE_HOR_OUTER2 ; \
312 IID_PRE_VER_OUTER ; \
315 IID_PRE_VER_OUTER2 ; \
316 IID_PRE_TABLE_NONE ; \
317 IID_PRE_TABLE_OUTER ; \
318 IID_PRE_TABLE_OUTERH ; \
319 IID_PRE_TABLE_ALL ; \
320 IID_PRE_TABLE_OUTER2 ; \
324 ImageList IL_PRE_BITMAPS
327 MaskColor = STD_MASKCOLOR ;
330 ImageList ILH_PRE_BITMAPS
333 MaskColor = STD_MASKCOLOR ;
337 #define _SHADOW_IDLIST_ \
341 IID_SHADOW_BOT_RIGHT ; \
342 IID_SHADOW_BOT_LEFT ; \
343 IID_SHADOW_TOP_RIGHT ; \
344 IID_SHADOW_TOP_LEFT ; \
348 ImageList IL_SDW_BITMAPS
351 MaskColor = STD_MASKCOLOR ;
354 ImageList ILH_SDW_BITMAPS
357 MaskColor = STD_MASKCOLOR ;
362 String RID_SVXSTR_TABLE_PRESET_NONE
364 Text [ en-US ] = "Set No Borders" ;
366 String RID_SVXSTR_TABLE_PRESET_ONLYOUTER
368 Text [ en-US ] = "Set Outer Border Only" ;
370 String RID_SVXSTR_TABLE_PRESET_OUTERHORI
372 Text [ en-US ] = "Set Outer Border and Horizontal Lines" ;
374 String RID_SVXSTR_TABLE_PRESET_OUTERALL
376 Text [ en-US ] = "Set Outer Border and All Inner Lines" ;
378 String RID_SVXSTR_TABLE_PRESET_OUTERINNER
380 Text [ en-US ] = "Set Outer Border Without Changing Inner Lines" ;
382 String RID_SVXSTR_PARA_PRESET_DIAGONAL
384 Text [ en-US ] = "Set Diagonal Lines Only" ;
386 String RID_SVXSTR_PARA_PRESET_ALL
388 Text [ en-US ] = "Set All Four Borders" ;
390 String RID_SVXSTR_PARA_PRESET_LEFTRIGHT
392 Text [ en-US ] = "Set Left and Right Borders Only" ;
394 String RID_SVXSTR_PARA_PRESET_TOPBOTTOM
396 Text [ en-US ] = "Set Top and Bottom Borders Only" ;
398 String RID_SVXSTR_PARA_PRESET_ONLYLEFT
400 Text [ en-US ] = "Set Left Border Only" ;
402 String RID_SVXSTR_HOR_PRESET_ONLYHOR
404 Text [ en-US ] = "Set Top and Bottom Borders, and All Inner Lines";
406 String RID_SVXSTR_VER_PRESET_ONLYVER
408 Text [ en-US ] = "Set Left and Right Borders, and All Inner Lines";
410 String RID_SVXSTR_SHADOW_STYLE_NONE
412 Text [ en-US ] = "No Shadow" ;
414 String RID_SVXSTR_SHADOW_STYLE_BOTTOMRIGHT
416 Text [ en-US ] = "Cast Shadow to Bottom Right" ;
418 String RID_SVXSTR_SHADOW_STYLE_TOPRIGHT
420 Text [ en-US ] = "Cast Shadow to Top Right" ;
422 String RID_SVXSTR_SHADOW_STYLE_BOTTOMLEFT
424 Text [ en-US ] = "Cast Shadow to Bottom Left" ;
426 String RID_SVXSTR_SHADOW_STYLE_TOPLEFT
428 Text [ en-US ] = "Cast Shadow to Top Left" ;
431 // **********************************************************************