LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwDataSourceRemovedListener Class Reference

Listens to removed data sources, and if it's one that's embedded into this document, triggers embedding removal. More...

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

Public Member Functions

 SwDataSourceRemovedListener (SwDBManager &rDBManager)
 
virtual ~SwDataSourceRemovedListener () override
 
virtual void SAL_CALL registeredDatabaseLocation (const sdb::DatabaseRegistrationEvent &rEvent) override
 
virtual void SAL_CALL revokedDatabaseLocation (const sdb::DatabaseRegistrationEvent &rEvent) override
 
virtual void SAL_CALL changedDatabaseLocation (const sdb::DatabaseRegistrationEvent &rEvent) override
 
virtual void SAL_CALL disposing (const lang::EventObject &rObject) override
 
void Dispose ()
 

Private Attributes

uno::Reference< sdb::XDatabaseContext > m_xDatabaseContext
 
SwDBManagerm_pDBManager
 

Detailed Description

Listens to removed data sources, and if it's one that's embedded into this document, triggers embedding removal.

Definition at line 229 of file dbmgr.cxx.

Constructor & Destructor Documentation

SwDataSourceRemovedListener::SwDataSourceRemovedListener ( SwDBManager rDBManager)
explicit

Definition at line 244 of file dbmgr.cxx.

References comphelper::getProcessComponentContext(), and m_xDatabaseContext.

SwDataSourceRemovedListener::~SwDataSourceRemovedListener ( )
overridevirtual

Definition at line 252 of file dbmgr.cxx.

References m_xDatabaseContext.

Member Function Documentation

void SAL_CALL SwDataSourceRemovedListener::changedDatabaseLocation ( const sdb::DatabaseRegistrationEvent &  rEvent)
overridevirtual

Definition at line 290 of file dbmgr.cxx.

References revokedDatabaseLocation().

void SwDataSourceRemovedListener::Dispose ( )

Definition at line 301 of file dbmgr.cxx.

References m_pDBManager.

void SwDataSourceRemovedListener::disposing ( const lang::EventObject &  rObject)
overridevirtual

Definition at line 296 of file dbmgr.cxx.

References m_xDatabaseContext.

void SAL_CALL SwDataSourceRemovedListener::registeredDatabaseLocation ( const sdb::DatabaseRegistrationEvent &  rEvent)
overridevirtual

Definition at line 258 of file dbmgr.cxx.

void SAL_CALL SwDataSourceRemovedListener::revokedDatabaseLocation ( const sdb::DatabaseRegistrationEvent &  rEvent)
overridevirtual

Member Data Documentation

SwDBManager* SwDataSourceRemovedListener::m_pDBManager
private

Definition at line 232 of file dbmgr.cxx.

Referenced by Dispose(), and revokedDatabaseLocation().

uno::Reference<sdb::XDatabaseContext> SwDataSourceRemovedListener::m_xDatabaseContext
private

Definition at line 231 of file dbmgr.cxx.

Referenced by disposing(), SwDataSourceRemovedListener(), and ~SwDataSourceRemovedListener().


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