22#include <com/sun/star/beans/XPropertySet.hpp>
23#include <com/sun/star/container/XNameAccess.hpp>
24#include <com/sun/star/container/XIndexAccess.hpp>
25#include <com/sun/star/sdbc/XConnection.hpp>
39 css::uno::Reference< css::beans::XPropertySet >
m_xTable;
40 css::uno::Reference< css::container::XIndexAccess>
m_xKeys;
41 css::uno::Reference< css::container::XNameAccess >
m_xColumns;
53 explicit OTableWindowData(
const css::uno::Reference< css::beans::XPropertySet>& _xTable
54 ,OUString _sComposedName
55 ,OUString strTableName
65 bool init(
const css::uno::Reference< css::sdbc::XConnection >& _xConnection
66 ,
bool _bAllowQueries);
85 css::uno::Reference< css::container::XIndexAccess>
getKeys()
const { ::osl::MutexGuard aGuard(
m_aMutex );
return m_xKeys; }
89 virtual void _disposing(
const css::lang::EventObject& _rSource )
override;
const Point & GetPosition() const
const Size & GetSize() const
const OUString & GetTableName() const
css::uno::Reference< css::beans::XPropertySet > m_xTable
OTableWindowData(const css::uno::Reference< css::beans::XPropertySet > &_xTable, OUString _sComposedName, OUString strTableName, OUString sWinName)
css::uno::Reference< css::container::XIndexAccess > getKeys() const
css::uno::Reference< css::container::XNameAccess > getColumns() const
mutable::osl::Mutex m_aMutex
css::uno::Reference< css::container::XIndexAccess > m_xKeys
css::uno::Reference< css::beans::XPropertySet > getTable() const
void SetPosition(const Point &rPos)
void SetSize(const Size &rSize)
virtual void _disposing(const css::lang::EventObject &_rSource) override
css::uno::Reference< css::container::XNameAccess > m_xColumns
virtual ~OTableWindowData() override
void SetWinName(const OUString &rWinName)
bool init(const css::uno::Reference< css::sdbc::XConnection > &_xConnection, bool _bAllowQueries)
late constructor
const OUString & GetComposedName() const
const OUString & GetWinName() const
std::vector< std::shared_ptr< OTableWindowData > > TTableWindowData