LibreOffice Module sc (master) 1
|
#include <fuconcustomshape.hxx>
Public Member Functions | |
FuConstCustomShape (ScTabViewShell &rViewSh, vcl::Window *pWin, ScDrawView *pView, SdrModel *pDoc, const SfxRequest &rReq) | |
virtual | ~FuConstCustomShape () override |
virtual bool | MouseButtonUp (const MouseEvent &rMEvt) override |
virtual bool | MouseButtonDown (const MouseEvent &rMEvt) override |
virtual void | Activate () override |
virtual void | Deactivate () override |
virtual rtl::Reference< SdrObject > | CreateDefaultObject (const sal_uInt16 nID, const tools::Rectangle &rRectangle) override |
virtual bool | doConstructOrthogonal () const 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 Member Functions | |
void | SetAttributes (SdrObject *pObj) |
Private Attributes | |
OUString | aCustomShape |
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 |
Definition at line 24 of file fuconcustomshape.hxx.
FuConstCustomShape::FuConstCustomShape | ( | ScTabViewShell & | rViewSh, |
vcl::Window * | pWin, | ||
ScDrawView * | pView, | ||
SdrModel * | pDoc, | ||
const SfxRequest & | rReq | ||
) |
Definition at line 38 of file fuconcustomshape.cxx.
References aCustomShape, SfxItemSet::Get(), SfxRequest::GetArgs(), SfxRequest::GetSlot(), and CntUnencodedStringItem::GetValue().
|
overridevirtual |
Definition at line 49 of file fuconcustomshape.cxx.
|
overridevirtual |
Reimplemented from FuPoor.
Definition at line 96 of file fuconcustomshape.cxx.
References FuPoor::Activate(), FuDraw::aNewPointer, FuDraw::aOldPointer, FuPoor::pView, FuPoor::pWindow, FuPoor::rViewShell, ScTabView::SetActivePointer(), and SdrCreateView::SetCurrentObj().
|
overridevirtual |
Reimplemented from FuPoor.
Definition at line 115 of file fuconcustomshape.cxx.
References aCustomShape, SdrObjCustomShape::doConstructOrthogonal(), SdrCreateView::GetCurrentObjIdentifier(), SdrCreateView::GetCurrentObjInventor(), FuPoor::ImpForceQuadratic(), SdrObjFactory::MakeNewObject(), FuPoor::pDrDoc, FuPoor::pView, and SetAttributes().
|
overridevirtual |
Reimplemented from FuPoor.
Definition at line 107 of file fuconcustomshape.cxx.
References FuDraw::aOldPointer, FuPoor::Deactivate(), FuPoor::rViewShell, and ScTabView::SetActivePointer().
|
overridevirtual |
Reimplemented from FuPoor.
Definition at line 194 of file fuconcustomshape.cxx.
References aCustomShape, and SdrObjCustomShape::doConstructOrthogonal().
|
overridevirtual |
Reimplemented from FuConstruct.
Definition at line 53 of file fuconcustomshape.cxx.
References SdrCreateView::BegCreateObj(), MouseEvent::GetButtons(), SdrCreateView::GetCreateObj(), MouseEvent::GetPosPixel(), SdrCreateView::IsAction(), MouseEvent::IsLeft(), FuConstruct::MouseButtonDown(), FuPoor::pView, FuPoor::pWindow, SetAttributes(), SdrObject::SetMergedItem(), and FuPoor::SetMouseButtonCode().
|
overridevirtual |
Reimplemented from FuConstruct.
Definition at line 81 of file fuconcustomshape.cxx.
References SdrCreateView::EndCreateObj(), MouseEvent::GetButtons(), SdrCreateView::IsCreateObj(), MouseEvent::IsLeft(), FuConstruct::MouseButtonUp(), FuPoor::pView, and FuPoor::SetMouseButtonCode().
|
private |
Definition at line 134 of file fuconcustomshape.cxx.
References aCustomShape, aObjList, tools::Rectangle::Center(), EE_ITEMS_END(), EE_ITEMS_START(), EE_PARA_JUST(), equalsIgnoreAsciiCase(), GalleryExplorer::FillObjListTitle(), SfxItemPool::FreezeIdRanges(), GALLERY_THEME_POWERPOINT, SdrModel::GetItemPool(), SdrObject::GetMergedItemSet(), SdrObjList::GetObj(), SdrModel::GetPage(), SdrObject::GetRotateAngle(), SdrObject::getSdrModelFromSdrObject(), GalleryExplorer::GetSdrObj(), GalleryExplorer::GetSdrObjCount(), SdrObject::GetSnapRect(), i, makeSdrTextAutoGrowHeightItem(), SdrObject::NbcRotate(), SDRATTR_CUSTOMSHAPE_LAST(), SDRATTR_GRAF_FIRST(), SDRATTR_MISC_FIRST(), SDRATTR_MISC_LAST(), SDRATTR_SHADOW_LAST(), SDRATTR_START(), SDRATTR_TEXTDIRECTION(), SDRTEXTHORZADJUST_BLOCK, SDRTEXTVERTADJUST_CENTER, SdrObject::SetMergedItem(), and SdrObject::SetMergedItemSet().
Referenced by CreateDefaultObject(), and MouseButtonDown().
|
private |
Definition at line 26 of file fuconcustomshape.hxx.
Referenced by CreateDefaultObject(), doConstructOrthogonal(), FuConstCustomShape(), and SetAttributes().