29class InsertionIndicatorOverlay;
50 void Start (
const bool bIsOverSourceView);
66 const std::shared_ptr<InsertionIndicatorHandler>
mpHandler;
77 const Point& rMouseModelPosition,
80 const Point& rMouseModelPosition,
98 const sal_Int32 nInsertionIndex,
99 const Mode eMode)
const;
Show previews for all the slides in a document and allow the user to insert or delete slides and modi...
AnimationMode
In some circumstances we have to avoid animation and jump to the final animation state immediately.
This context make sure that the insertion indicator is shown (provided that the clipboard is not empt...
const std::shared_ptr< InsertionIndicatorHandler > mpHandler
ForceShowContext(std::shared_ptr< InsertionIndicatorHandler > pHandler)
~ForceShowContext() COVERITY_NOEXCEPT_FALSE
Manage the visibility and location of the insertion indicator.
InsertionIndicatorHandler(SlideSorter &rSlideSorter)
sal_Int32 GetInsertionPageIndex() const
Return the insertion index that corresponds with the current graphical location of the insertion indi...
std::shared_ptr< view::InsertAnimator > const & GetInsertAnimator()
void UpdatePosition(const Point &rMouseModelPosition, const Mode eMode)
Set the position of the insertion marker to the given coordinates.
void ForceShow()
Make the insertion indicator visible (that is the show part) and keep it visible, even when the mouse...
void SetPosition(const Point &rPoint, const Mode eMode)
std::shared_ptr< view::InsertionIndicatorOverlay > mpInsertionIndicatorOverlay
bool mbIsInsertionTrivial
void End(const controller::Animator::AnimationMode eMode)
Deactivate the insertion marker.
bool IsInsertionTrivial(const sal_Int32 nInsertionIndex, const Mode eMode) const
Determine whether moving the current selection to the current position of the insertion marker would ...
void UpdateIndicatorIcon(const SdTransferable *pTransferable)
Update the indicator icon from the current transferable (from the clipboard or an active drag and dro...
std::shared_ptr< view::InsertAnimator > mpInsertAnimator
void Start(const bool bIsOverSourceView)
Activate the insertion marker at the given coordinates.
view::InsertPosition maInsertPosition
SlideSorter & mrSlideSorter
~InsertionIndicatorHandler() COVERITY_NOEXCEPT_FALSE
static Mode GetModeFromDndAction(const sal_Int8 nDndAction)
bool IsActive() const
Return whether the insertion marker is active.
Collect all values concerning the logical and visual properties of the insertion position that is use...