1ff0525f2SOliver-Rainer Wittmann/**************************************************************
241919c97Smseidel*
3ff0525f2SOliver-Rainer Wittmann* Licensed to the Apache Software Foundation (ASF) under one
4ff0525f2SOliver-Rainer Wittmann* or more contributor license agreements.  See the NOTICE file
5ff0525f2SOliver-Rainer Wittmann* distributed with this work for additional information
6ff0525f2SOliver-Rainer Wittmann* regarding copyright ownership.  The ASF licenses this file
7ff0525f2SOliver-Rainer Wittmann* to you under the Apache License, Version 2.0 (the
8ff0525f2SOliver-Rainer Wittmann* "License"); you may not use this file except in compliance
9ff0525f2SOliver-Rainer Wittmann* with the License.  You may obtain a copy of the License at
1041919c97Smseidel*
11ff0525f2SOliver-Rainer Wittmann*   http://www.apache.org/licenses/LICENSE-2.0
1241919c97Smseidel*
13ff0525f2SOliver-Rainer Wittmann* Unless required by applicable law or agreed to in writing,
14ff0525f2SOliver-Rainer Wittmann* software distributed under the License is distributed on an
15ff0525f2SOliver-Rainer Wittmann* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16ff0525f2SOliver-Rainer Wittmann* KIND, either express or implied.  See the License for the
17ff0525f2SOliver-Rainer Wittmann* specific language governing permissions and limitations
18ff0525f2SOliver-Rainer Wittmann* under the License.
1941919c97Smseidel*
20ff0525f2SOliver-Rainer Wittmann*************************************************************/
21ff0525f2SOliver-Rainer Wittmann
2241919c97Smseidel
2341919c97Smseidel
24d29c2fc2SAndre Fischer#include <sfx2/sidebar/ResourceDefinitions.hrc>
25ff0525f2SOliver-Rainer Wittmann#include "PropertyPanel.hrc"
26ff0525f2SOliver-Rainer Wittmann#include "PagePropertyPanel.hrc"
27ff0525f2SOliver-Rainer Wittmann#include "helpid.h"
28ff0525f2SOliver-Rainer Wittmann
29ff0525f2SOliver-Rainer Wittmann// page property panel control
30ff0525f2SOliver-Rainer WittmannControl RID_PROPERTYPANEL_SWPAGE
31ff0525f2SOliver-Rainer Wittmann{
3241919c97Smseidel	OutputSize = TRUE ;
3341919c97Smseidel	DialogControl = TRUE ;
3441919c97Smseidel	Border = FALSE ;
3541919c97Smseidel	Size = MAP_APPFONT ( PROPERTYPAGE_WIDTH, PAGE_HEIGHT ) ;
36ff0525f2SOliver-Rainer Wittmann	HelpID = HID_PROPERTYPANEL_SWPAGE_SECTION;
3741919c97Smseidel	Text = "Page" ;
3841919c97Smseidel
39ff0525f2SOliver-Rainer Wittmann	FixedText FT_ORIENTATION
40ff0525f2SOliver-Rainer Wittmann	{
4141919c97Smseidel		Pos = MAP_APPFONT ( FT_ORIENTATION_X, FT_ORIENTATION_Y ) ;
4241919c97Smseidel		Size = MAP_APPFONT ( MBOX_WIDTH, TEXT_HEIGHT ) ;
4341919c97Smseidel		Text [ en-US ] = "~Orientation:" ;
44ff0525f2SOliver-Rainer Wittmann	};
45ff0525f2SOliver-Rainer Wittmann	ToolBox TB_ORIENTATION
46ff0525f2SOliver-Rainer Wittmann	{
4741919c97Smseidel		Pos = MAP_APPFONT ( TBX_ORIENTATION_X, TBX_ORIENTATION_Y ) ;
48ff0525f2SOliver-Rainer Wittmann		HelpID = HID_SWPAGE_ORIENTATION;
49ff0525f2SOliver-Rainer Wittmann		SVLook = TRUE ;
50ff0525f2SOliver-Rainer Wittmann		TabStop = TRUE ;
51ff0525f2SOliver-Rainer Wittmann		Text = "Orientation" ;
52ff0525f2SOliver-Rainer Wittmann		ItemList =
53ff0525f2SOliver-Rainer Wittmann		{
54ff0525f2SOliver-Rainer Wittmann			ToolBoxItem
55ff0525f2SOliver-Rainer Wittmann			{
5641919c97Smseidel				HelpID = HID_SWPAGE_TBI_ORIENTATION ;
57ff0525f2SOliver-Rainer Wittmann				Identifier = TBI_ORIENTATION ;
58ff0525f2SOliver-Rainer Wittmann				Text [ en-US ] = "Orientation" ;
59ff0525f2SOliver-Rainer Wittmann				DropDown = TRUE ;
60ff0525f2SOliver-Rainer Wittmann			};
61ff0525f2SOliver-Rainer Wittmann		};
62ff0525f2SOliver-Rainer Wittmann	};
63ff0525f2SOliver-Rainer Wittmann	String STR_QHELP_TB_ORIENTATION
64ff0525f2SOliver-Rainer Wittmann	{
6541919c97Smseidel		Text [ en-US ] = "Select the paper orientation - vertically (portrait) or horizontally (landscape) - for the current page style." ;
66ff0525f2SOliver-Rainer Wittmann	};
67ff0525f2SOliver-Rainer Wittmann
68ff0525f2SOliver-Rainer Wittmann	FixedText FT_MARGIN
69ff0525f2SOliver-Rainer Wittmann	{
7041919c97Smseidel		Pos = MAP_APPFONT ( FT_MARGIN_X, FT_MARGIN_Y ) ;
7141919c97Smseidel		Size = MAP_APPFONT ( MBOX_WIDTH + 50, TEXT_HEIGHT ) ;
7241919c97Smseidel		Text [ en-US ] = "~Margin:" ;
73ff0525f2SOliver-Rainer Wittmann	};
74ff0525f2SOliver-Rainer Wittmann	ToolBox TB_MARGIN
75ff0525f2SOliver-Rainer Wittmann	{
76ff0525f2SOliver-Rainer Wittmann		SVLook = TRUE ;
7741919c97Smseidel		Pos = MAP_APPFONT ( TBX_MARGIN_X, TBX_MARGIN_Y ) ;
7841919c97Smseidel		HelpID = HID_SWPAGE_MARGIN ;
79ff0525f2SOliver-Rainer Wittmann		TabStop = TRUE ;
80ff0525f2SOliver-Rainer Wittmann		Text = "Margin" ;
81ff0525f2SOliver-Rainer Wittmann		ItemList =
82ff0525f2SOliver-Rainer Wittmann		{
83ff0525f2SOliver-Rainer Wittmann			ToolBoxItem
84ff0525f2SOliver-Rainer Wittmann			{
8541919c97Smseidel				HelpID = HID_SWPAGE_TBI_MARGIN ;
86ff0525f2SOliver-Rainer Wittmann				Identifier = TBI_MARGIN ;
87ff0525f2SOliver-Rainer Wittmann				Text [ en-US ] = "Margin" ;
88ff0525f2SOliver-Rainer Wittmann				DropDown = TRUE ;
89ff0525f2SOliver-Rainer Wittmann			};
90ff0525f2SOliver-Rainer Wittmann		};
91ff0525f2SOliver-Rainer Wittmann	};
92ff0525f2SOliver-Rainer Wittmann	String STR_QHELP_TB_MARGIN
93ff0525f2SOliver-Rainer Wittmann	{
9441919c97Smseidel		Text [ en-US ] = "Select the margin values for the current page style." ;
95ff0525f2SOliver-Rainer Wittmann	};
96ff0525f2SOliver-Rainer Wittmann
97ff0525f2SOliver-Rainer Wittmann	FixedText FT_SIZE
98ff0525f2SOliver-Rainer Wittmann	{
9941919c97Smseidel		Pos = MAP_APPFONT ( FT_SIZE_X, FT_SIZE_Y ) ;
10041919c97Smseidel		Size = MAP_APPFONT ( MBOX_WIDTH, TEXT_HEIGHT ) ;
10141919c97Smseidel		Text [ en-US ] = "~Size:" ;
102ff0525f2SOliver-Rainer Wittmann	};
103ff0525f2SOliver-Rainer Wittmann	ToolBox TB_SIZE
10441919c97Smseidel	{
10541919c97Smseidel		SVLook = TRUE ;
10641919c97Smseidel		Pos = MAP_APPFONT ( TBX_SIZE_X, TBX_SIZE_Y ) ;
10741919c97Smseidel		HelpID = HID_SWPAGE_SIZE ;
108ff0525f2SOliver-Rainer Wittmann		TabStop = TRUE ;
109ff0525f2SOliver-Rainer Wittmann		Text = "Size" ;
110ff0525f2SOliver-Rainer Wittmann		ItemList =
111ff0525f2SOliver-Rainer Wittmann		{
112ff0525f2SOliver-Rainer Wittmann			ToolBoxItem
113ff0525f2SOliver-Rainer Wittmann			{
11441919c97Smseidel				HelpID = HID_SWPAGE_TBI_SIZE ;
115ff0525f2SOliver-Rainer Wittmann				Identifier = TBI_SIZE ;
116ff0525f2SOliver-Rainer Wittmann				Text [ en-US ] = "Size" ;
117ff0525f2SOliver-Rainer Wittmann				DropDown = TRUE ;
118ff0525f2SOliver-Rainer Wittmann			};
119ff0525f2SOliver-Rainer Wittmann		};
120ff0525f2SOliver-Rainer Wittmann	};
121ff0525f2SOliver-Rainer Wittmann	String STR_QHELP_TB_SIZE
122ff0525f2SOliver-Rainer Wittmann	{
12341919c97Smseidel		Text [ en-US ] = "Select a predefined paper size for the current page style." ;
124ff0525f2SOliver-Rainer Wittmann	};
125ff0525f2SOliver-Rainer Wittmann
126ff0525f2SOliver-Rainer Wittmann	FixedText FT_COLUMN
127ff0525f2SOliver-Rainer Wittmann	{
12841919c97Smseidel		Pos = MAP_APPFONT ( FT_COLUMN_X, FT_COLUMN_Y );
12941919c97Smseidel		Size = MAP_APPFONT ( MBOX_WIDTH + 50, TEXT_HEIGHT ) ;
13041919c97Smseidel		Text [ en-US ] = "~Column:" ;
131ff0525f2SOliver-Rainer Wittmann	};
132ff0525f2SOliver-Rainer Wittmann	ToolBox TB_COLUMN
13341919c97Smseidel	{
13441919c97Smseidel		SVLook = TRUE ;
13541919c97Smseidel		Pos = MAP_APPFONT ( TBX_COLUMN_X, TBX_COLUMN_Y ) ;
13641919c97Smseidel		HelpID = HID_SWPAGE_COLUMN ;
137ff0525f2SOliver-Rainer Wittmann		TabStop = TRUE ;
138ff0525f2SOliver-Rainer Wittmann		Text = "Column" ;
139ff0525f2SOliver-Rainer Wittmann		ItemList =
140ff0525f2SOliver-Rainer Wittmann		{
141ff0525f2SOliver-Rainer Wittmann			ToolBoxItem
142ff0525f2SOliver-Rainer Wittmann			{
14341919c97Smseidel				HelpID = HID_SWPAGE_TBI_COLUMN ;
14441919c97Smseidel				Identifier = TBI_COLUMN ;
145ff0525f2SOliver-Rainer Wittmann				Text [ en-US ] = "Column" ;
146ff0525f2SOliver-Rainer Wittmann				DropDown = TRUE ;
147ff0525f2SOliver-Rainer Wittmann			};
148ff0525f2SOliver-Rainer Wittmann		};
149ff0525f2SOliver-Rainer Wittmann	};
150ff0525f2SOliver-Rainer Wittmann	String STR_QHELP_TB_COLUMN
151ff0525f2SOliver-Rainer Wittmann	{
15241919c97Smseidel		Text [ en-US ] = "Select the layout and the number of columns for the current page style." ;
153ff0525f2SOliver-Rainer Wittmann	};
154ff0525f2SOliver-Rainer Wittmann
155ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_PORTRAIT
156ff0525f2SOliver-Rainer Wittmann	{
15741919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/portraitcopy_24x24.png" ;} ;
158ff0525f2SOliver-Rainer Wittmann	};
159ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_LANDSCAPE
160ff0525f2SOliver-Rainer Wittmann	{
16141919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/Landscapecopy_24x24.png" ;} ;
162ff0525f2SOliver-Rainer Wittmann	};
163ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_NARROW
164ff0525f2SOliver-Rainer Wittmann	{
16541919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/format_L_narrow_24x24.png" ;} ;
166ff0525f2SOliver-Rainer Wittmann	};
167ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_NORMAL
168ff0525f2SOliver-Rainer Wittmann	{
16941919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/format_L_normal_24x24.png" ;} ;
170ff0525f2SOliver-Rainer Wittmann	};
171ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_WIDE
172ff0525f2SOliver-Rainer Wittmann	{
17341919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/format_L_wide_24x24.png" ;} ;
174ff0525f2SOliver-Rainer Wittmann	};
175ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_MIRRORED
176ff0525f2SOliver-Rainer Wittmann	{
17741919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/format_L_mirror_24x24.png" ;} ;
178ff0525f2SOliver-Rainer Wittmann	};
179ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_MARGIN_CUSTOM
180ff0525f2SOliver-Rainer Wittmann	{
18141919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/format_L_copy_24x24.png" ;} ;
182ff0525f2SOliver-Rainer Wittmann	};
183ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_NARROW_L
184ff0525f2SOliver-Rainer Wittmann	{
18541919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/formatnarrow_24x24.png" ;} ;
186ff0525f2SOliver-Rainer Wittmann	};
187ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_NORMAL_L
188ff0525f2SOliver-Rainer Wittmann	{
18941919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/formatnormal_24x24.png" ;} ;
190ff0525f2SOliver-Rainer Wittmann	};
191ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_WIDE_L
192ff0525f2SOliver-Rainer Wittmann	{
19341919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/formatwide_24x24.png" ;} ;
194ff0525f2SOliver-Rainer Wittmann	};
195ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_MIRRORED_L
196ff0525f2SOliver-Rainer Wittmann	{
19741919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/formatmirror_24x24.png" ;} ;
198ff0525f2SOliver-Rainer Wittmann	};
199ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_MARGIN_CUSTOM_L
200ff0525f2SOliver-Rainer Wittmann	{
20141919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/formatcopy_24x24.png" ;} ;
202ff0525f2SOliver-Rainer Wittmann	};
203ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_A3
204ff0525f2SOliver-Rainer Wittmann	{
20541919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsize_L_A3_24x24.png" ;} ;
206ff0525f2SOliver-Rainer Wittmann	};
207ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_A4
208ff0525f2SOliver-Rainer Wittmann	{
20941919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsize_L_A4_24x24.png" ;} ;
210ff0525f2SOliver-Rainer Wittmann	};
211ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_A5
212ff0525f2SOliver-Rainer Wittmann	{
21341919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsize_L_A5_24x24.png" ;} ;
214ff0525f2SOliver-Rainer Wittmann	};
215ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_B4
216ff0525f2SOliver-Rainer Wittmann	{
21741919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsize_L_B4_24x24.png" ;} ;
218ff0525f2SOliver-Rainer Wittmann	};
219ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_B5
220ff0525f2SOliver-Rainer Wittmann	{
22141919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsize_L_B5_24x24.png" ;} ;
222ff0525f2SOliver-Rainer Wittmann	};
223ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_C5
224ff0525f2SOliver-Rainer Wittmann	{
22541919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsize_L_C5_24x24.png" ;} ;
226ff0525f2SOliver-Rainer Wittmann	};
227ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_LETTER
228ff0525f2SOliver-Rainer Wittmann	{
229*247dd53aSmseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsize_L_Letter_24x24.png" ;} ;
230ff0525f2SOliver-Rainer Wittmann	};
231ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_LEGAL
232ff0525f2SOliver-Rainer Wittmann	{
233*247dd53aSmseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsize_L_Legal_24x24.png" ;} ;
234ff0525f2SOliver-Rainer Wittmann	};
235ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_SIZE_NONE
236ff0525f2SOliver-Rainer Wittmann	{
23741919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsize_L_copy_24x24.png" ;} ;
238ff0525f2SOliver-Rainer Wittmann	};
239ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_A3_L
240ff0525f2SOliver-Rainer Wittmann	{
24141919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsizeA3_24x24.png" ;} ;
242ff0525f2SOliver-Rainer Wittmann	};
243ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_A4_L
244ff0525f2SOliver-Rainer Wittmann	{
24541919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsizeA4_24x24.png" ;} ;
246ff0525f2SOliver-Rainer Wittmann	};
247ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_A5_L
248ff0525f2SOliver-Rainer Wittmann	{
24941919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsizeA5_24x24.png" ;} ;
250ff0525f2SOliver-Rainer Wittmann	};
251ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_B4_L
252ff0525f2SOliver-Rainer Wittmann	{
25341919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsizeB4_24x24.png" ;} ;
254ff0525f2SOliver-Rainer Wittmann	};
255ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_B5_L
256ff0525f2SOliver-Rainer Wittmann	{
25741919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsizeB5_24x24.png" ;} ;
258ff0525f2SOliver-Rainer Wittmann	};
259ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_C5_L
260ff0525f2SOliver-Rainer Wittmann	{
26141919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsizeC5_24x24.png" ;} ;
262ff0525f2SOliver-Rainer Wittmann	};
263ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_LETTER_L
264ff0525f2SOliver-Rainer Wittmann	{
265*247dd53aSmseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsizeLetter_24x24.png" ;} ;
266ff0525f2SOliver-Rainer Wittmann	};
267ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_LEGAL_L
268ff0525f2SOliver-Rainer Wittmann	{
269*247dd53aSmseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsizeLegal_24x24.png" ;} ;
270ff0525f2SOliver-Rainer Wittmann	};
271ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_SIZE_NONE_L
272ff0525f2SOliver-Rainer Wittmann	{
27341919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/documentsizecopy_24x24.png" ;} ;
274ff0525f2SOliver-Rainer Wittmann	};
275ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_COLUMN_1
276ff0525f2SOliver-Rainer Wittmann	{
27741919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column_L_1_24x24.png" ;} ;
278ff0525f2SOliver-Rainer Wittmann	};
279ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_COLUMN_2
280ff0525f2SOliver-Rainer Wittmann	{
28141919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column_L_2_24x24.png" ;} ;
282ff0525f2SOliver-Rainer Wittmann	};
283ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_COLUMN_3
284ff0525f2SOliver-Rainer Wittmann	{
28541919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column_L_3_24x24.png" ;} ;
286ff0525f2SOliver-Rainer Wittmann	};
287ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_COLUMN_LEFT
288ff0525f2SOliver-Rainer Wittmann	{
28941919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column_L_left_24x24.png" ;} ;
290ff0525f2SOliver-Rainer Wittmann	};
291ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_COLUMN_RIGHT
292ff0525f2SOliver-Rainer Wittmann	{
29341919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column_L_right_24x24.png" ;} ;
294ff0525f2SOliver-Rainer Wittmann	};
295ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_COLUMN_NONE
296ff0525f2SOliver-Rainer Wittmann	{
29741919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column_L_copy_24x24.png" ;} ;
298ff0525f2SOliver-Rainer Wittmann	};
299ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_COLUMN_1_L
300ff0525f2SOliver-Rainer Wittmann	{
30141919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column1_24x24.png" ;} ;
302ff0525f2SOliver-Rainer Wittmann	};
303ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_COLUMN_2_L
304ff0525f2SOliver-Rainer Wittmann	{
30541919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column2_24x24.png" ;} ;
306ff0525f2SOliver-Rainer Wittmann	};
307ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_COLUMN_3_L
308ff0525f2SOliver-Rainer Wittmann	{
30941919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column3_24x24.png" ;} ;
310ff0525f2SOliver-Rainer Wittmann	};
311ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_COLUMN_LEFT_L
312ff0525f2SOliver-Rainer Wittmann	{
31341919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/columnleft_24x24.png" ;} ;
314ff0525f2SOliver-Rainer Wittmann	};
315ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_COLUMN_RIGHT_L
316ff0525f2SOliver-Rainer Wittmann	{
31741919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/columnright_24x24.png" ;} ;
318ff0525f2SOliver-Rainer Wittmann	};
319ff0525f2SOliver-Rainer Wittmann	Image IMG_PAGE_COLUMN_NONE_L
320ff0525f2SOliver-Rainer Wittmann	{
32141919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/columncopy_24x24.png" ;} ;
322ff0525f2SOliver-Rainer Wittmann	};
323ff0525f2SOliver-Rainer Wittmann};
324ff0525f2SOliver-Rainer Wittmann
325ff0525f2SOliver-Rainer Wittmann// popup for page orientation attribute
326ff0525f2SOliver-Rainer WittmannControl RID_POPUP_SWPAGE_ORIENTATION
327ff0525f2SOliver-Rainer Wittmann{
32841919c97Smseidel	OutputSize = TRUE ;
32941919c97Smseidel	DialogControl = TRUE ;
33041919c97Smseidel	Border = FALSE ;
33141919c97Smseidel	Size = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_WIDTH, ITEM_HEIGHT * 2 + POPUPPANEL_MARGIN_SMALL * 2 ) ;
33241919c97Smseidel
333ff0525f2SOliver-Rainer Wittmann	Control VS_ORIENTATION
334ff0525f2SOliver-Rainer Wittmann	{
33541919c97Smseidel		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y ) ;
33641919c97Smseidel		Size = MAP_APPFONT ( VS_WIDTH, ITEM_HEIGHT * 2 ) ;
33741919c97Smseidel		HelpID = HID_SWPAGE_VS_ORIENTATION ;
338ff0525f2SOliver-Rainer Wittmann		TabStop = TRUE ;
33941919c97Smseidel		Text = "Orientation" ;
340ff0525f2SOliver-Rainer Wittmann	};
341ff0525f2SOliver-Rainer Wittmann	Image IMG_PORTRAIT
342ff0525f2SOliver-Rainer Wittmann	{
34341919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/portraitcopy_24x24.png" ;} ;
344ff0525f2SOliver-Rainer Wittmann	};
345ff0525f2SOliver-Rainer Wittmann	Image IMG_LANDSCAPE
346ff0525f2SOliver-Rainer Wittmann	{
34741919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/Landscapecopy_24x24.png" ;} ;
348ff0525f2SOliver-Rainer Wittmann	};
349ff0525f2SOliver-Rainer Wittmann	String STR_PORTRAIT
350ff0525f2SOliver-Rainer Wittmann	{
35141919c97Smseidel		Text [ en-US ] = "Portrait" ;
352ff0525f2SOliver-Rainer Wittmann	};
353ff0525f2SOliver-Rainer Wittmann	String STR_LANDSCAPE
354ff0525f2SOliver-Rainer Wittmann	{
35541919c97Smseidel		Text [ en-US ] = "Landscape" ;
356ff0525f2SOliver-Rainer Wittmann	};
357ff0525f2SOliver-Rainer Wittmann};
358ff0525f2SOliver-Rainer Wittmann
359ff0525f2SOliver-Rainer Wittmann// popup for page style's margin attributes
360ff0525f2SOliver-Rainer WittmannControl RID_POPUP_SWPAGE_MARGIN
361ff0525f2SOliver-Rainer Wittmann{
36241919c97Smseidel	OutputSize = TRUE ;
36341919c97Smseidel	DialogControl = TRUE ;
36441919c97Smseidel	Border = FALSE ;
36541919c97Smseidel	Size = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_WIDTH, MARGIN_PANEL_HEIGHT ) ;
36641919c97Smseidel
367ff0525f2SOliver-Rainer Wittmann	Control VS_MARGIN
368ff0525f2SOliver-Rainer Wittmann	{
36941919c97Smseidel		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y ) ;
37041919c97Smseidel		Size = MAP_APPFONT ( VS_WIDTH, ITEM_HEIGHT * 5 ) ;
37141919c97Smseidel		HelpID = HID_SWPAGE_VS_MARGIN ;
372ff0525f2SOliver-Rainer Wittmann		TabStop = TRUE ;
37341919c97Smseidel		Text = "Margin" ;
374ff0525f2SOliver-Rainer Wittmann	};
375ff0525f2SOliver-Rainer Wittmann	FixedText FT_CUSTOM
376ff0525f2SOliver-Rainer Wittmann	{
37741919c97Smseidel		Pos = MAP_APPFONT ( FT_CUSTOM_X, FT_CUSTOM_Y ) ;
37841919c97Smseidel		Size = MAP_APPFONT ( MBOX_WIDTH + 30, TEXT_HEIGHT ) ;
37941919c97Smseidel		Text [ en-US ] = "Custom:" ;
380ff0525f2SOliver-Rainer Wittmann	};
381ff0525f2SOliver-Rainer Wittmann	FixedText FT_LEFT
382ff0525f2SOliver-Rainer Wittmann	{
38341919c97Smseidel		Pos = MAP_APPFONT ( FT_X, FT_LEFT_Y ) ;
38441919c97Smseidel		Size = MAP_APPFONT ( 25, TEXT_HEIGHT ) ;
38541919c97Smseidel		Text [ en-US ] = "~Left:" ;
386ff0525f2SOliver-Rainer Wittmann	};
387ff0525f2SOliver-Rainer Wittmann	FixedText FT_INNER
388ff0525f2SOliver-Rainer Wittmann	{
38941919c97Smseidel		Pos = MAP_APPFONT ( FT_X, FT_LEFT_Y ) ;
39041919c97Smseidel		Size = MAP_APPFONT ( 25, TEXT_HEIGHT ) ;
39141919c97Smseidel		Text [ en-US ] = "I~nner:" ;
392ff0525f2SOliver-Rainer Wittmann	};
393ff0525f2SOliver-Rainer Wittmann	MetricField MF_SWLEFT_MARGIN
394ff0525f2SOliver-Rainer Wittmann	{
39541919c97Smseidel		Border = TRUE ;
39641919c97Smseidel		Pos = MAP_APPFONT ( MF_X, LEFT_MF_Y ) ;
39741919c97Smseidel		Size = MAP_APPFONT ( MBOX_WIDTH - 12, MBOX_HEIGHT ) ;
39841919c97Smseidel		HelpID = HID_SWPAGE_LEFT_MARGIN ;
39941919c97Smseidel		Left = TRUE ;
40041919c97Smseidel		Repeat = TRUE ;
40141919c97Smseidel		Spin = TRUE ;
40241919c97Smseidel		Maximum = 9999 ;
40341919c97Smseidel		DecimalDigits = 2 ;
40441919c97Smseidel		Unit = FUNIT_CM ;
40541919c97Smseidel		Last = 9999 ;
40641919c97Smseidel		SpinSize = 10 ;
407ff0525f2SOliver-Rainer Wittmann	};
408ff0525f2SOliver-Rainer Wittmann	FixedText FT_RIGHT
409ff0525f2SOliver-Rainer Wittmann	{
41041919c97Smseidel		Pos = MAP_APPFONT ( FT_X, FT_RIGHT_Y ) ;
41141919c97Smseidel		Size = MAP_APPFONT ( 25, TEXT_HEIGHT ) ;
41241919c97Smseidel		Text [ en-US ] = "~Right:" ;
413ff0525f2SOliver-Rainer Wittmann	};
414ff0525f2SOliver-Rainer Wittmann	FixedText FT_OUTER
415ff0525f2SOliver-Rainer Wittmann	{
41641919c97Smseidel		Pos = MAP_APPFONT ( FT_X, FT_RIGHT_Y ) ;
41741919c97Smseidel		Size = MAP_APPFONT ( 25, TEXT_HEIGHT ) ;
41841919c97Smseidel		Text [ en-US ] = "O~uter:" ;
419ff0525f2SOliver-Rainer Wittmann	};
420ff0525f2SOliver-Rainer Wittmann	MetricField MF_SWRIGHT_MARGIN
421ff0525f2SOliver-Rainer Wittmann	{
42241919c97Smseidel		Border = TRUE ;
42341919c97Smseidel		Pos = MAP_APPFONT ( MF_X, RIGHT_MF_Y );
424ff0525f2SOliver-Rainer Wittmann		Size = MAP_APPFONT ( MBOX_WIDTH - 12, MBOX_HEIGHT );
42541919c97Smseidel		HelpID = HID_SWPAGE_RIGHT_MARGIN ;
42641919c97Smseidel		Left = TRUE ;
42741919c97Smseidel		Repeat = TRUE ;
42841919c97Smseidel		Spin = TRUE ;
42941919c97Smseidel		Maximum = 9999 ;
43041919c97Smseidel		DecimalDigits = 2 ;
43141919c97Smseidel		Unit = FUNIT_CM ;
43241919c97Smseidel		Last = 9999 ;
43341919c97Smseidel		SpinSize = 10 ;
434ff0525f2SOliver-Rainer Wittmann	};
435ff0525f2SOliver-Rainer Wittmann	FixedText FT_TOP
436ff0525f2SOliver-Rainer Wittmann	{
43741919c97Smseidel		Pos = MAP_APPFONT ( FT_X, FT_TOP_Y ) ;
43841919c97Smseidel		Size = MAP_APPFONT ( 25, TEXT_HEIGHT ) ;
43941919c97Smseidel		Text [ en-US ] = "~Top:" ;
440ff0525f2SOliver-Rainer Wittmann	};
441ff0525f2SOliver-Rainer Wittmann	MetricField MF_SWTOP_MARGIN
442ff0525f2SOliver-Rainer Wittmann	{
44341919c97Smseidel		Border = TRUE ;
44441919c97Smseidel		Pos = MAP_APPFONT ( MF_X, TOP_MF_Y ) ;
44541919c97Smseidel		Size = MAP_APPFONT ( MBOX_WIDTH - 12, MBOX_HEIGHT ) ;
44641919c97Smseidel		HelpID = HID_SWPAGE_TOP_MARGIN ;
44741919c97Smseidel		Left = TRUE ;
44841919c97Smseidel		Repeat = TRUE ;
44941919c97Smseidel		Spin = TRUE ;
45041919c97Smseidel		Maximum = 9999 ;
45141919c97Smseidel		DecimalDigits = 2 ;
45241919c97Smseidel		Unit = FUNIT_CM ;
45341919c97Smseidel		Last = 9999 ;
45441919c97Smseidel		SpinSize = 10 ;
455ff0525f2SOliver-Rainer Wittmann	};
456ff0525f2SOliver-Rainer Wittmann	FixedText FT_BOTTOM
457ff0525f2SOliver-Rainer Wittmann	{
45841919c97Smseidel		Pos = MAP_APPFONT ( FT_X, FT_BOTTOM_Y ) ;
45941919c97Smseidel		Size = MAP_APPFONT ( 25, TEXT_HEIGHT ) ;
46041919c97Smseidel		Text [ en-US ] = "~Bottom:" ;
461ff0525f2SOliver-Rainer Wittmann	};
462ff0525f2SOliver-Rainer Wittmann	MetricField MF_SWBOTTOM_MARGIN
463ff0525f2SOliver-Rainer Wittmann	{
46441919c97Smseidel		Border = TRUE ;
46541919c97Smseidel		Pos = MAP_APPFONT ( MF_X, BOTTOM_MF_Y ) ;
466ff0525f2SOliver-Rainer Wittmann		Size = MAP_APPFONT ( MBOX_WIDTH - 12, MBOX_HEIGHT );
46741919c97Smseidel		HelpID = HID_SWPAGE_BOTTOM_MARGIN ;
46841919c97Smseidel		Left = TRUE ;
46941919c97Smseidel		Repeat = TRUE ;
47041919c97Smseidel		Spin = TRUE ;
47141919c97Smseidel		Maximum = 9999 ;
47241919c97Smseidel		DecimalDigits = 2 ;
47341919c97Smseidel		Unit = FUNIT_CM ;
47441919c97Smseidel		Last = 9999 ;
47541919c97Smseidel		SpinSize = 10 ;
476ff0525f2SOliver-Rainer Wittmann	};
477ff0525f2SOliver-Rainer Wittmann	MetricField FLD_WIDTH_HEIGHT
478ff0525f2SOliver-Rainer Wittmann	{
47941919c97Smseidel		Border = TRUE ;
48041919c97Smseidel		Left = TRUE ;
48141919c97Smseidel		Repeat = TRUE ;
48241919c97Smseidel		Spin = TRUE ;
48341919c97Smseidel		Maximum = 9999 ;
48441919c97Smseidel		DecimalDigits = 2 ;
48541919c97Smseidel		Unit = FUNIT_CM ;
48641919c97Smseidel		Last = 9999 ;
48741919c97Smseidel		SpinSize = 10 ;
48841919c97Smseidel	};
48941919c97Smseidel
490ff0525f2SOliver-Rainer Wittmann	Image IMG_NARROW
491ff0525f2SOliver-Rainer Wittmann	{
49241919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/format_L_narrow_24x24.png" ;} ;
493ff0525f2SOliver-Rainer Wittmann	};
494ff0525f2SOliver-Rainer Wittmann	Image IMG_NORMAL
495ff0525f2SOliver-Rainer Wittmann	{
49641919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/format_L_normal_24x24.png" ;} ;
497ff0525f2SOliver-Rainer Wittmann	};
498ff0525f2SOliver-Rainer Wittmann	Image IMG_WIDE
499ff0525f2SOliver-Rainer Wittmann	{
50041919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/format_L_wide_24x24.png" ;} ;
501ff0525f2SOliver-Rainer Wittmann	};
502ff0525f2SOliver-Rainer Wittmann	Image IMG_MIRRORED
503ff0525f2SOliver-Rainer Wittmann	{
50441919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/format_L_mirror_24x24.png" ;} ;
505ff0525f2SOliver-Rainer Wittmann	};
506ff0525f2SOliver-Rainer Wittmann	Image IMG_NARROW_L
507ff0525f2SOliver-Rainer Wittmann	{
50841919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/formatnarrow_24x24.png" ;} ;
509ff0525f2SOliver-Rainer Wittmann	};
510ff0525f2SOliver-Rainer Wittmann	Image IMG_NORMAL_L
511ff0525f2SOliver-Rainer Wittmann	{
51241919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/formatnormal_24x24.png" ;} ;
513ff0525f2SOliver-Rainer Wittmann	};
514ff0525f2SOliver-Rainer Wittmann	Image IMG_WIDE_L
515ff0525f2SOliver-Rainer Wittmann	{
51641919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/formatwide_24x24.png" ;} ;
517ff0525f2SOliver-Rainer Wittmann	};
518ff0525f2SOliver-Rainer Wittmann	Image IMG_MIRRORED_L
519ff0525f2SOliver-Rainer Wittmann	{
52041919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/formatmirror_24x24.png" ;} ;
521ff0525f2SOliver-Rainer Wittmann	};
522ff0525f2SOliver-Rainer Wittmann	Image IMG_CUSTOM
523ff0525f2SOliver-Rainer Wittmann	{
52441919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/last_custom_common.png" ;} ;
525ff0525f2SOliver-Rainer Wittmann	};
526ff0525f2SOliver-Rainer Wittmann	Image IMG_CUSTOM_DIS
527ff0525f2SOliver-Rainer Wittmann	{
52841919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/last_custom_common_grey.png" ;} ;
529ff0525f2SOliver-Rainer Wittmann	};
530ff0525f2SOliver-Rainer Wittmann	String STR_LCVALUE
531ff0525f2SOliver-Rainer Wittmann	{
53241919c97Smseidel		Text [ en-US ] = "Last Custom Values" ;
533ff0525f2SOliver-Rainer Wittmann	};
534ff0525f2SOliver-Rainer Wittmann	String STR_NARROW
535ff0525f2SOliver-Rainer Wittmann	{
53641919c97Smseidel		Text [ en-US ] = "Narrow" ;
537ff0525f2SOliver-Rainer Wittmann	};
538ff0525f2SOliver-Rainer Wittmann	String STR_NORMAL
539ff0525f2SOliver-Rainer Wittmann	{
54041919c97Smseidel		Text [ en-US ] = "Normal" ;
541ff0525f2SOliver-Rainer Wittmann	};
542ff0525f2SOliver-Rainer Wittmann	String STR_WIDE
543ff0525f2SOliver-Rainer Wittmann	{
54441919c97Smseidel		Text [ en-US ] = "Wide" ;
545ff0525f2SOliver-Rainer Wittmann	};
546ff0525f2SOliver-Rainer Wittmann	String STR_MIRRORED
547ff0525f2SOliver-Rainer Wittmann	{
54841919c97Smseidel		Text [ en-US ] = "Mirrored" ;
549ff0525f2SOliver-Rainer Wittmann	};
550ff0525f2SOliver-Rainer Wittmann	String STR_MARGIN_TOOLTIP_LEFT
551ff0525f2SOliver-Rainer Wittmann	{
55241919c97Smseidel		Text [ en-US ] = "Left: " ;
553ff0525f2SOliver-Rainer Wittmann	};
554ff0525f2SOliver-Rainer Wittmann	String STR_MARGIN_TOOLTIP_RIGHT
555ff0525f2SOliver-Rainer Wittmann	{
55641919c97Smseidel		Text [ en-US ] = ". Right: " ;
557ff0525f2SOliver-Rainer Wittmann	};
558ff0525f2SOliver-Rainer Wittmann	String STR_MARGIN_TOOLTIP_INNER
559ff0525f2SOliver-Rainer Wittmann	{
56041919c97Smseidel		Text [ en-US ] = "Inner: " ;
561ff0525f2SOliver-Rainer Wittmann	};
562ff0525f2SOliver-Rainer Wittmann	String STR_MARGIN_TOOLTIP_OUTER
563ff0525f2SOliver-Rainer Wittmann	{
56441919c97Smseidel		Text [ en-US ] = ". Outer: " ;
565ff0525f2SOliver-Rainer Wittmann	};
566ff0525f2SOliver-Rainer Wittmann	String STR_MARGIN_TOOLTIP_TOP
567ff0525f2SOliver-Rainer Wittmann	{
56841919c97Smseidel		Text [ en-US ] = ". Top: " ;
569ff0525f2SOliver-Rainer Wittmann	};
570ff0525f2SOliver-Rainer Wittmann	String STR_MARGIN_TOOLTIP_BOT
571ff0525f2SOliver-Rainer Wittmann	{
57241919c97Smseidel		Text [ en-US ] = ". Bottom: " ;
573ff0525f2SOliver-Rainer Wittmann	};
574ff0525f2SOliver-Rainer Wittmann};
575ff0525f2SOliver-Rainer Wittmann
576ff0525f2SOliver-Rainer Wittmann// popup for page style's page size
577ff0525f2SOliver-Rainer WittmannControl RID_POPUP_SWPAGE_SIZE
578ff0525f2SOliver-Rainer Wittmann{
57941919c97Smseidel	OutputSize = TRUE ;
58041919c97Smseidel	DialogControl = TRUE ;
58141919c97Smseidel	Border = FALSE ;
58241919c97Smseidel	Size = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_WIDTH + 22, ITEM_HEIGHT2 * 8 + POPUPPANEL_MARGIN_SMALL*2 + CONTROL_SPACING_VERTICAL + 15 ) ;
58341919c97Smseidel
584ff0525f2SOliver-Rainer Wittmann	Control VS_SIZE
585ff0525f2SOliver-Rainer Wittmann	{
58641919c97Smseidel		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y ) ;
58741919c97Smseidel		Size = MAP_APPFONT ( VS_WIDTH + 22, ITEM_HEIGHT2 * 8 ) ;
58841919c97Smseidel		HelpID = HID_SWPAGE_VS_SIZE ;
589ff0525f2SOliver-Rainer Wittmann		TabStop = TRUE ;
59041919c97Smseidel		Text = "Size" ;
591ff0525f2SOliver-Rainer Wittmann	};
592ff0525f2SOliver-Rainer Wittmann	PushButton CB_SIZE_MORE
593ff0525f2SOliver-Rainer Wittmann	{
594ff0525f2SOliver-Rainer Wittmann		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + 2*OFFSET_X, POPUPPANEL_MARGIN_SMALL + 2*OFFSET_Y + ITEM_HEIGHT2*8 ) ;
595ff0525f2SOliver-Rainer Wittmann		Size = MAP_APPFONT ( VS_WIDTH - 2 + 22, 15 ) ;
59641919c97Smseidel		HelpID = HID_SWPAGE_SIZE_MORE ;
597ff0525f2SOliver-Rainer Wittmann		TabStop = TRUE ;
59841919c97Smseidel		Text [ en-US ] = "~More Options" ;
59941919c97Smseidel		QuickHelpText [ en-US ] = "More Options" ;
60041919c97Smseidel	};
601ff0525f2SOliver-Rainer Wittmann	MetricField FLD_WIDTH_HEIGHT
602ff0525f2SOliver-Rainer Wittmann	{
60341919c97Smseidel		Border = TRUE ;
60441919c97Smseidel		Left = TRUE ;
60541919c97Smseidel		Repeat = TRUE ;
60641919c97Smseidel		Spin = TRUE ;
60741919c97Smseidel		Maximum = 9999 ;
60841919c97Smseidel		DecimalDigits = 2 ;
60941919c97Smseidel		Unit = FUNIT_CM ;
61041919c97Smseidel		Last = 9999 ;
61141919c97Smseidel		SpinSize = 10 ;
612ff0525f2SOliver-Rainer Wittmann	};
613ff0525f2SOliver-Rainer Wittmann};
614ff0525f2SOliver-Rainer Wittmann
615ff0525f2SOliver-Rainer Wittmann// popup for page style's column attribute
616ff0525f2SOliver-Rainer WittmannControl RID_POPUP_SWPAGE_COLUMN
617ff0525f2SOliver-Rainer Wittmann{
61841919c97Smseidel	OutputSize = TRUE ;
61941919c97Smseidel	DialogControl = TRUE ;
62041919c97Smseidel	Border = FALSE ;
62141919c97Smseidel	Size = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL * 2 + POPUP_BORDER_WIDTH + VS_WIDTH - 15, ITEM_HEIGHT*5 + POPUPPANEL_MARGIN_SMALL*2 + CONTROL_SPACING_VERTICAL + 15 ) ;
62241919c97Smseidel
623ff0525f2SOliver-Rainer Wittmann	Control VS_COLUMN
624ff0525f2SOliver-Rainer Wittmann	{
62541919c97Smseidel		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + OFFSET_X, POPUPPANEL_MARGIN_SMALL + OFFSET_Y ) ;
62641919c97Smseidel		Size = MAP_APPFONT ( VS_WIDTH - 15, ITEM_HEIGHT * 5 ) ;
62741919c97Smseidel		HelpID = HID_SWPAGE_VS_COLUMN ;
628ff0525f2SOliver-Rainer Wittmann		TabStop = TRUE ;
62941919c97Smseidel		Text = "Column" ;
630ff0525f2SOliver-Rainer Wittmann	};
631ff0525f2SOliver-Rainer Wittmann	PushButton CB_COLUMN_MORE
632ff0525f2SOliver-Rainer Wittmann	{
63341919c97Smseidel		Pos = MAP_APPFONT ( POPUPPANEL_MARGIN_SMALL + 2 * OFFSET_X, POPUPPANEL_MARGIN_SMALL + 2 * OFFSET_Y + ITEM_HEIGHT * 5 ) ;
634ff0525f2SOliver-Rainer Wittmann		Size = MAP_APPFONT ( VS_WIDTH - 2 - 15, 15 ) ;
63541919c97Smseidel		HelpID = HID_SWPAGE_COLUMN_MORE ;
636ff0525f2SOliver-Rainer Wittmann		TabStop = TRUE ;
63741919c97Smseidel		Text [ en-US ] = "~More Options" ;
63841919c97Smseidel		QuickHelpText [ en-US ] = "More Options" ;
63941919c97Smseidel	};
64041919c97Smseidel	Image IMG_ONE
641ff0525f2SOliver-Rainer Wittmann	{
64241919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column_L_1_24x24.png" ;} ;
64341919c97Smseidel	};
64441919c97Smseidel	Image IMG_TWO
645ff0525f2SOliver-Rainer Wittmann	{
64641919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column_L_2_24x24.png" ;} ;
647ff0525f2SOliver-Rainer Wittmann	};
64841919c97Smseidel	Image IMG_THREE
649ff0525f2SOliver-Rainer Wittmann	{
65041919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column_L_3_24x24.png" ;} ;
651ff0525f2SOliver-Rainer Wittmann	};
65241919c97Smseidel	Image IMG_LEFT
653ff0525f2SOliver-Rainer Wittmann	{
65441919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column_L_left_24x24.png" ;} ;
655ff0525f2SOliver-Rainer Wittmann	};
65641919c97Smseidel	Image IMG_RIGHT
657ff0525f2SOliver-Rainer Wittmann	{
65841919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column_L_right_24x24.png" ;} ;
659ff0525f2SOliver-Rainer Wittmann	};
66041919c97Smseidel	Image IMG_ONE_L
661ff0525f2SOliver-Rainer Wittmann	{
66241919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column1_24x24.png" ;} ;
66341919c97Smseidel	};
66441919c97Smseidel	Image IMG_TWO_L
665ff0525f2SOliver-Rainer Wittmann	{
66641919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column2_24x24.png" ;} ;
667ff0525f2SOliver-Rainer Wittmann	};
66841919c97Smseidel	Image IMG_THREE_L
669ff0525f2SOliver-Rainer Wittmann	{
67041919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/column3_24x24.png" ;} ;
671ff0525f2SOliver-Rainer Wittmann	};
67241919c97Smseidel	Image IMG_LEFT_L
673ff0525f2SOliver-Rainer Wittmann	{
67441919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/columnleft_24x24.png" ;} ;
675ff0525f2SOliver-Rainer Wittmann	};
67641919c97Smseidel	Image IMG_RIGHT_L
677ff0525f2SOliver-Rainer Wittmann	{
67841919c97Smseidel		ImageBitmap = Bitmap {File = "sidebar/pageproppanel/columnright_24x24.png" ;} ;
679ff0525f2SOliver-Rainer Wittmann	};
68041919c97Smseidel	String STR_ONE
681ff0525f2SOliver-Rainer Wittmann	{
68241919c97Smseidel		Text [ en-US ] = "1 Column" ;
683ff0525f2SOliver-Rainer Wittmann	};
68441919c97Smseidel	String STR_TWO
685ff0525f2SOliver-Rainer Wittmann	{
68641919c97Smseidel		Text [ en-US ] = "2 Columns" ;
687ff0525f2SOliver-Rainer Wittmann	};
688ff0525f2SOliver-Rainer Wittmann	String STR_THREE
689ff0525f2SOliver-Rainer Wittmann	{
69041919c97Smseidel		Text [ en-US ] = "3 Columns" ;
691ff0525f2SOliver-Rainer Wittmann	};
69241919c97Smseidel	String STR_LEFT
693ff0525f2SOliver-Rainer Wittmann	{
69441919c97Smseidel		Text [ en-US ] = "Left" ;
695ff0525f2SOliver-Rainer Wittmann	};
696ff0525f2SOliver-Rainer Wittmann	String STR_RIGHT
697ff0525f2SOliver-Rainer Wittmann	{
69841919c97Smseidel		Text [ en-US ] = "Right" ;
699ff0525f2SOliver-Rainer Wittmann	};
700ff0525f2SOliver-Rainer Wittmann};
70141919c97Smseidel
70241919c97Smseidel// ******************************************************************* EOF
703