LibreOffice Module sc (master) 1
|
#include <fuconuno.hxx>
Public Member Functions | |
FuConstUnoControl (ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq) | |
virtual | ~FuConstUnoControl () override |
virtual SC_DLLPUBLIC bool | MouseButtonUp (const MouseEvent &rMEvt) override |
virtual SC_DLLPUBLIC bool | MouseButtonDown (const MouseEvent &rMEvt) override |
virtual SC_DLLPUBLIC void | Activate () override |
virtual SC_DLLPUBLIC void | Deactivate () override |
virtual rtl::Reference< SdrObject > | CreateDefaultObject (const sal_uInt16 nID, const tools::Rectangle &rRectangle) override |
Public Member Functions inherited from FuConstruct | |
FuConstruct (ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq) | |
virtual | ~FuConstruct () override |
virtual bool | KeyInput (const KeyEvent &rKEvt) override |
virtual SC_DLLPUBLIC bool | MouseMove (const MouseEvent &rMEvt) override |
virtual bool | MouseButtonUp (const MouseEvent &rMEvt) override |
virtual bool | MouseButtonDown (const MouseEvent &rMEvt) override |
bool | SimpleMouseButtonUp (const MouseEvent &rMEvt) |
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 Attributes | |
SdrInventor | nInventor |
SdrObjKind | nIdentifier |
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 |
Draw Control.
Definition at line 29 of file fuconuno.hxx.
FuConstUnoControl::FuConstUnoControl | ( | ScTabViewShell & | rViewSh, |
vcl::Window * | pWin, | ||
ScDrawView * | pView, | ||
SdrModel * | pDoc, | ||
const SfxRequest & | rReq | ||
) |
Definition at line 26 of file fuconuno.cxx.
References SfxRequest::GetArg(), CntUInt32Item::GetValue(), nIdentifier, nInventor, and Unknown.
|
overridevirtual |
Definition at line 40 of file fuconuno.cxx.
|
overridevirtual |
Reimplemented from FuPoor.
Definition at line 76 of file fuconuno.cxx.
References FuPoor::Activate(), FuDraw::aNewPointer, FuDraw::aOldPointer, SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerPerID(), SdrPaintView::GetModel(), SdrLayer::GetName(), nIdentifier, nInventor, FuPoor::pView, FuPoor::pWindow, FuPoor::rViewShell, SC_LAYER_CONTROLS(), SdrPaintView::SetActiveLayer(), ScTabView::SetActivePointer(), and SdrCreateView::SetCurrentObj().
|
overridevirtual |
Reimplemented from FuPoor.
Definition at line 103 of file fuconuno.cxx.
References SdrCreateView::GetCurrentObjIdentifier(), SdrCreateView::GetCurrentObjInventor(), SdrObjFactory::MakeNewObject(), FuPoor::pDrDoc, FuPoor::pView, and SC_LAYER_CONTROLS().
|
overridevirtual |
Reimplemented from FuPoor.
Definition at line 91 of file fuconuno.cxx.
References FuDraw::aOldPointer, FuPoor::Deactivate(), SdrModel::GetLayerAdmin(), SdrLayerAdmin::GetLayerPerID(), SdrPaintView::GetModel(), SdrLayer::GetName(), FuPoor::pView, FuPoor::rViewShell, SC_LAYER_FRONT(), SdrPaintView::SetActiveLayer(), and ScTabView::SetActivePointer().
|
overridevirtual |
Reimplemented from FuConstruct.
Definition at line 44 of file fuconuno.cxx.
References SdrCreateView::BegCreateObj(), MouseEvent::GetButtons(), MouseEvent::GetPosPixel(), SdrCreateView::IsAction(), MouseEvent::IsLeft(), FuConstruct::MouseButtonDown(), FuPoor::pView, FuPoor::pWindow, and FuPoor::SetMouseButtonCode().
|
overridevirtual |
Reimplemented from FuConstruct.
Definition at line 61 of file fuconuno.cxx.
References SdrCreateView::EndCreateObj(), MouseEvent::GetButtons(), SdrCreateView::IsCreateObj(), MouseEvent::IsLeft(), FuConstruct::MouseButtonUp(), FuPoor::pView, and FuPoor::SetMouseButtonCode().
|
private |
Definition at line 32 of file fuconuno.hxx.
Referenced by Activate(), and FuConstUnoControl().
|
private |
Definition at line 31 of file fuconuno.hxx.
Referenced by Activate(), and FuConstUnoControl().