LibreOffice Module sw (master) 1
Public Member Functions | Public Attributes | List of all members
SwCallMouseEvent Struct Referencefinal

#include <swevent.hxx>

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

Public Member Functions

 SwCallMouseEvent ()
 
 SwCallMouseEvent (SwCallMouseEvent const &rOther)
 
void Set (SwCallEventObjectType eTyp, const SwFrameFormat *pFormat)
 
void Set (const SwFrameFormat *pFormat, const IMapObject *pIMapObj)
 
void Set (const SwFormatINetFormat *pINetAttr)
 
bool operator== (const SwCallMouseEvent &rEvent) const
 
bool operator!= (const SwCallMouseEvent &rEvent) const
 
void Clear ()
 
bool HasEvent () const
 
virtual void SwClientNotify (const SwModify &rMod, const SfxHint &rHint) override
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
std::optional< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
void CheckRegistrationFormat (SwFormat &rOld)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 
virtual const SwCellFrameDynCastCellFrame () const
 
virtual const SwTabFrameDynCastTabFrame () const
 
virtual const SwRowFrameDynCastRowFrame () const
 
virtual const SwTableDynCastTable () const
 

Public Attributes

SwCallEventObjectType eType
 
union {
   const SwFrameFormat *   pFormat
 
   const SwFormatINetFormat *   pINetAttr
 
   struct {
      const SwFrameFormat *   pFormat
 
      const IMapObject *   pIMapObj
 
   }   IMAP
 
PTR
 

Additional Inherited Members

- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint)=0
 

Detailed Description

Definition at line 56 of file swevent.hxx.

Constructor & Destructor Documentation

◆ SwCallMouseEvent() [1/2]

SwCallMouseEvent::SwCallMouseEvent ( )
inline

Definition at line 76 of file swevent.hxx.

References PTR.

◆ SwCallMouseEvent() [2/2]

SwCallMouseEvent::SwCallMouseEvent ( SwCallMouseEvent const &  rOther)
inline

Definition at line 80 of file swevent.hxx.

References PTR.

Member Function Documentation

◆ Clear()

void SwCallMouseEvent::Clear ( )
inline

◆ HasEvent()

bool SwCallMouseEvent::HasEvent ( ) const
inline

Definition at line 117 of file swevent.hxx.

References eType, and EVENT_OBJECT_NONE.

Referenced by SwEditWin::MouseMove().

◆ operator!=()

bool SwCallMouseEvent::operator!= ( const SwCallMouseEvent rEvent) const
inline

Definition at line 102 of file swevent.hxx.

◆ operator==()

bool SwCallMouseEvent::operator== ( const SwCallMouseEvent rEvent) const
inline

Definition at line 96 of file swevent.hxx.

References eType, IMAP, pFormat, pIMapObj, and PTR.

◆ Set() [1/3]

void SwCallMouseEvent::Set ( const SwFormatINetFormat pINetAttr)
inline

Definition at line 93 of file swevent.hxx.

References Clear(), eType, EVENT_OBJECT_INETATTR, pINetAttr, and PTR.

◆ Set() [2/3]

void SwCallMouseEvent::Set ( const SwFrameFormat pFormat,
const IMapObject pIMapObj 
)
inline

Definition at line 90 of file swevent.hxx.

References Add, Clear(), eType, EVENT_OBJECT_IMAGEMAP, pFormat, pIMapObj, and PTR.

◆ Set() [3/3]

void SwCallMouseEvent::Set ( SwCallEventObjectType  eTyp,
const SwFrameFormat pFormat 
)
inline

◆ SwClientNotify()

virtual void SwCallMouseEvent::SwClientNotify ( const SwModify rMod,
const SfxHint rHint 
)
inlineoverridevirtual

Member Data Documentation

◆ eType

SwCallEventObjectType SwCallMouseEvent::eType

Definition at line 59 of file swevent.hxx.

Referenced by SwDoc::CallEvent(), Clear(), HasEvent(), operator==(), Set(), and SwClientNotify().

◆ 

struct { ... } SwCallMouseEvent::IMAP

Referenced by SwDoc::CallEvent(), and operator==().

◆ pFormat

const SwFrameFormat* SwCallMouseEvent::pFormat

Definition at line 63 of file swevent.hxx.

Referenced by SwDoc::CallEvent(), operator==(), and Set().

◆ pIMapObj

const IMapObject* SwCallMouseEvent::pIMapObj

Definition at line 72 of file swevent.hxx.

Referenced by SwDoc::CallEvent(), operator==(), and Set().

◆ pINetAttr

const SwFormatINetFormat* SwCallMouseEvent::pINetAttr

Definition at line 66 of file swevent.hxx.

Referenced by SwDoc::CallEvent(), and Set().

◆ 

union { ... } SwCallMouseEvent::PTR

The documentation for this struct was generated from the following file: