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