1*0e2af6afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*0e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*0e2af6afSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*0e2af6afSAndrew Rist * distributed with this work for additional information 6*0e2af6afSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*0e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*0e2af6afSAndrew Rist * "License"); you may not use this file except in compliance 9*0e2af6afSAndrew Rist * with the License. You may obtain a copy of the License at 10*0e2af6afSAndrew Rist * 11*0e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*0e2af6afSAndrew Rist * 13*0e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*0e2af6afSAndrew Rist * software distributed under the License is distributed on an 15*0e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*0e2af6afSAndrew Rist * KIND, either express or implied. See the License for the 17*0e2af6afSAndrew Rist * specific language governing permissions and limitations 18*0e2af6afSAndrew Rist * under the License. 19*0e2af6afSAndrew Rist * 20*0e2af6afSAndrew Rist *************************************************************/ 21*0e2af6afSAndrew Rist 22*0e2af6afSAndrew Rist 23cdf0e10cSrcweir // include --------------------------------------------------------------- 24cdf0e10cSrcweir#include <cuires.hrc> 25cdf0e10cSrcweir#include "zoom.hrc" 26cdf0e10cSrcweir#include <svx/dialogs.hrc> // for RID_SVXDLG_ZOOM 27cdf0e10cSrcweir#include "helpid.hrc" 28cdf0e10cSrcweir 29cdf0e10cSrcweir // RID_SVXDLG_ZOOM ------------------------------------------------------- 30cdf0e10cSrcweirModalDialog RID_SVXDLG_ZOOM 31cdf0e10cSrcweir{ 32cdf0e10cSrcweir HelpId = CMD_SID_ATTR_ZOOM; 33cdf0e10cSrcweir OutputSize = TRUE ; 34cdf0e10cSrcweir SvLook = TRUE ; 35cdf0e10cSrcweir Size = MAP_APPFONT ( 242 , 112 ) ; 36cdf0e10cSrcweir Moveable = TRUE ; 37cdf0e10cSrcweir Text [ en-US ] = "Zoom & View Layout"; 38cdf0e10cSrcweir FixedLine FL_ZOOM 39cdf0e10cSrcweir { 40cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 41cdf0e10cSrcweir Size = MAP_APPFONT ( 112 , 8 ) ; 42cdf0e10cSrcweir Text [ en-US ] = "Zoom factor"; 43cdf0e10cSrcweir }; 44cdf0e10cSrcweir RadioButton BTN_OPTIMAL 45cdf0e10cSrcweir { 46cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_OPTIMAL"; 47cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 48cdf0e10cSrcweir Size = MAP_APPFONT ( 105 , 10 ) ; 49cdf0e10cSrcweir Text [ en-US ] = "~Optimal" ; 50cdf0e10cSrcweir }; 51cdf0e10cSrcweir RadioButton BTN_WHOLE_PAGE 52cdf0e10cSrcweir { 53cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_WHOLE_PAGE"; 54cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 27 ) ; 55cdf0e10cSrcweir Size = MAP_APPFONT ( 105 , 10 ) ; 56cdf0e10cSrcweir Text [ en-US ] = "~Fit width and height" ; 57cdf0e10cSrcweir }; 58cdf0e10cSrcweir RadioButton BTN_PAGE_WIDTH 59cdf0e10cSrcweir { 60cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_PAGE_WIDTH"; 61cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 40 ) ; 62cdf0e10cSrcweir Size = MAP_APPFONT ( 105, 10 ) ; 63cdf0e10cSrcweir Text [ en-US ] = "Fit ~width" ; 64cdf0e10cSrcweir }; 65cdf0e10cSrcweir RadioButton BTN_100 66cdf0e10cSrcweir { 67cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_100"; 68cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 53 ) ; 69cdf0e10cSrcweir Size = MAP_APPFONT ( 105, 10 ) ; 70cdf0e10cSrcweir Text = "~100 %" ; 71cdf0e10cSrcweir }; 72cdf0e10cSrcweir RadioButton BTN_USER 73cdf0e10cSrcweir { 74cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_USER"; 75cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 67 ) ; 76cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 10 ) ; 77cdf0e10cSrcweir Text [ en-US ] = "~Variable" ; 78cdf0e10cSrcweir }; 79cdf0e10cSrcweir MetricField ED_USER 80cdf0e10cSrcweir { 81cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXDLG_ZOOM:ED_USER"; 82cdf0e10cSrcweir Pos = MAP_APPFONT ( 86 , 66 ) ; 83cdf0e10cSrcweir Size = MAP_APPFONT ( 32 , 12 ) ; 84cdf0e10cSrcweir Border = TRUE ; 85cdf0e10cSrcweir Group = TRUE ; 86cdf0e10cSrcweir Left = TRUE ; 87cdf0e10cSrcweir Repeat = TRUE ; 88cdf0e10cSrcweir Spin = TRUE ; 89cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 90cdf0e10cSrcweir CustomUnitText = "%" ; 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}; 163cdf0e10cSrcweir 164cdf0e10cSrcweir// ********************************************************************** EOF 165cdf0e10cSrcweir 166