LibreOffice Module sfx2 (master) 1
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
SfxClipboardChangeListener Class Reference
Inheritance diagram for SfxClipboardChangeListener:
[legend]
Collaboration diagram for SfxClipboardChangeListener:
[legend]

Classes

struct  AsyncExecuteInfo
 

Public Types

enum  AsyncExecuteCmd {
  ASYNCEXECUTE_CMD_DISPOSING ,
  ASYNCEXECUTE_CMD_CHANGEDCONTENTS
}
 

Public Member Functions

 SfxClipboardChangeListener (SfxViewShell *pView, uno::Reference< datatransfer::clipboard::XClipboardNotifier > xClpbrdNtfr)
 
virtual void SAL_CALL disposing (const lang::EventObject &rEventObject) override
 
virtual void SAL_CALL changedContents (const datatransfer::clipboard::ClipboardEvent &rEventObject) override
 
void DisconnectViewShell ()
 
void ChangedContents ()
 

Private Member Functions

 DECL_STATIC_LINK (SfxClipboardChangeListener, AsyncExecuteHdl_Impl, void *, void)
 

Private Attributes

SfxViewShellm_pViewShell
 
uno::Reference< datatransfer::clipboard::XClipboardNotifier > m_xClpbrdNtfr
 
uno::Reference< lang::XComponent > m_xCtrl
 

Detailed Description

Definition at line 123 of file viewsh.cxx.

Member Enumeration Documentation

◆ AsyncExecuteCmd

Enumerator
ASYNCEXECUTE_CMD_DISPOSING 
ASYNCEXECUTE_CMD_CHANGEDCONTENTS 

Definition at line 138 of file viewsh.cxx.

Constructor & Destructor Documentation

◆ SfxClipboardChangeListener()

SfxClipboardChangeListener::SfxClipboardChangeListener ( SfxViewShell pView,
uno::Reference< datatransfer::clipboard::XClipboardNotifier >  xClpbrdNtfr 
)

Definition at line 161 of file viewsh.cxx.

References GetController(), m_pViewShell, m_xClpbrdNtfr, and m_xCtrl.

Member Function Documentation

◆ ChangedContents()

void SfxClipboardChangeListener::ChangedContents ( )

◆ changedContents()

void SAL_CALL SfxClipboardChangeListener::changedContents ( const datatransfer::clipboard::ClipboardEvent &  rEventObject)
overridevirtual

Definition at line 230 of file viewsh.cxx.

References ASYNCEXECUTE_CMD_CHANGEDCONTENTS, LINK, and Application::PostUserEvent().

◆ DECL_STATIC_LINK()

SfxClipboardChangeListener::DECL_STATIC_LINK ( SfxClipboardChangeListener  ,
AsyncExecuteHdl_Impl  ,
void *  ,
void   
)
private

◆ DisconnectViewShell()

void SfxClipboardChangeListener::DisconnectViewShell ( )
inline

Definition at line 135 of file viewsh.cxx.

References m_pViewShell.

◆ disposing()

void SAL_CALL SfxClipboardChangeListener::disposing ( const lang::EventObject &  rEventObject)
overridevirtual

Member Data Documentation

◆ m_pViewShell

SfxViewShell* SfxClipboardChangeListener::m_pViewShell
private

Definition at line 154 of file viewsh.cxx.

Referenced by ChangedContents(), DisconnectViewShell(), and SfxClipboardChangeListener().

◆ m_xClpbrdNtfr

uno::Reference< datatransfer::clipboard::XClipboardNotifier > SfxClipboardChangeListener::m_xClpbrdNtfr
private

Definition at line 155 of file viewsh.cxx.

Referenced by disposing(), and SfxClipboardChangeListener().

◆ m_xCtrl

uno::Reference< lang::XComponent > SfxClipboardChangeListener::m_xCtrl
private

Definition at line 156 of file viewsh.cxx.

Referenced by disposing(), and SfxClipboardChangeListener().


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