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

#include <mailmergehelper.hxx>

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

Public Member Functions

 SwMailTransferable (OUString aURL, OUString aName, OUString aMimeType)
 
 SwMailTransferable (OUString aBody, OUString aMimeType)
 
virtual ~SwMailTransferable () override
 
virtual css::uno::Any SAL_CALL getTransferData (const css::datatransfer::DataFlavor &aFlavor) override
 
virtual css::uno::Sequence< css::datatransfer::DataFlavor > SAL_CALL getTransferDataFlavors () override
 
virtual sal_Bool SAL_CALL isDataFlavorSupported (const css::datatransfer::DataFlavor &aFlavor) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelper< css::datatransfer::XTransferable, css::beans::XPropertySet >
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL dispose () noexcept final override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelperBase
virtual ~WeakComponentImplHelperBase () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual void disposing (std::unique_lock< std::mutex > &)
 
- Public Member Functions inherited from comphelper::UnoImplBase
virtual ~UnoImplBase ()
 

Private Attributes

OUString m_aMimeType
 
OUString m_sBody
 
OUString m_aURL
 
OUString m_aName
 
bool m_bIsBody
 

Additional Inherited Members

- Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase
void throwIfDisposed (std::unique_lock< std::mutex > &)
 
- Protected Attributes inherited from comphelper::WeakComponentImplHelperBase
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > maEventListeners
 
- Protected Attributes inherited from comphelper::UnoImplBase
std::mutex m_aMutex
 
bool m_bDisposed
 

Detailed Description

Definition at line 187 of file mailmergehelper.hxx.

Constructor & Destructor Documentation

◆ SwMailTransferable() [1/2]

SwMailTransferable::SwMailTransferable ( OUString  aURL,
OUString  aName,
OUString  aMimeType 
)

Definition at line 641 of file mailmergehelper.cxx.

References aMimeType, aName, aURL, m_aMimeType, m_aName, and m_aURL.

◆ SwMailTransferable() [2/2]

SwMailTransferable::SwMailTransferable ( OUString  aBody,
OUString  aMimeType 
)

Definition at line 634 of file mailmergehelper.cxx.

References aMimeType, and m_aMimeType.

◆ ~SwMailTransferable()

SwMailTransferable::~SwMailTransferable ( )
overridevirtual

Definition at line 650 of file mailmergehelper.cxx.

Member Function Documentation

◆ addPropertyChangeListener()

void SwMailTransferable::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 715 of file mailmergehelper.cxx.

◆ addVetoableChangeListener()

void SwMailTransferable::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 726 of file mailmergehelper.cxx.

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SwMailTransferable::getPropertySetInfo ( )
overridevirtual

Definition at line 698 of file mailmergehelper.cxx.

◆ getPropertyValue()

uno::Any SwMailTransferable::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 707 of file mailmergehelper.cxx.

References m_aURL.

◆ getTransferData()

uno::Any SwMailTransferable::getTransferData ( const css::datatransfer::DataFlavor &  aFlavor)
overridevirtual

◆ getTransferDataFlavors()

uno::Sequence< datatransfer::DataFlavor > SwMailTransferable::getTransferDataFlavors ( )
overridevirtual

◆ isDataFlavorSupported()

sal_Bool SwMailTransferable::isDataFlavorSupported ( const css::datatransfer::DataFlavor &  aFlavor)
overridevirtual

Definition at line 692 of file mailmergehelper.cxx.

References m_aMimeType.

◆ removePropertyChangeListener()

void SwMailTransferable::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 720 of file mailmergehelper.cxx.

◆ removeVetoableChangeListener()

void SwMailTransferable::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 732 of file mailmergehelper.cxx.

◆ setPropertyValue()

void SwMailTransferable::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

Definition at line 703 of file mailmergehelper.cxx.

Member Data Documentation

◆ m_aMimeType

OUString SwMailTransferable::m_aMimeType
private

Definition at line 190 of file mailmergehelper.hxx.

Referenced by getTransferDataFlavors(), and isDataFlavorSupported().

◆ m_aName

OUString SwMailTransferable::m_aName
private

Definition at line 193 of file mailmergehelper.hxx.

Referenced by getTransferDataFlavors().

◆ m_aURL

OUString SwMailTransferable::m_aURL
private

Definition at line 192 of file mailmergehelper.hxx.

Referenced by getPropertyValue(), and getTransferData().

◆ m_bIsBody

bool SwMailTransferable::m_bIsBody
private

Definition at line 194 of file mailmergehelper.hxx.

Referenced by getTransferData(), and getTransferDataFlavors().

◆ m_sBody

OUString SwMailTransferable::m_sBody
private

Definition at line 191 of file mailmergehelper.hxx.

Referenced by getTransferData().


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