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

#include <TokenWriter.hxx>

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

Public Member Functions

 ORowSetImportExport (weld::Window *pParent, const css::uno::Reference< css::sdbc::XResultSetUpdate > &xResultSetUpdate, const svx::ODataAccessDescriptor &aDataDescriptor, const css::uno::Reference< css::uno::XComponentContext > &rM)
 
virtual bool Write () override
 
virtual bool Read () override
 
- Public Member Functions inherited from dbaui::ODatabaseImportExport
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

virtual void initialize () override
 
- Protected Member Functions inherited from dbaui::ODatabaseImportExport
 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 ()
 

Private Member Functions

bool insertNewRow ()
 
virtual void initialize ()
 
void initialize (const svx::ODataAccessDescriptor &_aDataDescriptor)
 

Private Attributes

std::vector< sal_Int32 > m_aColumnMapping
 
std::vector< sal_Int32 > m_aColumnTypes
 
css::uno::Reference< css::sdbc::XResultSetUpdate > m_xTargetResultSetUpdate
 
css::uno::Reference< css::sdbc::XRowUpdate > m_xTargetRowUpdate
 
css::uno::Reference< css::sdbc::XResultSetMetaData > m_xTargetResultSetMetaData
 
weld::Windowm_pParent
 
bool m_bAlreadyAsked
 

Additional Inherited Members

- Protected Attributes inherited from dbaui::ODatabaseImportExport
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
 

Detailed Description

Definition at line 176 of file TokenWriter.hxx.

Constructor & Destructor Documentation

◆ ORowSetImportExport()

ORowSetImportExport::ORowSetImportExport ( weld::Window pParent,
const css::uno::Reference< css::sdbc::XResultSetUpdate > &  xResultSetUpdate,
const svx::ODataAccessDescriptor aDataDescriptor,
const css::uno::Reference< css::uno::XComponentContext > &  rM 
)

Definition at line 43 of file RowSetDrop.cxx.

Member Function Documentation

◆ initialize() [1/3]

void ODatabaseImportExport::initialize ( )
privatevirtual

Reimplemented from dbaui::ODatabaseImportExport.

Definition at line 92 of file TokenWriter.cxx.

◆ initialize() [2/3]

void ORowSetImportExport::initialize ( )
overrideprotectedvirtual

◆ initialize() [3/3]

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

Definition at line 102 of file TokenWriter.cxx.

References CommandType, and m_pStream.

◆ insertNewRow()

bool ORowSetImportExport::insertNewRow ( )
private

◆ Read()

bool ORowSetImportExport::Read ( )
overridevirtual

◆ Write()

bool ORowSetImportExport::Write ( )
overridevirtual

Reimplemented from dbaui::ODatabaseImportExport.

Definition at line 95 of file RowSetDrop.cxx.

Member Data Documentation

◆ m_aColumnMapping

std::vector<sal_Int32> dbaui::ORowSetImportExport::m_aColumnMapping
private

Definition at line 178 of file TokenWriter.hxx.

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

◆ m_aColumnTypes

std::vector<sal_Int32> dbaui::ORowSetImportExport::m_aColumnTypes
private

Definition at line 179 of file TokenWriter.hxx.

Referenced by initialize(), and insertNewRow().

◆ m_bAlreadyAsked

bool dbaui::ORowSetImportExport::m_bAlreadyAsked
private

Definition at line 184 of file TokenWriter.hxx.

Referenced by insertNewRow().

◆ m_pParent

weld::Window* dbaui::ORowSetImportExport::m_pParent
private

Definition at line 183 of file TokenWriter.hxx.

Referenced by insertNewRow().

◆ m_xTargetResultSetMetaData

css::uno::Reference< css::sdbc::XResultSetMetaData > dbaui::ORowSetImportExport::m_xTargetResultSetMetaData
private

Definition at line 182 of file TokenWriter.hxx.

Referenced by initialize().

◆ m_xTargetResultSetUpdate

css::uno::Reference< css::sdbc::XResultSetUpdate > dbaui::ORowSetImportExport::m_xTargetResultSetUpdate
private

Definition at line 180 of file TokenWriter.hxx.

Referenced by initialize(), and insertNewRow().

◆ m_xTargetRowUpdate

css::uno::Reference< css::sdbc::XRowUpdate > dbaui::ORowSetImportExport::m_xTargetRowUpdate
private

Definition at line 181 of file TokenWriter.hxx.

Referenced by insertNewRow().


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