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#include <sfx2/sidebar/propertypanel.hrc>
23#include "PropertyPanel.hrc"
24#include "PagePropertyPanel.hrc"
25#include "helpid.h"
26
27// page property panel control
28Control RID_PROPERTYPANEL_SWPAGE
29{
30	OutputSize = TRUE;
31	DialogControl = TRUE;
32	Border = FALSE;
33	Size = MAP_APPFONT( PROPERTYPAGE_WIDTH, PAGE_HEIGHT );
34	HelpID = HID_PROPERTYPANEL_SWPAGE_SECTION;
35	Text = "Page";
36
37	FixedText FT_ORIENTATION
38	{
39	    Pos = MAP_APPFONT ( FT_ORIENTATION_X, FT_ORIENTATION_Y );
40        Size = MAP_APPFONT ( MBOX_WIDTH, TEXT_HEIGHT) ;
41		Text [ en-US ] = "~Orientation:";
42	};
43	ToolBox TB_ORIENTATION
44	{
45		Pos = MAP_APPFONT (TBX_ORIENTATION_X, TBX_ORIENTATION_Y) ;
46		HelpID = HID_SWPAGE_ORIENTATION;
47		SVLook = TRUE ;
48		TabStop = TRUE ;
49		Text = "Orientation" ;
50		ItemList =
51		{
52			ToolBoxItem
53			{
54				HelpID = HID_SWPAGE_TBI_ORIENTATION;
55				Identifier = TBI_ORIENTATION ;
56				Text [ en-US ] = "Orientation" ;
57				DropDown = TRUE ;
58			};
59		};
60	};
61	String STR_QHELP_TB_ORIENTATION
62	{
63		Text [ en-US ] = "Select the paper orientation - vertically (portrait) or horizontally (landscape) - for the current page style.";
64	};
65
66	FixedText FT_MARGIN
67	{
68	    Pos = MAP_APPFONT ( FT_MARGIN_X, FT_MARGIN_Y );
69        Size = MAP_APPFONT ( MBOX_WIDTH + 50, TEXT_HEIGHT) ;
70		Text [ en-US ] = "~Margin:";
71	};
72	ToolBox TB_MARGIN
73	{
74		SVLook = TRUE ;
75		Pos = MAP_APPFONT (TBX_MARGIN_X, TBX_MARGIN_Y) ;
76		HelpID = HID_SWPAGE_MARGIN;
77		TabStop = TRUE ;
78		Text = "Margin" ;
79		ItemList =
80		{
81			ToolBoxItem
82			{
83				HelpID = HID_SWPAGE_TBI_MARGIN;
84				Identifier = TBI_MARGIN ;
85				Text [ en-US ] = "Margin" ;
86				DropDown = TRUE ;
87			};
88		};
89	};
90	String STR_QHELP_TB_MARGIN
91	{
92		Text [ en-US ] = "Select the margin values for the current page style.";
93	};
94
95	FixedText FT_SIZE
96	{
97	    Pos = MAP_APPFONT ( FT_SIZE_X, FT_SIZE_Y );
98        Size = MAP_APPFONT ( MBOX_WIDTH, TEXT_HEIGHT) ;
99		Text [ en-US ] = "~Size:";
100	};
101	ToolBox TB_SIZE
102	{
103        SVLook = TRUE ;
104		Pos = MAP_APPFONT ( TBX_SIZE_X , TBX_SIZE_Y ) ;
105		HelpID = HID_SWPAGE_SIZE;
106		TabStop = TRUE ;
107		Text = "Size" ;
108		ItemList =
109		{
110			ToolBoxItem
111			{
112				HelpID = HID_SWPAGE_TBI_SIZE;
113				Identifier = TBI_SIZE ;
114				Text [ en-US ] = "Size" ;
115				DropDown = TRUE ;
116			};
117		};
118	};
119	String STR_QHELP_TB_SIZE
120	{
121		Text [ en-US ] = "Select a predefined paper size for the current page style.";
122	};
123
124	FixedText FT_COLUMN
125	{
126	    Pos = MAP_APPFONT ( FT_COLUMN_X, FT_COLUMN_Y );
127        Size = MAP_APPFONT ( MBOX_WIDTH + 50, TEXT_HEIGHT) ;
128		Text [ en-US ] = "~Column:";
129	};
130	ToolBox TB_COLUMN
131	{
132        SVLook = TRUE ;
133		Pos = MAP_APPFONT ( TBX_COLUMN_X , TBX_COLUMN_Y ) ;
134		HelpID = HID_SWPAGE_COLUMN;
135		TabStop = TRUE ;
136		Text = "Column" ;
137		ItemList =
138		{
139			ToolBoxItem
140			{
141				HelpID = HID_SWPAGE_TBI_COLUMN;
142				Identifier = TBI_COLUMN;
143				Text [ en-US ] = "Column" ;
144				DropDown = TRUE ;
145			};
146		};
147	};
148	String STR_QHELP_TB_COLUMN
149	{
150		Text [ en-US ] = "Select the layout and the number of columns for the current page style.";
151	};
152
153	Image IMG_PAGE_PORTRAIT
154	{
155		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/portraitcopy_24x24.png";};
156	};
157	Image IMG_PAGE_LANDSCAPE
158	{
159		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/Landscapecopy_24x24.png";};
160	};
161	Image IMG_PAGE_NARROW
162	{
163		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_narrow_24x24.png";};
164	};
165	Image IMG_PAGE_NORMAL
166	{
167		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_nomal_24x24.png";};
168	};
169	Image IMG_PAGE_WIDE
170	{
171		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_wide_24x24.png";};
172	};
173	Image IMG_PAGE_MIRRORED
174	{
175		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_mirror_24x24.png";};
176	};
177	Image IMG_PAGE_MARGIN_CUSTOM
178	{
179		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_copy_24x24.png";};
180	};
181	Image IMG_PAGE_NARROW_L
182	{
183		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatnarrow_24x24.png";};
184	};
185	Image IMG_PAGE_NORMAL_L
186	{
187		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatnormal_24x24.png";};
188	};
189	Image IMG_PAGE_WIDE_L
190	{
191		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatwide_24x24.png";};
192	};
193	Image IMG_PAGE_MIRRORED_L
194	{
195		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatmirror_24x24.png";};
196	};
197	Image IMG_PAGE_MARGIN_CUSTOM_L
198	{
199		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatcopy_24x24.png";};
200	};
201	Image IMG_PAGE_A3
202	{
203		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsize_L_A3_24x24.png";};
204	};
205	Image IMG_PAGE_A4
206	{
207		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsize_L_A4_24x24.png";};
208	};
209	Image IMG_PAGE_A5
210	{
211		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsize_L_A5_24x24.png";};
212	};
213	Image IMG_PAGE_B4
214	{
215		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsize_L_B4_24x24.png";};
216	};
217	Image IMG_PAGE_B5
218	{
219		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsize_L_B5_24x24.png";};
220	};
221	Image IMG_PAGE_C5
222	{
223		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsize_L_C5_24x24.png";};
224	};
225	Image IMG_PAGE_LETTER
226	{
227		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsize_L_copy_24x24.png";};
228	};
229	Image IMG_PAGE_LEGAL
230	{
231		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsize_L_copy_24x24.png";};
232	};
233	Image IMG_PAGE_SIZE_NONE
234	{
235		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsize_L_copy_24x24.png";};
236	};
237	Image IMG_PAGE_A3_L
238	{
239		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsizeA3_24x24.png";};
240	};
241	Image IMG_PAGE_A4_L
242	{
243		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsizeA4_24x24.png";};
244	};
245	Image IMG_PAGE_A5_L
246	{
247		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsizeA5_24x24.png";};
248	};
249	Image IMG_PAGE_B4_L
250	{
251		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsizeB4_24x24.png";};
252	};
253	Image IMG_PAGE_B5_L
254	{
255		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsizeB5_24x24.png";};
256	};
257	Image IMG_PAGE_C5_L
258	{
259		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsizeC5_24x24.png";};
260	};
261	Image IMG_PAGE_LETTER_L
262	{
263		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsizecopy_24x24.png";};
264	};
265	Image IMG_PAGE_LEGAL_L
266	{
267		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsizecopy_24x24.png";};
268	};
269	Image IMG_PAGE_SIZE_NONE_L
270	{
271		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/documentsizecopy_24x24.png";};
272	};
273	Image IMG_PAGE_COLUMN_1
274	{
275		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column_L_1_24x24.png";};
276	};
277	Image IMG_PAGE_COLUMN_2
278	{
279		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column_L_2_24x24.png";};
280	};
281	Image IMG_PAGE_COLUMN_3
282	{
283		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column_L_3_24x24.png";};
284	};
285	Image IMG_PAGE_COLUMN_LEFT
286	{
287		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column_L_left_24x24.png";};
288	};
289	Image IMG_PAGE_COLUMN_RIGHT
290	{
291		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column_L_right_24x24.png";};
292	};
293	Image IMG_PAGE_COLUMN_NONE
294	{
295		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column_L_copy_24x24.png";};
296	};
297	Image IMG_PAGE_COLUMN_1_L
298	{
299		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column1_24x24.png";};
300	};
301	Image IMG_PAGE_COLUMN_2_L
302	{
303		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column2_24x24.png";};
304	};
305	Image IMG_PAGE_COLUMN_3_L
306	{
307		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column3_24x24.png";};
308	};
309	Image IMG_PAGE_COLUMN_LEFT_L
310	{
311		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/columnleft_24x24.png";};
312	};
313	Image IMG_PAGE_COLUMN_RIGHT_L
314	{
315		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/columnright_24x24.png";};
316	};
317	Image IMG_PAGE_COLUMN_NONE_L
318	{
319		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/columncopy_24x24.png";};
320	};
321};
322
323// popup for page orientation attribute
324Control RID_POPUP_SWPAGE_ORIENTATION
325{
326	OutputSize = TRUE;
327	DialogControl = TRUE;
328	Border = FALSE;
329	Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_WIDTH, ITEM_HEIGHT*2 + POPUPPANEL_MARGIN_SMALL*2 );
330
331	Control VS_ORIENTATION
332	{
333        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y);
334        Size = MAP_APPFONT ( VS_WIDTH  , ITEM_HEIGHT*2);
335        HelpID = HID_SWPAGE_VS_ORIENTATION;
336		TabStop = TRUE ;
337		Text = "Orientation";
338	};
339	Image IMG_PORTRAIT
340	{
341		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/portraitcopy_24x24.png";};
342	};
343	Image IMG_LANDSCAPE
344	{
345		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/Landscapecopy_24x24.png";};
346	};
347	String STR_PORTRAIT
348	{
349		Text [ en-US ] = "Portrait";
350	};
351	String STR_LANDSCAPE
352	{
353		Text [ en-US ] = "Landscape";
354	};
355};
356
357// popup for page style's margin attributes
358Control RID_POPUP_SWPAGE_MARGIN
359{
360	OutputSize = TRUE;
361	DialogControl = TRUE;
362	Border = FALSE;
363	Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_WIDTH, MARGIN_PANEL_HEIGHT );
364
365	Control VS_MARGIN
366	{
367        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y );
368        Size = MAP_APPFONT ( VS_WIDTH  , ITEM_HEIGHT*5);
369        HelpID = HID_SWPAGE_VS_MARGIN;
370		TabStop = TRUE ;
371		Text = "Margin";
372	};
373	FixedText FT_CUSTOM
374	{
375	    Pos = MAP_APPFONT ( FT_CUSTOM_X, FT_CUSTOM_Y );
376        Size = MAP_APPFONT ( MBOX_WIDTH + 30, TEXT_HEIGHT) ;
377		Text [ en-US ] = "Custom:";
378	};
379	FixedText FT_LEFT
380	{
381	    Pos = MAP_APPFONT ( FT_X, FT_LEFT_Y );
382        Size = MAP_APPFONT ( 25, TEXT_HEIGHT) ;
383		Text [ en-US ] = "~Left:";
384	};
385	FixedText FT_INNER
386	{
387	    Pos = MAP_APPFONT ( FT_X, FT_LEFT_Y );
388        Size = MAP_APPFONT ( 25, TEXT_HEIGHT) ;
389		Text [ en-US ] = "I~nner:";
390	};
391	MetricField MF_SWLEFT_MARGIN
392	{
393		Border = TRUE;
394		Pos = MAP_APPFONT ( MF_X , LEFT_MF_Y );
395		Size = MAP_APPFONT ( MBOX_WIDTH - 12, MBOX_HEIGHT );
396		HelpID = HID_SWPAGE_LEFT_MARGIN;
397		Left = TRUE;
398		Repeat = TRUE;
399		Spin = TRUE;
400		Maximum = 9999;
401		DecimalDigits = 2;
402		Unit = FUNIT_CM;
403		Last = 9999;
404		SpinSize = 10;
405	};
406	FixedText FT_RIGHT
407	{
408	    Pos = MAP_APPFONT ( FT_X, FT_RIGHT_Y );
409        Size = MAP_APPFONT ( 25, TEXT_HEIGHT) ;
410		Text [ en-US ] = "~Right:";
411	};
412	FixedText FT_OUTER
413	{
414	    Pos = MAP_APPFONT ( FT_X, FT_RIGHT_Y );
415        Size = MAP_APPFONT ( 25, TEXT_HEIGHT) ;
416		Text [ en-US ] = "O~uter:";
417	};
418	MetricField MF_SWRIGHT_MARGIN
419	{
420		Border = TRUE;
421		Pos = MAP_APPFONT ( MF_X , RIGHT_MF_Y );
422		Size = MAP_APPFONT ( MBOX_WIDTH - 12, MBOX_HEIGHT );
423		HelpID = HID_SWPAGE_RIGHT_MARGIN;
424		Left = TRUE;
425		Repeat = TRUE;
426		Spin = TRUE;
427		Maximum = 9999;
428		DecimalDigits = 2;
429		Unit = FUNIT_CM;
430		Last = 9999;
431		SpinSize = 10;
432	};
433	FixedText FT_TOP
434	{
435	    Pos = MAP_APPFONT ( FT_X, FT_TOP_Y );
436        Size = MAP_APPFONT ( 25, TEXT_HEIGHT) ;
437		Text [ en-US ] = "~Top:";
438	};
439	MetricField MF_SWTOP_MARGIN
440	{
441		Border = TRUE;
442		Pos = MAP_APPFONT ( MF_X , TOP_MF_Y );
443		Size = MAP_APPFONT ( MBOX_WIDTH - 12, MBOX_HEIGHT );
444		HelpID = HID_SWPAGE_TOP_MARGIN;
445		Left = TRUE;
446		Repeat = TRUE;
447		Spin = TRUE;
448		Maximum = 9999;
449		DecimalDigits = 2;
450		Unit = FUNIT_CM;
451		Last = 9999;
452		SpinSize = 10;
453	};
454	FixedText FT_BOTTOM
455	{
456	    Pos = MAP_APPFONT ( FT_X, FT_BOTTOM_Y );
457        Size = MAP_APPFONT ( 25, TEXT_HEIGHT) ;
458		Text [ en-US ] = "~Bottom:";
459	};
460	MetricField MF_SWBOTTOM_MARGIN
461	{
462		Border = TRUE;
463		Pos = MAP_APPFONT ( MF_X , BOTTOM_MF_Y );
464		Size = MAP_APPFONT ( MBOX_WIDTH - 12, MBOX_HEIGHT );
465		HelpID = HID_SWPAGE_BOTTOM_MARGIN;
466		Left = TRUE;
467		Repeat = TRUE;
468		Spin = TRUE;
469		Maximum = 9999;
470		DecimalDigits = 2;
471		Unit = FUNIT_CM;
472		Last = 9999;
473		SpinSize = 10;
474	};
475	MetricField FLD_WIDTH_HEIGHT
476	{
477		Border = TRUE;
478		Left = TRUE;
479		Repeat = TRUE;
480		Spin = TRUE;
481		Maximum = 9999;
482		DecimalDigits = 2;
483		Unit = FUNIT_CM;
484		Last = 9999;
485		SpinSize = 10;
486	};
487
488	Image IMG_NARROW
489	{
490		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_narrow_24x24.png";};
491	};
492	Image IMG_NORMAL
493	{
494		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_nomal_24x24.png";};
495	};
496	Image IMG_WIDE
497	{
498		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_wide_24x24.png";};
499	};
500	Image IMG_MIRRORED
501	{
502		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/format_L_mirror_24x24.png";};
503	};
504	Image IMG_NARROW_L
505	{
506		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatnarrow_24x24.png";};
507	};
508	Image IMG_NORMAL_L
509	{
510		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatnormal_24x24.png";};
511	};
512	Image IMG_WIDE_L
513	{
514		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatwide_24x24.png";};
515	};
516	Image IMG_MIRRORED_L
517	{
518		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/formatmirror_24x24.png";};
519	};
520	Image IMG_CUSTOM
521	{
522		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/last_custom_common.png";};
523	};
524	Image IMG_CUSTOM_DIS
525	{
526		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/last_custom_common_grey.png";};
527	};
528	String STR_LCVALUE
529	{
530		Text [ en-US ] = "Last Custom Values";
531	};
532	String STR_NARROW
533	{
534		Text [ en-US ] = "Narrow";
535	};
536	String STR_NORMAL
537	{
538		Text [ en-US ] = "Normal";
539	};
540	String STR_WIDE
541	{
542		Text [ en-US ] = "Wide";
543	};
544	String STR_MIRRORED
545	{
546		Text [ en-US ] = "Mirrored";
547	};
548	String STR_MARGIN_TOOLTIP_LEFT
549	{
550		Text [ en-US ] = "Left: ";
551	};
552	String STR_MARGIN_TOOLTIP_RIGHT
553	{
554		Text [ en-US ] = ". Right: ";
555	};
556	String STR_MARGIN_TOOLTIP_INNER
557	{
558		Text [ en-US ] = "Inner: ";
559	};
560	String STR_MARGIN_TOOLTIP_OUTER
561	{
562		Text [ en-US ] = ". Outer: ";
563	};
564	String STR_MARGIN_TOOLTIP_TOP
565	{
566		Text [ en-US ] = ". Top: ";
567	};
568	String STR_MARGIN_TOOLTIP_BOT
569	{
570		Text [ en-US ] = ". Bottom: ";
571	};
572};
573
574// popup for page style's page size
575Control RID_POPUP_SWPAGE_SIZE
576{
577	OutputSize = TRUE;
578	DialogControl = TRUE;
579	Border = FALSE;
580	Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_WIDTH + 22, ITEM_HEIGHT2*8 + POPUPPANEL_MARGIN_SMALL*2 + CONTROL_SPACING_VERTICAL + 15 );
581
582	Control VS_SIZE
583	{
584        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y);
585        Size = MAP_APPFONT ( VS_WIDTH + 22 , ITEM_HEIGHT2*8);
586        HelpID = HID_SWPAGE_VS_SIZE;
587		TabStop = TRUE ;
588		Text = "Size";
589	};
590	PushButton CB_SIZE_MORE
591	{
592		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + 2*OFFSET_X, POPUPPANEL_MARGIN_SMALL + 2*OFFSET_Y + ITEM_HEIGHT2*8 ) ;
593		Size = MAP_APPFONT ( VS_WIDTH - 2 + 22, 15 ) ;
594		HelpID = HID_SWPAGE_SIZE_MORE;
595		TabStop = TRUE ;
596		Text [ en-US ] = "~More Options";
597		QuickHelpText [ en-US ] = "More Options" ;
598	};
599	MetricField FLD_WIDTH_HEIGHT
600	{
601		Border = TRUE;
602		Left = TRUE;
603		Repeat = TRUE;
604		Spin = TRUE;
605		Maximum = 9999;
606		DecimalDigits = 2;
607		Unit = FUNIT_CM;
608		Last = 9999;
609		SpinSize = 10;
610	};
611};
612
613// popup for page style's column attribute
614Control RID_POPUP_SWPAGE_COLUMN
615{
616	OutputSize = TRUE;
617	DialogControl = TRUE;
618	Border = FALSE;
619	Size = MAP_APPFONT( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_WIDTH - 15, ITEM_HEIGHT*5 + POPUPPANEL_MARGIN_SMALL*2 + CONTROL_SPACING_VERTICAL + 15 );
620
621	Control VS_COLUMN
622	{
623        Pos = MAP_APPFONT(  POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y);
624        Size = MAP_APPFONT ( VS_WIDTH -15 , ITEM_HEIGHT*5);
625        HelpID = HID_SWPAGE_VS_COLUMN;
626		TabStop = TRUE ;
627		Text = "Column";
628	};
629	PushButton CB_COLUMN_MORE
630	{
631		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + 2*OFFSET_X, POPUPPANEL_MARGIN_SMALL + 2*OFFSET_Y + ITEM_HEIGHT*5 ) ;
632		Size = MAP_APPFONT ( VS_WIDTH - 2 - 15, 15 ) ;
633		HelpID = HID_SWPAGE_COLUMN_MORE;
634		TabStop = TRUE ;
635		Text [ en-US ] = "~More Options";
636		QuickHelpText [ en-US ] = "More Options" ;
637	};
638	Image  IMG_ONE
639	{
640		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column_L_1_24x24.png";};
641	};
642	Image  IMG_TWO
643	{
644		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column_L_2_24x24.png";};
645	};
646	Image  IMG_THREE
647	{
648		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column_L_3_24x24.png";};
649	};
650	Image  IMG_LEFT
651	{
652		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column_L_left_24x24.png";};
653	};
654	Image  IMG_RIGHT
655	{
656		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column_L_right_24x24.png";};
657	};
658	Image  IMG_ONE_L
659	{
660		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column1_24x24.png";};
661	};
662	Image  IMG_TWO_L
663	{
664		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column2_24x24.png";};
665	};
666	Image  IMG_THREE_L
667	{
668		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/column3_24x24.png";};
669	};
670	Image  IMG_LEFT_L
671	{
672		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/columnleft_24x24.png";};
673	};
674	Image  IMG_RIGHT_L
675	{
676		ImageBitmap = Bitmap{File = "sidebar/pageproppanel/columnright_24x24.png";};
677	};
678	String STR_ONE
679	{
680		Text [ en-US ] = "1 Column";
681	};
682	String STR_TWO
683	{
684		Text [ en-US ] = "2 Columns";
685	};
686	String STR_THREE
687	{
688		Text [ en-US ] = "3 Columns";
689	};
690	String STR_LEFT
691	{
692		Text [ en-US ] = "Left";
693	};
694	String STR_RIGHT
695	{
696		Text [ en-US ] = "Right";
697	};
698};
699