22#include <com/sun/star/graphic/XGraphic.hpp>
23#include <com/sun/star/sdbc/XConnection.hpp>
51 const css::uno::Reference< css::sdbc::XConnection >& _rxConnection
65 const OUString& _rName,
66 const sal_Int32 _nDatabaseObjectType
70 css::uno::Reference<css::graphic::XGraphic>
getXGraphic(
const OUString& _rName,
71 const sal_Int32 _nDatabaseObjectType);
88 sal_Int32 _nDatabaseObjectType
100 css::uno::Reference< css::container::XNameAccess >
mxViews;
102 css::uno::Reference< css::sdb::application::XTableUIProvider >
mxTableUI;
static OUString getFolderImageId(sal_Int32 _nDatabaseObjectType)
css::uno::Reference< css::graphic::XGraphic > getXGraphic(const OUString &_rName, const sal_Int32 _nDatabaseObjectType)
css::uno::Reference< css::sdbc::XConnection > mxConnection
the connection we work with
ImageProvider()
creates a semi-functional ImageProvider instance
css::uno::Reference< css::sdb::application::XTableUIProvider > mxTableUI
interface for providing table's UI
static OUString getDatabaseImage()
retrieves the image to be used for a database as a whole.
static OUString getDefaultImageResourceID(sal_Int32 _nDatabaseObjectType)
returns the resource ID for the default image to be used for a database object
css::uno::Reference< css::container::XNameAccess > mxViews
the views of the connection, if the DB supports views
OUString getImageId(const OUString &_rName, const sal_Int32 _nDatabaseObjectType)
returns the image to be used for a database object with the given name
ImageProvider(const css::uno::Reference< css::sdbc::XConnection > &_rxConnection)
creates an ImageProvider instance