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 (const TargetList &rTargetList)
 
const NotifyInfoGetInfo () const
 
- Public Member Functions inherited from GraphCtrl
 GraphCtrl (weld::Dialog *pDialog)
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea) override
 
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 css::uno::Reference< css::accessibility::XAccessible > CreateAccessible ()
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)=0
 
virtual void Resize ()
 
virtual bool MouseButtonDown (const MouseEvent &)
 
virtual bool MouseMove (const MouseEvent &)
 
virtual bool MouseButtonUp (const MouseEvent &)
 
virtual void GetFocus ()
 
virtual void LoseFocus ()
 
virtual void StyleUpdated ()
 
virtual bool Command (const CommandEvent &)
 
virtual bool KeyInput (const KeyEvent &)
 
virtual tools::Rectangle GetFocusRect ()
 
virtual FactoryFunction GetUITestFactory () const
 
virtual OUString RequestHelp (tools::Rectangle &)
 
virtual OUString GetHelpText () const
 
Size const & GetOutputSizePixel () const
 
void SetOutputSizePixel (const Size &rSize)
 
virtual void SetDrawingArea (weld::DrawingArea *pDrawingArea)
 
weld::DrawingAreaGetDrawingArea () const
 
void Invalidate ()
 
void Invalidate (const tools::Rectangle &rRect)
 
virtual void Show ()
 
virtual void Hide ()
 
void SetCursor (void *pData)
 
void GrabFocus ()
 
bool HasFocus () const
 
bool HasChildFocus () 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 OUString &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 SetDragDataTransferable (rtl::Reference< TransferDataContainer > &rTransferable, 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 OUString &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)
 
rtl::Reference< 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 &, void > aInfoLink
 
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 MouseButtonUp (const MouseEvent &rMEvt) override
 
virtual bool MouseMove (const MouseEvent &rMEvt) override
 
virtual void InitSdrModel ()
 
virtual void SdrObjCreated (const SdrObject &rObj)
 
virtual void SdrObjChanged (const SdrObject &rObj)
 
virtual void MarkListHasChanged ()
 
void GraphicToVD ()
 
SdrObjUserCallGetSdrUserCall ()
 
- Protected Attributes inherited from GraphCtrl
std::unique_ptr< SdrModelpModel
 
std::unique_ptr< SdrViewpView
 

Detailed Description

Definition at line 81 of file imapwnd.hxx.

Constructor & Destructor Documentation

◆ IMapWindow()

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::~IMapWindow ( )
overridevirtual

Definition at line 63 of file imapwnd.cxx.

Member Function Documentation

◆ AcceptDrop()

sal_Int8 IMapWindow::AcceptDrop ( const AcceptDropEvent rEvt)

◆ Command()

bool IMapWindow::Command ( const CommandEvent rCEvt)
overrideprivatevirtual

◆ CreateObj()

rtl::Reference< SdrObject > IMapWindow::CreateObj ( const IMapObject pIMapObj)
private

◆ DoMacroAssign()

void IMapWindow::DoMacroAssign ( )

◆ DoPropertyDialog()

void IMapWindow::DoPropertyDialog ( )

◆ ExecuteDrop()

sal_Int8 IMapWindow::ExecuteDrop ( const ExecuteDropEvent rEvt)

◆ GetHitSdrObj()

SdrObject * IMapWindow::GetHitSdrObj ( const Point rPosPixel) const
private

◆ GetImageMap()

const ImageMap & IMapWindow::GetImageMap ( )

◆ GetIMapObj()

IMapObject * IMapWindow::GetIMapObj ( const SdrObject pSdrObj)
staticprivate

◆ GetInfo()

const NotifyInfo & IMapWindow::GetInfo ( ) const
inline

Definition at line 136 of file imapwnd.hxx.

References aInfo.

◆ InitSdrModel()

void IMapWindow::InitSdrModel ( )
overrideprivatevirtual

Reimplemented from GraphCtrl.

Definition at line 285 of file imapwnd.cxx.

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

◆ MarkListHasChanged()

void IMapWindow::MarkListHasChanged ( )
overrideprivatevirtual

Reimplemented from GraphCtrl.

Definition at line 422 of file imapwnd.cxx.

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

◆ MenuSelectHdl()

void IMapWindow::MenuSelectHdl ( const OUString &  rId)
private

◆ MouseButtonUp()

bool IMapWindow::MouseButtonUp ( const MouseEvent rMEvt)
overrideprivatevirtual

Reimplemented from GraphCtrl.

Definition at line 415 of file imapwnd.cxx.

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

◆ ReplaceActualIMapInfo()

void IMapWindow::ReplaceActualIMapInfo ( const NotifyInfo rNewInfo)

◆ ReplaceImageMap()

void IMapWindow::ReplaceImageMap ( const ImageMap rNewImageMap)
private

◆ RequestHelp()

OUString IMapWindow::RequestHelp ( tools::Rectangle rHelpArea)
overrideprivatevirtual

◆ SdrObjChanged()

void IMapWindow::SdrObjChanged ( const SdrObject rObj)
overrideprivatevirtual

◆ SdrObjCreated()

void IMapWindow::SdrObjCreated ( const SdrObject rObj)
overrideprivatevirtual

◆ SetCurrentObjState()

void IMapWindow::SetCurrentObjState ( bool  bActive)

◆ SetDrawingArea()

void IMapWindow::SetDrawingArea ( weld::DrawingArea pDrawingArea)
overrideprivatevirtual

◆ SetImageMap()

void IMapWindow::SetImageMap ( const ImageMap rImageMap)

Definition at line 79 of file imapwnd.cxx.

References ReplaceImageMap().

◆ SetInfoLink()

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

Definition at line 132 of file imapwnd.hxx.

References aInfoLink.

◆ SetTargetList()

void IMapWindow::SetTargetList ( const TargetList rTargetList)

Definition at line 164 of file imapwnd.cxx.

References aTargetList, and GraphCtrl::pModel.

◆ UpdateInfo()

void IMapWindow::UpdateInfo ( bool  bNewObj)
private

Member Data Documentation

◆ aIMap

ImageMap IMapWindow::aIMap
private

Definition at line 84 of file imapwnd.hxx.

Referenced by GetImageMap(), and ReplaceImageMap().

◆ aInfo

NotifyInfo IMapWindow::aInfo
private

Definition at line 83 of file imapwnd.hxx.

Referenced by GetInfo(), and UpdateInfo().

◆ aInfoLink

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

Definition at line 86 of file imapwnd.hxx.

Referenced by SetInfoLink(), and UpdateInfo().

◆ aTargetList

TargetList IMapWindow::aTargetList
private

Definition at line 85 of file imapwnd.hxx.

Referenced by DoPropertyDialog(), and SetTargetList().

◆ maItemInfos

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

Definition at line 88 of file imapwnd.hxx.

Referenced by IMapWindow().

◆ mxDocumentFrame

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

Definition at line 90 of file imapwnd.hxx.

Referenced by DoMacroAssign().

◆ mxDropTargetHelper

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

Definition at line 91 of file imapwnd.hxx.

Referenced by ExecuteDrop(), and SetDrawingArea().

◆ mxPopupMenu

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

Definition at line 92 of file imapwnd.hxx.

Referenced by Command(), and MenuSelectHdl().

◆ pIMapPool

rtl::Reference<SfxItemPool> IMapWindow::pIMapPool
private

Definition at line 87 of file imapwnd.hxx.

Referenced by DoMacroAssign(), and IMapWindow().


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