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