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

#include <TokenWriter.hxx>

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

Public Member Functions

void setStream (SvStream *_pStream)
 
void setSTableName (const OUString &_sTableName)
 
virtual bool Write ()
 
virtual bool Read ()
 
void initialize (const svx::ODataAccessDescriptor &_aDataDescriptor)
 
void dispose ()
 
void enableCheckOnly ()
 
bool isCheckEnabled () const
 

Protected Member Functions

 ODatabaseImportExport (const svx::ODataAccessDescriptor &_aDataDescriptor, const css::uno::Reference< css::uno::XComponentContext > &_rM, const css::uno::Reference< css::util::XNumberFormatter > &_rxNumberF)
 
 ODatabaseImportExport (SharedConnection _xConnection, const css::uno::Reference< css::util::XNumberFormatter > &_rxNumberF, const css::uno::Reference< css::uno::XComponentContext > &_rM)
 
virtual ~ODatabaseImportExport () override
 
virtual void initialize ()
 

Protected Attributes

css::uno::Sequence< css::uno::Any > m_aSelection
 
bool m_bBookmarkSelection
 
SvStreamm_pStream
 
css::awt::FontDescriptor m_aFont
 
css::uno::Reference< css::beans::XPropertySetm_xObject
 
SharedConnection m_xConnection
 
css::uno::Reference< css::sdbc::XResultSet > m_xResultSet
 
css::uno::Reference< css::sdbc::XRow > m_xRow
 
css::uno::Reference< css::sdbcx::XRowLocate > m_xRowLocate
 
css::uno::Reference< css::sdbc::XResultSetMetaData > m_xResultSetMetaData
 
css::uno::Reference< css::container::XIndexAccess > m_xRowSetColumns
 
css::uno::Reference< css::util::XNumberFormatter > m_xFormatter
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
OUString m_sName
 
OUString m_sDefaultTableName
 
OUString m_sDataSourceName
 
sal_Int32 m_nCommandType
 
bool m_bNeedToReInitialize
 
rtl_TextEncoding m_eDestEnc
 
bool m_bInInitialize
 
bool m_bCheckOnly
 

Private Member Functions

virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
void impl_initFromDescriptor (const svx::ODataAccessDescriptor &_aDataDescriptor, bool _bPlusDefaultInit)
 

Detailed Description

Definition at line 50 of file TokenWriter.hxx.

Constructor & Destructor Documentation

◆ ODatabaseImportExport() [1/2]

dbaui::ODatabaseImportExport::ODatabaseImportExport ( const svx::ODataAccessDescriptor _aDataDescriptor,
const css::uno::Reference< css::uno::XComponentContext > &  _rM,
const css::uno::Reference< css::util::XNumberFormatter > &  _rxNumberF 
)
protected

◆ ODatabaseImportExport() [2/2]

dbaui::ODatabaseImportExport::ODatabaseImportExport ( SharedConnection  _xConnection,
const css::uno::Reference< css::util::XNumberFormatter > &  _rxNumberF,
const css::uno::Reference< css::uno::XComponentContext > &  _rM 
)
protected

◆ ~ODatabaseImportExport()

ODatabaseImportExport::~ODatabaseImportExport ( )
overrideprotectedvirtual

Definition at line 114 of file TokenWriter.cxx.

References dispose().

Member Function Documentation

◆ dispose()

void ODatabaseImportExport::dispose ( void  )

◆ disposing()

void SAL_CALL ODatabaseImportExport::disposing ( const css::lang::EventObject &  Source)
overrideprivatevirtual

◆ enableCheckOnly()

void dbaui::ODatabaseImportExport::enableCheckOnly ( )
inline

Definition at line 105 of file TokenWriter.hxx.

References m_bCheckOnly.

◆ impl_initFromDescriptor()

void ODatabaseImportExport::impl_initFromDescriptor ( const svx::ODataAccessDescriptor _aDataDescriptor,
bool  _bPlusDefaultInit 
)
private

◆ initialize() [1/2]

void ODatabaseImportExport::initialize ( )
protectedvirtual

◆ initialize() [2/2]

void ODatabaseImportExport::initialize ( const svx::ODataAccessDescriptor _aDataDescriptor)

Definition at line 152 of file TokenWriter.cxx.

References impl_initFromDescriptor().

◆ isCheckEnabled()

bool dbaui::ODatabaseImportExport::isCheckEnabled ( ) const
inline

