1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 // include --------------------------------------------------------------- 24#include <cuires.hrc> 25#include "zoom.hrc" 26#include <svx/dialogs.hrc> // for RID_SVXDLG_ZOOM 27#include "helpid.hrc" 28 29 // RID_SVXDLG_ZOOM ------------------------------------------------------- 30ModalDialog RID_SVXDLG_ZOOM 31{ 32 HelpId = CMD_SID_ATTR_ZOOM; 33 OutputSize = TRUE ; 34 SvLook = TRUE ; 35 Size = MAP_APPFONT ( 242 , 112 ) ; 36 Moveable = TRUE ; 37 Text [ en-US ] = "Zoom & View Layout"; 38 FixedLine FL_ZOOM 39 { 40 Pos = MAP_APPFONT ( 6 , 3 ) ; 41 Size = MAP_APPFONT ( 112 , 8 ) ; 42 Text [ en-US ] = "Zoom factor"; 43 }; 44 RadioButton BTN_OPTIMAL 45 { 46 HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_OPTIMAL"; 47 Pos = MAP_APPFONT ( 12 , 14 ) ; 48 Size = MAP_APPFONT ( 105 , 10 ) ; 49 Text [ en-US ] = "~Optimal" ; 50 }; 51 RadioButton BTN_WHOLE_PAGE 52 { 53 HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_WHOLE_PAGE"; 54 Pos = MAP_APPFONT ( 12 , 27 ) ; 55 Size = MAP_APPFONT ( 105 , 10 ) ; 56 Text [ en-US ] = "~Fit width and height" ; 57 }; 58 RadioButton BTN_PAGE_WIDTH 59 { 60 HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_PAGE_WIDTH"; 61 Pos = MAP_APPFONT ( 12 , 40 ) ; 62 Size = MAP_APPFONT ( 105, 10 ) ; 63 Text [ en-US ] = "Fit ~width" ; 64 }; 65 RadioButton BTN_100 66 { 67 HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_100"; 68 Pos = MAP_APPFONT ( 12 , 53 ) ; 69 Size = MAP_APPFONT ( 105, 10 ) ; 70 Text = "~100 %" ; 71 }; 72 RadioButton BTN_USER 73 { 74 HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_USER"; 75 Pos = MAP_APPFONT ( 12 , 67 ) ; 76 Size = MAP_APPFONT ( 72 , 10 ) ; 77 Text [ en-US ] = "~Variable" ; 78 }; 79 MetricField ED_USER 80 { 81 HelpID = "cui:MetricField:RID_SVXDLG_ZOOM:ED_USER"; 82 Pos = MAP_APPFONT ( 86 , 66 ) ; 83 Size = MAP_APPFONT ( 32 , 12 ) ; 84 Border = TRUE ; 85 Group = TRUE ; 86 Left = TRUE ; 87 Repeat = TRUE ; 88 Spin = TRUE ; 89 Unit = FUNIT_PERCENT ; 90 SpinSize = 1 ; 91 }; 92 FixedLine FL_VIEWLAYOUT 93 { 94 Pos = MAP_APPFONT ( 124 , 3 ) ; 95 Size = MAP_APPFONT ( 112 , 8 ) ; 96 Text [ en-US ] = "View layout"; 97 }; 98 RadioButton BTN_AUTOMATIC 99 { 100 HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_AUTOMATIC"; 101 Pos = MAP_APPFONT ( 130 , 14 ) ; 102 Size = MAP_APPFONT ( 106 , 10 ) ; 103 Text [ en-US ] = "~Automatic" ; 104 }; 105 RadioButton BTN_SINGLE 106 { 107 HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_SINGLE"; 108 Pos = MAP_APPFONT ( 130, 27 ) ; 109 Size = MAP_APPFONT ( 106, 10 ) ; 110 Text [ en-US ] = "~Single page" ; 111 }; 112 RadioButton BTN_COLUMNS 113 { 114 HelpID = "cui:RadioButton:RID_SVXDLG_ZOOM:BTN_COLUMNS"; 115 Pos = MAP_APPFONT ( 130, 41 ) ; 116 Size = MAP_APPFONT ( 75 , 10 ) ; 117 Text [ en-US ] = "~Columns" ; 118 }; 119 MetricField ED_COLUMNS 120 { 121 HelpID = "cui:MetricField:RID_SVXDLG_ZOOM:ED_COLUMNS"; 122 Pos = MAP_APPFONT ( 209 , 40 ) ; 123 Size = MAP_APPFONT ( 24 , 12 ) ; 124 Border = TRUE ; 125 Group = TRUE ; 126 Left = TRUE ; 127 Repeat = TRUE ; 128 Spin = TRUE ; 129 SpinSize = 1 ; 130 Minimum = 1; 131 Maximum = 999; 132 }; 133 CheckBox CHK_BOOK 134 { 135 HelpID = "cui:CheckBox:RID_SVXDLG_ZOOM:CHK_BOOK"; 136 Pos = MAP_APPFONT ( 136 , 55 ) ; 137 Size = MAP_APPFONT ( 85 , 10 ) ; 138 Text [ en-US ] = "~Book mode" ; 139 }; 140 FixedLine FL_BOTTOM 141 { 142 Pos = MAP_APPFONT ( 6 , 81 ) ; 143 Size = MAP_APPFONT ( 230 , 8 ) ; 144 }; 145 OKButton BTN_ZOOM_OK 146 { 147 Pos = MAP_APPFONT ( 77 , 92 ) ; 148 Size = MAP_APPFONT ( 50 , 14 ) ; 149 DefButton = TRUE ; 150 }; 151 CancelButton BTN_ZOOM_CANCEL 152 { 153 Pos = MAP_APPFONT ( 130 , 92 ) ; 154 Size = MAP_APPFONT ( 50 , 14 ) ; 155 }; 156 HelpButton BTN_ZOOM_HELP 157 { 158 Pos = MAP_APPFONT ( 186 , 92 ) ; 159 Size = MAP_APPFONT ( 50 , 14 ) ; 160 }; 161}; 162 163// ********************************************************************** EOF 164 165