/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #include "res_bmp.hrc" #include "app.hrc" #include "animobjs.hrc" #include "helpids.h" #define BUTTON_WIDTH 16 #define BUTTON_HEIGHT 14 #define BUTTON_SIZE MAP_APPFONT( BUTTON_WIDTH, BUTTON_HEIGHT ); #define MIN_BUTTON_WIDTH 12 #define MIN_BUTTON_HEIGHT 12 #define MIN_BUTTON_SIZE MAP_APPFONT( MIN_BUTTON_WIDTH, MIN_BUTTON_HEIGHT ); DockingWindow FLT_WIN_ANIMATION { HelpID = CMD_SID_ANIMATION_OBJECTS ; Border = TRUE ; Hide = TRUE ; SVLook = TRUE ; Sizeable = TRUE ; Moveable = TRUE ; Closeable = TRUE ; Zoomable = TRUE ; Dockable = TRUE ; EnableResizing = TRUE ; Size = MAP_APPFONT ( 159 , 236 ) ; Text [ en-US ] = "Animation" ; Control CTL_DISPLAY { Border = TRUE ; Pos = MAP_APPFONT ( 6 , 6 ) ; Size = MAP_APPFONT ( 147 , 87 ) ; TabStop = TRUE ; }; ImageButton BTN_FIRST { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_FIRST"; Pos = MAP_APPFONT ( 6 , 100 ) ; Size = MIN_BUTTON_SIZE Symbol = IMAGEBUTTON_WINDSTART ; QuickHelpText [ en-US ] = "First Image" ; }; ImageButton BTN_REVERSE { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REVERSE"; Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH , 100 ) ; Size = MIN_BUTTON_SIZE Symbol = IMAGEBUTTON_REVERSEPLAY ; QuickHelpText [ en-US ] = "Backwards" ; }; ImageButton BTN_STOP { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_STOP"; Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 2 , 100 ) ; Size = MIN_BUTTON_SIZE Symbol = IMAGEBUTTON_STOP ; Disable = TRUE ; QuickHelpText [ en-US ] = "Stop" ; }; ImageButton BTN_PLAY { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_PLAY"; Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 3 , 100 ) ; Size = MIN_BUTTON_SIZE Symbol = IMAGEBUTTON_PLAY ; QuickHelpText [ en-US ] = "Play" ; }; ImageButton BTN_LAST { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_LAST"; Pos = MAP_APPFONT ( 6 + MIN_BUTTON_WIDTH * 4 , 100 ) ; Size = MIN_BUTTON_SIZE Symbol = IMAGEBUTTON_WINDEND ; QuickHelpText [ en-US ] = "Last Image" ; }; NumericField NUM_FLD_BITMAP { HelpID = "sd:NumericField:FLT_WIN_ANIMATION:NUM_FLD_BITMAP"; Border = TRUE ; Pos = MAP_APPFONT ( 6 + 3 + MIN_BUTTON_WIDTH * 5 , 100 ) ; Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 , 12 ) ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 1 ; Maximum = 999 ; StrictFormat = TRUE ; First = 1 ; Last = 999 ; SpinSize = 1 ; QuickHelpText [ en-US ] = "Image Number" ; }; TimeField TIME_FIELD { HelpID = "sd:TimeField:FLT_WIN_ANIMATION:TIME_FIELD"; Border = TRUE ; Pos = MAP_APPFONT ( 6 + 6 + MIN_BUTTON_WIDTH * 7 , 100 ) ; Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 + 3 , 12 ) ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; Maximum = Time { Second = 59 ; Sec100 = 99 ; }; Duration = TRUE ; StrictFormat = TRUE ; Last = Time { Second = 59 ; Sec100 = 99 ; }; QuickHelpText [ en-US ] = "Duration" ; }; ListBox LB_LOOP_COUNT { HelpID = "sd:ListBox:FLT_WIN_ANIMATION:LB_LOOP_COUNT"; Border = TRUE ; Pos = MAP_APPFONT ( 6 + 12 + MIN_BUTTON_WIDTH * 9 , 100 ) ; Size = MAP_APPFONT ( MIN_BUTTON_WIDTH * 2 + 3 , 100 ) ; TabStop = TRUE ; DropDown = TRUE ; StringList [ en-US ] = { < "1" ; > ; < "2" ; > ; < "3" ; > ; < "4" ; > ; < "5" ; > ; < "6" ; > ; < "7" ; > ; < "8" ; > ; < "9" ; > ; < "10" ; > ; < "12" ; > ; < "15" ; > ; < "20" ; > ; < "25" ; > ; < "50" ; > ; < "100" ; > ; < "500" ; > ; < "1000" ; > ; < "Max." ; > ; }; QuickHelpText [ en-US ] = "Loop Count" ; }; ImageButton BTN_GET_ONE_OBJECT { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_GET_ONE_OBJECT"; Pos = MAP_APPFONT ( 12 , 132 ) ; Size = MAP_APPFONT ( 16 , 14 ) ; ButtonImage = Image { ImageBitmap = Bitmap { File = "get1obj.bmp" ; }; MaskColor = IMAGE_MASK_STDCOLOR; }; TabStop = TRUE ; QuickHelpText [ en-US ] = "Apply Object" ; }; ImageButton BTN_GET_ALL_OBJECTS { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_GET_ALL_OBJECTS"; Pos = MAP_APPFONT ( 31 , 132 ) ; Size = MAP_APPFONT ( 16 , 14 ) ; ButtonImage = Image { ImageBitmap = Bitmap { File = "getallob.bmp" ; }; MaskColor = IMAGE_MASK_STDCOLOR; }; TabStop = TRUE ; QuickHelpText [ en-US ] = "Apply Objects Individually" ; }; ImageButton BTN_REMOVE_BITMAP { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REMOVE_BITMAP"; Pos = MAP_APPFONT ( 60 , 132 ) ; Size = MAP_APPFONT ( 16 , 14 ) ; ButtonImage = Image { ImageBitmap = Bitmap { File = "del1bmp.bmp" ; }; MaskColor = IMAGE_MASK_STDCOLOR; }; TabStop = TRUE ; QuickHelpText [ en-US ] = "Delete Current Image" ; }; ImageButton BTN_REMOVE_ALL { HelpID = "sd:ImageButton:FLT_WIN_ANIMATION:BTN_REMOVE_ALL"; Pos = MAP_APPFONT ( 79 , 132 ) ; Size = MAP_APPFONT ( 16 , 14 ) ; ButtonImage = Image { ImageBitmap = Bitmap { File = "delall.bmp" ; }; MaskColor = IMAGE_MASK_STDCOLOR; }; TabStop = TRUE ; QuickHelpText [ en-US ] = "Delete All Images" ; }; FixedText FT_COUNT { Pos = MAP_APPFONT ( 106 , 135 ) ; Size = MAP_APPFONT ( 26 , 10 ) ; Text [ en-US ] = "Number" ; }; FixedText FI_COUNT { Pos = MAP_APPFONT ( 133 , 135 ) ; Size = MAP_APPFONT ( 15 , 10 ) ; DeltaLang [ de ]= < Default ; Default ; Default ; Default ; > ; DeltaLang [ en-US ] = < 2 ; Default ; Default ; Default ; > ; Text = "67" ; }; FixedLine GRP_BITMAP { Pos = MAP_APPFONT ( 6 , 120 ) ; Size = MAP_APPFONT ( 147 , 8 ) ; Text [ en-US ] = "Image" ; }; RadioButton RBT_GROUP { HelpID = "sd:RadioButton:FLT_WIN_ANIMATION:RBT_GROUP"; Pos = MAP_APPFONT ( 12 , 167 ) ; Size = MAP_APPFONT ( 140 , 12 ) ; Text [ en-US ] = "Group object" ; }; RadioButton RBT_BITMAP { HelpID = "sd:RadioButton:FLT_WIN_ANIMATION:RBT_BITMAP"; Pos = MAP_APPFONT ( 12 , 181 ) ; Size = MAP_APPFONT ( 140 , 12 ) ; Text [ en-US ] = "Bitmap object" ; }; FixedText FT_ADJUSTMENT { Pos = MAP_APPFONT ( 12 , 198 ) ; Size = MAP_APPFONT ( 62 , 10 ) ; DeltaLang [ de ] = < Default ; Default ; Default ; Default ; > ; DeltaLang [ en-US ] = < -1 ; Default ; -2 ; Default ; > ; Text [ en-US ] = "Alignment" ; }; ListBox LB_ADJUSTMENT { HelpID = "sd:ListBox:FLT_WIN_ANIMATION:LB_ADJUSTMENT"; Border = TRUE ; Pos = MAP_APPFONT ( 75 , 196 ) ; Size = MAP_APPFONT ( 72 , 100 ) ; DeltaLang [ de ] = < Default ; Default ; Default ; Default ; > ; DeltaLang [ en-US ] = < -1 ; Default ; Default ; Default ; > ; TabStop = TRUE ; DropDown = TRUE ; StringList [ en-US ] = { < "Top Left" ; Default ; > ; < "Left" ; Default ; > ; < "Bottom Left" ; Default ; > ; < "Top" ; Default ; > ; < "Centered" ; Default ; > ; < "Bottom" ; Default ; > ; < "Top Right" ; Default ; > ; < "Right" ; Default ; > ; < "Bottom Right" ; Default ; > ; }; }; PushButton BTN_CREATE_GROUP { HelpID = "sd:PushButton:FLT_WIN_ANIMATION:BTN_CREATE_GROUP"; Pos = MAP_APPFONT ( 107 , 216 ) ; Size = MAP_APPFONT ( 41 , 14 ) ; TabStop = TRUE ; Text [ en-US ] = "Create" ; }; FixedLine GRP_ANIMATION_GROUP { Pos = MAP_APPFONT ( 6 , 155 ) ; Size = MAP_APPFONT ( 147 , 8 ) ; Text [ en-US ] = "Animation group" ; }; String STR_DISPLAY { Text [ en-US ] = "Preview"; }; };