25#include <oox/token/namespaces.hxx>
26#include <oox/token/tokens.hxx>
37: FragmentHandler2( rParent )
39, mbHasTransition( false )
40, mbHasTransitionDuration( false )
46 sal_Int32 nDurationInMs = rAttribs.
getInteger( P14_TOKEN( dur ), -1 );
47 if( nDurationInMs > -1 )
50 if( nDurationInMs == 0.0 )
57 rAttribs.
getBool( XML_advClick,
true );
72 switch( aElementToken )
74 case PPT_TOKEN( blinds ):
75 case PPT_TOKEN( checker ):
76 case PPT_TOKEN( comb ):
77 case PPT_TOKEN( randomBar ):
84 case PPT_TOKEN( cover ):
85 case PPT_TOKEN( pull ):
92 case PPT_TOKEN( cut ):
93 case PPT_TOKEN( fade ):
100 case PPT_TOKEN( push ):
101 case PPT_TOKEN( wipe ):
108 case PPT_TOKEN(
split ):
115 case PPT_TOKEN( zoom ):
122 case PPT_TOKEN( wheel ):
130 case PPT_TOKEN( circle ):
131 case PPT_TOKEN( diamond ):
132 case PPT_TOKEN( dissolve ):
133 case PPT_TOKEN( newsflash ):
134 case PPT_TOKEN( plus ):
135 case PPT_TOKEN( random ):
136 case PPT_TOKEN( wedge ):
137 case P14_TOKEN( vortex ):
138 case P14_TOKEN( ripple ):
139 case P14_TOKEN( glitter ):
140 case P14_TOKEN( honeycomb ):
141 case P14_TOKEN( flash ):
150 case PPT_TOKEN( sndAc ):
153 case PPT_TOKEN( extLst ):
156 case P14_TOKEN(prism):
163 case P15_TOKEN(prstTrans):
170 case PPT_TOKEN( strips ):
188 if( isCurrentElement(PPT_TOKEN(
transition )) )
PropertiesInfo aProperties
Provides access to attribute values of an element.
OUString getStringDefaulted(sal_Int32 nAttrToken) const
Returns the string value of the specified attribute, returns an empty string if attribute not present...
bool hasAttribute(sal_Int32 nAttrToken) const
Returns true, if the specified attribute is present.
std::optional< sal_uInt32 > getUnsigned(sal_Int32 nAttrToken) const
Returns the 32-bit unsigned integer value of the specified attribute (decimal).
std::optional< sal_Int32 > getInteger(sal_Int32 nAttrToken) const
Returns the 32-bit signed integer value of the specified attribute (decimal).
std::optional< bool > getBool(sal_Int32 nAttrToken) const
Returns the boolean value of the specified attribute.
std::optional< sal_Int32 > getToken(sal_Int32 nAttrToken) const
Returns the token identifier of the value of the specified attribute.
A helper that maps property identifiers to property values.
SlideTransitionContext(::oox::core::FragmentHandler2 const &rParent, const AttributeList &rAttributes, PropertyMap &aProperties)
PropertyMap & maSlideProperties
virtual ::oox::core::ContextHandlerRef onCreateContext(sal_Int32 aElementToken, const AttributeList &rAttribs) override
virtual void onEndElement() override
bool mbHasTransitionDuration
virtual ~SlideTransitionContext() noexcept override
SlideTransition maTransition
void setPresetTransition(std::u16string_view sPresetTransition)
void setOoxTransitionSpeed(sal_Int32 nToken)
Set one of standard values for slide transition duration.
void setOoxTransitionType(::sal_Int32 OoxType, ::sal_Int32 param1, ::sal_Int32 param2)
void setSlideProperties(PropertyMap &props)
void setOoxAdvanceTime(sal_Int32 nAdvanceTime)
std::vector< OUString > split(std::u16string_view rStr, sal_Unicode cSeparator)