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