LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
IMapWindow Class Referencefinal

#include <imapwnd.hxx>

Inheritance diagram for IMapWindow:
[legend]
Collaboration diagram for IMapWindow:
[legend]

Public Member Functions

 IMapWindow (const css::uno::Reference< css::frame::XFrame > &rxDocumentFrame, weld::Dialog *pDialog)
 
virtual ~IMapWindow () override
 
sal_Int8 AcceptDrop (const AcceptDropEvent &rEvt)
 
sal_Int8 ExecuteDrop (const ExecuteDropEvent &rEvt)
 
void ReplaceActualIMapInfo (const NotifyInfo &rNewInfo)
 
void SetImageMap (const ImageMap &rImageMap)
 
const ImageMapGetImageMap ()
 
void SetCurrentObjState (bool bActive)
 
void DoMacroAssign ()
 
void DoPropertyDialog ()
 
void SetInfoLink (const Link< IMapWindow &, void > &rLink)
 
void SetTargetList (TargetList &rTargetList)
 
const NotifyInfoGetInfo () const
 
- Public Member Functions inherited from GraphCtrl
 GraphCtrl (weld::Dialog *pDialog)
 
virtual ~GraphCtrl () override
 
void SetGraphic (const Graphic &rGraphic, bool bNewModel=true)
 
const GraphicGetGraphic () const
 
const SizeGetGraphicSize () const
 
const PointGetMousePos () const
 
void SetEditMode (const bool bEditMode)
 
void SetPolyEditMode (const sal_uInt16 nPolyEdit)
 
sal_uInt16 GetPolyEditMode () const
 
void SetObjKind (const SdrObjKind eObjKind)
 
SdrModelGetSdrModel () const
 
SdrViewGetSdrView () const
 
SdrObjectGetSelectedSdrObject () const
 
bool IsChanged () const
 
void SetMousePosLink (const Link< GraphCtrl *, void > &rLink)
 
void SetGraphSizeLink (const Link< GraphCtrl *, void > &rLink)
 
void SetUpdateLink (const Link< GraphCtrl *, void > &rLink)
 
void QueueIdleUpdate ()
 
void SetSdrMode (bool b)
 
Point GetPositionInDialog () const
 
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible () override
 
- Public Member Functions inherited from weld::CustomWidgetController
virtual void GetFocus ()
 
virtual void LoseFocus ()
 
virtual void StyleUpdated ()
 
virtual tools::Rectangle GetFocusRect ()
 
virtual FactoryFunction GetUITestFactory () const
 
virtual OUString GetHelpText () const
 
Size const & GetOutputSizePixel () const
 
void SetOutputSizePixel (const Size &rSize)
 
weld::DrawingAreaGetDrawingArea () const
 
void Invalidate ()
 
void Invalidate (const tools::Rectangle &rRect)
 
virtual void Show ()
 
virtual void Hide ()
 
void GrabFocus ()
 
bool HasFocus () const
 
bool IsVisible () const
 
bool IsReallyVisible () const
 
bool IsEnabled () const
 
bool IsActive () const
 
int GetTextHeight () const
 
OUString GetAccessibleName () const
 
OUString GetAccessibleDescription () const
 
void CaptureMouse ()
 
bool IsMouseCaptured () const
 
void EnableRTL (bool bEnable)
 
bool IsRTLEnabled () const
 
void ReleaseMouse ()
 
void SetPointer (PointerStyle ePointerStyle)
 
void SetHelpId (const OString &rHelpId)
 
void SetAccessibleName (const OUString &rName)
 
void set_size_request (int nWidth, int nHeight)
 
void queue_resize ()
 
 CustomWidgetController ()
 
virtual ~CustomWidgetController ()
 
 CustomWidgetController (CustomWidgetController const &)=default
 
 CustomWidgetController (CustomWidgetController &&)=default
 
CustomWidgetControlleroperator= (CustomWidgetController const &)=default
 
CustomWidgetControlleroperator= (CustomWidgetController &&)=default
 

Private Member Functions

void MenuSelectHdl (const OString &rId)
 
virtual bool MouseButtonUp (const MouseEvent &rMEvt) override
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
virtual bool Command (const CommandEvent &rCEvt) override
 
virtual OUString RequestHelp (tools::Rectangle &rHelpArea) override
 
virtual void SdrObjCreated (const SdrObject &rObj) override
 
virtual void SdrObjChanged (const SdrObject &rObj) override
 
virtual void MarkListHasChanged () override
 
virtual void InitSdrModel () override
 
void ReplaceImageMap (const ImageMap &rNewImageMap)
 
SdrObjectCreateObj (const IMapObject *pIMapObj)
 
SdrObjectGetHitSdrObj (const Point &rPosPixel) const
 
void UpdateInfo (bool bNewObj)
 

Static Private Member Functions

static IMapObjectGetIMapObj (const SdrObject *pSdrObj)
 

Private Attributes

NotifyInfo aInfo
 
ImageMap aIMap
 
TargetList aTargetList
 
Link< IMapWindow &, voidaInfoLink
 
SfxItemPoolpIMapPool
 
SfxItemInfo maItemInfos [1] = {}
 
css::uno::Reference< css::frame::XFrame > mxDocumentFrame
 
std::unique_ptr< IMapDropTargetHelpermxDropTargetHelper
 
std::unique_ptr< weld::MenumxPopupMenu
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::CustomWidgetController
static bool IsUpdateMode ()
 
- Protected Member Functions inherited from GraphCtrl
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
 
virtual void Resize () override
 
virtual bool KeyInput (const KeyEvent &rKEvt) override
 
