xref: /aoo41x/main/cui/source/dialogs/zoom.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27 // include ---------------------------------------------------------------
28#include <cuires.hrc>
29#include "zoom.hrc"
30#include <svx/dialogs.hrc> // for RID_SVXDLG_ZOOM
31#include "helpid.hrc"
32
33 // RID_SVXDLG_ZOOM -------------------------------------------------------
34ModalDialog RID_SVXDLG_ZOOM
35{
36	HelpId = CMD_SID_ATTR_ZOOM;
37	OutputSize = TRUE ;
38	SvLook = TRUE ;
39    Size = MAP_APPFONT ( 242 , 112 ) ;
40	Moveable = TRUE ;
41    Text [ en-US ] = "Zoom & View Layout";
42    FixedLine FL_ZOOM
43    {
44        Pos = MAP_APPFONT ( 6 , 3 ) ;
45        Size = MAP_APPFONT ( 112 , 8 ) ;
46        Text [ en-US ] = "Zoom factor";
47    };
48    RadioButton BTN_OPTIMAL
49    {
50        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_OPTIMAL";
51        Pos = MAP_APPFONT ( 12 , 14 ) ;
52        Size = MAP_APPFONT ( 105 , 10 ) ;
53        Text [ en-US ] = "~Optimal" ;
54    };
55    RadioButton BTN_WHOLE_PAGE
56	{
57        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_WHOLE_PAGE";
58        Pos = MAP_APPFONT ( 12 , 27 ) ;
59        Size = MAP_APPFONT ( 105 , 10 ) ;
60        Text [ en-US ] = "~Fit width and height" ;
61	};
62	RadioButton BTN_PAGE_WIDTH
63	{
64	    HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_PAGE_WIDTH";
65        Pos = MAP_APPFONT ( 12 , 40 ) ;
66        Size = MAP_APPFONT ( 105, 10 ) ;
67        Text [ en-US ] = "Fit ~width" ;
68	};
69    RadioButton BTN_100
70	{
71        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_100";
72        Pos = MAP_APPFONT ( 12 , 53 ) ;
73        Size = MAP_APPFONT ( 105, 10 ) ;
74        Text = "~100 %" ;
75	};
76    RadioButton BTN_USER
77	{
78        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_USER";
79        Pos = MAP_APPFONT ( 12 , 67 ) ;
80        Size = MAP_APPFONT ( 72 , 10 ) ;
81		Text [ en-US ] = "~Variable" ;
82	};
83	MetricField ED_USER
84	{
85	    HelpID = "cui:MetricField:RID_SVXDLG_ZOOM:ED_USER";
86        Pos = MAP_APPFONT ( 86 , 66 ) ;
87        Size = MAP_APPFONT ( 32 , 12 ) ;
88		Border = TRUE ;
89		Group = TRUE ;
90		Left = TRUE ;
91		Repeat = TRUE ;
92		Spin = TRUE ;
93		Unit = FUNIT_CUSTOM ;
94		CustomUnitText = "%" ;
95		SpinSize = 1 ;
96	};
97    FixedLine FL_VIEWLAYOUT
98    {
99        Pos = MAP_APPFONT ( 124 , 3 ) ;
100        Size = MAP_APPFONT ( 112 , 8 ) ;
101        Text [ en-US ] = "View layout";
102    };
103    RadioButton BTN_AUTOMATIC
104    {
105        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_AUTOMATIC";
106        Pos = MAP_APPFONT ( 130 , 14 ) ;
107        Size = MAP_APPFONT ( 106 , 10 ) ;
108        Text [ en-US ] = "~Automatic" ;
109    };
110    RadioButton BTN_SINGLE
111    {
112        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_SINGLE";
113        Pos = MAP_APPFONT ( 130, 27 ) ;
114        Size = MAP_APPFONT ( 106, 10 ) ;
115        Text [ en-US ] = "~Single page" ;
116    };
117    RadioButton BTN_COLUMNS
118    {
119        HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_COLUMNS";
120        Pos = MAP_APPFONT ( 130, 41 ) ;
121        Size = MAP_APPFONT ( 75 , 10 ) ;
122        Text [ en-US ] = "~Columns" ;
123    };
124    MetricField ED_COLUMNS
125    {
126        HelpID = "cui:MetricField:RID_SVXDLG_ZOOM:ED_COLUMNS";
127        Pos = MAP_APPFONT ( 209 , 40 ) ;
128        Size = MAP_APPFONT ( 24 , 12 ) ;
129        Border = TRUE ;
130        Group = TRUE ;
131        Left = TRUE ;
132        Repeat = TRUE ;
133        Spin = TRUE ;
134        SpinSize = 1 ;
135        Minimum = 1;
136        Maximum = 999;
137    };
138    CheckBox CHK_BOOK
139    {
140        HelpID = "cui:CheckBox:RID_SVXDLG_ZOOM:CHK_BOOK";
141        Pos = MAP_APPFONT ( 136 , 55 ) ;
142        Size = MAP_APPFONT ( 85 , 10 ) ;
143        Text [ en-US ] = "~Book mode" ;
144    };
145    FixedLine FL_BOTTOM
146    {
147        Pos = MAP_APPFONT ( 6 , 81 ) ;
148        Size = MAP_APPFONT ( 230 , 8 ) ;
149    };
150	OKButton BTN_ZOOM_OK
151	{
152        Pos = MAP_APPFONT ( 77 , 92 ) ;
153		Size = MAP_APPFONT ( 50 , 14 ) ;
154		DefButton = TRUE ;
155	};
156	CancelButton BTN_ZOOM_CANCEL
157	{
158        Pos = MAP_APPFONT ( 130 , 92 ) ;
159		Size = MAP_APPFONT ( 50 , 14 ) ;
160	};
161	HelpButton BTN_ZOOM_HELP
162	{
163        Pos = MAP_APPFONT ( 186 , 92 ) ;
164		Size = MAP_APPFONT ( 50 , 14 ) ;
165	};
166};
167
168// ********************************************************************** EOF
169
170