1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 // include ---------------------------------------------------------------
31 #include <svx/dialogs.hrc>
33 // define ---------------------------------------------------------------
34 #define STD_MASKCOLOR Color { Red=0xFFFF; Green=0x0000; Blue=0xFFFF; }
35 // RID_SVXPAGE_BORDER ---------------------------------------------------
36 TabPage RID_SVXPAGE_BORDER
38 Size = MAP_APPFONT ( 260 , 185 ) ;
41 Text [ en-US ] = "Borders" ;
44 Pos = MAP_APPFONT ( 6 , 3 ) ;
45 Size = MAP_APPFONT ( 70 , 8 ) ;
46 Text [ en-US ] = "Line arrangement" ;
50 Pos = MAP_APPFONT ( 12, 14) ;
51 Size = MAP_APPFONT ( 64, 8) ;
52 Text [ en-US ] = "~Default";
56 HelpId = HID_BORDER_CTL_PRESETS ;
58 Pos = MAP_APPFONT ( 12 , 25 ) ;
59 Size = MAP_APPFONT ( 61 , 12 ) ;
64 Pos = MAP_APPFONT (12 , 41) ;
65 Size = MAP_APPFONT ( 64, 8) ;
66 Text [ en-US ] = "~User-defined";
71 Pos = MAP_APPFONT ( 12 , 53 ) ;
72 Size = MAP_APPFONT ( 61 , 65 ) ;
74 Text = "Border control";
76 FixedLine FL_SEPARATOR1
78 Pos = MAP_APPFONT ( 77 , 14 ) ;
79 Size = MAP_APPFONT ( 4 , 104 ) ;
84 Pos = MAP_APPFONT ( 82 , 3 ) ;
85 Size = MAP_APPFONT ( 83 , 8 ) ;
86 Text [ en-US ] = "Line" ;
90 Pos = MAP_APPFONT ( 88, 14) ;
91 Size = MAP_APPFONT ( 77, 8) ;
92 Text [ en-US ] = "St~yle";
96 HelpID = "cui:ListBox:RID_SVXPAGE_BORDER:LB_LINESTYLE";
98 Pos = MAP_APPFONT ( 88 , 25 ) ;
99 Size = MAP_APPFONT ( 74 , 66 ) ;
103 Pos = MAP_APPFONT ( 88, 95 ) ;
104 Size = MAP_APPFONT ( 77, 8 ) ;
105 Text [ en-US ] = "~Color";
109 HelpID = "cui:ListBox:RID_SVXPAGE_BORDER:LB_LINECOLOR";
111 Pos = MAP_APPFONT ( 88 , 106 ) ;
112 Size = MAP_APPFONT ( 74 , 68 ) ;
114 DDExtraWidth = TRUE ;
116 FixedLine FL_SEPARATOR2
118 Pos = MAP_APPFONT ( 166 , 14 ) ;
119 Size = MAP_APPFONT ( 4 , 104 ) ;
124 Pos = MAP_APPFONT ( 177 , 16 ) ;
125 Size = MAP_APPFONT ( 34 , 8 ) ;
126 Text [ en-US ] = "~Left";
130 HelpID = "cui:MetricField:RID_SVXPAGE_BORDER:MF_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";
152 HelpID = "cui:MetricField:RID_SVXPAGE_BORDER:MF_RIGHT";
154 Pos = MAP_APPFONT ( 213 , 30 ) ;
155 Size = MAP_APPFONT ( 38 , 12 ) ;
168 Pos = MAP_APPFONT ( 177 , 48 ) ;
169 Size = MAP_APPFONT ( 34 , 8 ) ;
170 Text [ en-US ] = "~Top";
174 HelpID = "cui:MetricField:RID_SVXPAGE_BORDER:MF_TOP";
176 Pos = MAP_APPFONT ( 213 , 46 ) ;
177 Size = MAP_APPFONT ( 38 , 12 ) ;
190 Pos = MAP_APPFONT ( 177 , 64 ) ;
191 Size = MAP_APPFONT ( 34 , 8 ) ;
192 Text [ en-US ] = "~Bottom";
194 MetricField MF_BOTTOM
196 HelpID = "cui:MetricField:RID_SVXPAGE_BORDER:MF_BOTTOM";
198 Pos = MAP_APPFONT ( 213 , 62 ) ;
199 Size = MAP_APPFONT ( 38 , 12 ) ;
212 HelpID = "cui:CheckBox:RID_SVXPAGE_BORDER:CB_SYNC";
213 Pos = MAP_APPFONT ( 177 , 78 ) ;
214 Size = MAP_APPFONT ( 74 , 10 ) ;
215 Text [ en-US ] = "Synchronize";
217 FixedLine FL_DISTANCE
219 Pos = MAP_APPFONT ( 171 , 3 ) ;
220 Size = MAP_APPFONT ( 83 , 8 ) ;
221 Text [ en-US ] = "Spacing to contents";
224 FixedText FT_SHADOWPOS
226 Pos = MAP_APPFONT ( 12 , 133 ) ;
227 Size = MAP_APPFONT ( 74 , 8 ) ;
228 Text [ en-US ] = "~Position" ;
232 HelpId = HID_BORDER_CTL_SHADOWS ;
234 Pos = MAP_APPFONT ( 12 , 144 ) ;
235 Size = MAP_APPFONT ( 74 , 12 ) ;
238 FixedText FT_SHADOWSIZE
240 Pos = MAP_APPFONT ( 88 , 133 ) ;
241 Size = MAP_APPFONT ( 60 , 8 ) ;
242 Text [ en-US ] = "Distan~ce";
244 MetricField ED_SHADOWSIZE
246 HelpID = "cui:MetricField:RID_SVXPAGE_BORDER:ED_SHADOWSIZE";
248 Pos = MAP_APPFONT ( 88 , 144 ) ;
249 Size = MAP_APPFONT ( 40 , 12 ) ;
260 FixedText FT_SHADOWCOLOR
262 Pos = MAP_APPFONT ( 177 , 133 ) ;
263 Size = MAP_APPFONT ( 60 , 8 ) ;
264 Text [ en-US ] = "C~olor" ;
266 ListBox LB_SHADOWCOLOR
268 HelpID = "cui:ListBox:RID_SVXPAGE_BORDER:LB_SHADOWCOLOR";
270 Pos = MAP_APPFONT ( 177 , 144 ) ;
271 Size = MAP_APPFONT ( 74 , 68 ) ;
273 DDExtraWidth = TRUE ;
277 Pos = MAP_APPFONT ( 6 , 123 ) ;
278 Size = MAP_APPFONT ( 248 , 8 ) ;
279 Text [ en-US ] = "Shadow style" ;
281 FixedLine FL_PROPERTIES
283 Pos = MAP_APPFONT ( 6 , 162 ) ;
284 Size = MAP_APPFONT ( 248 , 8 ) ;
286 Text [ en-US ] = "Properties" ;
288 CheckBox CB_MERGEWITHNEXT
290 HelpID = "cui:CheckBox:RID_SVXPAGE_BORDER:CB_MERGEWITHNEXT";
291 Pos = MAP_APPFONT ( 12 , 173 ) ;
292 Size = MAP_APPFONT ( 242 , 10 ) ;
294 Text [ en-US ] = "~Merge with next paragraph" ;
296 CheckBox CB_MERGEADJACENTBORDERS
298 HelpID = "cui:CheckBox:RID_SVXPAGE_BORDER:CB_MERGEADJACENTBORDERS";
299 Pos = MAP_APPFONT ( 12 , 173 ) ;
300 Size = MAP_APPFONT ( 242 , 10 ) ;
302 Text [ en-US ] = "~Merge adjacent line styles" ;
305 #define _PREVIEW_IDLIST_ \
308 IID_PRE_CELL_NONE ; \
313 IID_PRE_CELL_DIAG ; \
315 IID_PRE_HOR_OUTER ; \
318 IID_PRE_HOR_OUTER2 ; \
320 IID_PRE_VER_OUTER ; \
323 IID_PRE_VER_OUTER2 ; \
324 IID_PRE_TABLE_NONE ; \
325 IID_PRE_TABLE_OUTER ; \
326 IID_PRE_TABLE_OUTERH ; \
327 IID_PRE_TABLE_ALL ; \
328 IID_PRE_TABLE_OUTER2 ; \
332 ImageList IL_PRE_BITMAPS
335 MaskColor = STD_MASKCOLOR ;
338 ImageList ILH_PRE_BITMAPS
341 MaskColor = STD_MASKCOLOR ;
345 #define _SHADOW_IDLIST_ \
349 IID_SHADOW_BOT_RIGHT ; \
350 IID_SHADOW_BOT_LEFT ; \
351 IID_SHADOW_TOP_RIGHT ; \
352 IID_SHADOW_TOP_LEFT ; \
356 ImageList IL_SDW_BITMAPS
359 MaskColor = STD_MASKCOLOR ;
362 ImageList ILH_SDW_BITMAPS
365 MaskColor = STD_MASKCOLOR ;
370 String RID_SVXSTR_TABLE_PRESET_NONE
372 Text [ en-US ] = "Set No Borders" ;
374 String RID_SVXSTR_TABLE_PRESET_ONLYOUTER
376 Text [ en-US ] = "Set Outer Border Only" ;
378 String RID_SVXSTR_TABLE_PRESET_OUTERHORI
380 Text [ en-US ] = "Set Outer Border and Horizontal Lines" ;
382 String RID_SVXSTR_TABLE_PRESET_OUTERALL
384 Text [ en-US ] = "Set Outer Border and All Inner Lines" ;
386 String RID_SVXSTR_TABLE_PRESET_OUTERINNER
388 Text [ en-US ] = "Set Outer Border Without Changing Inner Lines" ;
390 String RID_SVXSTR_PARA_PRESET_DIAGONAL
392 Text [ en-US ] = "Set Diagonal Lines Only" ;
394 String RID_SVXSTR_PARA_PRESET_ALL
396 Text [ en-US ] = "Set All Four Borders" ;
398 String RID_SVXSTR_PARA_PRESET_LEFTRIGHT
400 Text [ en-US ] = "Set Left and Right Borders Only" ;
402 String RID_SVXSTR_PARA_PRESET_TOPBOTTOM
404 Text [ en-US ] = "Set Top and Bottom Borders Only" ;
406 String RID_SVXSTR_PARA_PRESET_ONLYLEFT
408 Text [ en-US ] = "Set Left Border Only" ;
410 String RID_SVXSTR_HOR_PRESET_ONLYHOR
412 Text [ en-US ] = "Set Top and Bottom Borders, and All Inner Lines";
414 String RID_SVXSTR_VER_PRESET_ONLYVER
416 Text [ en-US ] = "Set Left and Right Borders, and All Inner Lines";
418 String RID_SVXSTR_SHADOW_STYLE_NONE
420 Text [ en-US ] = "No Shadow" ;
422 String RID_SVXSTR_SHADOW_STYLE_BOTTOMRIGHT
424 Text [ en-US ] = "Cast Shadow to Bottom Right" ;
426 String RID_SVXSTR_SHADOW_STYLE_TOPRIGHT
428 Text [ en-US ] = "Cast Shadow to Top Right" ;
430 String RID_SVXSTR_SHADOW_STYLE_BOTTOMLEFT
432 Text [ en-US ] = "Cast Shadow to Bottom Left" ;
434 String RID_SVXSTR_SHADOW_STYLE_TOPLEFT
436 Text [ en-US ] = "Cast Shadow to Top Left" ;
439 // **********************************************************************