virtual bool MouseButtonDown (const MouseEvent &rMEvt) override
 
virtual bool MouseMove (const MouseEvent &rMEvt) override
 
void GraphicToVD ()
 
SdrObjUserCallGetSdrUserCall ()
 
- Protected Attributes inherited from GraphCtrl
std::unique_ptr< SdrModelpModel
 
std::unique_ptr< SdrViewpView
 

Detailed Description

Definition at line 80 of file imapwnd.hxx.

Constructor & Destructor Documentation

IMapWindow::IMapWindow ( const css::uno::Reference< css::frame::XFrame > &  rxDocumentFrame,
weld::Dialog pDialog 
)

Definition at line 59 of file imapwnd.cxx.

References SfxItemPool::FreezeIdRanges(), maItemInfos, and pIMapPool.

IMapWindow::~IMapWindow ( )
overridevirtual

Definition at line 68 of file imapwnd.cxx.

References SfxItemPool::Free(), and pIMapPool.

Member Function Documentation

sal_Int8 IMapWindow::AcceptDrop ( const AcceptDropEvent rEvt)
bool IMapWindow::Command ( const CommandEvent rCEvt)
overrideprivatevirtual
SdrObject * IMapWindow::CreateObj ( const IMapObject pIMapObj)
private
void IMapWindow::DoMacroAssign ( )
void IMapWindow::DoPropertyDialog ( )
sal_Int8 IMapWindow::ExecuteDrop ( const ExecuteDropEvent rEvt)
SdrObject * IMapWindow::GetHitSdrObj ( const Point rPosPixel) const
private
const ImageMap & IMapWindow::GetImageMap ( )
IMapObject * IMapWindow::GetIMapObj ( const SdrObject pSdrObj)
staticprivate
const NotifyInfo& IMapWindow::GetInfo ( ) const
inline

Definition at line 135 of file imapwnd.hxx.

References aInfo.

void IMapWindow::InitSdrModel ( )
overrideprivatevirtual

Reimplemented from GraphCtrl.

Definition at line 291 of file imapwnd.cxx.

References GraphCtrl::InitSdrModel(), GraphCtrl::pModel, GraphCtrl::pView, and TRANSCOL.

void IMapWindow::MarkListHasChanged ( )
overrideprivatevirtual

Reimplemented from GraphCtrl.

Definition at line 433 of file imapwnd.cxx.

References GraphCtrl::MarkListHasChanged(), and UpdateInfo().

void IMapWindow::MenuSelectHdl ( const OString &  rId)
private
bool IMapWindow::MouseButtonUp ( const MouseEvent rMEvt)
overrideprivatevirtual

Reimplemented from GraphCtrl.

Definition at line 426 of file imapwnd.cxx.

References GraphCtrl::MouseButtonUp(), and UpdateInfo().

void IMapWindow::ReplaceActualIMapInfo ( const NotifyInfo rNewInfo)
void IMapWindow::ReplaceImageMap ( const ImageMap rNewImageMap)
private
OUString IMapWindow::RequestHelp ( tools::Rectangle rHelpArea)
overrideprivatevirtual
void IMapWindow::SdrObjChanged ( const SdrObject rObj)
overrideprivatevirtual
void IMapWindow::SdrObjCreated ( const SdrObject rObj)
overrideprivatevirtual
void IMapWindow::SetCurrentObjState ( bool  bActive)
void IMapWindow::SetDrawingArea ( weld::DrawingArea pDrawingArea)
overrideprivatevirtual
void IMapWindow::SetImageMap ( const ImageMap rImageMap)

Definition at line 85 of file imapwnd.cxx.

References ReplaceImageMap().

void IMapWindow::SetInfoLink ( const Link< IMapWindow &, void > &  rLink)
inline

Definition at line 131 of file imapwnd.hxx.

void IMapWindow::SetTargetList ( TargetList rTargetList)

Definition at line 167 of file imapwnd.cxx.

References aTargetList, and GraphCtrl::pModel.

void IMapWindow::UpdateInfo ( bool  bNewObj)
private

Member Data Documentation

ImageMap IMapWindow::aIMap
private

Definition at line 83 of file imapwnd.hxx.

Referenced by GetImageMap(), and ReplaceImageMap().

NotifyInfo IMapWindow::aInfo
private

Definition at line 82 of file imapwnd.hxx.

Referenced by GetInfo(), and UpdateInfo().

Link<IMapWindow&,void> IMapWindow::aInfoLink
private

Definition at line 85 of file imapwnd.hxx.

Referenced by UpdateInfo().

TargetList IMapWindow::aTargetList
private

Definition at line 84 of file imapwnd.hxx.

Referenced by DoPropertyDialog(), and SetTargetList().

SfxItemInfo IMapWindow::maItemInfos[1] = {}
private

Definition at line 87 of file imapwnd.hxx.

Referenced by IMapWindow().

css::uno::Reference< css::frame::XFrame > IMapWindow::mxDocumentFrame
private

Definition at line 89 of file imapwnd.hxx.

Referenced by DoMacroAssign().

std::unique_ptr<IMapDropTargetHelper> IMapWindow::mxDropTargetHelper
private

Definition at line 90 of file imapwnd.hxx.

Referenced by ExecuteDrop(), and SetDrawingArea().

std::unique_ptr<weld::Menu> IMapWindow::mxPopupMenu
private

Definition at line 91 of file imapwnd.hxx.

Referenced by Command(), and MenuSelectHdl().

SfxItemPool* IMapWindow::pIMapPool
private

Definition at line 86 of file imapwnd.hxx.

Referenced by DoMacroAssign(), IMapWindow(), and ~IMapWindow().


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