xref: /trunk/main/cui/source/dialogs/zoom.src (revision ae2dc0fa)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23 // include ---------------------------------------------------------------
24#include <cuires.hrc>
25#include "zoom.hrc"
26#include <svx/dialogs.hrc> // for RID_SVXDLG_ZOOM
27#include "helpid.hrc"
28
29 // RID_SVXDLG_ZOOM -------------------------------------------------------
30ModalDialog RID_SVXDLG_ZOOM
31{
32	HelpId = CMD_SID_ATTR_ZOOM;
33	OutputSize = TRUE ;
34	SvLook = TRUE ;
35    Size = MAP_APPFONT ( 242 , 112 ) ;
36	Moveable = TRUE ;
37    Text [ en-US ] = "Zoom & View Layout";
38    FixedLine FL_ZOOM
39    {
40        Pos = MAP_APPFONT ( 6 , 3 ) ;
41        Size = MAP_APPFONT ( 112 , 8 ) ;
42        Text [ en-US ] = "Zoom factor";
43    };
44    RadioButton BTN_OPTIMAL
45    {
46        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_OPTIMAL";
47        Pos = MAP_APPFONT ( 12 , 14 ) ;
48        Size = MAP_APPFONT ( 105 , 10 ) ;
49        Text [ en-US ] = "~Optimal" ;
50    };
51    RadioButton BTN_WHOLE_PAGE
52	{
53        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_WHOLE_PAGE";
54        Pos = MAP_APPFONT ( 12 , 27 ) ;
55        Size = MAP_APPFONT ( 105 , 10 ) ;
56        Text [ en-US ] = "~Fit width and height" ;
57	};
58	RadioButton BTN_PAGE_WIDTH
59	{
60	    HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_PAGE_WIDTH";
61        Pos = MAP_APPFONT ( 12 , 40 ) ;
62        Size = MAP_APPFONT ( 105, 10 ) ;
63        Text [ en-US ] = "Fit ~width" ;
64	};
65    RadioButton BTN_100
66	{
67        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_100";
68        Pos = MAP_APPFONT ( 12 , 53 ) ;
69        Size = MAP_APPFONT ( 105, 10 ) ;
70        Text = "~100%" ;
71	};
72    RadioButton BTN_USER
73	{
74        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_USER";
75        Pos = MAP_APPFONT ( 12 , 67 ) ;
76        Size = MAP_APPFONT ( 72 , 10 ) ;
77		Text [ en-US ] = "~Variable" ;
78	};
79	MetricField ED_USER
80	{
81	    HelpID = "cui:MetricField:RID_SVXDLG_ZOOM:ED_USER";
82        Pos = MAP_APPFONT ( 86 , 66 ) ;
83        Size = MAP_APPFONT ( 32 , 12 ) ;
84		Border = TRUE ;
85		Group = TRUE ;
86		Left = TRUE ;
87		Repeat = TRUE ;
88		Spin = TRUE ;
89		Unit = FUNIT_CUSTOM ;
90		CustomUnitText = "%" ;
91		SpinSize = 1 ;
92	};
93    FixedLine FL_VIEWLAYOUT
94    {
95        Pos = MAP_APPFONT ( 124 , 3 ) ;
96        Size = MAP_APPFONT ( 112 , 8 ) ;
97        Text [ en-US ] = "View layout";
98    };
99    RadioButton BTN_AUTOMATIC
100    {
101        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_AUTOMATIC";
102        Pos = MAP_APPFONT ( 130 , 14 ) ;
103        Size = MAP_APPFONT ( 106 , 10 ) ;
104        Text [ en-US ] = "~Automatic" ;
105    };
106    RadioButton BTN_SINGLE
107    {
108        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_SINGLE";
109        Pos = MAP_APPFONT ( 130, 27 ) ;
110        Size = MAP_APPFONT ( 106, 10 ) ;
111        Text [ en-US ] = "~Single page" ;
112    };
113    RadioButton BTN_COLUMNS
114    {
115        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_COLUMNS";
116        Pos = MAP_APPFONT ( 130, 41 ) ;
117        Size = MAP_APPFONT ( 75 , 10 ) ;
118        Text [ en-US ] = "~Columns" ;
119    };
120    MetricField ED_COLUMNS
121    {
122        HelpID = "cui:MetricField:RID_SVXDLG_ZOOM:ED_COLUMNS";
123        Pos = MAP_APPFONT ( 209 , 40 ) ;
124        Size = MAP_APPFONT ( 24 , 12 ) ;
125        Border = TRUE ;
126        Group = TRUE ;
127        Left = TRUE ;
128        Repeat = TRUE ;
129        Spin = TRUE ;
130        SpinSize = 1 ;
131        Minimum = 1;
132        Maximum = 999;
133    };
134    CheckBox CHK_BOOK
135    {
136        HelpID = "cui:CheckBox:RID_SVXDLG_ZOOM:CHK_BOOK";
137        Pos = MAP_APPFONT ( 136 , 55 ) ;
138        Size = MAP_APPFONT ( 85 , 10 ) ;
139        Text [ en-US ] = "~Book mode" ;
140    };
141    FixedLine FL_BOTTOM
142    {
143        Pos = MAP_APPFONT ( 6 , 81 ) ;
144        Size = MAP_APPFONT ( 230 , 8 ) ;
145    };
146	OKButton BTN_ZOOM_OK
147	{
148        Pos = MAP_APPFONT ( 77 , 92 ) ;
149		Size = MAP_APPFONT ( 50 , 14 ) ;
150		DefButton = TRUE ;
151	};
152	CancelButton BTN_ZOOM_CANCEL
153	{
154        Pos = MAP_APPFONT ( 130 , 92 ) ;
155		Size = MAP_APPFONT ( 50 , 14 ) ;
156	};
157	HelpButton BTN_ZOOM_HELP
158	{
159        Pos = MAP_APPFONT ( 186 , 92 ) ;
160		Size = MAP_APPFONT ( 50 , 14 ) ;
161	};
162};
163
164// ********************************************************************** EOF
165
166