166220049SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 366220049SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 466220049SAndrew Rist * or more contributor license agreements. See the NOTICE file 566220049SAndrew Rist * distributed with this work for additional information 666220049SAndrew Rist * regarding copyright ownership. The ASF licenses this file 766220049SAndrew Rist * to you under the Apache License, Version 2.0 (the 866220049SAndrew Rist * "License"); you may not use this file except in compliance 966220049SAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 1166220049SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 1366220049SAndrew Rist * Unless required by applicable law or agreed to in writing, 1466220049SAndrew Rist * software distributed under the License is distributed on an 1566220049SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1666220049SAndrew Rist * KIND, either express or implied. See the License for the 1766220049SAndrew Rist * specific language governing permissions and limitations 1866220049SAndrew Rist * under the License. 19cdf0e10cSrcweir * 2066220049SAndrew Rist *************************************************************/ 2166220049SAndrew Rist 22cdf0e10cSrcweir#include "CustomAnimation.hrc" 23cdf0e10cSrcweir#include "SlideTransitionPane.hrc" 24cdf0e10cSrcweir#include "helpids.h" 25cdf0e10cSrcweir 26cdf0e10cSrcweir#ifndef _SVT_CONTROLDIMS_HRC_ 27cdf0e10cSrcweir#include <svtools/controldims.hrc> 28cdf0e10cSrcweir#endif 29cdf0e10cSrcweir 30*26490e24Smseidel// Note: Sizes of 1 usually means they are auto-calculated 31cdf0e10cSrcweir 32cdf0e10cSrcweirControl DLG_SLIDE_TRANSITION_PANE 33cdf0e10cSrcweir{ 34cdf0e10cSrcweir OutputSize = TRUE ; 35cdf0e10cSrcweir DialogControl = TRUE ; 36cdf0e10cSrcweir Size = MAP_APPFONT ( 1, 1 ) ; 37cdf0e10cSrcweir 38cdf0e10cSrcweir Text [ en-US ] = "Slide Transition" ; 39cdf0e10cSrcweir 40cdf0e10cSrcweir FixedLine FL_APPLY_TRANSITION 41cdf0e10cSrcweir { 42cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_FIXEDLINE_HEIGHT ) ; 43cdf0e10cSrcweir Text [ en-US ] = "Apply to selected slides" ; 44cdf0e10cSrcweir }; 45cdf0e10cSrcweir 46cdf0e10cSrcweir ListBox LB_SLIDE_TRANSITIONS 47cdf0e10cSrcweir { 48cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SLIDE_TRANSITIONS ; 49cdf0e10cSrcweir Border = TRUE ; 50cdf0e10cSrcweir TabStop = TRUE ; 51cdf0e10cSrcweir AutoHScroll = TRUE ; 52cdf0e10cSrcweir 53cdf0e10cSrcweir Size = MAP_APPFONT ( 1, 1 ) ; 54cdf0e10cSrcweir }; 55cdf0e10cSrcweir 56cdf0e10cSrcweir Fixedline FL_MODIFY_TRANSITION 57cdf0e10cSrcweir { 58cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_FIXEDLINE_HEIGHT ) ; 59cdf0e10cSrcweir Text [ en-US ] = "Modify transition" ; 60cdf0e10cSrcweir }; 61cdf0e10cSrcweir 62cdf0e10cSrcweir FixedText FT_SPEED 63cdf0e10cSrcweir { 64cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_FIXEDTEXT_HEIGHT ) ; 65cdf0e10cSrcweir Text [ en-US ] = "Speed" ; 66cdf0e10cSrcweir }; 67cdf0e10cSrcweir 68cdf0e10cSrcweir ListBox LB_SPEED 69cdf0e10cSrcweir { 70cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SPEED ; 71cdf0e10cSrcweir Border = TRUE ; 72cdf0e10cSrcweir DropDown = TRUE ; 73cdf0e10cSrcweir TabStop = TRUE ; 74cdf0e10cSrcweir 75cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_DROPDOWN_HEIGHT ) ; 76cdf0e10cSrcweir StringList [ en-US ] = 77cdf0e10cSrcweir { 78cdf0e10cSrcweir < "Slow" ; > ; 79cdf0e10cSrcweir < "Medium" ; > ; 80cdf0e10cSrcweir < "Fast" ; > ; 81cdf0e10cSrcweir }; 82cdf0e10cSrcweir }; 83cdf0e10cSrcweir 84cdf0e10cSrcweir FixedText FT_SOUND 85cdf0e10cSrcweir { 86cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_FIXEDTEXT_HEIGHT ) ; 87cdf0e10cSrcweir Text [ en-US ] = "Sound" ; 88cdf0e10cSrcweir }; 89cdf0e10cSrcweir 90cdf0e10cSrcweir ListBox LB_SOUND 91cdf0e10cSrcweir { 92cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SOUND ; 93cdf0e10cSrcweir Border = TRUE ; 94cdf0e10cSrcweir DropDown = TRUE ; 95cdf0e10cSrcweir TabStop = TRUE ; 96cdf0e10cSrcweir 97cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_DROPDOWN_HEIGHT ) ; 98cdf0e10cSrcweir 99cdf0e10cSrcweir StringList [ en-US ] = 100cdf0e10cSrcweir { 101cdf0e10cSrcweir < "<No Sound>" ; > ; 102cdf0e10cSrcweir < "<Stop Previous Sound>" ; > ; 103cdf0e10cSrcweir < "Other Sound..." ; > ; 104cdf0e10cSrcweir }; 105cdf0e10cSrcweir }; 106cdf0e10cSrcweir 107cdf0e10cSrcweir Checkbox CB_LOOP_SOUND 108cdf0e10cSrcweir { 109cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_CB_LOOP_SOUND ; 110cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_CHECKBOX_HEIGHT ) ; 111cdf0e10cSrcweir TabStop = TRUE ; 112cdf0e10cSrcweir 113cdf0e10cSrcweir Text [ en-US ] = "Loop until next sound" ; 114cdf0e10cSrcweir }; 115cdf0e10cSrcweir 116cdf0e10cSrcweir Fixedline FL_ADVANCE_SLIDE 117cdf0e10cSrcweir { 118cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_FIXEDLINE_HEIGHT ) ; 119cdf0e10cSrcweir Text [ en-US ] = "Advance slide" ; 120cdf0e10cSrcweir }; 121cdf0e10cSrcweir 122cdf0e10cSrcweir RadioButton RB_ADVANCE_ON_MOUSE 123cdf0e10cSrcweir { 124cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_RB_ADVANCE_ON_MOUSE ; 125cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_RADIOBUTTON_HEIGHT ) ; 126cdf0e10cSrcweir TabStop = TRUE ; 127cdf0e10cSrcweir 128cdf0e10cSrcweir Text [ en-US ] = "On mouse click" ; 129cdf0e10cSrcweir }; 130cdf0e10cSrcweir 131cdf0e10cSrcweir RadioButton RB_ADVANCE_AUTO 132cdf0e10cSrcweir { 133cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_RB_ADVANCE_AUTO ; 134cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_RADIOBUTTON_HEIGHT ) ; 135cdf0e10cSrcweir TabStop = TRUE ; 136cdf0e10cSrcweir 137cdf0e10cSrcweir Text [ en-US ] = "Automatically after" ; 138cdf0e10cSrcweir }; 139cdf0e10cSrcweir 140cdf0e10cSrcweir MetricField MF_ADVANCE_AUTO_AFTER 141cdf0e10cSrcweir { 142cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_MF_ADVANCE_AUTO_AFTER ; 143cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_TEXTBOX_HEIGHT ) ; 144cdf0e10cSrcweir 145cdf0e10cSrcweir Border = TRUE ; 146cdf0e10cSrcweir TabStop = TRUE ; 147cdf0e10cSrcweir Repeat = TRUE ; 148cdf0e10cSrcweir Spin = TRUE ; 149cdf0e10cSrcweir Minimum = 0 ; 150cdf0e10cSrcweir Maximum = 999 ; 151cdf0e10cSrcweir // decimal digits should be 1, but for now the model only supports whole seconds 152cdf0e10cSrcweir DecimalDigits = 0 ; 153cdf0e10cSrcweir // spin size (increment value) should be 5 if digits are 1 154cdf0e10cSrcweir SpinSize = 1 ; 155cdf0e10cSrcweir 156cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 157cdf0e10cSrcweir CustomUnitText [ en-US ] = " sec" ; 158cdf0e10cSrcweir }; 159cdf0e10cSrcweir 160cdf0e10cSrcweir FixedLine FL_EMPTY1 161cdf0e10cSrcweir { 162cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_FIXEDLINE_HEIGHT ) ; 163cdf0e10cSrcweir }; 164cdf0e10cSrcweir 165cdf0e10cSrcweir PushButton PB_APPLY_TO_ALL 166cdf0e10cSrcweir { 167cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_PB_APPLY_TO_ALL ; 168cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_PUSHBUTTON_HEIGHT ) ; 169cdf0e10cSrcweir TabStop = TRUE ; 170cdf0e10cSrcweir 171cdf0e10cSrcweir Text [ en-US ] = "Apply to All Slides" ; 172cdf0e10cSrcweir }; 173cdf0e10cSrcweir 174cdf0e10cSrcweir 175cdf0e10cSrcweir PushButton PB_PLAY 176cdf0e10cSrcweir { 177cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_PB_PLAY ; 178cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_PUSHBUTTON_HEIGHT ) ; 179cdf0e10cSrcweir TabStop = TRUE ; 180cdf0e10cSrcweir 181cdf0e10cSrcweir Text [ en-US ] = "Play" ; 182cdf0e10cSrcweir }; 183cdf0e10cSrcweir 184cdf0e10cSrcweir PushButton PB_SLIDE_SHOW 185cdf0e10cSrcweir { 186cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_PB_SLIDE_SHOW ; 187cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_PUSHBUTTON_HEIGHT ) ; 188cdf0e10cSrcweir TabStop = TRUE ; 189cdf0e10cSrcweir 190cdf0e10cSrcweir Text [ en-US ] = "Slide Show" ; 191cdf0e10cSrcweir }; 192cdf0e10cSrcweir 193cdf0e10cSrcweir FixedLine FL_EMPTY2 194cdf0e10cSrcweir { 195cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_FIXEDLINE_HEIGHT ) ; 196cdf0e10cSrcweir }; 197cdf0e10cSrcweir 198cdf0e10cSrcweir Checkbox CB_AUTO_PREVIEW 199cdf0e10cSrcweir { 200cdf0e10cSrcweir HelpId = HID_SD_SLIDETRANSITIONPANE_CB_AUTO_PREVIEW ; 201cdf0e10cSrcweir Size = MAP_APPFONT ( 1, RSC_CD_CHECKBOX_HEIGHT ) ; 202cdf0e10cSrcweir TabStop = TRUE ; 203cdf0e10cSrcweir 204cdf0e10cSrcweir Text [ en-US ] = "Automatic preview" ; 205cdf0e10cSrcweir }; 206cdf0e10cSrcweir 207cdf0e10cSrcweir // -------------------- 208cdf0e10cSrcweir 209cdf0e10cSrcweir String STR_NO_TRANSITION 210cdf0e10cSrcweir { 211cdf0e10cSrcweir Text [ en-US ] = "No Transition" ; 212cdf0e10cSrcweir }; 213cdf0e10cSrcweir}; 214cdf0e10cSrcweir 215*26490e24Smseidel// ********************************************************************** EOF 216