30 class NamedValueCollection;
36 class AddTableDialogContext;
55 virtual void Execute(sal_uInt16 nId,
const css::uno::Sequence< css::beans::PropertyValue>& aArgs)
override;
61 void loadTableWindows( const ::comphelper::NamedValueCollection& i_rViewSettings );
67 void loadTableWindow( const ::comphelper::NamedValueCollection& i_rTableWindowSettings );
77 OJoinController(
const css::uno::Reference< css::uno::XComponentContext >& _rM);
85 virtual void reconnect(
bool _bUI )
override;
117 virtual void SAL_CALL
disposing()
override;
143 TTableWindowData::value_type
createTableWindowData(
const OUString& _sComposedName,
const OUString& _sTableName,
const OUString& _sWindowName);
std::unique_ptr< AddTableDialogContext > m_pDialogContext
::dbtools::SQLExceptionInfo m_aExceptionInfo
void removeConnectionData(const TTableConnectionData::value_type &_pData)
erase the data in the data vector
void loadTableWindows(const ::comphelper::NamedValueCollection &i_rViewSettings)
loads the information for the windows.
virtual void Execute(sal_uInt16 nId, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
std::shared_ptr< OAddTableDlg > m_xAddTableDialog
TTableWindowData::value_type createTableWindowData(const OUString &_sComposedName, const OUString &_sTableName, const OUString &_sWindowName)
virtual ~OJoinController() override
Point m_aMinimumTableViewSize
void loadTableWindow(const ::comphelper::NamedValueCollection &i_rTableWindowSettings)
loads the information for one window.
OJoinController(const css::uno::Reference< css::uno::XComponentContext > &_rM)
::dbtools::SQLExceptionInfo clearOccurredError()
just returns the internal member and clears it
virtual bool allowQueries() const =0
determines whether or not it's allowed for queries to participate in the game
TTableWindowData & getTableWindowData()
virtual short saveModified()=0
TTableConnectionData & getTableConnectionData()
void saveTableWindows(::comphelper::NamedValueCollection &o_rViewSettings) const
saves the TableWindows structure in a sequence of property values
virtual void reconnect(bool _bUI) override
void SaveTabWinsPosSize(OJoinTableView::OTableWindowMap *pTabWinList, tools::Long nOffsetX, tools::Long nOffsetY)
virtual FeatureState GetState(sal_uInt16 nId) const override
virtual void impl_onModifyChanged() override
static void SaveTabWinPosSize(OTableWindow const *pTabWin, tools::Long nOffsetX, tools::Long nOffsetY)
virtual void describeSupportedFeatures() override
virtual void SAL_CALL disposing() override
AddTableDialogContext & impl_getDialogContext() const
TTableConnectionData m_vTableConnectionData
void setErrorOccurred(const ::dbtools::SQLExceptionInfo &_rInfo)
only defines a method to save a SQLException in d&d methods to show the error at a later state set th...
OAddTableDlg * getAddTableDialog() const
virtual OJoinDesignView * getJoinView()
provides access to the OJoinDesignView belonging to the controller, which might or might not be the d...
virtual bool allowViews() const =0
determines whether or not it's allowed for database views to participate in the game
virtual sal_Bool SAL_CALL suspend(sal_Bool bSuspend) override
TTableWindowData m_vTableData
std::map< OUString, VclPtr< OTableWindow > > OTableWindowMap
virtual void SAL_CALL disposing() override
std::vector< std::shared_ptr< OTableConnectionData > > TTableConnectionData
std::vector< std::shared_ptr< OTableWindowData > > TTableWindowData
OSingleDocumentController OJoinController_BASE
describes the state of a feature