26 class OQueryTabWinUndoAct;
27 class OQueryTableConnection;
28 class OQueryTableWindow;
29 class OQueryDesignView;
51 virtual void AddTabWin(
const OUString& _rTableName,
const OUString& _rAliasName,
bool bNewTable =
false )
override;
55 void AddTabWin(
const OUString& strDatabase,
const OUString& strTableName,
const OUString& strAlias,
bool bNewTable);
91 virtual void ReSync()
override;
104 virtual std::shared_ptr<OTableWindowData>
CreateImpl(
const OUString& _rComposedName
105 ,
const OUString& _sTableName
106 ,
const OUString& _rWinName)
override;
virtual void EnsureVisible(const OTableWindow *_pWin)
virtual void onNoColumns_throw() override
called when init fails at the tablewindowdata because the m_xTable object could not provide columns,...
virtual void ReSync() override
rebuild everything (TabWins, Connections) (PRECONDITION: ClearAll was called previously)
virtual bool RemoveConnection(VclPtr< OTableConnection > &rConn, bool bDelete) override
RemoveConnection allows to remove connections from join table view.
bool FindTableFromField(const OUString &rFieldName, OTableFieldDescRef const &rInfo, sal_uInt16 &rCnt)
void GetConnection(OQueryTableConnection *pConn)
Inserting a Connection the structure.
bool ShowTabWin(OQueryTableWindow *pTabWin, OQueryTabWinUndoAct *pUndoAction, bool _bAppend)
void NotifyTabConnection(const OQueryTableConnection &rNewConn, bool _bCreateUndoAction=true)
announce new Connection and insert it, if not existing yet
bool ExistsAVisitedConn(const OQueryTableWindow *pFrom) const
virtual std::shared_ptr< OTableWindowData > CreateImpl(const OUString &_rComposedName, const OUString &_sTableName, const OUString &_rWinName) override
virtual bool suppressCrossNaturalJoin(const TTableConnectionData::value_type &_pData) const override
OQueryTableWindow * FindTable(const OUString &rAliasName)
search TabWin
virtual void EnsureVisible(const OTableWindow *_pWin) override
ensure visibility of TabWins (+ and invalidate connections)
virtual void ConnDoubleClicked(VclPtr< OTableConnection > &rConnection) override
bool ContainsTabWin(const OTableWindow &rTabWin)
base class overwritten: create and delete windows (not really delete, as it becomes an UndoAction)
void HideTabWin(OQueryTableWindow *pTabWin, OQueryTabWinUndoAct *pUndoAction)
virtual VclPtr< OTableWindow > createWindow(const TTableWindowData::value_type &_pData) override
factory method to create table windows
void createNewConnection()
opens the join dialog and allows to create a new join connection
void InsertField(const OTableFieldDescRef &rInfo)
insert field (simply passed to parents)
virtual void AddTabWin(const OUString &_rTableName, const OUString &_rAliasName, bool bNewTable=false) override
virtual void RemoveTabWin(OTableWindow *pTabWin) override
virtual void ClearAll() override
delete everything hard (TabWins, Connections), without any notifications
OQueryTableView(vcl::Window *pParent, OQueryDesignView *pView)
sal_Int32 CountTableAlias(const OUString &rName, sal_Int32 &rMax)
how many tables with a certain alias do I already have?
virtual void AddConnection(const OJoinExchangeData &jxdSource, const OJoinExchangeData &jxdDest) override
base class overwritten: create and delete Connections
void DropConnection(VclPtr< OQueryTableConnection > const &rConn)
Removing a Connection from the structure.