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