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 24#include <cuires.hrc> 25#include "helpid.hrc" 26#include "grfpage.hrc" 27#include <svx/dialogs.hrc> 28 29/************************************************************/ 30/* */ 31/* */ 32/* Crop-Page */ 33/* */ 34/* */ 35/************************************************************/ 36TabPage RID_SVXPAGE_GRFCROP 37{ 38 Hide = TRUE ; 39 HelpID = HID_SVXPAGE_GRFCROP; 40 SVLook = TRUE ; 41 Pos = MAP_APPFONT ( 0 , 0 ) ; 42 Size = MAP_APPFONT ( 260 , 185 ) ; 43 FixedLine FL_CROP 44 { 45 Pos = MAP_APPFONT ( 6 , 3 ) ; 46 Size = MAP_APPFONT ( 164 , 8 ) ; 47 Text [ en-US ] = "Crop" ; 48 }; 49 FixedText FT_LEFT 50 { 51 Pos = MAP_APPFONT ( 12 , 44 ) ; 52 Size = MAP_APPFONT ( 28 , 8 ) ; 53 Text [ en-US ] = "~Left" ; 54 }; 55 MetricField MF_LEFT 56 { 57 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_LEFT"; 58 Border = TRUE ; 59 Pos = MAP_APPFONT ( 42 , 42 ) ; 60 Size = MAP_APPFONT ( 40 , 12 ) ; 61 Text = "12,99" ; 62 TabStop = TRUE ; 63 Left = TRUE ; 64 Repeat = TRUE ; 65 Spin = TRUE ; 66 Minimum = -9999 ; 67 Maximum = 9999 ; 68 DecimalDigits = 2 ; 69 Unit = FUNIT_CM ; 70 First = 0 ; 71 Last = 9999 ; 72 SpinSize = 10 ; 73 }; 74 FixedText FT_RIGHT 75 { 76 Pos = MAP_APPFONT ( 12 , 60 ) ; 77 Size = MAP_APPFONT ( 28 , 8 ) ; 78 Left = TRUE ; 79 Text [ en-US ] = "~Right" ; 80 }; 81 MetricField MF_RIGHT 82 { 83 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_RIGHT"; 84 Border = TRUE ; 85 Pos = MAP_APPFONT ( 42 , 58 ) ; 86 Size = MAP_APPFONT ( 40 , 12 ) ; 87 TabStop = TRUE ; 88 Left = TRUE ; 89 Repeat = TRUE ; 90 Spin = TRUE ; 91 Minimum = -9999 ; 92 Maximum = 9999 ; 93 DecimalDigits = 2 ; 94 Unit = FUNIT_CM ; 95 First = 0 ; 96 Last = 9999 ; 97 SpinSize = 10 ; 98 }; 99 FixedText FT_TOP 100 { 101 Pos = MAP_APPFONT ( 94 , 44 ) ; 102 Size = MAP_APPFONT ( 28 , 8 ) ; 103 Text [ en-US ] = "~Top" ; 104 }; 105 MetricField MF_TOP 106 { 107 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_TOP"; 108 Border = TRUE ; 109 Pos = MAP_APPFONT ( 124 , 42 ) ; 110 Size = MAP_APPFONT ( 40 , 12 ) ; 111 Text = "12,99" ; 112 TabStop = TRUE ; 113 Left = TRUE ; 114 Repeat = TRUE ; 115 Spin = TRUE ; 116 Minimum = -9999 ; 117 Maximum = 9999 ; 118 DecimalDigits = 2 ; 119 Unit = FUNIT_CM ; 120 First = 0 ; 121 Last = 9999 ; 122 SpinSize = 10 ; 123 }; 124 FixedText FT_BOTTOM 125 { 126 Pos = MAP_APPFONT ( 94 , 60 ) ; 127 Size = MAP_APPFONT ( 28 , 8 ) ; 128 Left = TRUE ; 129 Text [ en-US ] = "~Bottom" ; 130 }; 131 MetricField MF_BOTTOM 132 { 133 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_BOTTOM"; 134 Border = TRUE ; 135 Pos = MAP_APPFONT ( 124 , 58 ) ; 136 Size = MAP_APPFONT ( 40 , 12 ) ; 137 TabStop = TRUE ; 138 Left = TRUE ; 139 Repeat = TRUE ; 140 Spin = TRUE ; 141 Minimum = -9999 ; 142 Maximum = 9999 ; 143 DecimalDigits = 2 ; 144 Unit = FUNIT_CM ; 145 First = 0 ; 146 Last = 9999 ; 147 SpinSize = 10 ; 148 }; 149 RadioButton RB_SIZECONST 150 { 151 HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_SIZECONST"; 152 Pos = MAP_APPFONT ( 12 , 28 ) ; 153 Size = MAP_APPFONT ( 152 , 10 ) ; 154 Text [ en-US ] = "Keep image si~ze" ; 155 }; 156 RadioButton RB_ZOOMCONST 157 { 158 HelpID = "cui:RadioButton:RID_SVXPAGE_GRFCROP:RB_ZOOMCONST"; 159 Pos = MAP_APPFONT ( 12 , 14 ) ; 160 Size = MAP_APPFONT ( 152 , 10 ) ; 161 Check = TRUE ; 162 Text [ en-US ] = "Keep ~scale" ; 163 }; 164 Window WN_BSP 165 { 166 Pos = MAP_APPFONT ( 176 , 6 ) ; 167 Size = MAP_APPFONT ( 78 , 78 ) ; 168 Border = TRUE ; 169 }; 170 FixedLine FL_ZOOM 171 { 172 Pos = MAP_APPFONT ( 6, 76 ) ; 173 Size = MAP_APPFONT ( 164 , 8 ) ; 174 Text [ en-US ] = "Scale" ; 175 }; 176 FixedText FT_WIDTHZOOM 177 { 178 Left = TRUE ; 179 Pos = MAP_APPFONT ( 12 , 89 ) ; 180 Size = MAP_APPFONT ( 28 , 8 ) ; 181 Text [ en-US ] = "~Width" ; 182 }; 183 MetricField MF_WIDTHZOOM 184 { 185 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTHZOOM"; 186 Border = TRUE ; 187 Pos = MAP_APPFONT ( 42 , 87 ) ; 188 Size = MAP_APPFONT ( 40 , 12 ) ; 189 Text = "12,99" ; 190 TabStop = TRUE ; 191 Left = TRUE ; 192 Repeat = TRUE ; 193 Spin = TRUE ; 194 Minimum = 1 ; 195 Maximum = 9999 ; 196 First = 5 ; 197 Last = 1000 ; 198 Maximum = 9999 ; 199 Value = 100 ; 200 Unit = FUNIT_PERCENT ; 201 SpinSize = 10 ; 202 }; 203 FixedText FT_HEIGHTZOOM 204 { 205 Pos = MAP_APPFONT ( 12 , 105 ) ; 206 Size = MAP_APPFONT ( 28 , 8 ) ; 207 Text [ en-US ] = "H~eight" ; 208 Left = TRUE ; 209 }; 210 MetricField MF_HEIGHTZOOM 211 { 212 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHTZOOM"; 213 Border = TRUE ; 214 Pos = MAP_APPFONT ( 42 , 103 ) ; 215 Size = MAP_APPFONT ( 40 , 12 ) ; 216 TabStop = TRUE ; 217 Left = TRUE ; 218 Repeat = TRUE ; 219 Spin = TRUE ; 220 Minimum = 1 ; 221 Maximum = 9999 ; 222 First = 5 ; 223 Last = 1000 ; 224 Maximum = 9999 ; 225 Value = 100 ; 226 Unit = FUNIT_PERCENT ; 227 SpinSize = 10 ; 228 }; 229 FixedLine FL_SIZE 230 { 231 Pos = MAP_APPFONT ( 6 , 121 ) ; 232 Size = MAP_APPFONT ( 164 , 8 ) ; 233 Text [ en-US ] = "Image size" ; 234 }; 235 FixedText FT_WIDTH 236 { 237 Pos = MAP_APPFONT ( 12 , 134 ) ; 238 Size = MAP_APPFONT ( 28 , 8 ) ; 239 Left = TRUE ; 240 Text [ en-US ] = "~Width" ; 241 }; 242 MetricField MF_WIDTH 243 { 244 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_WIDTH"; 245 Border = TRUE ; 246 Pos = MAP_APPFONT ( 42 , 132 ) ; 247 Size = MAP_APPFONT ( 40 , 12 ) ; 248 Text = "12,99" ; 249 TabStop = TRUE ; 250 Left = TRUE ; 251 Repeat = TRUE ; 252 Spin = TRUE ; 253 Minimum = 5 ; 254 Maximum = 20000 ; 255 DecimalDigits = 2 ; 256 Unit = FUNIT_CM ; 257 First = 5 ; 258 Last = 20000 ; 259 SpinSize = 10 ; 260 }; 261 FixedText FT_HEIGHT 262 { 263 Pos = MAP_APPFONT ( 12 , 150 ) ; 264 Size = MAP_APPFONT ( 28 , 8 ) ; 265 Left = TRUE ; 266 Text [ en-US ] = "H~eight" ; 267 }; 268 MetricField MF_HEIGHT 269 { 270 HelpID = "cui:MetricField:RID_SVXPAGE_GRFCROP:MF_HEIGHT"; 271 Border = TRUE ; 272 Pos = MAP_APPFONT ( 42 , 148 ) ; 273 Size = MAP_APPFONT ( 40 , 12 ) ; 274 TabStop = TRUE ; 275 Left = TRUE ; 276 Repeat = TRUE ; 277 Spin = TRUE ; 278 Minimum = 5 ; 279 Maximum = 20000 ; 280 DecimalDigits = 2 ; 281 Unit = FUNIT_CM ; 282 First = 5 ; 283 Last = 20000 ; 284 SpinSize = 10 ; 285 }; 286 FixedText FT_ORIG_SIZE 287 { 288 Pos = MAP_APPFONT ( 176 , 132 ) ; 289 Size = MAP_APPFONT ( 74 , 8 ) ; 290 }; 291 PushButton PB_ORGSIZE 292 { 293 HelpID = "cui:PushButton:RID_SVXPAGE_GRFCROP:PB_ORGSIZE"; 294 Pos = MAP_APPFONT ( 176 , 143 ) ; 295 Size = MAP_APPFONT ( 50 , 14 ) ; 296 TabStop = TRUE ; 297 Text [ en-US ] = "~Original Size" ; 298 }; 299}; 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338