Files
loongoffice/sd/source/ui/animations/SlideTransitionPane.src
Cao Cuong Ngo 2c82e5d304 fdo#59071 Slideshow: allow automatic transitions with sub-second
Enable slide transition each 0.25 second instead of whole second.

Change-Id: I1907a1baf30cede91a0438d021e003204ea06651
2013-04-05 13:05:42 +02:00

211 lines
5.4 KiB
Plaintext

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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 ] = "S~peed";
};
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 ] = "So~und";
};
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 ] = "O~n 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 = 9999 ;
// fdo#59071, enable slide auto transition of 0.25 second
DecimalDigits = 2 ;
// spin size (increment value), each 0.25 second
SpinSize = 25 ;
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 ] = "A~pply 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 ] = "P~lay";
};
PushButton PB_SLIDE_SHOW
{
HelpId = HID_SD_SLIDETRANSITIONPANE_PB_SLIDE_SHOW;
Size = MAP_APPFONT( 1, RSC_CD_PUSHBUTTON_HEIGHT );
TabStop = TRUE ;
Text [ en-US ] = "Sli~de 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 p~review";
};
// --------------------
String STR_NO_TRANSITION
{
Text [ en-US ] = "No Transition";
};
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */