LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | List of all members
FuSelection Class Reference

Base class for all functions. More...

#include <fusel.hxx>

Inheritance diagram for FuSelection:
[legend]
Collaboration diagram for FuSelection:
[legend]

Public Member Functions

 FuSelection (ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq)
 
virtual ~FuSelection () override
 
virtual bool MouseMove (const MouseEvent &rMEvt) override
 
virtual bool MouseButtonUp (const MouseEvent &rMEvt) override
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
 
- Public Member Functions inherited from FuDraw
 FuDraw (ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq)
 
virtual ~FuDraw () override
 
virtual bool KeyInput (const KeyEvent &rKEvt) override
 
virtual void ForcePointer (const MouseEvent *pMEvt)
 
virtual bool MouseMove (const MouseEvent &rMEvt) override
 
virtual bool MouseButtonUp (const MouseEvent &rMEvt) override
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
 
bool IsEditingANote () const
 
bool IsSizingOrMovingNote (const MouseEvent &rMEvt) const
 
- Public Member Functions inherited from FuPoor
 FuPoor (ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq)
 
virtual ~FuPoor ()
 
void SetMouseButtonCode (sal_uInt16 nNew)
 
sal_uInt16 GetMouseButtonCode () const
 
virtual bool KeyInput (const KeyEvent &rKEvt)
 
virtual bool MouseMove (const MouseEvent &)
 
virtual bool MouseButtonUp (const MouseEvent &rMEvt)
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt)
 
sal_uInt8 Command (const CommandEvent &rCEvt)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
void SetWindow (vcl::Window *pWin)
 
sal_uInt16 GetSlotID () const
 
bool IsDetectiveHit (const Point &rLogicPos)
 
void StopDragTimer ()
 
virtual rtl::Reference< SdrObjectCreateDefaultObject (const sal_uInt16 nID, const tools::Rectangle &rRectangle)
 
virtual bool doConstructOrthogonal () const
 

Private Member Functions

bool TestDetective (const SdrPageView *pPV, const Point &rPos)
 
bool IsNoteCaptionMarked () const
 
bool IsNoteCaptionClicked (const Point &rPos) const
 

Additional Inherited Members

- Protected Member Functions inherited from FuPoor
 DECL_LINK (ScrollHdl, Timer *, void)
 
void ForceScroll (const Point &aPixPos)
 
 DECL_LINK (DragTimerHdl, Timer *, void)
 
 DECL_LINK (DragHdl, void *, void)
 
- Static Protected Member Functions inherited from FuPoor
static void ImpForceQuadratic (tools::Rectangle &rRect)
 
- Protected Attributes inherited from FuDraw
PointerStyle aNewPointer
 
PointerStyle aOldPointer
 
- Protected Attributes inherited from FuPoor
ScDrawViewpView
 
ScTabViewShellrViewShell
 
VclPtr< vcl::WindowpWindow
 
SdrModelpDrDoc
 
SfxRequest aSfxRequest
 
Timer aScrollTimer
 
Timer aDragTimer
 
bool bIsInDragMode
 
Point aMDPos
 

Detailed Description

Base class for all functions.

Definition at line 27 of file fusel.hxx.

Constructor & Destructor Documentation

◆ FuSelection()

FuSelection::FuSelection ( ScTabViewShell rViewSh,
vcl::Window pWin,
ScDrawView pView,
SdrModel pDoc,
const SfxRequest rReq 
)

Definition at line 59 of file fusel.cxx.

◆ ~FuSelection()

FuSelection::~FuSelection ( )
overridevirtual

Definition at line 65 of file fusel.cxx.

Member Function Documentation

◆ IsNoteCaptionClicked()

bool FuSelection::IsNoteCaptionClicked ( const Point rPos) const
private

◆ IsNoteCaptionMarked()

bool FuSelection::IsNoteCaptionMarked ( ) const
private

◆ MouseButtonDown()

bool FuSelection::MouseButtonDown ( const MouseEvent rMEvt)
overridevirtual

Reimplemented from FuDraw.

Definition at line 69 of file fusel.cxx.

