35class SlideSorterController;
52 virtual void DoCut()
override;
55 virtual void DoCopy()
override;
58 virtual void DoPaste()
override;
67 virtual bool cancel()
override;
138 const bool bIsControlDown);
140 void SwitchMode(
const std::shared_ptr<ModeHandler>& rpHandler);
Base class for all functions.
Show previews for all the slides in a document and allow the user to insert or delete slides and modi...
SlideSorter & mrSlideSorter
void MoveFocus(const FocusManager::FocusMoveDirection eDirection, const bool bIsShiftDown, const bool bIsControlDown)
void ResetShiftKeySelectionAnchor()
SlideSorterController & mrController
void GotoPage(int nIndex)
Make the slide with the given index the new current slide.
void SwitchToDragAndDropMode(const Point &rMousePosition)
std::shared_ptr< ModeHandler > mpModeHandler
The selection function can be in one of several mutually exclusive modes.
virtual void DoCopy() override
Forward to the clipboard manager.
sal_Int32 mnShiftKeySelectionAnchor
Remember the slide where the shift key was pressed and started a multiselection via keyboard.
void NotifyDragFinished()
Turn of substitution display and insertion indicator.
virtual void DoPaste() override
Forward to the clipboard manager.
void MouseDragged(const AcceptDropEvent &rEvent, const sal_Int8 nDragAction)
void ResetMouseAnchor()
Special case handling for when the context menu is hidden.
void GotoNextPage(int nOffset)
Make the slide nOffset slides away of the current one the new current slide.
virtual void DoCut() override
Forward to the clipboard manager.
void SwitchToMultiSelectionMode(const Point &rMousePosition, const sal_uInt32 nEventCode)
SelectionFunction(const SelectionFunction &)=delete
void SwitchToNormalMode()
virtual bool KeyInput(const KeyEvent &rKEvt) override
handle keyboard events
void ProcessEvent(EventDescriptor &rEvent)
virtual ~SelectionFunction() override
static rtl::Reference< FuPoor > Create(SlideSorter &rSlideSorter, SfxRequest &rRequest)
void SwitchMode(const std::shared_ptr< ModeHandler > &rpHandler)
virtual bool MouseMove(const MouseEvent &rMEvt) override
virtual bool cancel() override
is called when the current function should be aborted.
virtual bool MouseButtonDown(const MouseEvent &rMEvt) override
void ProcessMouseEvent(sal_uInt32 nEventType, const MouseEvent &rEvent)
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
SelectionFunction & operator=(const SelectionFunction &)=delete