19#ifndef INCLUDED_SVX_GRAPHCTL_HXX
20#define INCLUDED_SVX_GRAPHCTL_HXX
78 virtual void Resize()
override;
84 virtual void InitSdrModel();
86 virtual void SdrObjCreated(
const SdrObject& rObj );
87 virtual void SdrObjChanged(
const SdrObject& rObj );
88 virtual void MarkListHasChanged();
100 void SetGraphic(
const Graphic& rGraphic,
bool bNewModel =
true );
106 void SetEditMode(
const bool bEditMode );
108 void SetPolyEditMode(
const sal_uInt16 nPolyEdit );
116 bool IsChanged()
const {
return mbSdrMode && pModel->IsChanged(); }
123 void QueueIdleUpdate();
125 void SetSdrMode(
bool b);
127 Point GetPositionInDialog()
const;
128 virtual css::uno::Reference< css::accessibility::XAccessible >
CreateAccessible()
override;
143 :
SdrView(rSdrModel, &pWindow->GetDrawingArea()->get_ref_device())
GraphCtrlUserCall(GraphCtrl &rGraphWin)
virtual void Changed(const SdrObject &rObj, SdrUserCallType eType, const tools::Rectangle &rOldBoundRect) override
virtual void MarkListHasChanged() override
virtual void InvalidateOneWin(OutputDevice &rWin) override
If the View should not call Invalidate() on the windows, override the following 2 methods and do some...
virtual rtl::Reference< sdr::overlay::OverlayManager > CreateOverlayManager(OutputDevice &rDevice) const override
virtual ~GraphCtrlView() override
GraphCtrlView(SdrModel &rSdrModel, GraphCtrl *pWindow)
SdrObjUserCall * GetSdrUserCall()
ScopedVclPtrInstance< VirtualDevice > xVD
SdrModel * GetSdrModel() const
std::unique_ptr< GraphCtrlUserCall > pUserCall
sal_uInt16 GetPolyEditMode() const
void SetGraphSizeLink(const Link< GraphCtrl *, void > &rLink)
std::unique_ptr< SdrView > pView
void SetMousePosLink(const Link< GraphCtrl *, void > &rLink)
std::unique_ptr< SdrModel > pModel
virtual void MarkListHasChanged()
void SetUpdateLink(const Link< GraphCtrl *, void > &rLink)
Link< GraphCtrl *, void > aMousePosLink
const Graphic & GetGraphic() const
Link< GraphCtrl *, void > aUpdateLink
const Point & GetMousePos() const
Link< GraphCtrl *, void > aGraphSizeLink
DECL_DLLPRIVATE_LINK(UpdateHdl, Timer *, void)
SdrView * GetSdrView() const
rtl::Reference< SvxGraphCtrlAccessibleContext > mpAccContext
const Size & GetGraphicSize() const
virtual void MarkListHasChanged() override