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 22cdf0e10cSrcweir// include --------------------------------------------------------------- 23cdf0e10cSrcweir#include <cuires.hrc> 24cdf0e10cSrcweir#include "zoom.hrc" 25cdf0e10cSrcweir#include <svx/dialogs.hrc> // for RID_SVXDLG_ZOOM 26cdf0e10cSrcweir#include "helpid.hrc" 27cdf0e10cSrcweir 28cdf0e10cSrcweir// RID_SVXDLG_ZOOM ------------------------------------------------------- 29cdf0e10cSrcweirModalDialog RID_SVXDLG_ZOOM 30cdf0e10cSrcweir{ 31cdf0e10cSrcweir HelpId = CMD_SID_ATTR_ZOOM ; 32cdf0e10cSrcweir OutputSize = TRUE ; 33cdf0e10cSrcweir SvLook = TRUE ; 34cdf0e10cSrcweir Size = MAP_APPFONT ( 242, 112 ) ; 35cdf0e10cSrcweir Moveable = TRUE ; 36cdf0e10cSrcweir Text [ en-US ] = "Zoom & View Layout" ; 37cdf0e10cSrcweir FixedLine FL_ZOOM 38cdf0e10cSrcweir { 39cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 3 ) ; 40cdf0e10cSrcweir Size = MAP_APPFONT ( 112, 8 ) ; 41cdf0e10cSrcweir Text [ en-US ] = "Zoom factor" ; 42cdf0e10cSrcweir }; 43cdf0e10cSrcweir RadioButton BTN_OPTIMAL 44cdf0e10cSrcweir { 45cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_OPTIMAL" ; 46cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 14 ) ; 47cdf0e10cSrcweir Size = MAP_APPFONT ( 105, 10 ) ; 48cdf0e10cSrcweir Text [ en-US ] = "~Optimal" ; 49cdf0e10cSrcweir }; 50cdf0e10cSrcweir RadioButton BTN_WHOLE_PAGE 51cdf0e10cSrcweir { 52cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_WHOLE_PAGE" ; 53cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 27 ) ; 54cdf0e10cSrcweir Size = MAP_APPFONT ( 105, 10 ) ; 55cdf0e10cSrcweir Text [ en-US ] = "~Fit width and height" ; 56cdf0e10cSrcweir }; 57cdf0e10cSrcweir RadioButton BTN_PAGE_WIDTH 58cdf0e10cSrcweir { 59cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_PAGE_WIDTH" ; 60cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 40 ) ; 61cdf0e10cSrcweir Size = MAP_APPFONT ( 105, 10 ) ; 62cdf0e10cSrcweir Text [ en-US ] = "Fit ~width" ; 63cdf0e10cSrcweir }; 64cdf0e10cSrcweir RadioButton BTN_100 65cdf0e10cSrcweir { 66cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_100" ; 67cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 53 ) ; 68cdf0e10cSrcweir Size = MAP_APPFONT ( 105, 10 ) ; 69cdf0e10cSrcweir Text = "~100 %" ; 70cdf0e10cSrcweir }; 71cdf0e10cSrcweir RadioButton BTN_USER 72cdf0e10cSrcweir { 73cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_USER" ; 74cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 67 ) ; 75cdf0e10cSrcweir Size = MAP_APPFONT ( 72, 10 ) ; 76cdf0e10cSrcweir Text [ en-US ] = "~Variable" ; 77cdf0e10cSrcweir }; 78cdf0e10cSrcweir MetricField ED_USER 79cdf0e10cSrcweir { 80cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXDLG_ZOOM:ED_USER" ; 81cdf0e10cSrcweir Pos = MAP_APPFONT ( 86, 66 ) ; 82cdf0e10cSrcweir Size = MAP_APPFONT ( 32, 12 ) ; 83cdf0e10cSrcweir Border = TRUE ; 84cdf0e10cSrcweir Group = TRUE ; 85cdf0e10cSrcweir Left = TRUE ; 86cdf0e10cSrcweir Repeat = TRUE ; 87cdf0e10cSrcweir Spin = TRUE ; 887ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 89cdf0e10cSrcweir SpinSize = 1 ; 90cdf0e10cSrcweir }; 91cdf0e10cSrcweir FixedLine FL_VIEWLAYOUT 92cdf0e10cSrcweir { 93cdf0e10cSrcweir Pos = MAP_APPFONT ( 124, 3 ) ; 94cdf0e10cSrcweir Size = MAP_APPFONT ( 112, 8 ) ; 95cdf0e10cSrcweir Text [ en-US ] = "View layout" ; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir RadioButton BTN_AUTOMATIC 98cdf0e10cSrcweir { 99cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_AUTOMATIC" ; 100cdf0e10cSrcweir Pos = MAP_APPFONT ( 130, 14 ) ; 101cdf0e10cSrcweir Size = MAP_APPFONT ( 106, 10 ) ; 102cdf0e10cSrcweir Text [ en-US ] = "~Automatic" ; 103cdf0e10cSrcweir }; 104cdf0e10cSrcweir RadioButton BTN_SINGLE 105cdf0e10cSrcweir { 106cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_SINGLE" ; 107cdf0e10cSrcweir Pos = MAP_APPFONT ( 130, 27 ) ; 108cdf0e10cSrcweir Size = MAP_APPFONT ( 106, 10 ) ; 109cdf0e10cSrcweir Text [ en-US ] = "~Single page" ; 110cdf0e10cSrcweir }; 111cdf0e10cSrcweir RadioButton BTN_COLUMNS 112cdf0e10cSrcweir { 113cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_COLUMNS" ; 114cdf0e10cSrcweir Pos = MAP_APPFONT ( 130, 41 ) ; 115cdf0e10cSrcweir Size = MAP_APPFONT ( 75, 10 ) ; 116cdf0e10cSrcweir Text [ en-US ] = "~Columns" ; 117cdf0e10cSrcweir }; 118cdf0e10cSrcweir MetricField ED_COLUMNS 119cdf0e10cSrcweir { 120cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXDLG_ZOOM:ED_COLUMNS" ; 121cdf0e10cSrcweir Pos = MAP_APPFONT ( 209, 40 ) ; 122cdf0e10cSrcweir Size = MAP_APPFONT ( 24, 12 ) ; 123cdf0e10cSrcweir Border = TRUE ; 124cdf0e10cSrcweir Group = TRUE ; 125cdf0e10cSrcweir Left = TRUE ; 126cdf0e10cSrcweir Repeat = TRUE ; 127cdf0e10cSrcweir Spin = TRUE ; 128cdf0e10cSrcweir SpinSize = 1 ; 129cdf0e10cSrcweir Minimum = 1 ; 130cdf0e10cSrcweir Maximum = 999 ; 131cdf0e10cSrcweir }; 132cdf0e10cSrcweir CheckBox CHK_BOOK 133cdf0e10cSrcweir { 134cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXDLG_ZOOM:CHK_BOOK" ; 135cdf0e10cSrcweir Pos = MAP_APPFONT ( 136, 55 ) ; 136cdf0e10cSrcweir Size = MAP_APPFONT ( 85, 10 ) ; 137cdf0e10cSrcweir Text [ en-US ] = "~Book mode" ; 138cdf0e10cSrcweir }; 139cdf0e10cSrcweir FixedLine FL_BOTTOM 140cdf0e10cSrcweir { 141cdf0e10cSrcweir Pos = MAP_APPFONT ( 6, 81 ) ; 142cdf0e10cSrcweir Size = MAP_APPFONT ( 230, 8 ) ; 143cdf0e10cSrcweir }; 144cdf0e10cSrcweir OKButton BTN_ZOOM_OK 145cdf0e10cSrcweir { 146cdf0e10cSrcweir Pos = MAP_APPFONT ( 77, 92 ) ; 147cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 148cdf0e10cSrcweir DefButton = TRUE ; 149cdf0e10cSrcweir }; 150cdf0e10cSrcweir CancelButton BTN_ZOOM_CANCEL 151cdf0e10cSrcweir { 152cdf0e10cSrcweir Pos = MAP_APPFONT ( 130, 92 ) ; 153cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 154cdf0e10cSrcweir }; 155cdf0e10cSrcweir HelpButton BTN_ZOOM_HELP 156cdf0e10cSrcweir { 157cdf0e10cSrcweir Pos = MAP_APPFONT ( 186, 92 ) ; 158cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 159cdf0e10cSrcweir }; 160cdf0e10cSrcweir}; 161*455eaee9Smseidel 162cdf0e10cSrcweir// ********************************************************************** EOF 163