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