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 100e2af6afSAndrew Rist * 110e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 120e2af6afSAndrew Rist * 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. 190e2af6afSAndrew Rist * 200e2af6afSAndrew Rist *************************************************************/ 210e2af6afSAndrew Rist 220e2af6afSAndrew 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 ) ; 70*7ea7a1ccSTsutomu Uchino 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 ; 89*7ea7a1ccSTsutomu Uchino Unit = FUNIT_PERCENT ; 90cdf0e10cSrcweir SpinSize = 1 ; 91cdf0e10cSrcweir }; 92cdf0e10cSrcweir FixedLine FL_VIEWLAYOUT 93cdf0e10cSrcweir { 94cdf0e10cSrcweir Pos = MAP_APPFONT ( 124 , 3 ) ; 95cdf0e10cSrcweir Size = MAP_APPFONT ( 112 , 8 ) ; 96cdf0e10cSrcweir Text [ en-US ] = "View layout"; 97cdf0e10cSrcweir }; 98cdf0e10cSrcweir RadioButton BTN_AUTOMATIC 99cdf0e10cSrcweir { 100cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_AUTOMATIC"; 101cdf0e10cSrcweir Pos = MAP_APPFONT ( 130 , 14 ) ; 102cdf0e10cSrcweir Size = MAP_APPFONT ( 106 , 10 ) ; 103cdf0e10cSrcweir Text [ en-US ] = "~Automatic" ; 104cdf0e10cSrcweir }; 105cdf0e10cSrcweir RadioButton BTN_SINGLE 106cdf0e10cSrcweir { 107cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_SINGLE"; 108cdf0e10cSrcweir Pos = MAP_APPFONT ( 130, 27 ) ; 109cdf0e10cSrcweir Size = MAP_APPFONT ( 106, 10 ) ; 110cdf0e10cSrcweir Text [ en-US ] = "~Single page" ; 111cdf0e10cSrcweir }; 112cdf0e10cSrcweir RadioButton BTN_COLUMNS 113cdf0e10cSrcweir { 114cdf0e10cSrcweir HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_COLUMNS"; 115cdf0e10cSrcweir Pos = MAP_APPFONT ( 130, 41 ) ; 116cdf0e10cSrcweir Size = MAP_APPFONT ( 75 , 10 ) ; 117cdf0e10cSrcweir Text [ en-US ] = "~Columns" ; 118cdf0e10cSrcweir }; 119cdf0e10cSrcweir MetricField ED_COLUMNS 120cdf0e10cSrcweir { 121cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXDLG_ZOOM:ED_COLUMNS"; 122cdf0e10cSrcweir Pos = MAP_APPFONT ( 209 , 40 ) ; 123cdf0e10cSrcweir Size = MAP_APPFONT ( 24 , 12 ) ; 124cdf0e10cSrcweir Border = TRUE ; 125cdf0e10cSrcweir Group = TRUE ; 126cdf0e10cSrcweir Left = TRUE ; 127cdf0e10cSrcweir Repeat = TRUE ; 128cdf0e10cSrcweir Spin = TRUE ; 129cdf0e10cSrcweir SpinSize = 1 ; 130cdf0e10cSrcweir Minimum = 1; 131cdf0e10cSrcweir Maximum = 999; 132cdf0e10cSrcweir }; 133cdf0e10cSrcweir CheckBox CHK_BOOK 134cdf0e10cSrcweir { 135cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVXDLG_ZOOM:CHK_BOOK"; 136cdf0e10cSrcweir Pos = MAP_APPFONT ( 136 , 55 ) ; 137cdf0e10cSrcweir Size = MAP_APPFONT ( 85 , 10 ) ; 138cdf0e10cSrcweir Text [ en-US ] = "~Book mode" ; 139cdf0e10cSrcweir }; 140cdf0e10cSrcweir FixedLine FL_BOTTOM 141cdf0e10cSrcweir { 142cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 81 ) ; 143cdf0e10cSrcweir Size = MAP_APPFONT ( 230 , 8 ) ; 144cdf0e10cSrcweir }; 145cdf0e10cSrcweir OKButton BTN_ZOOM_OK 146cdf0e10cSrcweir { 147cdf0e10cSrcweir Pos = MAP_APPFONT ( 77 , 92 ) ; 148cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 149cdf0e10cSrcweir DefButton = TRUE ; 150cdf0e10cSrcweir }; 151cdf0e10cSrcweir CancelButton BTN_ZOOM_CANCEL 152cdf0e10cSrcweir { 153cdf0e10cSrcweir Pos = MAP_APPFONT ( 130 , 92 ) ; 154cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 155cdf0e10cSrcweir }; 156cdf0e10cSrcweir HelpButton BTN_ZOOM_HELP 157cdf0e10cSrcweir { 158cdf0e10cSrcweir Pos = MAP_APPFONT ( 186 , 92 ) ; 159cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 160cdf0e10cSrcweir }; 161cdf0e10cSrcweir}; 162cdf0e10cSrcweir 163cdf0e10cSrcweir// ********************************************************************** EOF 164cdf0e10cSrcweir 165