LibreOffice Module sd (master) 1
Static Public Member Functions | List of all members
sd::EffectMigration Class Reference

this helper class gives various methods to convert effects from OOo 1.1 and below to and from OOo 2.0 and above More...

#include <EffectMigration.hxx>

Static Public Member Functions

static css::presentation::AnimationSpeed ConvertDuration (double fDuration)
 
static double ConvertAnimationSpeed (css::presentation::AnimationSpeed eSpeed)
 
static bool ConvertPreset (std::u16string_view rPresetId, const OUString *pPresetSubType, css::presentation::AnimationEffect &rEffect)
 
static bool ConvertAnimationEffect (const css::presentation::AnimationEffect &rEffect, OUString &rPresetId, OUString &rPresetSubType)
 
static void SetFadeEffect (SdPage *pPage, css::presentation::FadeEffect eNewEffect)
 
static css::presentation::FadeEffect GetFadeEffect (const SdPage *pPage)
 
static void SetAnimationEffect (SvxShape *pShape, css::presentation::AnimationEffect eValue)
 
static css::presentation::AnimationEffect GetAnimationEffect (SvxShape *pShape)
 
static void SetTextAnimationEffect (SvxShape *pShape, css::presentation::AnimationEffect eValue)
 
static css::presentation::AnimationEffect GetTextAnimationEffect (SvxShape *pShape)
 
static void SetAnimationSpeed (SvxShape *pShape, css::presentation::AnimationSpeed eSpeed)
 
static css::presentation::AnimationSpeed GetAnimationSpeed (SvxShape *pShape)
 
static void SetDimColor (SvxShape *pShape, sal_Int32 nColor)
 
static sal_Int32 GetDimColor (SvxShape *pShape)
 
static void SetDimHide (SvxShape *pShape, bool bDimHide)
 
static bool GetDimHide (SvxShape *pShape)
 
static void SetDimPrevious (SvxShape *pShape, bool bDimPrevious)
 
static bool GetDimPrevious (SvxShape *pShape)
 
static void SetPresentationOrder (SvxShape *pShape, sal_Int32 nNewPos)
 
static sal_Int32 GetPresentationOrder (SvxShape *pShape)
 Returns the position of the given SdrObject in the Presentation order. More...
 
static void UpdateSoundEffect (SvxShape *pShape, SdAnimationInfo const *pInfo)
 
static OUString GetSoundFile (SvxShape *pShape)
 
static bool GetSoundOn (SvxShape *pShape)
 
static void SetAnimationPath (SvxShape *pShape, SdrPathObj const *pPathObj)
 
static void CreateAnimatedGroup (SdrObjGroup const &rGroupObj, SdPage &rPage)
 
static void DocumentLoaded (SdDrawDocument &rDoc)
 

Detailed Description

this helper class gives various methods to convert effects from OOo 1.1 and below to and from OOo 2.0 and above

Definition at line 38 of file EffectMigration.hxx.

Member Function Documentation

◆ ConvertAnimationEffect()

bool EffectMigration::ConvertAnimationEffect ( const css::presentation::AnimationEffect &  rEffect,
OUString &  rPresetId,
OUString &  rPresetSubType 
)
static

Definition at line 783 of file EffectMigration.cxx.

References deprecated_AnimationEffect_conversion_table, and p.

◆ ConvertAnimationSpeed()

double EffectMigration::ConvertAnimationSpeed ( css::presentation::AnimationSpeed  eSpeed)
static

Definition at line 800 of file EffectMigration.cxx.

◆ ConvertDuration()

AnimationSpeed EffectMigration::ConvertDuration ( double  fDuration)
static

Definition at line 871 of file EffectMigration.cxx.

◆ ConvertPreset()

bool EffectMigration::ConvertPreset ( std::u16string_view  rPresetId,
const OUString *  pPresetSubType,
css::presentation::AnimationEffect &  rEffect 
)
static

◆ CreateAnimatedGroup()

void EffectMigration::CreateAnimatedGroup ( SdrObjGroup const &  rGroupObj,
SdPage rPage 
)
static

◆ DocumentLoaded()

void EffectMigration::DocumentLoaded ( SdDrawDocument rDoc)
static

◆ GetAnimationEffect()

AnimationEffect EffectMigration::GetAnimationEffect ( SvxShape pShape)
static

◆ GetAnimationSpeed()

AnimationSpeed EffectMigration::GetAnimationSpeed ( SvxShape pShape)
static

◆ GetDimColor()

sal_Int32 EffectMigration::GetDimColor ( SvxShape pShape)
static

◆ GetDimHide()

bool EffectMigration::GetDimHide ( SvxShape pShape)
static

◆ GetDimPrevious()

bool EffectMigration::GetDimPrevious ( SvxShape pShape)
static

◆ GetFadeEffect()

FadeEffect EffectMigration::GetFadeEffect ( const SdPage pPage)
static

Definition at line 198 of file EffectMigration.cxx.

References deprecated_FadeEffect_conversion_table.

◆ GetPresentationOrder()

sal_Int32 EffectMigration::GetPresentationOrder ( SvxShape pShape)
static

Returns the position of the given SdrObject in the Presentation order.

This function returns -1 if the SdrObject is not in the Presentation order or if it's the path-object.

Definition at line 1163 of file EffectMigration.cxx.

References SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), and nPos.

◆ GetSoundFile()

OUString EffectMigration::GetSoundFile ( SvxShape pShape)
static

◆ GetSoundOn()

bool EffectMigration::GetSoundOn ( SvxShape pShape)
static

Definition at line 1263 of file EffectMigration.cxx.

◆ GetTextAnimationEffect()

AnimationEffect EffectMigration::GetTextAnimationEffect ( SvxShape pShape)
static

◆ SetAnimationEffect()

void EffectMigration::SetAnimationEffect ( SvxShape pShape,
css::presentation::AnimationEffect  eValue 
)
static

◆ SetAnimationPath()

void EffectMigration::SetAnimationPath ( SvxShape pShape,
SdrPathObj const *  pPathObj 
)
static

◆ SetAnimationSpeed()

void EffectMigration::SetAnimationSpeed ( SvxShape pShape,
css::presentation::AnimationSpeed  eSpeed 
)
static

◆ SetDimColor()

void EffectMigration::SetDimColor ( SvxShape pShape,
sal_Int32  nColor 
)
static

◆ SetDimHide()

void EffectMigration::SetDimHide ( SvxShape pShape,
bool  bDimHide 
)
static

◆ SetDimPrevious()

void EffectMigration::SetDimPrevious ( SvxShape pShape,
bool  bDimPrevious 
)
static

◆ SetFadeEffect()

void EffectMigration::SetFadeEffect ( SdPage pPage,
css::presentation::FadeEffect  eNewEffect 
)
static

◆ SetPresentationOrder()

void EffectMigration::SetPresentationOrder ( SvxShape pShape,
sal_Int32  nNewPos 
)
static

◆ SetTextAnimationEffect()

void EffectMigration::SetTextAnimationEffect ( SvxShape pShape,
css::presentation::AnimationEffect  eValue 
)
static

◆ UpdateSoundEffect()

void EffectMigration::UpdateSoundEffect ( SvxShape pShape,
SdAnimationInfo const *  pInfo 
)
static

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