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