LibreOffice Module dbaccess (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
dbaui::ODataClipboard Class Reference

#include <dbexchange.hxx>

Inheritance diagram for dbaui::ODataClipboard:
[legend]
Collaboration diagram for dbaui::ODataClipboard:
[legend]

Public Member Functions

 ODataClipboard ()
 
 ODataClipboard (const css::uno::Reference< css::beans::XPropertySet > &i_rAliveForm, const css::uno::Sequence< css::uno::Any > &i_rSelectedRows, const bool i_bBookmarkSelection, const css::uno::Reference< css::uno::XComponentContext > &i_rORB)
 
void Update (const OUString &_rDatasource, const sal_Int32 _nCommandType, const OUString &_rCommand, const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, const css::uno::Reference< css::util::XNumberFormatter > &_rxFormatter, const css::uno::Reference< css::uno::XComponentContext > &_rxORB)
 
void Update (const OUString &_rDatasource, const sal_Int32 _nCommandType, const OUString &_rCommand, const css::uno::Reference< css::util::XNumberFormatter > &_rxFormatter, const css::uno::Reference< css::uno::XComponentContext > &_rxORB)
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
- Public Member Functions inherited from svx::ODataAccessObjectTransferable
void Update (const OUString &_rDatasource, const sal_Int32 _nCommandType, const OUString &_rCommand, const css::uno::Reference< css::sdbc::XConnection > &_rxConnection)
 
void Update (const OUString &_rDatasource, const sal_Int32 _nCommandType, const OUString &_rCommand)
 
 ODataAccessObjectTransferable (const css::uno::Reference< css::beans::XPropertySet > &_rxLivingForm)
 
 ODataAccessObjectTransferable ()
 

Protected Member Functions

virtual void AddSupportedFormats () override
 
virtual bool GetData (const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc) override
 
virtual void ObjectReleased () override
 
virtual bool WriteObject (tools::SvRef< SotTempStream > &rxOStm, void *pUserObject, sal_uInt32 nUserObjectId, const css::datatransfer::DataFlavor &rFlavor) override
 
- Protected Member Functions inherited from svx::ODataAccessObjectTransferable
virtual void AddSupportedFormats () override
 
virtual bool GetData (const css::datatransfer::DataFlavor &rFlavor, const OUString &rDestDoc) override
 
virtual void ObjectReleased () override
 
const ODataAccessDescriptorgetDescriptor () const
 
ODataAccessDescriptorgetDescriptor ()
 
void addCompatibleSelectionDescription (const css::uno::Sequence< css::uno::Any > &_rSelRows)
 

Private Attributes

::rtl::Reference< OHTMLImportExportm_pHtml
 
::rtl::Reference< ORTFImportExportm_pRtf
 

Additional Inherited Members

- Static Public Member Functions inherited from svx::ODataAccessObjectTransferable
static bool canExtractObjectDescriptor (const DataFlavorExVector &_rFlavors)
 
static ODataAccessDescriptor extractObjectDescriptor (const TransferableDataHelper &_rData)
 

Detailed Description

Definition at line 38 of file dbexchange.hxx.

Constructor & Destructor Documentation

◆ ODataClipboard() [1/2]

dbaui::ODataClipboard::ODataClipboard ( )

Definition at line 61 of file dbexchange.cxx.

◆ ODataClipboard() [2/2]

dbaui::ODataClipboard::ODataClipboard ( const css::uno::Reference< css::beans::XPropertySet > &  i_rAliveForm,
const css::uno::Sequence< css::uno::Any > &  i_rSelectedRows,
const bool  i_bBookmarkSelection,
const css::uno::Reference< css::uno::XComponentContext > &  i_rORB 
)

Member Function Documentation

◆ AddSupportedFormats()

void dbaui::ODataClipboard::AddSupportedFormats ( )
overrideprotectedvirtual

Reimplemented from svx::ODataAccessObjectTransferable.

Definition at line 157 of file dbexchange.cxx.

References m_pHtml, and m_pRtf.

◆ disposing()

void SAL_CALL dbaui::ODataClipboard::disposing ( const css::lang::EventObject &  Source)
overridevirtual

◆ GetData()

bool dbaui::ODataClipboard::GetData ( const css::datatransfer::DataFlavor &  rFlavor,
const OUString &  rDestDoc 
)
overrideprotectedvirtual

◆ ObjectReleased()

void dbaui::ODataClipboard::ObjectReleased ( )
overrideprotectedvirtual

◆ Update() [1/2]

void dbaui::ODataClipboard::Update ( const OUString &  _rDatasource,
const sal_Int32  _nCommandType,
const OUString &  _rCommand,
const css::uno::Reference< css::sdbc::XConnection > &  _rxConnection,
const css::uno::Reference< css::util::XNumberFormatter > &  _rxFormatter,
const css::uno::Reference< css::uno::XComponentContext > &  _rxORB 
)

◆ Update() [2/2]

void dbaui::ODataClipboard::Update ( const OUString &  _rDatasource,
const sal_Int32  _nCommandType,
const OUString &  _rCommand,
const css::uno::Reference< css::util::XNumberFormatter > &  _rxFormatter,
const css::uno::Reference< css::uno::XComponentContext > &  _rxORB 
)

◆ WriteObject()

bool dbaui::ODataClipboard::WriteObject ( tools::SvRef< SotTempStream > &  rxOStm,
void *  pUserObject,
sal_uInt32  nUserObjectId,
const css::datatransfer::DataFlavor &  rFlavor 
)
overrideprotectedvirtual

Member Data Documentation

◆ m_pHtml

::rtl::Reference< OHTMLImportExport > dbaui::ODataClipboard::m_pHtml
private

Definition at line 41 of file dbexchange.hxx.

Referenced by AddSupportedFormats(), GetData(), and ObjectReleased().

◆ m_pRtf

::rtl::Reference< ORTFImportExport > dbaui::ODataClipboard::m_pRtf
private

Definition at line 42 of file dbexchange.hxx.

Referenced by AddSupportedFormats(), GetData(), and ObjectReleased().


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