LibreOffice Module oox (master) 1
|
#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 |
Definition at line 37 of file slidetransition.hxx.
oox::ppt::SlideTransition::SlideTransition | ( | ) |
Definition at line 42 of file slidetransition.cxx.
References mbMode, mnTransitionFadeColor, mnTransitionSubType, and mnTransitionType.
|
explicit |
Definition at line 55 of file slidetransition.cxx.
References oox::ppt::transition::find(), mbMode, mbTransitionDirectionNormal, mnTransitionFadeColor, mnTransitionSubType, mnTransitionSubType, mnTransitionType, mnTransitionType, and p.
|
static |
Definition at line 159 of file slidetransition.cxx.
Referenced by ooxToOdpEightDirections(), and setOoxTransitionType().
|
static |
Definition at line 216 of file slidetransition.cxx.
Referenced by ooxToOdpEightDirections(), and setOoxTransitionType().
|
static |
Definition at line 240 of file slidetransition.cxx.
Referenced by setOoxTransitionType().
|
static |
Definition at line 148 of file slidetransition.cxx.
References ooxToOdpBorderDirections(), and ooxToOdpCornerDirections().
Referenced by setOoxTransitionType().
|
static |
Definition at line 183 of file slidetransition.cxx.
Referenced by setOoxTransitionType().
|
static |
Definition at line 203 of file slidetransition.cxx.
Referenced by setOoxTransitionType().
|
inline |
Definition at line 50 of file slidetransition.hxx.
References mbMode.
|
inline |
Definition at line 52 of file slidetransition.hxx.
References mnAdvanceTime.
Referenced by oox::ppt::SlideTransitionContext::SlideTransitionContext().
void oox::ppt::SlideTransition::setOoxTransitionSpeed | ( | double | fDuration | ) |
Set slide transition time directly.
Definition at line 140 of file slidetransition.cxx.
References mfTransitionDurationInSeconds, and mnAnimationSpeed.
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().
void oox::ppt::SlideTransition::setOoxTransitionType | ( | ::sal_Int32 | OoxType, |
::sal_Int32 | param1, | ||
::sal_Int32 | param2 | ||
) |
Definition at line 258 of file slidetransition.cxx.
References COL_WHITE(), mbTransitionDirectionNormal, mnTransitionFadeColor, mnTransitionSubType, mnTransitionType, ooxToOdpBorderDirections(), ooxToOdpCornerDirections(), ooxToOdpDirection(), ooxToOdpEightDirections(), ooxToOdpSideDirections(), ooxToOdpSideDirectionsDirectionNormal(), SAL_INFO, SAL_WARN, and split().
Referenced by oox::ppt::SlideTransitionContext::onCreateContext().
void oox::ppt::SlideTransition::setPresetTransition | ( | std::u16string_view | sPresetTransition | ) |
Definition at line 452 of file slidetransition.cxx.
References mnTransitionSubType, mnTransitionType, and u.
Referenced by oox::ppt::SlideTransitionContext::onCreateContext().
void oox::ppt::SlideTransition::setSlideProperties | ( | PropertyMap & | props | ) |
Definition at line 74 of file slidetransition.cxx.
References Exception, mbTransitionDirectionNormal, mfTransitionDurationInSeconds, mnAdvanceTime, mnAnimationSpeed, mnTransitionFadeColor, mnTransitionSubType, mnTransitionType, PROP_Change, PROP_Speed, PROP_TransitionDirection, PROP_TransitionFadeColor, PROP_TransitionSubtype, PROP_TransitionType, oox::PropertyMap::setProperty(), and TOOLS_WARN_EXCEPTION.
Referenced by oox::ppt::SlideTransitionContext::onEndElement().
void oox::ppt::SlideTransition::setTransitionFilterProperties | ( | const css::uno::Reference< css::animations::XTransitionFilter > & | xFilter | ) |
Definition at line 97 of file slidetransition.cxx.
References Exception, mbMode, mbTransitionDirectionNormal, mnTransitionSubType, mnTransitionType, and TOOLS_WARN_EXCEPTION.
Referenced by oox::ppt::TimeNode::setNode().
|
private |
https://api.libreoffice.org/docs/common/ref/com/sun/star/animations/XTransitionFilter.html Mode property
Definition at line 73 of file slidetransition.hxx.
Referenced by setMode(), and setTransitionFilterProperties().
|
private |
Definition at line 70 of file slidetransition.hxx.
Referenced by setOoxTransitionType(), setSlideProperties(), setTransitionFilterProperties(), and SlideTransition().
|
private |
Definition at line 72 of file slidetransition.hxx.
Referenced by setOoxTransitionSpeed(), and setSlideProperties().
|
private |
Definition at line 74 of file slidetransition.hxx.
Referenced by setOoxAdvanceTime(), and setSlideProperties().
|
private |
Definition at line 71 of file slidetransition.hxx.
Referenced by setOoxTransitionSpeed(), and setSlideProperties().
|
private |
Definition at line 75 of file slidetransition.hxx.
Referenced by setOoxTransitionType(), and setSlideProperties().
|
private |
Definition at line 69 of file slidetransition.hxx.
Referenced by setOoxTransitionType(), setPresetTransition(), setSlideProperties(), setTransitionFilterProperties(), and SlideTransition().
|
private |
Definition at line 68 of file slidetransition.hxx.
Referenced by setOoxTransitionType(), setPresetTransition(), setSlideProperties(), setTransitionFilterProperties(), and SlideTransition().