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 "res_bmp.hrc" 29#include "app.hrc" 30#include "animobjs.hrc" 31#include "helpids.h" 32 33#define BUTTON_WIDTH 16 34#define BUTTON_HEIGHT 14 35#define BUTTON_SIZE MAP_APPFONT( BUTTON_WIDTH, BUTTON_HEIGHT ); 36#define MIN_BUTTON_WIDTH 12 37#define MIN_BUTTON_HEIGHT 12 38#define MIN_BUTTON_SIZE MAP_APPFONT( MIN_BUTTON_WIDTH, MIN_BUTTON_HEIGHT ); 39DockingWindow FLT_WIN_ANIMATION 40{ 41 HelpID = CMD_SID_ANIMATION_OBJECTS ; 42 Border = TRUE ; 43 Hide = TRUE ; 44 SVLook = TRUE ; 45 Sizeable = TRUE ; 46 Moveable = TRUE ; 47 Closeable = TRUE ; 48 Zoomable = TRUE ; 49 Dockable = TRUE ; 50 EnableResizing = TRUE ; 51 Size = MAP_APPFONT ( 159 , 236 ) ; 52 Text [ en-US ] = "Animation" ; 53 Control CTL_DISPLAY 54 { 55 Border = TRUE ; 56 Pos = MAP_APPFONT ( 6 , 6 ) ; 57 Size = MAP_APPFONT ( 147 , 87 ) ; 58 TabStop = TRUE ; 59 }; 60 ImageButton BTN_FIRST 61 { 62 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_FIRST"; 63 Pos = MAP_APPFONT ( 6 , 100 ) ; 64 Size = MIN_BUTTON_SIZE 65 Symbol = IMAGEBUTTON_WINDSTART ; 66 QuickHelpText [ en-US ] = "First Image" ; 67 }; 68 ImageButton BTN_REVERSE 69 { 70 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REVERSE"; 71 Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH , 100 ) ; 72 Size = MIN_BUTTON_SIZE 73 Symbol = IMAGEBUTTON_REVERSEPLAY ; 74 /* ### ACHTUNG: Neuer Text in Resource? R�ckw�rts : R�ckw�rts */ 75 QuickHelpText [ en-US ] = "Backwards" ; 76 }; 77 ImageButton BTN_STOP 78 { 79 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_STOP"; 80 Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 2 , 100 ) ; 81 Size = MIN_BUTTON_SIZE 82 Symbol = IMAGEBUTTON_STOP ; 83 Disable = TRUE ; 84 QuickHelpText [ en-US ] = "Stop" ; 85 }; 86 ImageButton BTN_PLAY 87 { 88 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_PLAY"; 89 Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 3 , 100 ) ; 90 Size = MIN_BUTTON_SIZE 91 Symbol = IMAGEBUTTON_PLAY ; 92 QuickHelpText [ en-US ] = "Play" ; 93 }; 94 ImageButton BTN_LAST 95 { 96 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_LAST"; 97 Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 4 , 100 ) ; 98 Size = MIN_BUTTON_SIZE 99 Symbol = IMAGEBUTTON_WINDEND ; 100 QuickHelpText [ en-US ] = "Last Image" ; 101 }; 102 NumericField NUM_FLD_BITMAP 103 { 104 HelpID = "sd:NumericField:FLT_WIN_ANIMATION:NUM_FLD_BITMAP"; 105 Border = TRUE ; 106 Pos = MAP_APPFONT ( 6 + 3 + MIN_BUTTON_WIDTH * 5 , 100 ) ; 107 Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 , 12 ) ; 108 TabStop = TRUE ; 109 Repeat = TRUE ; 110 Spin = TRUE ; 111 Minimum = 1 ; 112 Maximum = 999 ; 113 StrictFormat = TRUE ; 114 First = 1 ; 115 Last = 999 ; 116 SpinSize = 1 ; 117 QuickHelpText [ en-US ] = "Image Number" ; 118 }; 119 TimeField TIME_FIELD 120 { 121 HelpID = "sd:TimeField:FLT_WIN_ANIMATION:TIME_FIELD"; 122 Border = TRUE ; 123 Pos = MAP_APPFONT ( 6 + 6 + MIN_BUTTON_WIDTH * 7 , 100 ) ; 124 Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 + 3 , 12 ) ; 125 TabStop = TRUE ; 126 Repeat = TRUE ; 127 Spin = TRUE ; 128 Maximum = Time 129 { 130 Second = 59 ; 131 Sec100 = 99 ; 132 }; 133 Duration = TRUE ; 134 StrictFormat = TRUE ; 135 Last = Time 136 { 137 Second = 59 ; 138 Sec100 = 99 ; 139 }; 140 QuickHelpText [ en-US ] = "Duration" ; 141 }; 142 ListBox LB_LOOP_COUNT 143 { 144 HelpID = "sd:ListBox:FLT_WIN_ANIMATION:LB_LOOP_COUNT"; 145 Border = TRUE ; 146 Pos = MAP_APPFONT ( 6 + 12 + MIN_BUTTON_WIDTH * 9 , 100 ) ; 147 Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 + 3 , 100 ) ; 148 TabStop = TRUE ; 149 DropDown = TRUE ; 150 StringList [ en-US ] = 151 { 152 < "1" ; > ; 153 < "2" ; > ; 154 < "3" ; > ; 155 < "4" ; > ; 156 < "5" ; > ; 157 < "6" ; > ; 158 < "7" ; > ; 159 < "8" ; > ; 160 < "9" ; > ; 161 < "10" ; > ; 162 < "12" ; > ; 163 < "15" ; > ; 164 < "20" ; > ; 165 < "25" ; > ; 166 < "50" ; > ; 167 < "100" ; > ; 168 < "500" ; > ; 169 < "1000" ; > ; 170 < "Max." ; > ; 171 }; 172 /* ### ACHTUNG: Neuer Text in Resource? Anzahl der Durchl�ufe : Anzahl der Durchl�ufe */ 173 QuickHelpText [ en-US ] = "Loop Count" ; 174 }; 175 ImageButton BTN_GET_ONE_OBJECT 176 { 177 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_GET_ONE_OBJECT"; 178 Pos = MAP_APPFONT ( 12 , 132 ) ; 179 Size = MAP_APPFONT ( 16 , 14 ) ; 180 ButtonImage = Image 181 { 182 ImageBitmap = Bitmap 183 { 184 File = "get1obj.bmp" ; 185 }; 186 MaskColor = IMAGE_MASK_STDCOLOR; 187 }; 188 TabStop = TRUE ; 189 /* ### ACHTUNG: Neuer Text in Resource? Objekt �bernehmen : Objekt �bernehmen */ 190 QuickHelpText [ en-US ] = "Apply Object" ; 191 }; 192 ImageButton BTN_GET_ALL_OBJECTS 193 { 194 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_GET_ALL_OBJECTS"; 195 Pos = MAP_APPFONT ( 31 , 132 ) ; 196 Size = MAP_APPFONT ( 16 , 14 ) ; 197 ButtonImage = Image 198 { 199 ImageBitmap = Bitmap 200 { 201 File = "getallob.bmp" ; 202 }; 203 MaskColor = IMAGE_MASK_STDCOLOR; 204 }; 205 TabStop = TRUE ; 206 /* ### ACHTUNG: Neuer Text in Resource? Objekte einzeln �bernehmen : Objekte einzeln �bernehmen */ 207 QuickHelpText [ en-US ] = "Apply Objects Individually" ; 208 }; 209 ImageButton BTN_REMOVE_BITMAP 210 { 211 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REMOVE_BITMAP"; 212 Pos = MAP_APPFONT ( 60 , 132 ) ; 213 Size = MAP_APPFONT ( 16 , 14 ) ; 214 ButtonImage = Image 215 { 216 ImageBitmap = Bitmap 217 { 218 File = "del1bmp.bmp" ; 219 }; 220 MaskColor = IMAGE_MASK_STDCOLOR; 221 }; 222 TabStop = TRUE ; 223 /* ### ACHTUNG: Neuer Text in Resource? Aktuelles Bild l�schen : Aktuelles Bild l�schen */ 224 QuickHelpText [ en-US ] = "Delete Current Image" ; 225 }; 226 ImageButton BTN_REMOVE_ALL 227 { 228 HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REMOVE_ALL"; 229 Pos = MAP_APPFONT ( 79 , 132 ) ; 230 Size = MAP_APPFONT ( 16 , 14 ) ; 231 ButtonImage = Image 232 { 233 ImageBitmap = Bitmap 234 { 235 File = "delall.bmp" ; 236 }; 237 MaskColor = IMAGE_MASK_STDCOLOR; 238 }; 239 TabStop = TRUE ; 240 /* ### ACHTUNG: Neuer Text in Resource? Alle Bilder l�schen : Alle Bilder l�schen */ 241 QuickHelpText [ en-US ] = "Delete All Images" ; 242 }; 243 FixedText FT_COUNT 244 { 245 Pos = MAP_APPFONT ( 106 , 135 ) ; 246 Size = MAP_APPFONT ( 26 , 10 ) ; 247 Text [ en-US ] = "Number" ; 248 }; 249 FixedText FI_COUNT 250 { 251 Pos = MAP_APPFONT ( 133 , 135 ) ; 252 Size = MAP_APPFONT ( 15 , 10 ) ; 253 DeltaLang [ de ]= < Default ; Default ; Default ; Default ; > ; 254 DeltaLang [ en-US ] = < 2 ; Default ; Default ; Default ; > ; 255 Text = "67" ; 256 }; 257 FixedLine GRP_BITMAP 258 { 259 Pos = MAP_APPFONT ( 6 , 120 ) ; 260 Size = MAP_APPFONT ( 147 , 8 ) ; 261 Text [ en-US ] = "Image" ; 262 }; 263 RadioButton RBT_GROUP 264 { 265 HelpID = "sd:RadioButton:FLT_WIN_ANIMATION:RBT_GROUP"; 266 Pos = MAP_APPFONT ( 12 , 167 ) ; 267 Size = MAP_APPFONT ( 140 , 12 ) ; 268 Text [ en-US ] = "Group object" ; 269 }; 270 RadioButton RBT_BITMAP 271 { 272 HelpID = "sd:RadioButton:FLT_WIN_ANIMATION:RBT_BITMAP"; 273 Pos = MAP_APPFONT ( 12 , 181 ) ; 274 Size = MAP_APPFONT ( 140 , 12 ) ; 275 Text [ en-US ] = "Bitmap object" ; 276 }; 277 FixedText FT_ADJUSTMENT 278 { 279 Pos = MAP_APPFONT ( 12 , 198 ) ; 280 Size = MAP_APPFONT ( 62 , 10 ) ; 281 DeltaLang [ de ] = < Default ; Default ; Default ; Default ; > ; 282 DeltaLang [ en-US ] = < -1 ; Default ; -2 ; Default ; > ; 283 Text [ en-US ] = "Alignment" ; 284 }; 285 ListBox LB_ADJUSTMENT 286 { 287 HelpID = "sd:ListBox:FLT_WIN_ANIMATION:LB_ADJUSTMENT"; 288 Border = TRUE ; 289 Pos = MAP_APPFONT ( 75 , 196 ) ; 290 Size = MAP_APPFONT ( 72 , 100 ) ; 291 DeltaLang [ de ] = < Default ; Default ; Default ; Default ; > ; 292 DeltaLang [ en-US ] = < -1 ; Default ; Default ; Default ; > ; 293 TabStop = TRUE ; 294 DropDown = TRUE ; 295 StringList [ en-US ] = 296 { 297 < "Top Left" ; Default ; > ; 298 < "Left" ; Default ; > ; 299 < "Bottom Left" ; Default ; > ; 300 < "Top" ; Default ; > ; 301 < "Centered" ; Default ; > ; 302 < "Bottom" ; Default ; > ; 303 < "Top Right" ; Default ; > ; 304 < "Right" ; Default ; > ; 305 < "Bottom Right" ; Default ; > ; 306 }; 307 }; 308 PushButton BTN_CREATE_GROUP 309 { 310 HelpID = "sd:PushButton:FLT_WIN_ANIMATION:BTN_CREATE_GROUP"; 311 Pos = MAP_APPFONT ( 107 , 216 ) ; 312 Size = MAP_APPFONT ( 41 , 14 ) ; 313 TabStop = TRUE ; 314 Text [ en-US ] = "Create" ; 315 }; 316 FixedLine GRP_ANIMATION_GROUP 317 { 318 Pos = MAP_APPFONT ( 6 , 155 ) ; 319 Size = MAP_APPFONT ( 147 , 8 ) ; 320 Text [ en-US ] = "Animation group" ; 321 }; 322 String STR_DISPLAY 323 { 324 Text [ en-US ] = "Preview"; 325 }; 326}; 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379