xref: /trunk/main/cui/source/dialogs/zoom.src (revision d8dff77764cb74143fabc617dc8ee25d946bae78)
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
24// include ---------------------------------------------------------------
25#include <cuires.hrc>
26#include "zoom.hrc"
27#include <svx/dialogs.hrc> // for RID_SVXDLG_ZOOM
28#include "helpid.hrc"
29
30// RID_SVXDLG_ZOOM -------------------------------------------------------
31ModalDialog RID_SVXDLG_ZOOM
32{
33    HelpId = CMD_SID_ATTR_ZOOM ;
34    OutputSize = TRUE ;
35    SvLook = TRUE ;
36    Size = MAP_APPFONT ( 242, 112 ) ;
37    Moveable = TRUE ;
38    Text [ en-US ] = "Zoom & View Layout" ;
39    FixedLine FL_ZOOM
40    {
41        Pos = MAP_APPFONT ( 6, 3 ) ;
42        Size = MAP_APPFONT ( 112, 8 ) ;
43        Text [ en-US ] = "Zoom factor" ;
44    };
45    RadioButton BTN_OPTIMAL
46    {
47        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_OPTIMAL" ;
48        Pos = MAP_APPFONT ( 12, 14 ) ;
49        Size = MAP_APPFONT ( 105, 10 ) ;
50        Text [ en-US ] = "~Optimal" ;
51    };
52    RadioButton BTN_WHOLE_PAGE
53    {
54        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_WHOLE_PAGE" ;
55        Pos = MAP_APPFONT ( 12, 27 ) ;
56        Size = MAP_APPFONT ( 105, 10 ) ;
57        Text [ en-US ] = "~Fit width and height" ;
58    };
59    RadioButton BTN_PAGE_WIDTH
60    {
61        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_PAGE_WIDTH" ;
62        Pos = MAP_APPFONT ( 12, 40 ) ;
63        Size = MAP_APPFONT ( 105, 10 ) ;
64        Text [ en-US ] = "Fit ~width" ;
65    };
66    RadioButton BTN_100
67    {
68        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_100" ;
69        Pos = MAP_APPFONT ( 12, 53 ) ;
70        Size = MAP_APPFONT ( 105, 10 ) ;
71        Text = "~100 %" ;
72    };
73    RadioButton BTN_USER
74    {
75        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_USER" ;
76        Pos = MAP_APPFONT ( 12, 67 ) ;
77        Size = MAP_APPFONT ( 72, 10 ) ;
78        Text [ en-US ] = "~Variable" ;
79    };
80    MetricField ED_USER
81    {
82        HelpID = "cui:MetricField:RID_SVXDLG_ZOOM:ED_USER" ;
83        Pos = MAP_APPFONT ( 86, 66 ) ;
84        Size = MAP_APPFONT ( 32, 12 ) ;
85        Border = TRUE ;
86        Group = TRUE ;
87        Left = TRUE ;
88        Repeat = TRUE ;
89        Spin = TRUE ;
90        Unit = FUNIT_PERCENT ;
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