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