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 "CustomAnimation.hrc" 29*cdf0e10cSrcweir#include "SlideTransitionPane.hrc" 30*cdf0e10cSrcweir#include "helpids.h" 31*cdf0e10cSrcweir 32*cdf0e10cSrcweir#ifndef _SVT_CONTROLDIMS_HRC_ 33*cdf0e10cSrcweir#include <svtools/controldims.hrc> 34*cdf0e10cSrcweir#endif 35*cdf0e10cSrcweir 36*cdf0e10cSrcweir// Note: Sizes of 1 usually mean they are auto-calculated 37*cdf0e10cSrcweir 38*cdf0e10cSrcweirControl DLG_SLIDE_TRANSITION_PANE 39*cdf0e10cSrcweir{ 40*cdf0e10cSrcweir OutputSize = TRUE; 41*cdf0e10cSrcweir DialogControl = TRUE; 42*cdf0e10cSrcweir Size = MAP_APPFONT( 1, 1 ); 43*cdf0e10cSrcweir 44*cdf0e10cSrcweir Text [ en-US ] = "Slide Transition"; 45*cdf0e10cSrcweir 46*cdf0e10cSrcweir FixedLine FL_APPLY_TRANSITION 47*cdf0e10cSrcweir { 48*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT ); 49*cdf0e10cSrcweir Text [ en-US ] = "Apply to selected slides"; 50*cdf0e10cSrcweir }; 51*cdf0e10cSrcweir 52*cdf0e10cSrcweir ListBox LB_SLIDE_TRANSITIONS 53*cdf0e10cSrcweir { 54*cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SLIDE_TRANSITIONS; 55*cdf0e10cSrcweir Border = TRUE ; 56*cdf0e10cSrcweir TabStop = TRUE ; 57*cdf0e10cSrcweir AutoHScroll = TRUE ; 58*cdf0e10cSrcweir 59*cdf0e10cSrcweir Size = MAP_APPFONT( 1, 1 ); 60*cdf0e10cSrcweir }; 61*cdf0e10cSrcweir 62*cdf0e10cSrcweir Fixedline FL_MODIFY_TRANSITION 63*cdf0e10cSrcweir { 64*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT ); 65*cdf0e10cSrcweir Text [ en-US ] = "Modify transition"; 66*cdf0e10cSrcweir }; 67*cdf0e10cSrcweir 68*cdf0e10cSrcweir FixedText FT_SPEED 69*cdf0e10cSrcweir { 70*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_FIXEDTEXT_HEIGHT ); 71*cdf0e10cSrcweir Text [ en-US ] = "Speed"; 72*cdf0e10cSrcweir }; 73*cdf0e10cSrcweir 74*cdf0e10cSrcweir ListBox LB_SPEED 75*cdf0e10cSrcweir { 76*cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SPEED; 77*cdf0e10cSrcweir Border = TRUE ; 78*cdf0e10cSrcweir DropDown = TRUE ; 79*cdf0e10cSrcweir TabStop = TRUE ; 80*cdf0e10cSrcweir 81*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_DROPDOWN_HEIGHT ); 82*cdf0e10cSrcweir StringList [ en-US ] = 83*cdf0e10cSrcweir { 84*cdf0e10cSrcweir < "Slow" ; > ; 85*cdf0e10cSrcweir < "Medium" ; > ; 86*cdf0e10cSrcweir < "Fast" ; > ; 87*cdf0e10cSrcweir }; 88*cdf0e10cSrcweir }; 89*cdf0e10cSrcweir 90*cdf0e10cSrcweir FixedText FT_SOUND 91*cdf0e10cSrcweir { 92*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_FIXEDTEXT_HEIGHT ); 93*cdf0e10cSrcweir Text [ en-US ] = "Sound"; 94*cdf0e10cSrcweir }; 95*cdf0e10cSrcweir 96*cdf0e10cSrcweir ListBox LB_SOUND 97*cdf0e10cSrcweir { 98*cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SOUND; 99*cdf0e10cSrcweir Border = TRUE ; 100*cdf0e10cSrcweir DropDown = TRUE ; 101*cdf0e10cSrcweir TabStop = TRUE ; 102*cdf0e10cSrcweir 103*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_DROPDOWN_HEIGHT ); 104*cdf0e10cSrcweir 105*cdf0e10cSrcweir StringList [ en-US ] = 106*cdf0e10cSrcweir { 107*cdf0e10cSrcweir < "<No Sound>" ; > ; 108*cdf0e10cSrcweir < "<Stop Previous Sound>" ; > ; 109*cdf0e10cSrcweir < "Other Sound..." ; > ; 110*cdf0e10cSrcweir }; 111*cdf0e10cSrcweir }; 112*cdf0e10cSrcweir 113*cdf0e10cSrcweir Checkbox CB_LOOP_SOUND 114*cdf0e10cSrcweir { 115*cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_CB_LOOP_SOUND; 116*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_CHECKBOX_HEIGHT ); 117*cdf0e10cSrcweir TabStop = TRUE ; 118*cdf0e10cSrcweir 119*cdf0e10cSrcweir Text [ en-US ] = "Loop until next sound"; 120*cdf0e10cSrcweir }; 121*cdf0e10cSrcweir 122*cdf0e10cSrcweir Fixedline FL_ADVANCE_SLIDE 123*cdf0e10cSrcweir { 124*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT ); 125*cdf0e10cSrcweir Text [ en-US ] = "Advance slide"; 126*cdf0e10cSrcweir }; 127*cdf0e10cSrcweir 128*cdf0e10cSrcweir RadioButton RB_ADVANCE_ON_MOUSE 129*cdf0e10cSrcweir { 130*cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_RB_ADVANCE_ON_MOUSE; 131*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_RADIOBUTTON_HEIGHT ); 132*cdf0e10cSrcweir TabStop = TRUE ; 133*cdf0e10cSrcweir 134*cdf0e10cSrcweir Text [ en-US ] = "On mouse click"; 135*cdf0e10cSrcweir }; 136*cdf0e10cSrcweir 137*cdf0e10cSrcweir RadioButton RB_ADVANCE_AUTO 138*cdf0e10cSrcweir { 139*cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_RB_ADVANCE_AUTO; 140*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_RADIOBUTTON_HEIGHT ); 141*cdf0e10cSrcweir TabStop = TRUE ; 142*cdf0e10cSrcweir 143*cdf0e10cSrcweir Text [ en-US ] = "Automatically after"; 144*cdf0e10cSrcweir }; 145*cdf0e10cSrcweir 146*cdf0e10cSrcweir MetricField MF_ADVANCE_AUTO_AFTER 147*cdf0e10cSrcweir { 148*cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_MF_ADVANCE_AUTO_AFTER; 149*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_TEXTBOX_HEIGHT ); 150*cdf0e10cSrcweir 151*cdf0e10cSrcweir Border = TRUE ; 152*cdf0e10cSrcweir TabStop = TRUE ; 153*cdf0e10cSrcweir Repeat = TRUE ; 154*cdf0e10cSrcweir Spin = TRUE ; 155*cdf0e10cSrcweir Minimum = 0 ; 156*cdf0e10cSrcweir Maximum = 999 ; 157*cdf0e10cSrcweir // decimal digits should be 1, but for now the model only supports whole seconds 158*cdf0e10cSrcweir DecimalDigits = 0 ; 159*cdf0e10cSrcweir // spin size (increment value) should be 5 if digits are 1 160*cdf0e10cSrcweir SpinSize = 1 ; 161*cdf0e10cSrcweir 162*cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 163*cdf0e10cSrcweir CustomUnitText [ en-US ] = "sec"; 164*cdf0e10cSrcweir }; 165*cdf0e10cSrcweir 166*cdf0e10cSrcweir FixedLine FL_EMPTY1 167*cdf0e10cSrcweir { 168*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT ); 169*cdf0e10cSrcweir }; 170*cdf0e10cSrcweir 171*cdf0e10cSrcweir PushButton PB_APPLY_TO_ALL 172*cdf0e10cSrcweir { 173*cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_PB_APPLY_TO_ALL; 174*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_PUSHBUTTON_HEIGHT ); 175*cdf0e10cSrcweir TabStop = TRUE ; 176*cdf0e10cSrcweir 177*cdf0e10cSrcweir Text [ en-US ] = "Apply to All Slides"; 178*cdf0e10cSrcweir }; 179*cdf0e10cSrcweir 180*cdf0e10cSrcweir 181*cdf0e10cSrcweir PushButton PB_PLAY 182*cdf0e10cSrcweir { 183*cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_PB_PLAY; 184*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_PUSHBUTTON_HEIGHT ); 185*cdf0e10cSrcweir TabStop = TRUE ; 186*cdf0e10cSrcweir 187*cdf0e10cSrcweir Text [ en-US ] = "Play"; 188*cdf0e10cSrcweir }; 189*cdf0e10cSrcweir 190*cdf0e10cSrcweir PushButton PB_SLIDE_SHOW 191*cdf0e10cSrcweir { 192*cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_PB_SLIDE_SHOW; 193*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_PUSHBUTTON_HEIGHT ); 194*cdf0e10cSrcweir TabStop = TRUE ; 195*cdf0e10cSrcweir 196*cdf0e10cSrcweir Text [ en-US ] = "Slide Show"; 197*cdf0e10cSrcweir }; 198*cdf0e10cSrcweir 199*cdf0e10cSrcweir FixedLine FL_EMPTY2 200*cdf0e10cSrcweir { 201*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT ); 202*cdf0e10cSrcweir }; 203*cdf0e10cSrcweir 204*cdf0e10cSrcweir Checkbox CB_AUTO_PREVIEW 205*cdf0e10cSrcweir { 206*cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_CB_AUTO_PREVIEW; 207*cdf0e10cSrcweir Size = MAP_APPFONT( 1, RSC_CD_CHECKBOX_HEIGHT ); 208*cdf0e10cSrcweir TabStop = TRUE ; 209*cdf0e10cSrcweir 210*cdf0e10cSrcweir Text [ en-US ] = "Automatic preview"; 211*cdf0e10cSrcweir }; 212*cdf0e10cSrcweir 213*cdf0e10cSrcweir // -------------------- 214*cdf0e10cSrcweir 215*cdf0e10cSrcweir String STR_NO_TRANSITION 216*cdf0e10cSrcweir { 217*cdf0e10cSrcweir Text [ en-US ] = "No Transition"; 218*cdf0e10cSrcweir }; 219*cdf0e10cSrcweir}; 220*cdf0e10cSrcweir 221