xref: /trunk/main/sc/source/ui/pagedlg/pagedlg.src (revision cf6516809c57e1bb0a940545cca99cdad54d4ce2)
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#include "pagedlg.hrc"
24ModelessDialog RID_SCDLG_AREAS
25{
26    HelpId = HID_SCPAGE_AREAS ;
27    Size = MAP_APPFONT ( 316, 90 ) ;
28    OutputSize = TRUE ;
29    Moveable = TRUE ;
30    //Closeable = TRUE; // This dialog has a Cancel button!
31    Hide = TRUE ;
32    SVLook = TRUE ;
33    Text [ en-US ] = "Edit Print Ranges" ;
34    OKButton BTN_OK
35    {
36        Pos = MAP_APPFONT ( 260, 6 ) ;
37        Size = MAP_APPFONT ( 50, 14 ) ;
38        DefButton = TRUE ;
39    };
40    CancelButton BTN_CANCEL
41    {
42        Pos = MAP_APPFONT ( 260, 23 ) ;
43        Size = MAP_APPFONT ( 50, 14 ) ;
44    };
45    HelpButton BTN_HELP
46    {
47        Pos = MAP_APPFONT ( 260, 43 ) ;
48        Size = MAP_APPFONT ( 50, 14 ) ;
49    };
50    FixedLine FL_PRINTAREA
51    {
52        Pos = MAP_APPFONT ( 6, 3 ) ;
53        Size = MAP_APPFONT ( 248, 8 ) ;
54        Text [ en-US ] = "Print range" ;
55    };
56    ListBox LB_PRINTAREA
57    {
58        HelpID = "sc:ListBox:RID_SCDLG_AREAS:LB_PRINTAREA" ;
59        Border = TRUE ;
60        Pos = MAP_APPFONT ( 12, 14 ) ;
61        Size = MAP_APPFONT ( 90, 60 ) ;
62        DropDown = TRUE ;
63        StringList [ en-US ] =
64        {
65            < "- none -" ; Default ; > ;
66            < "- entire sheet -" ; Default ; > ;
67            < "- user defined -" ; Default ; > ;
68            < "- selection -" ; Default ; > ;
69        };
70    };
71    Edit ED_PRINTAREA
72    {
73        HelpID = "sc:Edit:RID_SCDLG_AREAS:ED_PRINTAREA" ;
74        Border = TRUE ;
75        Pos = MAP_APPFONT ( 106, 14 ) ;
76        Size = MAP_APPFONT ( 131, 12 ) ;
77    };
78    ImageButton RB_PRINTAREA
79    {
80        HelpID = "sc:ImageButton:RID_SCDLG_AREAS:RB_PRINTAREA" ;
81        Pos = MAP_APPFONT ( 239, 13 ) ;
82        Size = MAP_APPFONT ( 13, 15 ) ;
83        TabStop = FALSE ;
84        QuickHelpText [ en-US ] = "Shrink" ;
85    };
86    FixedLine FL_REPEATROW
87    {
88        Pos = MAP_APPFONT ( 6, 32 ) ;
89        Size = MAP_APPFONT ( 248, 8 ) ;
90        Text [ en-US ] = "Rows to repeat" ;
91    };
92    ListBox LB_REPEATROW
93    {
94        HelpID = "sc:ListBox:RID_SCDLG_AREAS:LB_REPEATROW" ;
95        Border = TRUE ;
96        Pos = MAP_APPFONT ( 12, 43 ) ;
97        Size = MAP_APPFONT ( 90, 60 ) ;
98        DropDown = TRUE ;
99        StringList [ en-US ] =
100        {
101            < "- none -" ; Default ; > ;
102            < "- user defined -" ; Default ; > ;
103        };
104    };
105    Edit ED_REPEATROW
106    {
107        HelpID = "sc:Edit:RID_SCDLG_AREAS:ED_REPEATROW" ;
108        Border = TRUE ;
109        Pos = MAP_APPFONT ( 106, 43 ) ;
110        Size = MAP_APPFONT ( 131, 12 ) ;
111    };
112    ImageButton RB_REPEATROW
113    {
114        HelpID = "sc:ImageButton:RID_SCDLG_AREAS:RB_REPEATROW" ;
115        Pos = MAP_APPFONT ( 239, 42 ) ;
116        Size = MAP_APPFONT ( 13, 15 ) ;
117        TabStop = FALSE ;
118        QuickHelpText [ en-US ] = "Shrink" ;
119    };
120    FixedLine FL_REPEATCOL
121    {
122        Pos = MAP_APPFONT ( 6, 61 ) ;
123        Size = MAP_APPFONT ( 248, 8 ) ;
124        Text [ en-US ] = "Columns to repeat" ;
125    };
126    ListBox LB_REPEATCOL
127    {
128        HelpID = "sc:ListBox:RID_SCDLG_AREAS:LB_REPEATCOL" ;
129        Border = TRUE ;
130        Pos = MAP_APPFONT ( 12, 72 ) ;
131        Size = MAP_APPFONT ( 90, 60 ) ;
132        DropDown = TRUE ;
133        StringList [ en-US ] =
134        {
135            < "- none -" ; Default ; > ;
136            < "- user defined -" ; Default ; > ;
137        };
138    };
139    Edit ED_REPEATCOL
140    {
141        HelpID = "sc:Edit:RID_SCDLG_AREAS:ED_REPEATCOL" ;
142        Border = TRUE ;
143        Pos = MAP_APPFONT ( 106, 72 ) ;
144        Size = MAP_APPFONT ( 131, 12 ) ;
145    };
146    ImageButton RB_REPEATCOL
147    {
148        HelpID = "sc:ImageButton:RID_SCDLG_AREAS:RB_REPEATCOL" ;
149        Pos = MAP_APPFONT ( 239, 71 ) ;
150        Size = MAP_APPFONT ( 13, 15 ) ;
151        TabStop = FALSE ;
152        QuickHelpText [ en-US ] = "Shrink" ;
153    };
154};
155TabPage RID_SCPAGE_TABLE
156{
157    Hide = TRUE ;
158    HelpId = HID_SCPAGE_TABLE ;
159    SVLook = TRUE ;
160    Pos = MAP_APPFONT ( 0, 0 ) ;
161    Size = MAP_APPFONT ( 260, 185 ) ;
162    CheckBox BTN_HEADER
163    {
164        HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_HEADER" ;
165        Pos = MAP_APPFONT ( 12, 73 ) ;
166        Size = MAP_APPFONT ( 142, 10 ) ;
167        Text [ en-US ] = "~Column and row headers" ;
168        TabStop = TRUE ;
169    };
170    CheckBox BTN_GRID
171    {
172        HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_GRID" ;
173        Pos = MAP_APPFONT ( 12, 87 ) ;
174        Size = MAP_APPFONT ( 142, 10 ) ;
175        Text [ en-US ] = "~Grid" ;
176        TabStop = TRUE ;
177    };
178    CheckBox BTN_NOTES
179    {
180        HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_NOTES" ;
181            Pos = MAP_APPFONT ( 12, 101 ) ;
182        Size = MAP_APPFONT ( 142, 10 ) ;
183        Text [ en-US ] = "~Comments" ;
184        TabStop = TRUE ;
185    };
186    CheckBox BTN_OBJECTS
187    {
188        HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_OBJECTS" ;
189        Pos = MAP_APPFONT ( 12, 115 ) ;
190        Size = MAP_APPFONT ( 142, 10 ) ;
191        Text [ en-US ] = "~Objects/graphics" ;
192        TabStop = TRUE ;
193    };
194    CheckBox BTN_CHARTS
195    {
196        HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_CHARTS" ;
197        Pos = MAP_APPFONT ( 160, 73 ) ;
198        Size = MAP_APPFONT ( 91, 10 ) ;
199        Text [ en-US ] = "Ch~arts" ;
200        TabStop = TRUE ;
201    };
202    CheckBox BTN_DRAWINGS
203    {
204        HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_DRAWINGS" ;
205        Pos = MAP_APPFONT ( 160, 87 ) ;
206        Size = MAP_APPFONT ( 91, 10 ) ;
207        Text [ en-US ] = "~Drawing objects" ;
208        TabStop = TRUE ;
209    };
210    CheckBox BTN_FORMULAS
211    {
212        HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_FORMULAS" ;
213        Pos = MAP_APPFONT ( 160, 101 ) ;
214        Size = MAP_APPFONT ( 91, 10 ) ;
215        Text [ en-US ] = "~Formulas" ;
216        TabStop = TRUE ;
217    };
218    CheckBox BTN_NULLVALS
219    {
220        HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_NULLVALS" ;
221        Pos = MAP_APPFONT ( 160, 115 ) ;
222        Size = MAP_APPFONT ( 91, 10 ) ;
223        Text [ en-US ] = "Zero ~values" ;
224        TabStop = TRUE ;
225    };
226    FixedLine FL_PRINT
227    {
228        Pos = MAP_APPFONT ( 6, 62 ) ;
229        Size = MAP_APPFONT ( 248, 8 ) ;
230        Text [ en-US ] = "Print" ;
231    };
232    RadioButton BTN_TOPDOWN
233    {
234        HelpID = "sc:RadioButton:RID_SCPAGE_TABLE:BTN_TOPDOWN" ;
235        Pos = MAP_APPFONT ( 12, 14 ) ;
236        Size = MAP_APPFONT ( 142, 10 ) ;
237        Text [ en-US ] = "~Top to bottom, then right" ;
238        TabStop = TRUE ;
239    };
240    RadioButton BTN_LEFTRIGHT
241    {
242        HelpID = "sc:RadioButton:RID_SCPAGE_TABLE:BTN_LEFTRIGHT" ;
243        Pos = MAP_APPFONT ( 12, 28 ) ;
244        Size = MAP_APPFONT ( 142, 10 ) ;
245        Text [ en-US ] = "~Left to right, then down" ;
246        TabStop = TRUE ;
247    };
248    FixedImage BMP_PAGEDIR
249    {
250        Pos = MAP_APPFONT ( 160, 14 ) ;
251        Size = MAP_APPFONT ( 25, 25 ) ;
252    };
253    Image IMG_LEFTRIGHT
254    {
255        ImageBitmap = Bitmap { File = "lftrgt.png" ; };
256    };
257    Image IMG_LEFTRIGHT_H
258    {
259        ImageBitmap = Bitmap { File = "lftrgt_h.png" ; };
260    };
261    Image IMG_TOPDOWN
262    {
263        ImageBitmap = Bitmap { File = "topdown.png" ; };
264    };
265    Image IMG_TOPDOWN_H
266    {
267        ImageBitmap = Bitmap { File = "topdown_h.png" ; };
268    };
269    CheckBox BTN_PAGENO
270    {
271        HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_PAGENO" ;
272        Pos = MAP_APPFONT ( 12, 46 ) ;
273        Size = MAP_APPFONT ( 90, 10 ) ;
274        Text [ en-US ] = "First ~page number" ;
275        TabStop = TRUE ;
276    };
277    NumericField ED_PAGENO
278    {
279        HelpID = "sc:NumericField:RID_SCPAGE_TABLE:ED_PAGENO" ;
280        Border = TRUE ;
281        Pos = MAP_APPFONT ( 106, 44 ) ;
282        Size = MAP_APPFONT ( 30, 12 ) ;
283        TabStop = TRUE ;
284        Spin = TRUE ;
285        Minimum = 1 ;
286        Maximum = 9999 ;
287        SpinSize = 1 ;
288        Repeat = TRUE ;
289    };
290    FixedLine FL_PAGEDIR
291    {
292        Pos = MAP_APPFONT ( 6, 3 ) ;
293        Size = MAP_APPFONT ( 248, 8 ) ;
294        Text [ en-US ] = "Page order" ;
295    };
296    FixedText FT_SCALEMODE
297    {
298        Pos = MAP_APPFONT ( 12, 144 ) ;
299        Size = MAP_APPFONT ( 124, 8 ) ;
300        Text [ en-US ] = "Scaling ~mode" ;
301    };
302    ListBox LB_SCALEMODE
303    {
304        HelpID = "sc:ListBox:RID_SCPAGE_TABLE:LB_SCALEMODE" ;
305        Border = TRUE;
306        Pos = MAP_APPFONT ( 12, 155 ) ;
307        Size = MAP_APPFONT ( 124, 60 ) ;
308        DropDown = TRUE;
309        StringList [ en-US ] =
310        {
311            < "Reduce/enlarge printout"; SC_TPTABLE_SCALE_PERCENT; >;
312            < "Fit print range(s) to width/height"; SC_TPTABLE_SCALE_TO; >;
313            < "Fit print range(s) on number of pages"; SC_TPTABLE_SCALE_TO_PAGES; >;
314        };
315    };
316    MetricField ED_SCALEALL
317    {
318        HelpID = "sc:MetricField:RID_SCPAGE_TABLE:ED_SCALEALL" ;
319        Border = TRUE ;
320        Pos = MAP_APPFONT ( 218, 155 ) ;
321        Size = MAP_APPFONT ( 30, 12 ) ;
322        TabStop = TRUE ;
323        Spin = TRUE ;
324        Repeat = TRUE ;
325        Minimum = 10 ;
326        Maximum = 400 ;
327        First = 15 ;
328        Last = 200 ;
329        SpinSize = 1 ;
330        Unit = FUNIT_PERCENT ;
331    };
332    NumericField ED_SCALEPAGEWIDTH
333    {
334        HelpID = "sc:NumericField:RID_SCPAGE_TABLE:ED_SCALEPAGEWIDTH" ;
335        Border = TRUE ;
336        Pos = MAP_APPFONT ( 218, 144 ) ;
337        Size = MAP_APPFONT ( 30, 12 ) ;
338        TabStop = TRUE ;
339        Hide = TRUE ;
340        Spin = TRUE ;
341        Repeat = TRUE ;
342        Minimum = 1 ;
343        Maximum = 1000 ;
344        SpinSize = 1 ;
345    };
346    NumericField ED_SCALEPAGEHEIGHT
347    {
348        HelpID = "sc:NumericField:RID_SCPAGE_TABLE:ED_SCALEPAGEHEIGHT" ;
349        Border = TRUE ;
350        Pos = MAP_APPFONT ( 218, 160 ) ;
351        Size = MAP_APPFONT ( 30, 12 ) ;
352        TabStop = TRUE ;
353        Hide = TRUE ;
354        Spin = TRUE ;
355        Repeat = TRUE ;
356        Minimum = 1 ;
357        Maximum = 1000 ;
358        SpinSize = 1 ;
359    };
360    NumericField ED_SCALEPAGENUM
361    {
362        HelpID = "sc:NumericField:RID_SCPAGE_TABLE:ED_SCALEPAGENUM" ;
363        Border = TRUE ;
364        Pos = MAP_APPFONT ( 218, 155 ) ;
365        Size = MAP_APPFONT ( 30, 12 ) ;
366        TabStop = TRUE ;
367        Hide = TRUE ;
368        Spin = TRUE ;
369        Repeat = TRUE ;
370        Minimum = 1 ;
371        Maximum = 1000 ;
372        SpinSize = 1 ;
373    };
374    FixedText FT_SCALEFACTOR
375    {
376        Pos = MAP_APPFONT ( 148, 157 ) ;
377        Size = MAP_APPFONT ( 68, 8 ) ;
378        Hide = TRUE;
379        Text [ en-US ] = "~Scaling factor" ;
380    };
381    FixedText FT_SCALEPAGEWIDTH
382    {
383        Pos = MAP_APPFONT ( 148, 146 ) ;
384        Size = MAP_APPFONT ( 68, 8 ) ;
385        Hide = TRUE;
386        Text [ en-US ] = "~Width in pages" ;
387    };
388    FixedText FT_SCALEPAGEHEIGHT
389    {
390        Pos = MAP_APPFONT ( 148, 162 ) ;
391        Size = MAP_APPFONT ( 68, 8 ) ;
392        Hide = TRUE;
393        Text [ en-US ] = "H~eight in pages" ;
394    };
395    FixedText FT_SCALEPAGENUM
396    {
397        Pos = MAP_APPFONT ( 148, 157 ) ;
398        Size = MAP_APPFONT ( 68, 8 ) ;
399        Hide = TRUE;
400        Text [ en-US ] = "N~umber of pages" ;
401    };
402    FixedLine FL_SCALE
403    {
404        Pos = MAP_APPFONT ( 6, 131 ) ;
405        Size = MAP_APPFONT ( 248, 8 ) ;
406        Text [ en-US ] = "Scale" ;
407    };
408};
409