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
 
void ActivateNoteHandles (SdrObject *pObj)
 
- 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)
 
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
 
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 SdrObjectUniquePtr CreateDefaultObject (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 28 of file fusel.hxx.

Constructor & Destructor Documentation

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

Definition at line 56 of file fusel.cxx.

FuSelection::~FuSelection ( )
overridevirtual

Definition at line 62 of file fusel.cxx.

Member Function Documentation

void FuSelection::ActivateNoteHandles ( SdrObject pObj)
bool FuSelection::IsNoteCaptionClicked ( const Point rPos) const
private
bool FuSelection::IsNoteCaptionMarked ( ) const
private
bool FuSelection::MouseButtonDown ( const MouseEvent rMEvt)
overridevirtual

Reimplemented from FuDraw.

Definition at line 66 of file fusel.cxx.

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

bool FuSelection::MouseButtonUp ( const MouseEvent rMEvt)
overridevirtual

Reimplemented from FuDraw.

Definition at line 326 of file fusel.cxx.

References ScTabViewShell::ActivateObject(), ScChartHelper::AddRangesIfProtectedChart(), FuPoor::aDragTimer, FuPoor::aMDPos, SdrMarkView::AreObjectsMarked(), ScChartHelper::CreateProtectedChartListenersAndNotify(), SfxInPlaceClient::DeactivateObject(), SdrCreateView::EndAction(), SdrDragView::EndDragObj(), Execute, SdrEditView::ForceMarkedToAnotherPage(), FuDraw::ForcePointer(), 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(), SfxObjectShell::GetModel(), SdrObject::GetObjIdentifier(), SdrObject::GetOutlinerParaObject(), SdrPageView::GetPage(), MouseEvent::GetPosPixel(), SdrPaintView::GetSdrPageView(), FuPoor::GetSlotID(), ScViewData::GetTabNo(), ScViewData::GetView(), ScTabView::GetViewData(), SfxViewShell::GetViewFrame(), i, SdrCreateView::IsAction(), Task::IsActive(), SdrDragView::IsDragObj(), ScTabView::IsDrawSelMode(), SfxFrame::IsInPlace(), MouseEvent::IsLeft(), MouseEvent::IsMod1(), MouseEvent::IsMod2(), vcl::Window::IsMouseCaptured(), ScDrawLayer::IsNoteCaption(), SfxInPlaceClient::IsObjectInPlaceActive(), ScModule::IsRefDialogOpen(), MouseEvent::IsShift(), OutlinerParaObject::IsVertical(), SdrMarkView::MarkObj(), FuDraw::MouseButtonUp(), nCount, OBJ_OLE2, SdrView::PickAnything(), SdrMarkView::PickObj(), OutputDevice::PixelToLogic(), SdrViewEvent::pObj, Point, FuPoor::pView, FuPoor::pWindow, vcl::Window::ReleaseMouse(), FuPoor::rViewShell, SC_MINDRAGMOVE, SC_MOD, FuText::SetInEditMode(), FuPoor::SetMouseButtonCode(), Task::Stop(), TestDetective(), ScDrawView::UnlockInternalLayer(), SdrMarkView::UnMarkAll(), and SdrMarkView::UnmarkAllObj().

bool FuSelection::MouseMove ( const MouseEvent rMEvt)
overridevirtual
bool FuSelection::TestDetective ( const SdrPageView pPV,
const Point rPos 
)
private

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