24#include <com/sun/star/awt/PosSize.hpp>
26extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
28 css::uno::XComponentContext* context, css::uno::Sequence<css::uno::Any>
const& )
30 return cppu::acquire(new ::dbaui::OColumnControl(context));
53 for (
const OUString& s : aSupported)
54 if (s == _rServiceName)
61 return {
"com.sun.star.awt.UnoControl",
"com.sun.star.sdb.ColumnDescriptorControl" };
66 return "com.sun.star.sdb.ColumnDescriptorControl";
71 ::osl::ClearableMutexGuard aGuard(
GetMutex() );
86 OSL_ENSURE(pPeer !=
nullptr,
"FmXGridControl::createPeer : imp_CreatePeer didn't return a peer !");
98 xV->setZoom( aComponentInfos.
nZoomX, aComponentInfos.
nZoomY );
105 pPeer->setConnection(xCon);
108 sal_Int32 nWidth = 50;
110 pPeer->setEditWidth(nWidth);
114 xW->setVisible(
true);
117 xW->setEnable(
false);
139 xPeerView->setGraphics( xGraphics );
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_dbu_OColumnControl_get_implementation(css::uno::XComponentContext *context, css::uno::Sequence< css::uno::Any > const &)
css::uno::Reference< css::awt::XControlModel > SAL_CALL getModel() override
MouseListenerMultiplexer maMouseListeners
MouseMotionListenerMultiplexer maMouseMotionListeners
KeyListenerMultiplexer maKeyListeners
::osl::Mutex & GetMutex()
virtual void updateFromModel()
UnoControlComponentInfos maComponentInfos
FocusListenerMultiplexer maFocusListeners
void SAL_CALL setPosSize(sal_Int32 X, sal_Int32 Y, sal_Int32 Width, sal_Int32 Height, sal_Int16 Flags) override
css::uno::Reference< css::awt::XWindowPeer > SAL_CALL getPeer() override
OUString SAL_CALL getImplementationName() override
WindowListenerMultiplexer maWindowListeners
void setPeer(const css::uno::Reference< css::awt::XVclWindowPeer > &_xPeer)
PaintListenerMultiplexer maPaintListeners
css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
css::uno::Reference< css::awt::XGraphics > mxGraphics
vcl::Window * GetWindow() const
virtual OUString GetComponentServiceName() const override
OColumnControl(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
virtual void SAL_CALL createPeer(const css::uno::Reference< css::awt::XToolkit > &_rToolkit, const css::uno::Reference< css::awt::XWindowPeer > &Parent) override
css::uno::Reference< css::uno::XComponentContext > m_xContext
Reference< XComponentContext > m_xContext
constexpr OUStringLiteral PROPERTY_COLUMN(u"Column")
constexpr OUStringLiteral SERVICE_CONTROLDEFAULT
constexpr OUStringLiteral PROPERTY_ACTIVE_CONNECTION(u"ActiveConnection")
constexpr OUStringLiteral PROPERTY_EDIT_WIDTH(u"EditWidth")