// OTableTreeListBox class OTableTreeListBox : public TreeListBox
{
css::uno::Reference< css::sdbc::XConnection >
m_xConnection; // the connection we're working for, set in implOnNewConnection, called by UpdateTableList
std::unique_ptr< ImageProvider >
m_xImageProvider; // provider for our images bool m_bVirtualRoot; // should the first entry be visible bool m_bNoEmptyFolders; // should empty catalogs/schematas be prevented from being displayed? bool m_bShowToggles; // show toggle buttons
/** determines whether the given entry denotes a tables folder
*/ bool isFolderEntry(const weld::TreeIter& rEntry) const;
/** fill the table list with the tables belonging to the connection described by the parameters @param_rxConnection theconnection,whichmustsupporttheservicecom.sun.star.sdb.Connection @throws <typescope="css::sdbc">SQLException</type>ifnoconnectioncouldbecreated
*/ void UpdateTableList( const css::uno::Reference< css::sdbc::XConnection >& _rxConnection
);
/** fill the table list with the tables and views determined by the two given containers. Theviewssequenceisusedtodeterminewhichtableisoftypeview. @param_rxConnectiontheconnectionwhereyougottheobjectnamesfrom.MustnotbeNULL. Usedtosplitthefullqualifiednamesintoitsparts. @param_rTablestable/viewsequence @param_rViewsviewsequence
*/ void UpdateTableList( const css::uno::Reference< css::sdbc::XConnection >& _rxConnection, const css::uno::Sequence< OUString>& _rTables, const css::uno::Sequence< OUString>& _rViews
);
/** to be used if a foreign instance added a table
*/
std::unique_ptr<weld::TreeIter> addedTable( const OUString& _rName );
/** to be used if a foreign instance removed a table
*/ void removedTable( const OUString& _rName );
/** does a wildcard check of the given entry <p>Therearetwodifferent'checked'states:Iftheuserchecksallchildrenofanentry,thisisdifferent fromcheckingtheentryitself.Thesecondiscalled'wildcard'checking,'causeintheresulting tablefilterit'srepresentedbyawildcard.</p>
*/ void checkWildcard(const weld::TreeIter& rEntry);
/** determine if the given entry is 'wildcard checked' @seecheckWildcard
*/ bool isWildcardChecked(const weld::TreeIter& rEntry);
void CheckButtons(); // make the button states consistent (bottom-up)
public: /** fill the table list with the tables and views determined by the two given containers @param_rxConnectiontheconnectionwhereyougottheobjectnamesfrom.MustnotbeNULL. Usedtosplitthefullqualifiednamesintoitsparts. @param_rTablestable/viewsequence,thesecondargumentis<TRUE/>ifitisatable,otherwiseitisaview.
*/ void UpdateTableList( const css::uno::Reference< css::sdbc::XConnection >& _rxConnection, const TNames& _rTables
);
/** returns a NamedDatabaseObject record which describes the given entry
*/
css::sdb::application::NamedDatabaseObject
describeObject(const weld::TreeIter& rEntry);
/** returns the fully qualified name of a table entry @param_pEntry theentrywhosenameistobeobtained.Mustnotdenoteafolderentry.
*/
OUString getQualifiedTableName(const weld::TreeIter& rEntry) const;
¤ 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.0.20Bemerkung:
(vorverarbeitet am 2026-09-28)
¤
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.