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