51 TTableWindowData::value_type _aReferencedTable );
64 virtual std::shared_ptr<OTableConnectionData>
NewInstance()
const;
66 void SetConnLine( sal_uInt16 nIndex,
const OUString& rSourceFieldName,
const OUString& rDestFieldName );
67 bool AppendConnLine(
const OUString& rSourceFieldName,
const OUString& rDestFieldName );
94 virtual bool Update(){
return true; }
Contains all connection data which exists between two windows.
const TTableWindowData::value_type & getReferencingTable() const
void setReferencedTable(const TTableWindowData::value_type &_pTable)
OConnectionLineDataVec & GetConnLineDataList()
TTableWindowData::value_type m_pReferencedTable
virtual void CopyFrom(const OTableConnectionData &rSource)
initialise from a source (more comfortable than a virtual assignment operator)
virtual std::shared_ptr< OTableConnectionData > NewInstance() const
deliver a new instance of my own type
TTableWindowData::value_type m_pReferencingTable
virtual bool Update()
Update create a new connection.
void ResetConnLines()
Deletes list of ConnLines.
virtual ~OTableConnectionData()
bool AppendConnLine(const OUString &rSourceFieldName, const OUString &rDestFieldName)
const OConnectionLineDataVec & GetConnLineDataList() const
const TTableWindowData::value_type & getReferencedTable() const
void SetConnLine(sal_uInt16 nIndex, const OUString &rSourceFieldName, const OUString &rDestFieldName)
OConnectionLineDataVec::size_type normalizeLines()
moves the empty lines to the back removes duplicated empty lines
void setReferencingTable(const TTableWindowData::value_type &_pTable)
OConnectionLineDataVec m_vConnLineData
OTableConnectionData & operator=(const OTableConnectionData &rConnData)
std::vector< OConnectionLineDataRef > OConnectionLineDataVec
std::vector< std::shared_ptr< OTableConnectionData > > TTableConnectionData