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