LibreOffice Module sd (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
sd::slidesorter::controller::SelectionFunction::ModeHandler Class Referenceabstract
Collaboration diagram for sd::slidesorter::controller::SelectionFunction::ModeHandler:
[legend]

Public Member Functions

 ModeHandler (SlideSorter &rSlideSorter, SelectionFunction &rSelectionFunction, const bool bIsMouseOverIndicatorAllowed)
 
virtual ~ModeHandler () COVERITY_NOEXCEPT_FALSE
 
virtual Mode GetMode () const =0
 
virtual void Abort ()=0
 
virtual void ProcessEvent (EventDescriptor &rDescriptor)
 
void SetCurrentPage (const model::SharedPageDescriptor &rpDescriptor)
 Set the selection to exactly the specified page and also set it as the current page. More...
 
void DeselectAllPages ()
 Deselect all pages. More...
 
void SelectOnePage (const model::SharedPageDescriptor &rpDescriptor)
 
void SwitchView (const model::SharedPageDescriptor &rpDescriptor)
 When the view on which this selection function is working is the main view then the view is switched to the regular editing view. More...
 
void StartDrag (const Point &rMousePosition)
 
bool IsMouseOverIndicatorAllowed () const
 

Protected Member Functions

virtual bool ProcessButtonDownEvent (EventDescriptor &rDescriptor)
 
virtual bool ProcessButtonUpEvent (EventDescriptor &rDescriptor)
 
virtual bool ProcessMotionEvent (EventDescriptor &rDescriptor)
 
virtual bool ProcessDragEvent (EventDescriptor &rDescriptor)
 
virtual bool HandleUnprocessedEvent (EventDescriptor &rDescriptor)
 
void ReprocessEvent (EventDescriptor &rDescriptor)
 

Protected Attributes

SlideSortermrSlideSorter
 
SelectionFunctionmrSelectionFunction
 

Private Attributes

const bool mbIsMouseOverIndicatorAllowed
 

Detailed Description

Definition at line 130 of file SlsSelectionFunction.cxx.

Constructor & Destructor Documentation

◆ ModeHandler()

sd::slidesorter::controller::SelectionFunction::ModeHandler::ModeHandler ( SlideSorter rSlideSorter,
SelectionFunction rSelectionFunction,
const bool  bIsMouseOverIndicatorAllowed 
)

Definition at line 807 of file SlsSelectionFunction.cxx.

◆ ~ModeHandler()

sd::slidesorter::controller::SelectionFunction::ModeHandler::~ModeHandler ( )
virtual

Definition at line 817 of file SlsSelectionFunction.cxx.

Member Function Documentation

◆ Abort()

virtual void sd::slidesorter::controller::SelectionFunction::ModeHandler::Abort ( )
pure virtual

◆ DeselectAllPages()

void sd::slidesorter::controller::SelectionFunction::ModeHandler::DeselectAllPages ( )

◆ GetMode()

virtual Mode sd::slidesorter::controller::SelectionFunction::ModeHandler::GetMode ( ) const
pure virtual

◆ HandleUnprocessedEvent()

bool sd::slidesorter::controller::SelectionFunction::ModeHandler::HandleUnprocessedEvent ( EventDescriptor rDescriptor)
protectedvirtual

Definition at line 888 of file SlsSelectionFunction.cxx.

◆ IsMouseOverIndicatorAllowed()

bool sd::slidesorter::controller::SelectionFunction::ModeHandler::IsMouseOverIndicatorAllowed ( ) const
inline

Definition at line 160 of file SlsSelectionFunction.cxx.

References mbIsMouseOverIndicatorAllowed.

◆ ProcessButtonDownEvent()

bool sd::slidesorter::controller::SelectionFunction::ModeHandler::ProcessButtonDownEvent ( EventDescriptor rDescriptor)
protectedvirtual

Definition at line 856 of file SlsSelectionFunction.cxx.

◆ ProcessButtonUpEvent()

bool sd::slidesorter::controller::SelectionFunction::ModeHandler::ProcessButtonUpEvent ( EventDescriptor rDescriptor)
protectedvirtual

Definition at line 861 of file SlsSelectionFunction.cxx.

◆ ProcessDragEvent()

bool sd::slidesorter::controller::SelectionFunction::ModeHandler::ProcessDragEvent ( EventDescriptor rDescriptor)
protectedvirtual

Definition at line 883 of file SlsSelectionFunction.cxx.

◆ ProcessEvent()

void sd::slidesorter::controller::SelectionFunction::ModeHandler::ProcessEvent ( SelectionFunction::EventDescriptor rDescriptor)
virtual

◆ ProcessMotionEvent()

bool sd::slidesorter::controller::SelectionFunction::ModeHandler::ProcessMotionEvent ( EventDescriptor rDescriptor)
protectedvirtual

◆ ReprocessEvent()

void sd::slidesorter::controller::SelectionFunction::ModeHandler::ReprocessEvent ( EventDescriptor rDescriptor)
protected

Definition at line 821 of file SlsSelectionFunction.cxx.

◆ SelectOnePage()

void sd::slidesorter::controller::SelectionFunction::ModeHandler::SelectOnePage ( const model::SharedPageDescriptor rpDescriptor)

◆ SetCurrentPage()

void sd::slidesorter::controller::SelectionFunction::ModeHandler::SetCurrentPage ( const model::SharedPageDescriptor rpDescriptor)

◆ StartDrag()

void sd::slidesorter::controller::SelectionFunction::ModeHandler::StartDrag ( const Point rMousePosition)

Definition at line 933 of file SlsSelectionFunction.cxx.

References SD_MOD.

◆ SwitchView()

void sd::slidesorter::controller::SelectionFunction::ModeHandler::SwitchView ( const model::SharedPageDescriptor rpDescriptor)

Member Data Documentation

◆ mbIsMouseOverIndicatorAllowed

const bool sd::slidesorter::controller::SelectionFunction::ModeHandler::mbIsMouseOverIndicatorAllowed
private

Definition at line 175 of file SlsSelectionFunction.cxx.

Referenced by IsMouseOverIndicatorAllowed().

◆ mrSelectionFunction

SelectionFunction& sd::slidesorter::controller::SelectionFunction::ModeHandler::mrSelectionFunction
protected

Definition at line 164 of file SlsSelectionFunction.cxx.

◆ mrSlideSorter

SlideSorter& sd::slidesorter::controller::SelectionFunction::ModeHandler::mrSlideSorter
protected

Definition at line 163 of file SlsSelectionFunction.cxx.


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