xref: /trunk/main/sw/source/ui/frmdlg/column.src (revision fc9fd3f14a55d77b35643a64034752a178b2a5b0)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
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.
14 *
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).
20 *
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.
25 *
26 ************************************************************************/
27
28#include "globals.hrc"
29#include "column.hrc"
30#include "frmui.hrc"
31#include "cmdid.h"
32#include "helpid.h"
33#include "access.hrc"
34
35 // #define TP_COLUMN 256
36TabPage TP_COLUMN
37{
38    HelpID = HID_COLUMN ;
39    Hide = TRUE;
40    Size = MAP_APPFONT ( 260 , 185 ) ;
41    Text [ en-US ] = "Columns" ;
42    FixedText FT_NUMBER
43    {
44        Pos = MAP_APPFONT ( 12 , 19 ) ;
45        Size = MAP_APPFONT ( 28 , 8 ) ;
46        Left = TRUE ;
47        Text [ en-US ] = "Columns";
48    };
49    NumericField ED_NUMBER
50    {
51        HelpID = "sw:NumericField:TP_COLUMN:ED_NUMBER";
52        Border = TRUE ;
53        Pos = MAP_APPFONT ( 12 , 30 ) ;
54        Size = MAP_APPFONT ( 24 , 12 ) ;
55        TabStop = TRUE ;
56        Left = TRUE ;
57        Repeat = TRUE ;
58        Spin = TRUE ;
59        Minimum = 1 ;
60        Maximum = 20 ;
61        Value = 1 ;
62        First = 1 ;
63        Last = 20 ;
64        SpinSize = 1 ;
65    };
66    Control VS_DEFAULTS
67    {
68        Pos = MAP_APPFONT ( 50 , 14 ) ;
69        Size = MAP_APPFONT ( 110 , 28 ) ;
70        TabStop = TRUE ;
71    };
72    CheckBox CB_BALANCECOLS
73    {
74        HelpID = "sw:CheckBox:TP_COLUMN:CB_BALANCECOLS";
75        Pos = MAP_APPFONT ( 7 , 46 ) ;
76        Size = MAP_APPFONT ( 163 , 10 ) ;
77        Hide = TRUE;
78        Text [ en-US ] = "Evenly distribute contents ~to all columns";
79    };
80    FixedLine FL_COLUMNS
81    {
82        Pos = MAP_APPFONT ( 6 , 3 ) ;
83        Size = MAP_APPFONT ( 164 , 8 ) ;
84        Text [ en-US ] = "Settings";
85    };
86    FixedText FT_COLUMN
87    {
88        Pos = MAP_APPFONT ( 12 , 70 ) ;
89        Size = MAP_APPFONT ( 50 , 8 ) ;
90        Left = TRUE ;
91        Text [ en-US ] = "Column";
92    };
93    Window WN_BSP
94    {
95        Pos = MAP_APPFONT ( 176 , 6 ) ;
96        Size = MAP_APPFONT ( 75 , 46 ) ;
97    };
98    ImageButton BTN_DOWN
99    {
100        HelpID = "sw:ImageButton:TP_COLUMN:BTN_DOWN";
101        Disable = TRUE ;
102        Pos = MAP_APPFONT ( 62 , 69 ) ;
103        Size = MAP_APPFONT ( 10 , 10 ) ;
104        TabStop = TRUE ;
105        SYMBOL = IMAGEBUTTON_ARROW_LEFT ;
106    };
107    FixedText FT_1
108    {
109        Pos = MAP_APPFONT ( 100 , 71 ) ;
110        Size = MAP_APPFONT ( 10 , 8 ) ;
111        Text = "~1" ;
112        Center = TRUE ;
113    };
114    FixedText FT_2
115    {
116        Pos = MAP_APPFONT ( 150 , 71 ) ;
117        Size = MAP_APPFONT ( 10 , 8 ) ;
118        Text = "~2" ;
119        Center = TRUE ;
120    };
121    FixedText FT_3
122    {
123        Pos = MAP_APPFONT ( 200 , 71 ) ;
124        Size = MAP_APPFONT ( 10 , 8 ) ;
125        Text = "~3" ;
126        Center = TRUE ;
127    };
128    ImageButton BTN_UP
129    {
130        HelpID = "sw:ImageButton:TP_COLUMN:BTN_UP";
131        Disable = TRUE ;
132        Pos = MAP_APPFONT ( 238 , 69 ) ;
133        Size = MAP_APPFONT ( 10 , 10 ) ;
134        TabStop = TRUE ;
135        SYMBOL = IMAGEBUTTON_ARROW_RIGHT ;
136    };
137    FixedText FT_WIDTH
138    {
139        Pos = MAP_APPFONT ( 12 , 85 ) ;
140        Size = MAP_APPFONT ( 50 , 8 ) ;
141        Left = TRUE ;
142        Text [ en-US ] = "Width" ;
143    };
144    MetricField ED_1
145    {
146        HelpID = "sw:MetricField:TP_COLUMN:ED_1";
147        Disable = TRUE ;
148        Border = TRUE ;
149        Pos = MAP_APPFONT ( 87 , 83 ) ;
150        Size = MAP_APPFONT ( 36 , 12 ) ;
151        TabStop = TRUE ;
152        Left = TRUE ;
153        Repeat = TRUE ;
154        Spin = TRUE ;
155        Minimum = 1 ;
156        Maximum = 5600 ;
157        DecimalDigits = 2 ;
158        Unit = FUNIT_CM ;
159        First = 10 ;
160        Last = 5600 ;
161        SpinSize = 10 ;
162    };
163    MetricField ED_2
164    {
165        HelpID = "sw:MetricField:TP_COLUMN:ED_2";
166        Disable = TRUE ;
167        Border = TRUE ;
168        Pos = MAP_APPFONT ( 137 , 83 ) ;
169        Size = MAP_APPFONT ( 36 , 12 ) ;
170        TabStop = TRUE ;
171        Left = TRUE ;
172        Repeat = TRUE ;
173        Spin = TRUE ;
174        Minimum = 1 ;
175        Maximum = 5600 ;
176        DecimalDigits = 2 ;
177        Unit = FUNIT_CM ;
178        First = 10 ;
179        Last = 5600 ;
180        SpinSize = 10 ;
181    };
182    MetricField ED_3
183    {
184        HelpID = "sw:MetricField:TP_COLUMN:ED_3";
185        Disable = TRUE ;
186        Border = TRUE ;
187        Pos = MAP_APPFONT ( 187 , 83 ) ;
188        Size = MAP_APPFONT ( 36 , 12 ) ;
189        TabStop = TRUE ;
190        Left = TRUE ;
191        Repeat = TRUE ;
192        Spin = TRUE ;
193        Minimum = 1 ;
194        Maximum = 5600 ;
195        DecimalDigits = 2 ;
196        Unit = FUNIT_CM ;
197        First = 10 ;
198        Last = 5600 ;
199        SpinSize = 10 ;
200    };
201    FixedText FT_DIST
202    {
203        Pos = MAP_APPFONT ( 12 , 101 ) ;
204        Size = MAP_APPFONT ( 50 , 8 ) ;
205        Left = TRUE ;
206        Text [ en-US ] = "Spacing" ;
207    };
208    MetricField ED_DIST1
209    {
210        HelpID = "sw:MetricField:TP_COLUMN:ED_DIST1";
211        Disable = TRUE ;
212        Border = TRUE ;
213        Pos = MAP_APPFONT ( 112 , 99 ) ;
214        Size = MAP_APPFONT ( 36 , 12 ) ;
215        TabStop = TRUE ;
216        Left = TRUE ;
217        Repeat = TRUE ;
218        Spin = TRUE ;
219        Minimum = 0 ;
220        Maximum = 5600 ;
221        DecimalDigits = 2 ;
222        Unit = FUNIT_CM ;
223        First = 10 ;
224        Last = 5600 ;
225        SpinSize = 10 ;
226    };
227    MetricField ED_DIST2
228    {
229        HelpID = "sw:MetricField:TP_COLUMN:ED_DIST2";
230        Disable = TRUE ;
231        Border = TRUE ;
232        Pos = MAP_APPFONT ( 162 , 99 ) ;
233        Size = MAP_APPFONT ( 36 , 12 ) ;
234        TabStop = TRUE ;
235        Left = TRUE ;
236        Repeat = TRUE ;
237        Spin = TRUE ;
238        Minimum = 0 ;
239        Maximum = 5600 ;
240        DecimalDigits = 2 ;
241        Unit = FUNIT_CM ;
242        First = 10 ;
243        Last = 5600 ;
244        SpinSize = 10 ;
245    };
246    CheckBox CB_AUTO_WIDTH
247    {
248        HelpID = "sw:CheckBox:TP_COLUMN:CB_AUTO_WIDTH";
249        Pos = MAP_APPFONT ( 87 , 115 ) ;
250        Size = MAP_APPFONT ( 100 , 10 ) ;
251        Text [ en-US ] = "Auto~Width" ;
252        TabStop = TRUE ;
253    };
254    FixedLine FL_LAYOUT
255    {
256        Pos = MAP_APPFONT ( 6 , 58 ) ;
257        Size = MAP_APPFONT ( 248 , 8 ) ;
258        Text [ en-US ] = "Width and spacing";
259    };
260
261    FixedText FT_STYLE
262    {
263        Pos = MAP_APPFONT ( 12 , 140 ) ;
264        Size = MAP_APPFONT ( 35 , 8 ) ;
265        Text [ en-US ] = "~Line" ;
266        Left = TRUE ;
267    };
268    ListBox LB_STYLE
269    {
270        HelpID = "sw:ListBox:TP_COLUMN:LB_STYLE";
271        Pos = MAP_APPFONT ( 50 , 138 ) ;
272        Size = MAP_APPFONT ( 60 , 66 ) ;
273        TabStop = TRUE ;
274        DropDown = TRUE ;
275        StringList [ en-US ] =
276        {
277            < "None" ; Default ; > ;
278        };
279    };
280    FixedText FT_HEIGHT
281    {
282        Pos = MAP_APPFONT ( 12 , 156 ) ;
283        Size = MAP_APPFONT ( 35 , 8 ) ;
284        Text [ en-US ] = "H~eight" ;
285        Left = TRUE ;
286    };
287    MetricField ED_HEIGHT
288    {
289        HelpID = "sw:MetricField:TP_COLUMN:ED_HEIGHT";
290        Border = TRUE ;
291        Pos = MAP_APPFONT ( 50 , 154 ) ;
292        Size = MAP_APPFONT ( 60 , 12 ) ;
293        TabStop = TRUE ;
294        Left = TRUE ;
295        Repeat = TRUE ;
296        Spin = TRUE ;
297        Minimum = 25 ;
298        Maximum = 100 ;
299        Value = 100 ;
300        Unit = FUNIT_CUSTOM ;
301        CustomUnitText = "%" ;
302        First = 25 ;
303        Last = 100 ;
304    };
305    FixedText FT_POSITION
306    {
307        Pos = MAP_APPFONT ( 12 , 172 ) ;
308        Size = MAP_APPFONT ( 35 , 8 ) ;
309        Left = TRUE ;
310        Text [ en-US ] = "~Position" ;
311    };
312    ListBox LB_POSITION
313    {
314        HelpID = "sw:ListBox:TP_COLUMN:LB_POSITION";
315        Pos = MAP_APPFONT ( 50 , 170 ) ;
316        Size = MAP_APPFONT ( 60 , 40 ) ;
317        TabStop = TRUE ;
318        DropDown = TRUE ;
319        StringList [ en-US ] =
320        {
321            < "Top" ; Default ; > ;
322            < "Centered" ; Default ; > ;
323            < "Bottom" ; Default ; > ;
324        };
325    };
326    FixedLine FL_LINETYPE
327    {
328        Pos = MAP_APPFONT ( 6 , 127 ) ;
329        Size = MAP_APPFONT ( 248 , 8 ) ;
330        Text [ en-US ] = "Separator line" ;
331    };
332    FixedLine  FL_VERT
333    {
334        Pos = MAP_APPFONT ( 116 , 138 ) ;
335        Size = MAP_APPFONT ( 4 , 43 ) ;
336        Hide = TRUE ;
337        Vert = TRUE;
338    };
339    FixedLine   FL_PROPERTIES
340    {
341        Pos = MAP_APPFONT ( 121 , 127 ) ;
342        Size = MAP_APPFONT ( 133 , 8 ) ;
343        Hide = TRUE ;
344        Text [ en-US ] = "Properties";
345    };
346    FixedText   FT_TEXTDIRECTION
347    {
348        Pos = MAP_APPFONT ( 127 , 138 ) ;
349        Size = MAP_APPFONT ( 127 , 8 ) ;
350        Hide = TRUE ;
351        Text [ en-US ] = "Text ~direction";
352    };
353    ListBox     LB_TEXTDIRECTION
354    {
355        HelpID = "sw:ListBox:TP_COLUMN:LB_TEXTDIRECTION";
356        Border = TRUE ;
357        Pos = MAP_APPFONT ( 127 , 149 ) ;
358        Size = MAP_APPFONT ( 127 , 50 ) ;
359        DropDown = TRUE ;
360        Hide = TRUE ;
361    StringList [ en-US ] =
362    {
363         < "Left-to-right" ; 0; > ;
364        < "Right-to-left" ; 1; > ;
365        < "Use superordinate object settings" ; 4; > ;
366    };
367    };
368};
369
370ModalDialog DLG_COLUMN
371{
372    HelpID = HID_FORMAT_COLUMN;
373    Hide = TRUE;
374    Moveable = TRUE;
375    Size = MAP_APPFONT ( 316 , 135 ) ;
376    OKButton PB_OK
377    {
378        DefButton = TRUE ;
379        Pos = MAP_APPFONT ( 260 , 6 ) ;
380        Size = MAP_APPFONT ( 50 , 14 ) ;
381        TabStop = TRUE ;
382    };
383    CancelButton PB_CANCEL
384    {
385        Pos = MAP_APPFONT ( 260 , 23 ) ;
386        Size = MAP_APPFONT ( 50 , 14 ) ;
387        TabStop = TRUE ;
388    };
389    HelpButton PB_HELP
390    {
391        Pos = MAP_APPFONT ( 260 , 43 ) ;
392        Size = MAP_APPFONT ( 50 , 14 ) ;
393        TabStop = TRUE ;
394    };
395    FixedText FT_APPLY_TO
396    {
397        Pos = MAP_APPFONT ( 260 , 63 ) ;
398        Size = MAP_APPFONT ( 50 , 8 ) ;
399        Left = TRUE ;
400        Text [ en-US ] = "~Apply to";
401    };
402    ListBox LB_APPLY_TO
403    {
404        HelpID = "sw:ListBox:DLG_COLUMN:LB_APPLY_TO";
405        Pos = MAP_APPFONT ( 260 , 74 ) ;
406        Size = MAP_APPFONT ( 50 , 66 ) ;
407        TabStop = TRUE ;
408        DropDown = TRUE ;
409        StringList [ en-US ] =
410        {
411            < "Selection" ;             LISTBOX_SELECTION; > ;
412            < "Current Section" ;   LISTBOX_SECTION     ; > ;
413            < "Selected section" ;  LISTBOX_SECTIONS    ; > ;
414            < "Frame" ;                 LISTBOX_FRAME       ; > ;
415            < "Page Style: " ;          LISTBOX_PAGE        ; > ;
416        };
417    };
418    Text [ en-US ] = "Columns";
419};
420
421//IAccessibility2 Impplementaton 2009-----
422String STR_ACCESS_PAGESETUP_SPACING
423{
424    Text [ en-US ] = "Spacing between %1 and %2";
425};
426
427String STR_ACCESS_COLUMN_WIDTH
428{
429    Text [ en-US ] = "Column %1 Width";
430};
431//-----IAccessibility2 Impplementaton 2009
432