LibreOffice Module sd (master) 1
|
this is a helping class for import of PPT 97 animations More...
#include <ppt97animations.hxx>
Public Member Functions | |
Ppt97Animation (SvStream &rIn) | |
bool | operator< (const Ppt97Animation &rAnimation) const |
bool | operator> (const Ppt97Animation &rAnimation) const |
bool | HasEffect () const |
bool | HasParagraphEffect () const |
bool | HasSoundEffect () const |
sal_Int32 | GetDimColor () const |
sal_uInt32 | GetSoundRef () const |
bool | HasAnimateAssociatedShape () const |
void | SetDimColor (Color nDimColor) |
void | SetSoundFileUrl (const OUString &rSoundFileUrl) |
void | SetAnimateAssociatedShape (bool bAnimate) |
void | createAndSetCustomAnimationEffect (SdrObject *pObj) |
this method creates a CustomAnimationEffect for the given SdrObject from internal data and stores the created effect at the draw model More... | |
Private Member Functions | |
OUString const & | GetPresetId () const |
OUString const & | GetPresetSubType () const |
bool | HasAfterEffect () const |
bool | HasAfterEffect_ChangeColor () const |
bool | HasAfterEffect_DimAtNextEffect () const |
bool | HasStopPreviousSound () const |
bool | HasReverseOrder () const |
sal_Int32 | GetParagraphLevel () const |
paragraph level that is animated ( that paragraph and higher levels ) More... | |
sal_Int16 | GetTextAnimationType () const |
sal_Int16 | GetEffectNodeType () const |
double | GetDelayTimeInSeconds () const |
bool | GetSpecialDuration (double &rfDurationInSeconds) const |
bool | GetSpecialTextIterationDelay (double &rfTextIterationDelay) const |
void | UpdateCacheData () const |
void | ClearCacheData () const |
Private Attributes | |
Ppt97AnimationInfoAtom | m_aAtom |
pure input from stream More... | |
OUString | m_aSoundFileUrl |
this needs to be set in addition from outside as this class has not the knowledge to translate the sound bits to a file url More... | |
bool | m_bDirtyCache |
OUString | m_aPresetId |
OUString | m_aSubType |
bool | m_bHasSpecialDuration |
double | m_fDurationInSeconds |
this is a helping class for import of PPT 97 animations
Definition at line 84 of file ppt97animations.hxx.
|
explicit |
Definition at line 55 of file ppt97animations.cxx.
References m_aAtom, Ppt97AnimationInfoAtom::ReadStream(), and rInputStream.
|
private |
Definition at line 225 of file ppt97animations.cxx.
References m_aPresetId, m_aSubType, m_bHasSpecialDuration, and m_fDurationInSeconds.
Referenced by UpdateCacheData().
void Ppt97Animation::createAndSetCustomAnimationEffect | ( | SdrObject * | pObj | ) |
this method creates a CustomAnimationEffect for the given SdrObject from internal data and stores the created effect at the draw model
Definition at line 546 of file ppt97animations.cxx.
References sd::CustomAnimationPresets::getCustomAnimationPresets(), GetDelayTimeInSeconds(), GetDimColor(), GetEffectNodeType(), GetParagraphLevel(), GetPresetId(), GetPresetSubType(), SdrObject::getSdrPageFromSdrObject(), GetSpecialDuration(), GetSpecialTextIterationDelay(), GetTextAnimationType(), GetXShapeForSdrObject(), HasAfterEffect(), HasAfterEffect_ChangeColor(), HasAfterEffect_DimAtNextEffect(), HasAnimateAssociatedShape(), HasEffect(), HasParagraphEffect(), HasReverseOrder(), HasSoundEffect(), HasStopPreviousSound(), m_aSoundFileUrl, and nIndex.
|
private |
Definition at line 126 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nDelayTime.
Referenced by createAndSetCustomAnimationEffect().
|
inline |
Definition at line 97 of file ppt97animations.hxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nDimColor.
Referenced by createAndSetCustomAnimationEffect().
|
private |
Definition at line 188 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nFlags.
Referenced by createAndSetCustomAnimationEffect().
|
private |
paragraph level that is animated ( that paragraph and higher levels )
Definition at line 80 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nBuildType.
Referenced by createAndSetCustomAnimationEffect().
|
private |
Definition at line 214 of file ppt97animations.cxx.
References m_aPresetId, and UpdateCacheData().
Referenced by createAndSetCustomAnimationEffect(), and SetAnimateAssociatedShape().
|
private |
Definition at line 219 of file ppt97animations.cxx.
References m_aSubType, and UpdateCacheData().
Referenced by createAndSetCustomAnimationEffect().
|
inline |
Definition at line 98 of file ppt97animations.hxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nSoundRef.
|
private |
Definition at line 131 of file ppt97animations.cxx.
References m_bHasSpecialDuration, m_fDurationInSeconds, and UpdateCacheData().
Referenced by createAndSetCustomAnimationEffect().
|
private |
Definition at line 139 of file ppt97animations.cxx.
References GetTextAnimationType().
Referenced by createAndSetCustomAnimationEffect().
|
private |
Definition at line 198 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nSubEffect.
Referenced by createAndSetCustomAnimationEffect(), and GetSpecialTextIterationDelay().
|
private |
Definition at line 103 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nAfterEffect.
Referenced by createAndSetCustomAnimationEffect().
|
private |
Definition at line 107 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nAfterEffect.
Referenced by createAndSetCustomAnimationEffect().
|
private |
Definition at line 111 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nAfterEffect.
Referenced by createAndSetCustomAnimationEffect().
bool Ppt97Animation::HasAnimateAssociatedShape | ( | ) | const |
Definition at line 99 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nFlags.
Referenced by createAndSetCustomAnimationEffect(), and SetAnimateAssociatedShape().
bool Ppt97Animation::HasEffect | ( | ) | const |
Definition at line 72 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nBuildType.
Referenced by createAndSetCustomAnimationEffect(), and UpdateCacheData().
bool Ppt97Animation::HasParagraphEffect | ( | ) | const |
Definition at line 76 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nBuildType.
Referenced by createAndSetCustomAnimationEffect().
|
private |
Definition at line 95 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nFlags.
Referenced by createAndSetCustomAnimationEffect().
bool Ppt97Animation::HasSoundEffect | ( | ) | const |
Definition at line 87 of file ppt97animations.cxx.
References m_aAtom, Ppt97AnimationInfoAtom::nFlags, and Ppt97AnimationInfoAtom::nSoundRef.
Referenced by createAndSetCustomAnimationEffect().
|
private |
Definition at line 91 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nFlags.
Referenced by createAndSetCustomAnimationEffect().
bool Ppt97Animation::operator< | ( | const Ppt97Animation & | rAnimation | ) | const |
Definition at line 64 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nOrderID.
bool Ppt97Animation::operator> | ( | const Ppt97Animation & | rAnimation | ) | const |
Definition at line 68 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nOrderID.
void Ppt97Animation::SetAnimateAssociatedShape | ( | bool | bAnimate | ) |
Definition at line 162 of file ppt97animations.cxx.
References GetPresetId(), HasAnimateAssociatedShape(), m_aAtom, Ppt97AnimationInfoAtom::nFlags, and SAL_INFO.
void Ppt97Animation::SetDimColor | ( | Color | nDimColor | ) |
Definition at line 158 of file ppt97animations.cxx.
References m_aAtom, and Ppt97AnimationInfoAtom::nDimColor.
void Ppt97Animation::SetSoundFileUrl | ( | const OUString & | rSoundFileUrl | ) |
Definition at line 121 of file ppt97animations.cxx.
References m_aSoundFileUrl.
|
private |
Definition at line 232 of file ppt97animations.cxx.
References ClearCacheData(), HasEffect(), m_aAtom, m_aPresetId, m_aSubType, m_bDirtyCache, m_bHasSpecialDuration, m_fDurationInSeconds, Ppt97AnimationInfoAtom::nFlyDirection, and Ppt97AnimationInfoAtom::nFlyMethod.
Referenced by GetPresetId(), GetPresetSubType(), and GetSpecialDuration().
|
private |
pure input from stream
Definition at line 145 of file ppt97animations.hxx.
Referenced by GetDelayTimeInSeconds(), GetDimColor(), GetEffectNodeType(), GetParagraphLevel(), GetSoundRef(), GetTextAnimationType(), HasAfterEffect(), HasAfterEffect_ChangeColor(), HasAfterEffect_DimAtNextEffect(), HasAnimateAssociatedShape(), HasEffect(), HasParagraphEffect(), HasReverseOrder(), HasSoundEffect(), HasStopPreviousSound(), operator<(), operator>(), Ppt97Animation(), SetAnimateAssociatedShape(), SetDimColor(), and UpdateCacheData().
|
mutableprivate |
Definition at line 150 of file ppt97animations.hxx.
Referenced by ClearCacheData(), GetPresetId(), and UpdateCacheData().
|
private |
this needs to be set in addition from outside as this class has not the knowledge to translate the sound bits to a file url
Definition at line 146 of file ppt97animations.hxx.
Referenced by createAndSetCustomAnimationEffect(), and SetSoundFileUrl().
|
mutableprivate |
Definition at line 151 of file ppt97animations.hxx.
Referenced by ClearCacheData(), GetPresetSubType(), and UpdateCacheData().
|
mutableprivate |
Definition at line 149 of file ppt97animations.hxx.
Referenced by UpdateCacheData().
|
mutableprivate |
Definition at line 152 of file ppt97animations.hxx.
Referenced by ClearCacheData(), GetSpecialDuration(), and UpdateCacheData().
|
mutableprivate |
Definition at line 153 of file ppt97animations.hxx.
Referenced by ClearCacheData(), GetSpecialDuration(), and UpdateCacheData().