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:
Collaboration diagram for IMapWindow:

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 (const 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
void Enable () const
void Disable () const
bool IsActive () const
int GetTextHeight () const
int GetTextWidth (const OUString &rText) const
OUString GetAccessibleName () const
OUString GetAccessibleDescription () const
void CaptureMouse ()
bool IsMouseCaptured () const
Point GetPointerPosPixel () 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 SetInputContext (const InputContext &rInputContext)
void SetCursorRect (const tools::Rectangle &rCursorRect, int nExtTextInputWidth)
virtual int GetSurroundingText (OUString &)
virtual bool DeleteSurroundingText (const Selection &)
css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget ()
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard () const
void SetDragDataTransferrable (rtl::Reference< TransferDataContainer > &rTransferrable, sal_uInt8 eDNDConstants)
virtual bool StartDrag ()
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
rtl::Reference< 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 54 of file imapwnd.cxx.

References maItemInfos, and pIMapPool.

IMapWindow::~IMapWindow ( )

Definition at line 63 of file imapwnd.cxx.

Member Function Documentation

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

Definition at line 135 of file imapwnd.hxx.

References aInfo.

void IMapWindow::InitSdrModel ( )

Reimplemented from GraphCtrl.

Definition at line 285 of file imapwnd.cxx.

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

void IMapWindow::MarkListHasChanged ( )

Reimplemented from GraphCtrl.

Definition at line 427 of file imapwnd.cxx.

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

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

Reimplemented from GraphCtrl.

Definition at line 420 of file imapwnd.cxx.

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

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

Definition at line 79 of file imapwnd.cxx.

References ReplaceImageMap().

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

Definition at line 131 of file imapwnd.hxx.

void IMapWindow::SetTargetList ( const TargetList rTargetList)

Definition at line 164 of file imapwnd.cxx.

References aTargetList, and GraphCtrl::pModel.

void IMapWindow::UpdateInfo ( bool  bNewObj)

Member Data Documentation

ImageMap IMapWindow::aIMap

Definition at line 83 of file imapwnd.hxx.

Referenced by GetImageMap(), and ReplaceImageMap().

NotifyInfo IMapWindow::aInfo

Definition at line 82 of file imapwnd.hxx.

Referenced by GetInfo(), and UpdateInfo().

Link<IMapWindow&,void> IMapWindow::aInfoLink

Definition at line 85 of file imapwnd.hxx.

Referenced by UpdateInfo().

TargetList IMapWindow::aTargetList

Definition at line 84 of file imapwnd.hxx.

Referenced by DoPropertyDialog(), and SetTargetList().

SfxItemInfo IMapWindow::maItemInfos[1] = {}

Definition at line 87 of file imapwnd.hxx.

Referenced by IMapWindow().

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

Definition at line 89 of file imapwnd.hxx.

Referenced by DoMacroAssign().

std::unique_ptr<IMapDropTargetHelper> IMapWindow::mxDropTargetHelper

Definition at line 90 of file imapwnd.hxx.

Referenced by ExecuteDrop(), and SetDrawingArea().

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

Definition at line 91 of file imapwnd.hxx.

Referenced by Command(), and MenuSelectHdl().

rtl::Reference<SfxItemPool> IMapWindow::pIMapPool

Definition at line 86 of file imapwnd.hxx.

Referenced by DoMacroAssign(), and IMapWindow().

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