LibreOffice Module connectivity (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
connectivity::calc::OCalcTable Class Reference

#include <CTable.hxx>

Inheritance diagram for connectivity::calc::OCalcTable:
[legend]
Collaboration diagram for connectivity::calc::OCalcTable:
[legend]

Public Member Functions

 OCalcTable (sdbcx::OCollection *_pTables, OCalcConnection *_pConnection, const OUString &Name, const OUString &Type, const OUString &Description=OUString(), const OUString &SchemaName=OUString(), const OUString &CatalogName=OUString())
 
virtual bool fetchRow (OValueRefRow &_rRow, const OSQLColumns &_rCols, bool bRetrieveData) override
 
virtual void SAL_CALL disposing () override
 
void construct () override
 
- Public Member Functions inherited from connectivity::component::OComponentTable
 OComponentTable (sdbcx::OCollection *_pTables, file::OConnection *_pConnection, const OUString &Name, const OUString &Type, const OUString &Description, const OUString &SchemaName, const OUString &CatalogName)
 
virtual void refreshColumns () override
 
virtual void refreshIndexes () override
 
virtual sal_Int32 getCurrentLastPos () const override
 
virtual bool seekRow (IResultSetHelper::Movement eCursorPosition, sal_Int32 nOffset, sal_Int32 &nCurPos) override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
- Public Member Functions inherited from connectivity::file::OFileTable
virtual void refreshColumns () override
 
virtual void refreshKeys () override
 
virtual void refreshIndexes () override
 
 OFileTable (sdbcx::OCollection *_pTables, OConnection *_pConnection)
 
 OFileTable (sdbcx::OCollection *_pTables, OConnection *_pConnection, const OUString &Name, const OUString &Type, const OUString &Description, const OUString &SchemaName, const OUString &CatalogName)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL disposing () override
 
OConnectiongetConnection () const
 
virtual sal_Int32 getCurrentLastPos () const
 
virtual bool seekRow (IResultSetHelper::Movement eCursorPosition, sal_Int32 nOffset, sal_Int32 &nCurPos)=0
 
virtual bool fetchRow (OValueRefRow &_rRow, const OSQLColumns &_rCols, bool bRetrieveData)=0
 
const ::rtl::Reference< OSQLColumns > & getTableColumns () const
 
virtual bool InsertRow (OValueRefVector &rRow, const css::uno::Reference< css::container::XIndexAccess > &_xCols)
 
virtual bool DeleteRow (const OSQLColumns &_rCols)
 
virtual bool UpdateRow (OValueRefVector &rRow, OValueRefRow &pOrgRow, const css::uno::Reference< css::container::XIndexAccess > &_xCols)
 
virtual void addColumn (const css::uno::Reference< css::beans::XPropertySet > &descriptor)
 
virtual void dropColumn (sal_Int32 _nPos)
 
virtual void refreshHeader ()
 
OUString SAL_CALL getName () override
 
const OUString & getSchema () const
 
bool isReadOnly () const
 
sal_Int32 getFilePos () const
 
- Public Member Functions inherited from connectivity::sdbcx::OTable
 OTable (OCollection *_pTables, bool _bCase)
 
 OTable (OCollection *_pTables, bool _bCase, const OUString &Name, OUString Type, OUString Description=OUString(), OUString SchemaName=OUString(), OUString CatalogName=OUString())
 
virtual ~OTable () override
 
 DECLARE_SERVICE_INFO ()
 
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual void construct () override
 
virtual void refreshColumns () override
 
virtual void refreshKeys ()
 
virtual void refreshIndexes ()
 
virtual void SAL_CALL disposing () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getColumns () override
 
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL getKeys () override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL createDataDescriptor () override
 
virtual css::uno::Reference< css::container::XNameAccess > SAL_CALL getIndexes () override
 
virtual void SAL_CALL rename (const OUString &newName) override
 
virtual void SAL_CALL alterColumnByName (const OUString &colName, const css::uno::Reference< css::beans::XPropertySet > &descriptor) override
 
virtual void SAL_CALL alterColumnByIndex (sal_Int32 index, const css::uno::Reference< css::beans::XPropertySet > &descriptor) override
 
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > getMetaData () const
 
- Public Member Functions inherited from cppu::ImplHelper4< class Ifc1, class Ifc2, class Ifc3, class Ifc4 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
virtual void refreshColumns ()=0
 
- Public Member Functions inherited from comphelper::OIdPropertyArrayUsageHelper< class TYPE >
 OIdPropertyArrayUsageHelper ()
 
virtual ~OIdPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper (sal_Int32 nId)
 
- Public Member Functions inherited from connectivity::sdbcx::ODescriptor
 ODescriptor (::cppu::OBroadcastHelper &_rBHelper, bool _bCase, bool _bNew=false)
 
virtual ~ODescriptor () override
 
bool isNew () const
 
void setNew (bool _bNew)
 
bool isCaseSensitive () const
 
virtual void construct ()
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes ()
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 

Private Member Functions

void fillColumns ()
 

Private Attributes

std::vector< sal_Int32 > m_aTypes
 
css::uno::Reference< css::sheet::XSpreadsheet > m_xSheet
 
OCalcConnectionm_pCalcConnection
 
sal_Int32 m_nStartCol
 
sal_Int32 m_nStartRow
 
sal_Int32 m_nDataCols
 
bool m_bHasHeaders
 
css::uno::Reference< css::util::XNumberFormats > m_xFormats
 
::Date m_aNullDate
 

Additional Inherited Members

- Static Public Member Functions inherited from connectivity::file::OFileTable
static std::unique_ptr< SvStreamcreateStream_simpleError (const OUString &_rFileName, StreamMode _eOpenMode)
 
- Static Public Member Functions inherited from connectivity::sdbcx::ODescriptor
static bool isNew (const css::uno::Reference< css::uno::XInterface > &_rxDescriptor)
 
- Protected Member Functions inherited from connectivity::component::OComponentTable
virtual void FileClose () override
 
- Protected Member Functions inherited from connectivity::file::OFileTable
virtual void FileClose ()
 
virtual ~OFileTable () override
 
- Protected Member Functions inherited from connectivity::sdbcx::OTable
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper (sal_Int32 _nId) const override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
- Protected Member Functions inherited from cppu::ImplHelper4< class Ifc1, class Ifc2, class Ifc3, class Ifc4 >
 ~ImplHelper4 () SAL_NOEXCEPT
 
- Protected Member Functions inherited from connectivity::sdbcx::IRefreshableColumns
 ~IRefreshableColumns ()
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper (sal_Int32 nId) const=0
 
- Protected Member Functions inherited from connectivity::sdbcx::ODescriptor
::cppu::IPropertyArrayHelperdoCreateArrayHelper () const
 helper for derived classes to implement OPropertyArrayUsageHelper::createArrayHelper More...
 
- Protected Member Functions inherited from comphelper::OPropertyContainer
 OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
void registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
 
void registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 
- Protected Attributes inherited from connectivity::component::OComponentTable
sal_Int32 m_nDataRows
 
- Protected Attributes inherited from connectivity::file::OFileTable
OConnectionm_pConnection
 
std::unique_ptr< SvStreamm_pFileStream
 
::rtl::Reference< OSQLColumnsm_aColumns
 
sal_Int32 m_nFilePos
 
std::unique_ptr< sal_uInt8[]> m_pBuffer
 
sal_uInt16 m_nBufferSize
 
bool m_bWriteable
 
- Protected Attributes inherited from connectivity::sdbcx::OTable
OUString m_CatalogName
 
OUString m_SchemaName
 
OUString m_Description
 
OUString m_Type
 
std::unique_ptr< OCollectionm_xKeys
 
std::unique_ptr< OCollectionm_xColumns
 
std::unique_ptr< OCollectionm_xIndexes
 
OCollectionm_pTables
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from connectivity::sdbcx::ODescriptor
OUString m_Name
 

Detailed Description

Definition at line 39 of file calc/CTable.hxx.

Constructor & Destructor Documentation

◆ OCalcTable()

OCalcTable::OCalcTable ( sdbcx::OCollection _pTables,
OCalcConnection _pConnection,
const OUString &  Name,
const OUString &  Type,
const OUString &  Description = OUString(),
const OUString &  SchemaName = OUString(),
const OUString &  CatalogName = OUString() 
)

Definition at line 498 of file calc/CTable.cxx.

References EMPTY, and Name.

Member Function Documentation

◆ construct()

void OCalcTable::construct ( )
overridevirtual

◆ disposing()

void SAL_CALL OCalcTable::disposing ( )
overridevirtual

◆ fetchRow()

bool OCalcTable::fetchRow ( OValueRefRow _rRow,
const OSQLColumns _rCols,
bool  bRetrieveData 
)
overridevirtual

◆ fillColumns()

void OCalcTable::fillColumns ( )
private

Member Data Documentation

◆ m_aNullDate

::Date connectivity::calc::OCalcTable::m_aNullDate
private

Definition at line 50 of file calc/CTable.hxx.

Referenced by construct(), and fetchRow().

◆ m_aTypes

std::vector<sal_Int32> connectivity::calc::OCalcTable::m_aTypes
private

Definition at line 42 of file calc/CTable.hxx.

Referenced by fetchRow(), and fillColumns().

◆ m_bHasHeaders

bool connectivity::calc::OCalcTable::m_bHasHeaders
private

Definition at line 48 of file calc/CTable.hxx.

Referenced by construct(), fetchRow(), and fillColumns().

◆ m_nDataCols

sal_Int32 connectivity::calc::OCalcTable::m_nDataCols
private

Definition at line 47 of file calc/CTable.hxx.

Referenced by construct(), and fillColumns().

◆ m_nStartCol

sal_Int32 connectivity::calc::OCalcTable::m_nStartCol
private

Definition at line 45 of file calc/CTable.hxx.

Referenced by construct(), fetchRow(), and fillColumns().

◆ m_nStartRow

sal_Int32 connectivity::calc::OCalcTable::m_nStartRow
private

Definition at line 46 of file calc/CTable.hxx.

Referenced by construct(), fetchRow(), and fillColumns().

◆ m_pCalcConnection

OCalcConnection* connectivity::calc::OCalcTable::m_pCalcConnection
private

Definition at line 44 of file calc/CTable.hxx.

Referenced by construct(), and disposing().

◆ m_xFormats

css::uno::Reference< css::util::XNumberFormats > connectivity::calc::OCalcTable::m_xFormats
private

Definition at line 49 of file calc/CTable.hxx.

Referenced by construct(), and fillColumns().

◆ m_xSheet

css::uno::Reference< css::sheet::XSpreadsheet > connectivity::calc::OCalcTable::m_xSheet
private

Definition at line 43 of file calc/CTable.hxx.

Referenced by construct(), fetchRow(), and fillColumns().


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