xref: /trunk/main/sc/source/ui/pagedlg/pagedlg.src (revision 82177cdb)
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;	// Dieser Dialog hat einen 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.bmp" ; };
256        MaskColor = STD_MASKCOLOR;
257    };
258    Image IMG_LEFTRIGHT_H
259    {
260        ImageBitmap = Bitmap { File = "lftrgt_h.bmp" ; };
261        MaskColor = SC_HC_MASKCOLOR;
262    };
263    Image IMG_TOPDOWN
264    {
265        ImageBitmap = Bitmap { File = "topdown.bmp" ; };
266        MaskColor = STD_MASKCOLOR;
267    };
268    Image IMG_TOPDOWN_H
269    {
270        ImageBitmap = Bitmap { File = "topdown_h.bmp" ; };
271        MaskColor = SC_HC_MASKCOLOR;
272    };
273	CheckBox BTN_PAGENO
274	{
275	    HelpID = "sc:CheckBox:RID_SCPAGE_TABLE:BTN_PAGENO";
276        Pos = MAP_APPFONT ( 12 , 46 ) ;
277        Size = MAP_APPFONT ( 90 , 10 ) ;
278		Text [ en-US ] = "First ~page number" ;
279		TabStop = TRUE ;
280	};
281	NumericField ED_PAGENO
282	{
283	    HelpID = "sc:NumericField:RID_SCPAGE_TABLE:ED_PAGENO";
284		Border = TRUE ;
285        Pos = MAP_APPFONT ( 106 , 44 ) ;
286		Size = MAP_APPFONT ( 30 , 12 ) ;
287		TabStop = TRUE ;
288		Spin = TRUE ;
289		Minimum = 1 ;
290		Maximum = 9999 ;
291		SpinSize = 1 ;
292		Repeat = TRUE ;
293	};
294    FixedLine FL_PAGEDIR
295	{
296        Pos = MAP_APPFONT ( 6 , 3 ) ;
297        Size = MAP_APPFONT ( 248 , 8 ) ;
298		Text [ en-US ] = "Page order" ;
299	};
300    FixedText FT_SCALEMODE
301    {
302        Pos = MAP_APPFONT( 12, 144 );
303        Size = MAP_APPFONT( 124, 8 );
304        Text [ en-US ] = "Scaling ~mode";
305    };
306    ListBox LB_SCALEMODE
307    {
308        HelpID = "sc:ListBox:RID_SCPAGE_TABLE:LB_SCALEMODE";
309        Border = TRUE;
310        Pos = MAP_APPFONT( 12, 155 );
311        Size = MAP_APPFONT( 124, 60 );
312        DropDown = TRUE;
313        StringList [ en-US ] =
314        {
315            < "Reduce/enlarge printout"; SC_TPTABLE_SCALE_PERCENT; >;
316            < "Fit print range(s) to width/height"; SC_TPTABLE_SCALE_TO; >;
317            < "Fit print range(s) on number of pages"; SC_TPTABLE_SCALE_TO_PAGES; >;
318        };
319    };
320    MetricField ED_SCALEALL
321	{
322        HelpID = "sc:MetricField:RID_SCPAGE_TABLE:ED_SCALEALL";
323		Border = TRUE ;
324        Pos = MAP_APPFONT ( 218 , 155 ) ;
325        Size = MAP_APPFONT ( 30 , 12 ) ;
326		TabStop = TRUE ;
327		Spin = TRUE ;
328		Repeat = TRUE ;
329        Minimum = 10 ;
330        Maximum = 400 ;
331		First = 15 ;
332		Last = 200 ;
333		SpinSize = 1 ;
334        Unit = FUNIT_CUSTOM ;
335		CustomUnitText = "%" ;
336    };
337    NumericField ED_SCALEPAGEWIDTH
338    {
339        HelpID = "sc:NumericField:RID_SCPAGE_TABLE:ED_SCALEPAGEWIDTH";
340        Border = TRUE ;
341        Pos = MAP_APPFONT ( 218 , 144 ) ;
342        Size = MAP_APPFONT ( 30 , 12 ) ;
343        TabStop = TRUE ;
344        Hide = TRUE ;
345        Spin = TRUE ;
346        Repeat = TRUE ;
347        Minimum = 1 ;
348        Maximum = 1000 ;
349        SpinSize = 1 ;
350    };
351    NumericField ED_SCALEPAGEHEIGHT
352    {
353        HelpID = "sc:NumericField:RID_SCPAGE_TABLE:ED_SCALEPAGEHEIGHT";
354        Border = TRUE ;
355        Pos = MAP_APPFONT ( 218 , 160 ) ;
356        Size = MAP_APPFONT ( 30 , 12 ) ;
357        TabStop = TRUE ;
358        Hide = TRUE ;
359        Spin = TRUE ;
360        Repeat = TRUE ;
361        Minimum = 1 ;
362        Maximum = 1000 ;
363        SpinSize = 1 ;
364    };
365	NumericField ED_SCALEPAGENUM
366	{
367	    HelpID = "sc:NumericField:RID_SCPAGE_TABLE:ED_SCALEPAGENUM";
368		Border = TRUE ;
369        Pos = MAP_APPFONT ( 218 , 155 ) ;
370        Size = MAP_APPFONT ( 30 , 12 ) ;
371		TabStop = TRUE ;
372        Hide = TRUE ;
373		Spin = TRUE ;
374		Repeat = TRUE ;
375		Minimum = 1 ;
376        Maximum = 1000 ;
377		SpinSize = 1 ;
378	};
379    FixedText FT_SCALEFACTOR
380    {
381        Pos = MAP_APPFONT( 148, 157 );
382        Size = MAP_APPFONT( 68 , 8 );
383        Hide = TRUE;
384        Text [ en-US ] = "~Scaling factor";
385    };
386    FixedText FT_SCALEPAGEWIDTH
387    {
388        Pos = MAP_APPFONT( 148, 146 );
389        Size = MAP_APPFONT( 68 , 8 );
390        Hide = TRUE;
391        Text [ en-US ] = "~Width in pages";
392    };
393    FixedText FT_SCALEPAGEHEIGHT
394    {
395        Pos = MAP_APPFONT( 148, 162 );
396        Size = MAP_APPFONT( 68 , 8 );
397        Hide = TRUE;
398        Text [ en-US ] = "H~eight in pages";
399    };
400    FixedText FT_SCALEPAGENUM
401    {
402        Pos = MAP_APPFONT( 148, 157 );
403        Size = MAP_APPFONT( 68, 8 );
404        Hide = TRUE;
405        Text [ en-US ] = "N~umber of pages";
406    };
407    FixedLine FL_SCALE
408	{
409        Pos = MAP_APPFONT ( 6 , 131 ) ;
410        Size = MAP_APPFONT ( 248 , 8 ) ;
411		Text [ en-US ] = "Scale" ;
412	};
413};
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439