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
|
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "CustomAnimation.hrc"
#include "SlideTransitionPane.hrc"
#include "helpids.h"
#include <svtools/controldims.hrc>
// 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";
};
};
|