References FuPoor::aDragTimer, FuPoor::aMDPos, SdrCreateView::BckAction(), E3dView::BegDragObj(), SdrObjEditView::BegMacroObj(), SdrMarkView::BegMarkObj(), FuPoor::bIsInDragMode, SfxObjectShell::CallXScript(), SfxObjectShell::Current(), ScTabView::FakeButtonUp(), FuDraw::ForcePointer(), ScViewData::GetActivePart(), MouseEvent::GetButtons(), ScViewData::GetDocument(), SdrDragView::GetDragMethod(), SvxIMapInfo::GetHitIMapObject(), SdrPaintView::getHitTolLog(), SdrObject::getHyperlink(), SvxIMapInfo::GetIMapInfo(), SfxViewShell::GetIPClient(), SdrHdl::GetKind(), MouseEvent::getLogicPosition(), ScMacroInfo::GetMacro(), ScDrawLayer::GetMacroInfo(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), MouseEvent::GetPosPixel(), ScViewData::GetTabNo(), IMapObject::GetTarget(), SvxURLField::GetTargetFrame(), SdrObject::getUnoShape(), SvxURLField::GetURL(), IMapObject::GetURL(), ScTabView::GetViewData(), SdrCreateView::IsAction(), comphelper::LibreOfficeKit::isActive(), ScTabView::IsDrawSelMode(), SdrObject::IsGroupObject(), MouseEvent::IsLeft(), SdrMarkView::IsMarkedHit(), MouseEvent::IsMod1(), MouseEvent::IsMod2(), ScDocument::IsNegativePage(), ScDrawLayer::IsNoteCaption(), IsNoteCaptionClicked(), IsNoteCaptionMarked(), SfxInPlaceClient::IsObjectInPlaceActive(), MouseEvent::IsRight(), MouseEvent::IsShift(), SfxApplication::IsXScriptURL(), SdrMarkView::MarkObj(), SdrViewEvent::meEvent, FuDraw::MouseButtonDown(), SdrViewEvent::mpObj, SdrViewEvent::mpURLField, ScGlobal::OpenURL(), SdrView::PickAnything(), SdrMarkView::PickHandle(), SdrMarkView::PickObj(), FuPoor::pView, FuPoor::pWindow, FuPoor::rViewShell, FuPoor::SetMouseButtonCode(), SdrDragMethod::SetShiftPressed(), Point::setX(), ScGlobal::ShouldOpenURL(), Timer::Start(), ScDrawView::UnlockInternalLayer(), SdrView::UnmarkAll(), and Point::X().

◆ MouseButtonUp()

bool FuSelection::MouseButtonUp ( const MouseEvent rMEvt)
overridevirtual

Reimplemented from FuDraw.

Definition at line 338 of file fusel.cxx.

References ScTabViewShell::ActivateObject(), ScChartHelper::AddRangesIfProtectedChart(), FuPoor::aDragTimer, FuPoor::aMDPos, SdrMarkView::AreObjectsMarked(), ScChartHelper::CreateProtectedChartListenersAndNotify(), SfxInPlaceClient::DeactivateObject(), DynCastSdrTextObj(), SdrCreateView::EndAction(), SdrDragView::EndDragObj(), Execute(), SdrEditView::ForceMarkedToAnotherPage(), FuDraw::ForcePointer(), ScStyleSheetPool::GetActualStyleSheet(), MouseEvent::GetButtons(), ScChartHelper::GetChartNames(), MouseEvent::GetClicks(), ScModule::GetCurRefDlgId(), ScViewData::GetDispatcher(), ScViewData::GetDocShell(), ScViewData::GetDocument(), ScTabView::GetDrawFuncPtr(), SfxViewFrame::GetFrame(), SdrPaintView::getHitTolLog(), SfxViewShell::GetIPClient(), MouseEvent::getLogicPosition(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScDocShell::GetModel(), SdrObject::GetObjIdentifier(), SdrObject::GetOutlinerParaObject(), SdrPageView::GetPage(), MouseEvent::GetPosPixel(), SdrPaintView::GetSdrPageView(), FuPoor::GetSlotID(), ScDocument::GetStyleSheetPool(), ScViewData::GetTabNo(), ScViewData::GetView(), ScTabView::GetViewData(), SfxViewShell::GetViewFrame(), i, SdrCreateView::IsAction(), comphelper::LibreOfficeKit::isActive(), Task::IsActive(), SdrDragView::IsDragObj(), ScTabView::IsDrawSelMode(), OutlinerParaObject::IsEffectivelyVertical(), SfxFrame::IsInPlace(), MouseEvent::IsLeft(), MouseEvent::IsMod1(), MouseEvent::IsMod2(), ScDocument::IsNegativePage(), ScDrawLayer::IsNoteCaption(), SfxInPlaceClient::IsObjectInPlaceActive(), ScModule::IsRefDialogOpen(), MouseEvent::IsShift(), SdrMarkView::MarkObj(), FuDraw::MouseButtonUp(), SdrViewEvent::mpObj, nCount, SdrView::PickAnything(), SdrMarkView::PickObj(), FuPoor::pView, FuPoor::pWindow, FuPoor::rViewShell, SC_MINDRAGMOVE, SC_MOD, FuText::SetInEditMode(), FuPoor::SetMouseButtonCode(), SdrCreateView::SetStyleSheet(), Point::setX(), Task::Stop(), TestDetective(), ScDrawView::UnlockInternalLayer(), SdrMarkView::UnMarkAll(), SdrMarkView::UnmarkAllObj(), Width, Point::X(), and Point::Y().

◆ MouseMove()

bool FuSelection::MouseMove ( const MouseEvent rMEvt)
overridevirtual

◆ TestDetective()

bool FuSelection::TestDetective ( const SdrPageView pPV,
const Point rPos 
)
private

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