LibreOffice Module sd (master) 1
|
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) |
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.
|
static |
Definition at line 783 of file EffectMigration.cxx.
References deprecated_AnimationEffect_conversion_table, and p.
|
static |
Definition at line 800 of file EffectMigration.cxx.
|
static |
Definition at line 871 of file EffectMigration.cxx.
|
static |
Definition at line 755 of file EffectMigration.cxx.
References deprecated_AnimationEffect_conversion_table, o3tl::equalsAscii(), and p.
|
static |
Definition at line 1346 of file EffectMigration.cxx.
References a, Any, SdrObjListIter::Count(), createVisibilityOnOffNode(), SdPage::getMainSequence(), SdrObjGroup::GetSubList(), SdrObjListIter::IsMore(), SdPage::NbcInsertObject(), SdrObjList::NbcRemoveObject(), and SdrObjListIter::Next().
Referenced by sd::AnimationWindow::CreateAnimObj().
|
static |
Definition at line 1414 of file EffectMigration.cxx.
References Draw, SdDrawDocument::GetDocumentType(), SdPage::getMainSequence(), SdDrawDocument::GetMasterSdPage(), SdDrawDocument::GetMasterSdPageCount(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), SdPage::hasAnimationNode(), n, and Standard.
Referenced by sd::DrawDocShell::Load().
|
static |
Definition at line 553 of file EffectMigration.cxx.
References SvxShape::GetSdrObject(), and SdrObject::getSdrPageFromSdrObject().
|
static |
Definition at line 848 of file EffectMigration.cxx.
References SvxShape::GetSdrObject(), and SdrObject::getSdrPageFromSdrObject().
|
static |
Definition at line 919 of file EffectMigration.cxx.
References SvxShape::GetSdrObject(), and SdrObject::getSdrPageFromSdrObject().
|
static |
Definition at line 984 of file EffectMigration.cxx.
References SvxShape::GetSdrObject(), and SdrObject::getSdrPageFromSdrObject().
|
static |
Definition at line 1051 of file EffectMigration.cxx.
References SvxShape::GetSdrObject(), and SdrObject::getSdrPageFromSdrObject().
|
static |
Definition at line 198 of file EffectMigration.cxx.
References deprecated_FadeEffect_conversion_table.
|
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.
|
static |
Definition at line 1232 of file EffectMigration.cxx.
References SvxShape::GetSdrObject(), and SdrObject::getSdrPageFromSdrObject().
|
static |
Definition at line 1263 of file EffectMigration.cxx.
|
static |
Definition at line 724 of file EffectMigration.cxx.
References SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), and ImplFindEffect().
|
static |
Definition at line 433 of file EffectMigration.cxx.
References Any, DBG_ASSERT, sd::CustomAnimationPresets::getEffectDescriptor(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), SdPage::GetPresChange(), SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), ImplFindEffect(), implIsInsideGroup(), and Manual.
|
static |
Definition at line 1268 of file EffectMigration.cxx.
References Any, SdPage::getMainSequence(), SvxShape::GetSdrObject(), and SdrObject::getSdrPageFromSdrObject().
|
static |
Definition at line 813 of file EffectMigration.cxx.
References DBG_ASSERT, SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), and implIsInsideGroup().
|
static |
Definition at line 885 of file EffectMigration.cxx.
References Any, DBG_ASSERT, SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), and implIsInsideGroup().
|
static |
Definition at line 947 of file EffectMigration.cxx.
References Any, DBG_ASSERT, SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), and implIsInsideGroup().
|
static |
Definition at line 1011 of file EffectMigration.cxx.
References Any, COL_LIGHTGRAY(), DBG_ASSERT, SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), and implIsInsideGroup().
|
static |
Definition at line 167 of file EffectMigration.cxx.
References deprecated_FadeEffect_conversion_table, SdPage::setTransitionDirection(), SdPage::setTransitionFadeColor(), SdPage::setTransitionSubtype(), and SdPage::setTransitionType().
|
static |
Definition at line 1078 of file EffectMigration.cxx.
References SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), and nPos.
|
static |
Definition at line 589 of file EffectMigration.cxx.
References Any, DBG_ASSERT, DynCastSdrTextObj(), cppu::UnoType< typename T >::get(), sd::CustomAnimationPresets::getEffectDescriptor(), SdPage::GetPresChange(), SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), SdrTextObj::HasText(), ImplFindEffect(), implIsInsideGroup(), and Manual.
|
static |
Definition at line 1194 of file EffectMigration.cxx.
References Any, SvxShape::GetSdrObject(), SdrObject::getSdrPageFromSdrObject(), SdAnimationInfo::maSoundFile, and SdAnimationInfo::mbSoundOn.