Definition at line 106 of file TokenWriter.hxx.

References m_bCheckOnly.

Referenced by dbaui::ORTFImportExport::Read(), and dbaui::OHTMLImportExport::Read().

◆ Read()

bool ODatabaseImportExport::Read ( )
virtual

◆ setSTableName()

void dbaui::ODatabaseImportExport::setSTableName ( const OUString &  _sTableName)
inline

Definition at line 97 of file TokenWriter.hxx.

References m_sDefaultTableName.

◆ setStream()

void dbaui::ODatabaseImportExport::setStream ( SvStream _pStream)
inline

Definition at line 94 of file TokenWriter.hxx.

References m_pStream.

Referenced by dbaui::ODataClipboard::WriteObject().

◆ Write()

bool ODatabaseImportExport::Write ( )
virtual

Member Data Documentation

◆ m_aFont

css::awt::FontDescriptor dbaui::ODatabaseImportExport::m_aFont
protected

◆ m_aSelection

css::uno::Sequence< css::uno::Any> dbaui::ODatabaseImportExport::m_aSelection
protected

◆ m_bBookmarkSelection

bool dbaui::ODatabaseImportExport::m_bBookmarkSelection
protected

Definition at line 54 of file TokenWriter.hxx.

Referenced by impl_initFromDescriptor(), and dbaui::ORTFImportExport::Write().

◆ m_bCheckOnly

bool dbaui::ODatabaseImportExport::m_bCheckOnly
protected

Definition at line 78 of file TokenWriter.hxx.

Referenced by enableCheckOnly(), and isCheckEnabled().

◆ m_bInInitialize

bool dbaui::ODatabaseImportExport::m_bInInitialize
protected

Definition at line 77 of file TokenWriter.hxx.

Referenced by initialize(), Read(), and Write().

◆ m_bNeedToReInitialize

bool dbaui::ODatabaseImportExport::m_bNeedToReInitialize
protected

Definition at line 74 of file TokenWriter.hxx.

Referenced by disposing(), initialize(), Read(), and Write().

◆ m_eDestEnc

rtl_TextEncoding dbaui::ODatabaseImportExport::m_eDestEnc
protected

◆ m_nCommandType

sal_Int32 dbaui::ODatabaseImportExport::m_nCommandType
protected

Definition at line 73 of file TokenWriter.hxx.

Referenced by impl_initFromDescriptor(), and initialize().

◆ m_pStream

SvStream* dbaui::ODatabaseImportExport::m_pStream
protected

◆ m_sDataSourceName

OUString dbaui::ODatabaseImportExport::m_sDataSourceName
protected

Definition at line 72 of file TokenWriter.hxx.

Referenced by impl_initFromDescriptor(), and initialize().

◆ m_sDefaultTableName

OUString dbaui::ODatabaseImportExport::m_sDefaultTableName
protected

Definition at line 70 of file TokenWriter.hxx.

Referenced by dbaui::OHTMLImportExport::Read(), and setSTableName().

◆ m_sName

OUString dbaui::ODatabaseImportExport::m_sName
protected

◆ m_xConnection

SharedConnection dbaui::ODatabaseImportExport::m_xConnection
protected

◆ m_xContext

css::uno::Reference< css::uno::XComponentContext > dbaui::ODatabaseImportExport::m_xContext
protected

◆ m_xFormatter

css::uno::Reference< css::util::XNumberFormatter > dbaui::ODatabaseImportExport::m_xFormatter
protected

◆ m_xObject

css::uno::Reference< css::beans::XPropertySet > dbaui::ODatabaseImportExport::m_xObject
protected

◆ m_xResultSet

css::uno::Reference< css::sdbc::XResultSet > dbaui::ODatabaseImportExport::m_xResultSet
protected

◆ m_xResultSetMetaData

css::uno::Reference< css::sdbc::XResultSetMetaData > dbaui::ODatabaseImportExport::m_xResultSetMetaData
protected

◆ m_xRow

css::uno::Reference< css::sdbc::XRow > dbaui::ODatabaseImportExport::m_xRow
protected

◆ m_xRowLocate

css::uno::Reference< css::sdbcx::XRowLocate > dbaui::ODatabaseImportExport::m_xRowLocate
protected

◆ m_xRowSetColumns

css::uno::Reference< css::container::XIndexAccess > dbaui::ODatabaseImportExport::m_xRowSetColumns
protected

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