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