// Flags for the size adjustment of SbaJoinTabWins enumclass SizingFlags {
NONE = 0x0000,
Top = 0x0001,
Bottom = 0x0002,
Left = 0x0004,
Right = 0x0008,
}; namespace o3tl { template<> struct typed_flags<SizingFlags> : is_typed_flags<SizingFlags, 0x0f> {};
}
namespace dbaui
{ class OJoinDesignView; class OJoinTableView;
class OTableWindow : public ::cppu::BaseMutex
,public ::comphelper::OContainerListener
,public vcl::Window
{ friendclass OTableWindowTitle; friendclass OTableWindowListBox; protected: // and the table itself (needed for me as I want to lock it as long as the window is alive)
VclPtr<OTableWindowTitle> m_xTitle;
VclPtr<OTableWindowListBox> m_xListBox;
private:
TTableWindowData::value_type
m_pData;
::rtl::Reference< comphelper::OContainerListenerAdapter>
m_pContainerListener;
sal_Int32 m_nMoveCount; // how often the arrow keys was pressed
sal_Int32 m_nMoveIncrement; // how many pixel we should move
SizingFlags m_nSizingFlags;
// called at FIRST Init void FillListBox(); // called at EACH Init
virtualvoid OnEntryDoubleClicked(weld::TreeIter& /*rEntry*/) { } // called from the DoubleClickHdl of the ListBox
/** delete the user data with the equal type as created within createUserData @param_pUserData Theuserdatastoreinthelistboxentries.CreatedwithacalltocreateUserData. _pUserDatamaybe<NULL/>._pUserDatawillbesetto<NULL/>aftercall.
*/ virtualvoid deleteUserData(void*& _pUserData);
/** creates user information that will be append at the ListBoxentry @param_xColumn Thecorrespondingcolumn,canbe<NULL/>. @param_bPrimaryKey <TRUE/>whenthecolumnbelongstotheprimarykey @return theuserdatawhichwillbeappendatthelistboxentry,maybe<NULL/>
*/ virtualvoid* createUserData(const css::uno::Reference<
css::beans::XPropertySet>& _xColumn, bool _bPrimaryKey);
/** returns the name which should be used when displaying join or relations @return Thecomposednameorthewindowname.
*/ virtual OUString GetName() const = 0;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.