LibreOffice Module oox (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
oox::ppt::SlideTransition Class Reference

#include <slidetransition.hxx>

Public Member Functions

 SlideTransition ()
 
 SlideTransition (std::u16string_view)
 
void setSlideProperties (PropertyMap &props)
 
void setTransitionFilterProperties (const css::uno::Reference< css::animations::XTransitionFilter > &xFilter)
 
void setOoxTransitionSpeed (sal_Int32 nToken)
 Set one of standard values for slide transition duration. More...
 
void setOoxTransitionSpeed (double fDuration)
 Set slide transition time directly. More...
 
void setMode (bool bMode)
 
void setOoxAdvanceTime (sal_Int32 nAdvanceTime)
 
void setOoxTransitionType (::sal_Int32 OoxType, ::sal_Int32 param1, ::sal_Int32 param2)
 
void setPresetTransition (std::u16string_view sPresetTransition)
 

Static Public Member Functions

static sal_Int16 ooxToOdpDirection (::sal_Int32 nOoxType)
 
static sal_Int16 ooxToOdpEightDirections (::sal_Int32 nOoxType)
 
static sal_Int16 ooxToOdpCornerDirections (::sal_Int32 nOoxType)
 
static sal_Int16 ooxToOdpBorderDirections (::sal_Int32 nOoxType)
 
static sal_Int16 ooxToOdpSideDirections (::sal_Int32 nOoxType)
 
static bool ooxToOdpSideDirectionsDirectionNormal (::sal_Int32 nOoxType)
 

Private Attributes

::sal_Int16 mnTransitionType
 
::sal_Int16 mnTransitionSubType
 
bool mbTransitionDirectionNormal
 
css::presentation::AnimationSpeed mnAnimationSpeed
 
double mfTransitionDurationInSeconds
 
bool mbMode
 https://api.libreoffice.org/docs/common/ref/com/sun/star/animations/XTransitionFilter.html Mode property More...
 
::sal_Int32 mnAdvanceTime
 
::sal_Int32 mnTransitionFadeColor
 

Detailed Description

Definition at line 37 of file slidetransition.hxx.

Constructor & Destructor Documentation

◆ SlideTransition() [1/2]

oox::ppt::SlideTransition::SlideTransition ( )

◆ SlideTransition() [2/2]

oox::ppt::SlideTransition::SlideTransition ( std::u16string_view  sFilterName)
explicit

Member Function Documentation

◆ ooxToOdpBorderDirections()

sal_Int16 oox::ppt::SlideTransition::ooxToOdpBorderDirections ( ::sal_Int32  nOoxType)
static

Definition at line 159 of file slidetransition.cxx.

Referenced by ooxToOdpEightDirections(), and setOoxTransitionType().

◆ ooxToOdpCornerDirections()

sal_Int16 oox::ppt::SlideTransition::ooxToOdpCornerDirections ( ::sal_Int32  nOoxType)
static

Definition at line 216 of file slidetransition.cxx.

Referenced by ooxToOdpEightDirections(), and setOoxTransitionType().

◆ ooxToOdpDirection()

sal_Int16 oox::ppt::SlideTransition::ooxToOdpDirection ( ::sal_Int32  nOoxType)
static

Definition at line 240 of file slidetransition.cxx.

Referenced by setOoxTransitionType().

◆ ooxToOdpEightDirections()

sal_Int16 oox::ppt::SlideTransition::ooxToOdpEightDirections ( ::sal_Int32  nOoxType)
static

Definition at line 148 of file slidetransition.cxx.

References ooxToOdpBorderDirections(), and ooxToOdpCornerDirections().

Referenced by setOoxTransitionType().

◆ ooxToOdpSideDirections()

sal_Int16 oox::ppt::SlideTransition::ooxToOdpSideDirections ( ::sal_Int32  nOoxType)
static

Definition at line 183 of file slidetransition.cxx.

Referenced by setOoxTransitionType().

◆ ooxToOdpSideDirectionsDirectionNormal()

bool oox::ppt::SlideTransition::ooxToOdpSideDirectionsDirectionNormal ( ::sal_Int32  nOoxType)
static

Definition at line 203 of file slidetransition.cxx.

Referenced by setOoxTransitionType().

◆ setMode()

void oox::ppt::SlideTransition::setMode ( bool  bMode)
inline

Definition at line 50 of file slidetransition.hxx.

References mbMode.

◆ setOoxAdvanceTime()

void oox::ppt::SlideTransition::setOoxAdvanceTime ( sal_Int32  nAdvanceTime)
inline

◆ setOoxTransitionSpeed() [1/2]

void oox::ppt::SlideTransition::setOoxTransitionSpeed ( double  fDuration)

Set slide transition time directly.

Definition at line 140 of file slidetransition.cxx.

References mfTransitionDurationInSeconds, and mnAnimationSpeed.

◆ setOoxTransitionSpeed() [2/2]

void oox::ppt::SlideTransition::setOoxTransitionSpeed ( sal_Int32  nToken)

Set one of standard values for slide transition duration.

Definition at line 114 of file slidetransition.cxx.

References mfTransitionDurationInSeconds, mnAnimationSpeed, and nToken.

Referenced by oox::ppt::SlideTransitionContext::SlideTransitionContext().

◆ setOoxTransitionType()

void oox::ppt::SlideTransition::setOoxTransitionType ( ::sal_Int32  OoxType,
::sal_Int32  param1,
::sal_Int32  param2 
)

◆ setPresetTransition()

void oox::ppt::SlideTransition::setPresetTransition ( std::u16string_view  sPresetTransition)

◆ setSlideProperties()

void oox::ppt::SlideTransition::setSlideProperties ( PropertyMap props)

◆ setTransitionFilterProperties()

void oox::ppt::SlideTransition::setTransitionFilterProperties ( const css::uno::Reference< css::animations::XTransitionFilter > &  xFilter)

Member Data Documentation

◆ mbMode

bool oox::ppt::SlideTransition::mbMode
private

◆ mbTransitionDirectionNormal

bool oox::ppt::SlideTransition::mbTransitionDirectionNormal
private

◆ mfTransitionDurationInSeconds

double oox::ppt::SlideTransition::mfTransitionDurationInSeconds
private

Definition at line 72 of file slidetransition.hxx.

Referenced by setOoxTransitionSpeed(), and setSlideProperties().

◆ mnAdvanceTime

::sal_Int32 oox::ppt::SlideTransition::mnAdvanceTime
private

Definition at line 74 of file slidetransition.hxx.

Referenced by setOoxAdvanceTime(), and setSlideProperties().

◆ mnAnimationSpeed

css::presentation::AnimationSpeed oox::ppt::SlideTransition::mnAnimationSpeed
private

Definition at line 71 of file slidetransition.hxx.

Referenced by setOoxTransitionSpeed(), and setSlideProperties().

◆ mnTransitionFadeColor

::sal_Int32 oox::ppt::SlideTransition::mnTransitionFadeColor
private

Definition at line 75 of file slidetransition.hxx.

Referenced by setOoxTransitionType(), and setSlideProperties().

◆ mnTransitionSubType

::sal_Int16 oox::ppt::SlideTransition::mnTransitionSubType
private

◆ mnTransitionType

::sal_Int16 oox::ppt::SlideTransition::mnTransitionType
private

The documentation for this class was generated from the following files: