1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir#include "app.hrc" 29*cdf0e10cSrcweir#include "res_bmp.hrc" 30*cdf0e10cSrcweir#include "copydlg.hrc" 31*cdf0e10cSrcweir#include "helpids.h" 32*cdf0e10cSrcweir 33*cdf0e10cSrcweirModalDialog DLG_COPY 34*cdf0e10cSrcweir{ 35*cdf0e10cSrcweir HelpID = CMD_SID_COPYOBJECTS ; 36*cdf0e10cSrcweir OutputSize = TRUE ; 37*cdf0e10cSrcweir SVLook = TRUE ; 38*cdf0e10cSrcweir Size = MAP_APPFONT ( 204 , 177 ) ; 39*cdf0e10cSrcweir Text [ en-US ] = "Duplicate" ; 40*cdf0e10cSrcweir Moveable = TRUE ; 41*cdf0e10cSrcweir OKButton BTN_OK 42*cdf0e10cSrcweir { 43*cdf0e10cSrcweir Pos = MAP_APPFONT ( 148 , 6 ) ; 44*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 45*cdf0e10cSrcweir TabStop = TRUE ; 46*cdf0e10cSrcweir DefButton = TRUE ; 47*cdf0e10cSrcweir }; 48*cdf0e10cSrcweir CancelButton BTN_CANCEL 49*cdf0e10cSrcweir { 50*cdf0e10cSrcweir Pos = MAP_APPFONT ( 148 , 23 ) ; 51*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 52*cdf0e10cSrcweir TabStop = TRUE ; 53*cdf0e10cSrcweir }; 54*cdf0e10cSrcweir HelpButton BTN_HELP 55*cdf0e10cSrcweir { 56*cdf0e10cSrcweir Pos = MAP_APPFONT ( 148 , 43 ) ; 57*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 58*cdf0e10cSrcweir TabStop = TRUE ; 59*cdf0e10cSrcweir }; 60*cdf0e10cSrcweir FixedText FT_COPIES 61*cdf0e10cSrcweir { 62*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 9 ) ; 63*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 64*cdf0e10cSrcweir Text [ en-US ] = "Number of ~copies" ; 65*cdf0e10cSrcweir }; 66*cdf0e10cSrcweir NumericField NUM_FLD_COPIES 67*cdf0e10cSrcweir { 68*cdf0e10cSrcweir HelpID = "sd:NumericField:DLG_COPY:NUM_FLD_COPIES"; 69*cdf0e10cSrcweir Border = TRUE ; 70*cdf0e10cSrcweir Pos = MAP_APPFONT ( 76 , 7 ) ; 71*cdf0e10cSrcweir Size = MAP_APPFONT ( 35 , 12 ) ; 72*cdf0e10cSrcweir TabStop = TRUE ; 73*cdf0e10cSrcweir Repeat = TRUE ; 74*cdf0e10cSrcweir Spin = TRUE ; 75*cdf0e10cSrcweir Minimum = 1 ; 76*cdf0e10cSrcweir Maximum = 999 ; 77*cdf0e10cSrcweir StrictFormat = TRUE ; 78*cdf0e10cSrcweir First = 1 ; 79*cdf0e10cSrcweir Last = 999 ; 80*cdf0e10cSrcweir SpinSize = 1 ; 81*cdf0e10cSrcweir }; 82*cdf0e10cSrcweir ImageButton BTN_SET_VIEWDATA 83*cdf0e10cSrcweir { 84*cdf0e10cSrcweir HelpID = "sd:ImageButton:DLG_COPY:BTN_SET_VIEWDATA"; 85*cdf0e10cSrcweir Pos = MAP_APPFONT ( 122 , 6 ) ; 86*cdf0e10cSrcweir Size = MAP_APPFONT ( 14 , 14 ) ; 87*cdf0e10cSrcweir ButtonImage = Image 88*cdf0e10cSrcweir { 89*cdf0e10cSrcweir ImageBitmap = Bitmap { File = "pipette.bmp" ; }; 90*cdf0e10cSrcweir MaskColor = IMAGE_MASK_STDCOLOR; 91*cdf0e10cSrcweir }; 92*cdf0e10cSrcweir TabStop = TRUE ; 93*cdf0e10cSrcweir QuickHelpText [ en-US ] = "Values from Selection" ; 94*cdf0e10cSrcweir }; 95*cdf0e10cSrcweir PushButton BTN_SET_DEFAULT 96*cdf0e10cSrcweir { 97*cdf0e10cSrcweir HelpID = "sd:PushButton:DLG_COPY:BTN_SET_DEFAULT"; 98*cdf0e10cSrcweir Pos = MAP_APPFONT ( 148 , 63 ) ; 99*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 100*cdf0e10cSrcweir TabStop = TRUE ; 101*cdf0e10cSrcweir Text [ en-US ] = "~Default"; 102*cdf0e10cSrcweir }; 103*cdf0e10cSrcweir MetricField MTR_FLD_ANGLE 104*cdf0e10cSrcweir { 105*cdf0e10cSrcweir HelpID = "sd:MetricField:DLG_COPY:MTR_FLD_ANGLE"; 106*cdf0e10cSrcweir Border = TRUE ; 107*cdf0e10cSrcweir Pos = MAP_APPFONT ( 76 , 69 ) ; 108*cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 109*cdf0e10cSrcweir TabStop = TRUE ; 110*cdf0e10cSrcweir Repeat = TRUE ; 111*cdf0e10cSrcweir Spin = TRUE ; 112*cdf0e10cSrcweir Maximum = 359 ; 113*cdf0e10cSrcweir StrictFormat = TRUE ; 114*cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 115*cdf0e10cSrcweir Last = 359 ; 116*cdf0e10cSrcweir SpinSize = 5 ; 117*cdf0e10cSrcweir CustomUnitText [ en-US ] = " degrees" ; 118*cdf0e10cSrcweir }; 119*cdf0e10cSrcweir FixedText FT_ANGLE 120*cdf0e10cSrcweir { 121*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 71 ) ; 122*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 123*cdf0e10cSrcweir Text [ en-US ] = "~Angle" ; 124*cdf0e10cSrcweir }; 125*cdf0e10cSrcweir FixedText FT_MOVE_X 126*cdf0e10cSrcweir { 127*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 39 ) ; 128*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 129*cdf0e10cSrcweir Text [ en-US ] = "~X axis" ; 130*cdf0e10cSrcweir }; 131*cdf0e10cSrcweir MetricField MTR_FLD_MOVE_X 132*cdf0e10cSrcweir { 133*cdf0e10cSrcweir HelpID = "sd:MetricField:DLG_COPY:MTR_FLD_MOVE_X"; 134*cdf0e10cSrcweir Border = TRUE ; 135*cdf0e10cSrcweir Pos = MAP_APPFONT ( 76 , 37 ) ; 136*cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 137*cdf0e10cSrcweir TabStop = TRUE ; 138*cdf0e10cSrcweir Repeat = TRUE ; 139*cdf0e10cSrcweir Spin = TRUE ; 140*cdf0e10cSrcweir Minimum = -120000 ; 141*cdf0e10cSrcweir Maximum = 120000 ; 142*cdf0e10cSrcweir StrictFormat = TRUE ; 143*cdf0e10cSrcweir DecimalDigits = 2 ; 144*cdf0e10cSrcweir Unit = FUNIT_MM ; 145*cdf0e10cSrcweir First = -120000 ; 146*cdf0e10cSrcweir Last = 120000 ; 147*cdf0e10cSrcweir SpinSize = 100 ; 148*cdf0e10cSrcweir }; 149*cdf0e10cSrcweir MetricField MTR_FLD_MOVE_Y 150*cdf0e10cSrcweir { 151*cdf0e10cSrcweir HelpID = "sd:MetricField:DLG_COPY:MTR_FLD_MOVE_Y"; 152*cdf0e10cSrcweir Border = TRUE ; 153*cdf0e10cSrcweir Pos = MAP_APPFONT ( 76 , 53 ) ; 154*cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 155*cdf0e10cSrcweir TabStop = TRUE ; 156*cdf0e10cSrcweir Repeat = TRUE ; 157*cdf0e10cSrcweir Spin = TRUE ; 158*cdf0e10cSrcweir Minimum = -120000 ; 159*cdf0e10cSrcweir Maximum = 120000 ; 160*cdf0e10cSrcweir StrictFormat = TRUE ; 161*cdf0e10cSrcweir DecimalDigits = 2 ; 162*cdf0e10cSrcweir Unit = FUNIT_MM ; 163*cdf0e10cSrcweir First = -120000 ; 164*cdf0e10cSrcweir Last = 120000 ; 165*cdf0e10cSrcweir SpinSize = 100 ; 166*cdf0e10cSrcweir }; 167*cdf0e10cSrcweir MetricField MTR_FLD_WIDTH 168*cdf0e10cSrcweir { 169*cdf0e10cSrcweir HelpID = "sd:MetricField:DLG_COPY:MTR_FLD_WIDTH"; 170*cdf0e10cSrcweir Border = TRUE ; 171*cdf0e10cSrcweir Pos = MAP_APPFONT ( 76 , 98 ) ; 172*cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 173*cdf0e10cSrcweir TabStop = TRUE ; 174*cdf0e10cSrcweir Repeat = TRUE ; 175*cdf0e10cSrcweir Spin = TRUE ; 176*cdf0e10cSrcweir Minimum = -120000 ; 177*cdf0e10cSrcweir Maximum = 120000 ; 178*cdf0e10cSrcweir StrictFormat = TRUE ; 179*cdf0e10cSrcweir DecimalDigits = 2 ; 180*cdf0e10cSrcweir Unit = FUNIT_MM ; 181*cdf0e10cSrcweir First = -120000 ; 182*cdf0e10cSrcweir Last = 120000 ; 183*cdf0e10cSrcweir SpinSize = 100 ; 184*cdf0e10cSrcweir }; 185*cdf0e10cSrcweir MetricField MTR_FLD_HEIGHT 186*cdf0e10cSrcweir { 187*cdf0e10cSrcweir HelpID = "sd:MetricField:DLG_COPY:MTR_FLD_HEIGHT"; 188*cdf0e10cSrcweir Border = TRUE ; 189*cdf0e10cSrcweir Pos = MAP_APPFONT ( 76 , 114 ) ; 190*cdf0e10cSrcweir Size = MAP_APPFONT ( 45 , 12 ) ; 191*cdf0e10cSrcweir TabStop = TRUE ; 192*cdf0e10cSrcweir Repeat = TRUE ; 193*cdf0e10cSrcweir Spin = TRUE ; 194*cdf0e10cSrcweir Minimum = -120000 ; 195*cdf0e10cSrcweir Maximum = 120000 ; 196*cdf0e10cSrcweir StrictFormat = TRUE ; 197*cdf0e10cSrcweir DecimalDigits = 2 ; 198*cdf0e10cSrcweir Unit = FUNIT_MM ; 199*cdf0e10cSrcweir First = -120000 ; 200*cdf0e10cSrcweir Last = 120000 ; 201*cdf0e10cSrcweir SpinSize = 100 ; 202*cdf0e10cSrcweir }; 203*cdf0e10cSrcweir FixedText FT_MOVE_Y 204*cdf0e10cSrcweir { 205*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 55 ) ; 206*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 207*cdf0e10cSrcweir Text [ en-US ] = "~Y axis" ; 208*cdf0e10cSrcweir }; 209*cdf0e10cSrcweir FixedText FT_WIDTH 210*cdf0e10cSrcweir { 211*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 100 ) ; 212*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 213*cdf0e10cSrcweir Text [ en-US ] = "~Width" ; 214*cdf0e10cSrcweir }; 215*cdf0e10cSrcweir FixedText FT_HEIGHT 216*cdf0e10cSrcweir { 217*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 116 ) ; 218*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 219*cdf0e10cSrcweir Text [ en-US ] = "~Height" ; 220*cdf0e10cSrcweir }; 221*cdf0e10cSrcweir FixedLine GRP_MOVEMENT 222*cdf0e10cSrcweir { 223*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 26 ) ; 224*cdf0e10cSrcweir Size = MAP_APPFONT ( 136 , 8 ) ; 225*cdf0e10cSrcweir Text [ en-US ] = "Placement" ; 226*cdf0e10cSrcweir }; 227*cdf0e10cSrcweir FixedLine GRP_ENLARGEMENT 228*cdf0e10cSrcweir { 229*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 87 ) ; 230*cdf0e10cSrcweir Size = MAP_APPFONT ( 136 , 8 ) ; 231*cdf0e10cSrcweir Text [ en-US ] = "Enlargement" ; 232*cdf0e10cSrcweir }; 233*cdf0e10cSrcweir FixedLine GRP_COLOR 234*cdf0e10cSrcweir { 235*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 132 ) ; 236*cdf0e10cSrcweir Size = MAP_APPFONT ( 136 , 8 ) ; 237*cdf0e10cSrcweir Text [ en-US ] = "Colors" ; 238*cdf0e10cSrcweir }; 239*cdf0e10cSrcweir ListBox LB_START_COLOR 240*cdf0e10cSrcweir { 241*cdf0e10cSrcweir HelpID = "sd:ListBox:DLG_COPY:LB_START_COLOR"; 242*cdf0e10cSrcweir Border = TRUE ; 243*cdf0e10cSrcweir Pos = MAP_APPFONT ( 76 , 143 ) ; 244*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 90 ) ; 245*cdf0e10cSrcweir TabStop = TRUE ; 246*cdf0e10cSrcweir DropDown = TRUE ; 247*cdf0e10cSrcweir DDExtraWidth = TRUE ; 248*cdf0e10cSrcweir }; 249*cdf0e10cSrcweir FixedText FT_START_COLOR 250*cdf0e10cSrcweir { 251*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 145 ) ; 252*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 253*cdf0e10cSrcweir Text [ en-US ] = "~Start" ; 254*cdf0e10cSrcweir }; 255*cdf0e10cSrcweir ListBox LB_END_COLOR 256*cdf0e10cSrcweir { 257*cdf0e10cSrcweir HelpID = "sd:ListBox:DLG_COPY:LB_END_COLOR"; 258*cdf0e10cSrcweir Border = TRUE ; 259*cdf0e10cSrcweir Pos = MAP_APPFONT ( 76 , 159 ) ; 260*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 90 ) ; 261*cdf0e10cSrcweir TabStop = TRUE ; 262*cdf0e10cSrcweir DropDown = TRUE ; 263*cdf0e10cSrcweir DDExtraWidth = TRUE ; 264*cdf0e10cSrcweir }; 265*cdf0e10cSrcweir FixedText FT_END_COLOR 266*cdf0e10cSrcweir { 267*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 161 ) ; 268*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 269*cdf0e10cSrcweir Text [ en-US ] = "~End" ; 270*cdf0e10cSrcweir }; 271*cdf0e10cSrcweir}; 272*cdf0e10cSrcweir 273*cdf0e10cSrcweir 274*cdf0e10cSrcweir 275*cdf0e10cSrcweir 276*cdf0e10cSrcweir 277*cdf0e10cSrcweir 278*cdf0e10cSrcweir 279*cdf0e10cSrcweir 280*cdf0e10cSrcweir 281*cdf0e10cSrcweir 282*cdf0e10cSrcweir 283*cdf0e10cSrcweir 284*cdf0e10cSrcweir 285*cdf0e10cSrcweir 286*cdf0e10cSrcweir 287*cdf0e10cSrcweir 288*cdf0e10cSrcweir 289*cdf0e10cSrcweir 290*cdf0e10cSrcweir 291*cdf0e10cSrcweir 292*cdf0e10cSrcweir 293*cdf0e10cSrcweir 294*cdf0e10cSrcweir 295*cdf0e10cSrcweir 296*cdf0e10cSrcweir 297*cdf0e10cSrcweir 298*cdf0e10cSrcweir 299*cdf0e10cSrcweir 300*cdf0e10cSrcweir 301*cdf0e10cSrcweir 302*cdf0e10cSrcweir 303*cdf0e10cSrcweir 304*cdf0e10cSrcweir 305*cdf0e10cSrcweir 306*cdf0e10cSrcweir 307*cdf0e10cSrcweir 308*cdf0e10cSrcweir 309*cdf0e10cSrcweir 310*cdf0e10cSrcweir 311*cdf0e10cSrcweir 312*cdf0e10cSrcweir 313*cdf0e10cSrcweir 314*cdf0e10cSrcweir 315*cdf0e10cSrcweir 316*cdf0e10cSrcweir 317*cdf0e10cSrcweir 318*cdf0e10cSrcweir 319*cdf0e10cSrcweir 320*cdf0e10cSrcweir 321