LibreOffice Module sc (master) 1
|
Base class for all functions. More...
#include <fusel.hxx>
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< SdrObject > | 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 | |
ScDrawView * | pView |
ScTabViewShell & | rViewShell |
VclPtr< vcl::Window > | pWindow |
SdrModel * | pDrDoc |
SfxRequest | aSfxRequest |
Timer | aScrollTimer |
Timer | aDragTimer |
bool | bIsInDragMode |
Point | aMDPos |
FuSelection::FuSelection | ( | ScTabViewShell & | rViewSh, |
vcl::Window * | pWin, | ||
ScDrawView * | pView, | ||
SdrModel * | pDoc, | ||
const SfxRequest & | rReq | ||
) |
|
private |
Definition at line 116 of file fusel2.cxx.
References ATTR_PROTECTION(), ScAddress::Col(), ScDocument::GetAttr(), ScViewData::GetDocShell(), ScViewData::GetDocument(), ScProtectionAttr::GetHideCell(), ScDrawLayer::GetNoteCaptionData(), SdrPageView::GetObjList(), ScProtectionAttr::GetProtection(), SdrPaintView::GetSdrPageView(), ScViewData::GetTabNo(), ScTabView::GetViewData(), SfxObjectShell::IsReadOnly(), ScDocument::IsTabProtected(), SdrObjListIter::Next(), FuPoor::pView, ScAddress::Row(), and FuPoor::rViewShell.
Referenced by MouseButtonDown().
|
private |
Definition at line 102 of file fusel2.cxx.
References SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), ScDrawLayer::IsNoteCaption(), and FuPoor::pView.
Referenced by MouseButtonDown().
|
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().
|
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().
|
overridevirtual |
Reimplemented from FuDraw.
Definition at line 310 of file fusel.cxx.
References FuPoor::aDragTimer, FuPoor::aMDPos, FuDraw::ForcePointer(), FuPoor::ForceScroll(), MouseEvent::GetPosPixel(), SdrCreateView::IsAction(), Task::IsActive(), FuDraw::MouseMove(), E3dView::MovAction(), FuPoor::pView, FuPoor::pWindow, SC_MAXDRAGMOVE, Task::Stop(), Point::X(), and Point::Y().
|
private |
Definition at line 44 of file fusel2.cxx.
References Diff(), ePos, ScTabView::FindWindow(), ScViewData::GetCurX(), ScViewData::GetCurY(), SdrPaintView::GetHitTolerancePixel(), SdrPageView::GetObjList(), ScViewData::GetPosFromPixel(), ScTabView::GetViewData(), ScDetectiveFunc::IsNonAlienArrow(), ScTabView::MoveCursorRel(), SdrObjListIter::Next(), pObject, FuPoor::pView, FuPoor::pWindow, FuPoor::rViewShell, SC_FOLLOW_JUMP, SdrObjectPrimitiveHit(), Point::X(), and Point::Y().
Referenced by MouseButtonUp().