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