19#ifndef INCLUDED_SVX_SOURCE_DIALOG_IMAPWND_HXX
20#define INCLUDED_SVX_SOURCE_DIALOG_IMAPWND_HXX
30#include <com/sun/star/frame/XFrame.hpp>
43#define SVD_IMAP_USERDATA 0x0001
62 virtual std::unique_ptr<SdrObjUserData>
Clone(
SdrObject * )
const override {
return std::unique_ptr<SdrObjUserData>(
new IMapUserData( *
this )); }
89 css::uno::Reference< css::frame::XFrame >
116 IMapWindow(
const css::uno::Reference< css::frame::XFrame >& rxDocumentFrame,
IMapWindow & m_rImapWindow
virtual sal_Int8 ExecuteDrop(const ExecuteDropEvent &rEvt) override
IMapDropTargetHelper(IMapWindow &rImapWindow)
virtual sal_Int8 AcceptDrop(const AcceptDropEvent &rEvt) override
void ReplaceObject(const IMapObjectPtr &pNewIMapObject)
const IMapObjectPtr & GetObject() const
IMapUserData(IMapObjectPtr xIMapObj)
virtual std::unique_ptr< SdrObjUserData > Clone(SdrObject *) const override
IMapUserData(const IMapUserData &rIMapUserData)
void SetTargetList(const TargetList &rTargetList)
const NotifyInfo & GetInfo() const
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
void MenuSelectHdl(const OUString &rId)
static IMapObject * GetIMapObj(const SdrObject *pSdrObj)
Link< IMapWindow &, void > aInfoLink
void SetInfoLink(const Link< IMapWindow &, void > &rLink)
void SetImageMap(const ImageMap &rImageMap)
css::uno::Reference< css::frame::XFrame > mxDocumentFrame
sal_Int8 ExecuteDrop(const ExecuteDropEvent &rEvt)
SdrObject * GetHitSdrObj(const Point &rPosPixel) const
std::unique_ptr< IMapDropTargetHelper > mxDropTargetHelper
const ImageMap & GetImageMap()
virtual void InitSdrModel() override
rtl::Reference< SfxItemPool > pIMapPool
virtual bool Command(const CommandEvent &rCEvt) override
void ReplaceActualIMapInfo(const NotifyInfo &rNewInfo)
sal_Int8 AcceptDrop(const AcceptDropEvent &rEvt)
virtual OUString RequestHelp(tools::Rectangle &rHelpArea) override
virtual bool MouseButtonUp(const MouseEvent &rMEvt) override
void SetCurrentObjState(bool bActive)
virtual void SdrObjChanged(const SdrObject &rObj) override
SfxItemInfo maItemInfos[1]
virtual ~IMapWindow() override
std::unique_ptr< weld::Menu > mxPopupMenu
void ReplaceImageMap(const ImageMap &rNewImageMap)
void UpdateInfo(bool bNewObj)
virtual void MarkListHasChanged() override
virtual void SdrObjCreated(const SdrObject &rObj) override
rtl::Reference< SdrObject > CreateObj(const IMapObject *pIMapObj)
IMapWindow(const css::uno::Reference< css::frame::XFrame > &rxDocumentFrame, weld::Dialog *pDialog)
User data of a drawing object, e.g.
::std::vector< OUString > TargetList
#define SVD_IMAP_USERDATA
std::shared_ptr< IMapObject > IMapObjectPtr