2012-06-21 11:53:00 +01:00
|
|
|
/*
|
|
|
|
* 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 .
|
|
|
|
*/
|
2004-08-02 13:05:57 +00:00
|
|
|
|
|
|
|
#include "CustomAnimation.hrc"
|
|
|
|
#include "SlideTransitionPane.hrc"
|
2005-01-21 15:33:15 +00:00
|
|
|
#include "helpids.h"
|
2004-11-30 08:55:06 +00:00
|
|
|
#include <svtools/controldims.hrc>
|
|
|
|
|
|
|
|
// Note: Sizes of 1 usually mean they are auto-calculated
|
|
|
|
|
|
|
|
Control DLG_SLIDE_TRANSITION_PANE
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2004-11-30 08:55:06 +00:00
|
|
|
OutputSize = TRUE;
|
|
|
|
DialogControl = TRUE;
|
|
|
|
Size = MAP_APPFONT( 1, 1 );
|
|
|
|
|
2004-08-02 13:05:57 +00:00
|
|
|
Text [ en-US ] = "Slide Transition";
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
FixedLine FL_APPLY_TRANSITION
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2004-11-30 08:55:06 +00:00
|
|
|
Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT );
|
2004-08-02 13:05:57 +00:00
|
|
|
Text [ en-US ] = "Apply to selected slides";
|
|
|
|
};
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
ListBox LB_SLIDE_TRANSITIONS
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2005-01-21 15:33:15 +00:00
|
|
|
HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SLIDE_TRANSITIONS;
|
2004-11-30 08:55:06 +00:00
|
|
|
Border = TRUE ;
|
|
|
|
TabStop = TRUE ;
|
2005-03-18 15:47:01 +00:00
|
|
|
AutoHScroll = TRUE ;
|
2004-11-30 08:55:06 +00:00
|
|
|
|
|
|
|
Size = MAP_APPFONT( 1, 1 );
|
2004-08-02 13:05:57 +00:00
|
|
|
};
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
Fixedline FL_MODIFY_TRANSITION
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2004-11-30 08:55:06 +00:00
|
|
|
Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT );
|
|
|
|
Text [ en-US ] = "Modify transition";
|
2004-08-02 13:05:57 +00:00
|
|
|
};
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
FixedText FT_SPEED
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2004-11-30 08:55:06 +00:00
|
|
|
Size = MAP_APPFONT( 1, RSC_CD_FIXEDTEXT_HEIGHT );
|
2004-08-02 13:05:57 +00:00
|
|
|
Text [ en-US ] = "Speed";
|
|
|
|
};
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
ListBox LB_SPEED
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2005-01-21 15:33:15 +00:00
|
|
|
HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SPEED;
|
2004-11-30 08:55:06 +00:00
|
|
|
Border = TRUE ;
|
|
|
|
DropDown = TRUE ;
|
|
|
|
TabStop = TRUE ;
|
|
|
|
|
|
|
|
Size = MAP_APPFONT( 1, RSC_CD_DROPDOWN_HEIGHT );
|
2004-08-02 13:05:57 +00:00
|
|
|
StringList [ en-US ] =
|
|
|
|
{
|
|
|
|
< "Slow" ; > ;
|
|
|
|
< "Medium" ; > ;
|
|
|
|
< "Fast" ; > ;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
FixedText FT_SOUND
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2004-11-30 08:55:06 +00:00
|
|
|
Size = MAP_APPFONT( 1, RSC_CD_FIXEDTEXT_HEIGHT );
|
2004-08-02 13:05:57 +00:00
|
|
|
Text [ en-US ] = "Sound";
|
|
|
|
};
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
ListBox LB_SOUND
|
|
|
|
{
|
2005-01-21 15:33:15 +00:00
|
|
|
HelpId = HID_SD_SLIDETRANSITIONPANE_LB_SOUND;
|
2004-11-30 08:55:06 +00:00
|
|
|
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
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2005-01-21 15:33:15 +00:00
|
|
|
HelpId = HID_SD_SLIDETRANSITIONPANE_CB_LOOP_SOUND;
|
2004-11-30 08:55:06 +00:00
|
|
|
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 );
|
2004-08-02 13:05:57 +00:00
|
|
|
Text [ en-US ] = "Advance slide";
|
|
|
|
};
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
RadioButton RB_ADVANCE_ON_MOUSE
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2005-01-21 15:33:15 +00:00
|
|
|
HelpId = HID_SD_SLIDETRANSITIONPANE_RB_ADVANCE_ON_MOUSE;
|
2004-11-30 08:55:06 +00:00
|
|
|
Size = MAP_APPFONT( 1, RSC_CD_RADIOBUTTON_HEIGHT );
|
|
|
|
TabStop = TRUE ;
|
|
|
|
|
2004-08-02 13:05:57 +00:00
|
|
|
Text [ en-US ] = "On mouse click";
|
|
|
|
};
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
RadioButton RB_ADVANCE_AUTO
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2005-01-21 15:33:15 +00:00
|
|
|
HelpId = HID_SD_SLIDETRANSITIONPANE_RB_ADVANCE_AUTO;
|
2004-11-30 08:55:06 +00:00
|
|
|
Size = MAP_APPFONT( 1, RSC_CD_RADIOBUTTON_HEIGHT );
|
|
|
|
TabStop = TRUE ;
|
|
|
|
|
2004-08-02 13:05:57 +00:00
|
|
|
Text [ en-US ] = "Automatically after";
|
|
|
|
};
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
MetricField MF_ADVANCE_AUTO_AFTER
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2005-01-21 15:33:15 +00:00
|
|
|
HelpId = HID_SD_SLIDETRANSITIONPANE_MF_ADVANCE_AUTO_AFTER;
|
2004-11-30 08:55:06 +00:00
|
|
|
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 ;
|
2004-08-02 13:05:57 +00:00
|
|
|
CustomUnitText [ en-US ] = "sec";
|
|
|
|
};
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
FixedLine FL_EMPTY1
|
|
|
|
{
|
|
|
|
Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT );
|
|
|
|
};
|
|
|
|
|
|
|
|
PushButton PB_APPLY_TO_ALL
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2005-01-21 15:33:15 +00:00
|
|
|
HelpId = HID_SD_SLIDETRANSITIONPANE_PB_APPLY_TO_ALL;
|
2004-11-30 08:55:06 +00:00
|
|
|
Size = MAP_APPFONT( 1, RSC_CD_PUSHBUTTON_HEIGHT );
|
|
|
|
TabStop = TRUE ;
|
|
|
|
|
2004-08-02 13:05:57 +00:00
|
|
|
Text [ en-US ] = "Apply to All Slides";
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
PushButton PB_PLAY
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2005-01-21 15:33:15 +00:00
|
|
|
HelpId = HID_SD_SLIDETRANSITIONPANE_PB_PLAY;
|
2004-11-30 08:55:06 +00:00
|
|
|
Size = MAP_APPFONT( 1, RSC_CD_PUSHBUTTON_HEIGHT );
|
|
|
|
TabStop = TRUE ;
|
|
|
|
|
2004-08-02 13:05:57 +00:00
|
|
|
Text [ en-US ] = "Play";
|
|
|
|
};
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
PushButton PB_SLIDE_SHOW
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2005-01-21 15:33:15 +00:00
|
|
|
HelpId = HID_SD_SLIDETRANSITIONPANE_PB_SLIDE_SHOW;
|
2004-11-30 08:55:06 +00:00
|
|
|
Size = MAP_APPFONT( 1, RSC_CD_PUSHBUTTON_HEIGHT );
|
|
|
|
TabStop = TRUE ;
|
|
|
|
|
2004-08-02 13:05:57 +00:00
|
|
|
Text [ en-US ] = "Slide Show";
|
|
|
|
};
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
FixedLine FL_EMPTY2
|
|
|
|
{
|
|
|
|
Size = MAP_APPFONT( 1, RSC_CD_FIXEDLINE_HEIGHT );
|
|
|
|
};
|
|
|
|
|
|
|
|
Checkbox CB_AUTO_PREVIEW
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
2005-01-21 15:33:15 +00:00
|
|
|
HelpId = HID_SD_SLIDETRANSITIONPANE_CB_AUTO_PREVIEW;
|
2004-11-30 08:55:06 +00:00
|
|
|
Size = MAP_APPFONT( 1, RSC_CD_CHECKBOX_HEIGHT );
|
|
|
|
TabStop = TRUE ;
|
|
|
|
|
|
|
|
Text [ en-US ] = "Automatic preview";
|
2004-08-02 13:05:57 +00:00
|
|
|
};
|
|
|
|
|
2004-11-30 08:55:06 +00:00
|
|
|
// --------------------
|
|
|
|
|
|
|
|
String STR_NO_TRANSITION
|
2004-08-02 13:05:57 +00:00
|
|
|
{
|
|
|
|
Text [ en-US ] = "No Transition";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|