LibreOffice Module sd (master) 1
Classes | Public Member Functions | Private Attributes | List of all members
sd::slidesorter::view::InsertAnimator Class Reference

Animate the positions of page objects to make room at the insert position while a move or copy operation takes place. More...

#include <SlsInsertAnimator.hxx>

Classes

class  Implementation
 

Public Member Functions

 InsertAnimator (SlideSorter &rSlideSorter)
 
 InsertAnimator (const InsertAnimator &)=delete
 
InsertAnimatoroperator= (const InsertAnimator &)=delete
 
void SetInsertPosition (const InsertPosition &rInsertPosition)
 Set the position at which we have to make room for the display of an icon. More...
 
void Reset (const controller::Animator::AnimationMode eMode)
 Restore the normal position of all page objects. More...
 

Private Attributes

std::shared_ptr< ImplementationmpImplementation
 

Detailed Description

Animate the positions of page objects to make room at the insert position while a move or copy operation takes place.

Definition at line 32 of file SlsInsertAnimator.hxx.

Constructor & Destructor Documentation

◆ InsertAnimator() [1/2]

sd::slidesorter::view::InsertAnimator::InsertAnimator ( SlideSorter rSlideSorter)
explicit

Definition at line 150 of file SlsInsertAnimator.cxx.

References make_shared().

◆ InsertAnimator() [2/2]

sd::slidesorter::view::InsertAnimator::InsertAnimator ( const InsertAnimator )
delete

Member Function Documentation

◆ operator=()

InsertAnimator & sd::slidesorter::view::InsertAnimator::operator= ( const InsertAnimator )
delete

◆ Reset()

void sd::slidesorter::view::InsertAnimator::Reset ( const controller::Animator::AnimationMode  eMode)

Restore the normal position of all page objects.

Parameters
eModeThis flag controls whether to start an animation that ends in the normal positions of all slides (AM_Animated) or to restore the normal positions immediately (AM_Immediate).

Definition at line 160 of file SlsInsertAnimator.cxx.

References eMode, and mpImplementation.

◆ SetInsertPosition()

void sd::slidesorter::view::InsertAnimator::SetInsertPosition ( const InsertPosition rInsertPosition)

Set the position at which we have to make room for the display of an icon.

Definition at line 155 of file SlsInsertAnimator.cxx.

References sd::slidesorter::controller::Animator::AM_Animated, and mpImplementation.

Referenced by sd::slidesorter::view::InsertAnimator::Implementation::~Implementation().

Member Data Documentation

◆ mpImplementation

std::shared_ptr<Implementation> sd::slidesorter::view::InsertAnimator::mpImplementation
private

Definition at line 54 of file SlsInsertAnimator.hxx.

Referenced by Reset(), and SetInsertPosition().


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