xref: /trunk/main/sd/source/ui/animations/SlideTransitionPane.src (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include "CustomAnimation.hrc"
29#include "SlideTransitionPane.hrc"
30#include "helpids.h"
31
32#ifndef _SVT_CONTROLDIMS_HRC_
33#include <svtools/controldims.hrc>
34#endif
35
36// Note: Sizes of 1 usually mean they are auto-calculated
37
38Control DLG_SLIDE_TRANSITION_PANE
39{
40    OutputSize = TRUE;
41    DialogControl = TRUE;
42    Size = MAP_APPFONT( 1, 1 );
43
44    Text [ en-US ] = "Slide Transition";
45
46    FixedLine FL_APPLY_TRANSITION
47    {
48        Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT );
49        Text [ en-US ] = "Apply to selected slides";
50    };
51
52    ListBox LB_SLIDE_TRANSITIONS
53    {
54        HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SLIDE_TRANSITIONS;
55        Border = TRUE ;
56        TabStop = TRUE ;
57        AutoHScroll = TRUE ;
58
59        Size = MAP_APPFONT( 1, 1 );
60    };
61
62    Fixedline FL_MODIFY_TRANSITION
63    {
64        Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT );
65        Text [ en-US ] = "Modify transition";
66    };
67
68    FixedText FT_SPEED
69    {
70        Size = MAP_APPFONT( 1, RSC_CD_FIXEDTEXT_HEIGHT );
71        Text [ en-US ] = "Speed";
72    };
73
74    ListBox LB_SPEED
75    {
76        HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SPEED;
77        Border = TRUE ;
78        DropDown = TRUE ;
79        TabStop = TRUE ;
80
81        Size = MAP_APPFONT( 1, RSC_CD_DROPDOWN_HEIGHT );
82        StringList [ en-US ] =
83        {
84            < "Slow" ; > ;
85            < "Medium" ; > ;
86            < "Fast" ; > ;
87        };
88    };
89
90    FixedText FT_SOUND
91    {
92        Size = MAP_APPFONT( 1, RSC_CD_FIXEDTEXT_HEIGHT );
93        Text [ en-US ] = "Sound";
94    };
95
96    ListBox LB_SOUND
97    {
98        HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SOUND;
99        Border = TRUE ;
100        DropDown = TRUE ;
101        TabStop = TRUE ;
102
103        Size = MAP_APPFONT( 1, RSC_CD_DROPDOWN_HEIGHT );
104
105        StringList [ en-US ] =
106        {
107            < "<No Sound>" ; > ;
108            < "<Stop Previous Sound>" ; > ;
109            < "Other Sound..." ; > ;
110        };
111    };
112
113    Checkbox CB_LOOP_SOUND
114    {
115        HelpId = HID_SD_SLIDETRANSITIONPANE_CB_LOOP_SOUND;
116        Size = MAP_APPFONT( 1, RSC_CD_CHECKBOX_HEIGHT );
117        TabStop = TRUE ;
118
119        Text [ en-US ] = "Loop until next sound";
120    };
121
122    Fixedline FL_ADVANCE_SLIDE
123    {
124        Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT );
125        Text [ en-US ] = "Advance slide";
126    };
127
128    RadioButton RB_ADVANCE_ON_MOUSE
129    {
130        HelpId = HID_SD_SLIDETRANSITIONPANE_RB_ADVANCE_ON_MOUSE;
131        Size = MAP_APPFONT( 1, RSC_CD_RADIOBUTTON_HEIGHT );
132        TabStop = TRUE ;
133
134        Text [ en-US ] = "On mouse click";
135    };
136
137    RadioButton RB_ADVANCE_AUTO
138    {
139        HelpId = HID_SD_SLIDETRANSITIONPANE_RB_ADVANCE_AUTO;
140        Size = MAP_APPFONT( 1, RSC_CD_RADIOBUTTON_HEIGHT );
141        TabStop = TRUE ;
142
143        Text [ en-US ] = "Automatically after";
144    };
145
146    MetricField MF_ADVANCE_AUTO_AFTER
147    {
148        HelpId = HID_SD_SLIDETRANSITIONPANE_MF_ADVANCE_AUTO_AFTER;
149        Size = MAP_APPFONT( 1, RSC_CD_TEXTBOX_HEIGHT );
150
151        Border = TRUE ;
152        TabStop = TRUE ;
153        Repeat = TRUE ;
154        Spin = TRUE ;
155        Minimum = 0 ;
156        Maximum = 999 ;
157        // decimal digits should be 1, but for now the model only supports whole seconds
158        DecimalDigits = 0 ;
159        // spin size (increment value) should be 5 if digits are 1
160        SpinSize = 1 ;
161
162        Unit = FUNIT_CUSTOM ;
163        CustomUnitText [ en-US ] = "sec";
164    };
165
166    FixedLine FL_EMPTY1
167    {
168        Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT );
169    };
170
171    PushButton PB_APPLY_TO_ALL
172    {
173        HelpId = HID_SD_SLIDETRANSITIONPANE_PB_APPLY_TO_ALL;
174        Size = MAP_APPFONT( 1, RSC_CD_PUSHBUTTON_HEIGHT );
175        TabStop = TRUE ;
176
177        Text [ en-US ] = "Apply to All Slides";
178    };
179
180
181    PushButton PB_PLAY
182    {
183        HelpId = HID_SD_SLIDETRANSITIONPANE_PB_PLAY;
184        Size = MAP_APPFONT( 1, RSC_CD_PUSHBUTTON_HEIGHT );
185        TabStop = TRUE ;
186
187        Text [ en-US ] = "Play";
188    };
189
190    PushButton PB_SLIDE_SHOW
191    {
192        HelpId = HID_SD_SLIDETRANSITIONPANE_PB_SLIDE_SHOW;
193        Size = MAP_APPFONT( 1, RSC_CD_PUSHBUTTON_HEIGHT );
194        TabStop = TRUE ;
195
196        Text [ en-US ] = "Slide Show";
197    };
198
199    FixedLine FL_EMPTY2
200    {
201        Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT );
202    };
203
204    Checkbox CB_AUTO_PREVIEW
205    {
206        HelpId = HID_SD_SLIDETRANSITIONPANE_CB_AUTO_PREVIEW;
207        Size = MAP_APPFONT( 1, RSC_CD_CHECKBOX_HEIGHT );
208        TabStop = TRUE ;
209
210        Text [ en-US ] = "Automatic preview";
211    };
212
213    // --------------------
214
215    String STR_NO_TRANSITION
216    {
217        Text [ en-US ] = "No Transition";
218    };
219};
220
221