21#include <com/sun/star/beans/PropertyAttribute.hpp>
26extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
28 css::uno::XComponentContext* , css::uno::Sequence<css::uno::Any>
const& )
30 return cppu::acquire(new ::dbaui::OColumnControlModel());
58 ,m_sDefaultControl(_pSource->m_sDefaultControl)
59 ,m_aTabStop(_pSource->m_aTabStop)
60 ,m_bEnable(_pSource->m_bEnable)
61 ,m_nBorder(_pSource->m_nBorder)
69 if ( !OColumnControlModel_BASE::rBHelper.bDisposed && !OColumnControlModel_BASE::rBHelper.bInDispose )
105 return css::uno::Sequence<sal_Int8>();
110 return ::comphelper::concatSequences(
112 OPropertyContainer::getTypes( )
126 css::uno::Sequence< css::beans::Property > aProps;
128 return new ::cppu::OPropertyArrayHelper(aProps);
131OUString SAL_CALL OColumnControlModel::getImplementationName()
133 return "com.sun.star.comp.dbu.OColumnControlModel";
135sal_Bool SAL_CALL OColumnControlModel::supportsService(
const OUString& _rServiceName)
138 for (
const OUString& s : aSupported)
139 if (s == _rServiceName)
144css::uno::Sequence< OUString > SAL_CALL OColumnControlModel::getSupportedServiceNames()
146 return {
"com.sun.star.awt.UnoControlModel",
"com.sun.star.sdb.ColumnDescriptorControlModel" };
158 if (!aRet.hasValue())
159 aRet = comphelper::OPropertyContainer::queryInterface(rType);
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_dbu_OColumnControlModel_get_implementation(css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)
::cppu::IPropertyArrayHelper * getArrayHelper()
void describeProperties(css::uno::Sequence< css::beans::Property > &_rProps) const
void registerProperty(const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
void registerMayBeVoidProperty(const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
virtual void SAL_CALL acquire() SAL_NOEXCEPT SAL_OVERRIDE
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() SAL_OVERRIDE
virtual css::uno::Any SAL_CALL queryAggregation(css::uno::Type const &rType) SAL_OVERRIDE
virtual css::uno::Any SAL_CALL queryInterface(css::uno::Type const &rType) SAL_OVERRIDE
virtual ~OColumnControlModel() override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
virtual void SAL_CALL write(const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream) override
void registerProperties()
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
css::uno::Reference< css::beans::XPropertySet > m_xColumn
virtual void SAL_CALL read(const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream) override
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
OUString m_sDefaultControl
virtual ::cppu::IPropertyArrayHelper * createArrayHelper() const override
virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type &aType) override
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override
css::uno::Reference< css::sdbc::XConnection > m_xConnection
virtual OUString SAL_CALL getServiceName() override
css::uno::Sequence< OUString > getSupportedServiceNames()
::cppu::WeakAggComponentImplHelper4< css::awt::XControlModel, css::lang::XServiceInfo, css::util::XCloneable, css::io::XPersistObject > OColumnControlModel_BASE
#define PROPERTY_ID_ACTIVE_CONNECTION
#define PROPERTY_ID_COLUMN
#define PROPERTY_ID_ENABLED
#define PROPERTY_ID_EDIT_WIDTH
#define PROPERTY_ID_TABSTOP
#define PROPERTY_ID_DEFAULTCONTROL
#define PROPERTY_ID_BORDER
constexpr OUStringLiteral PROPERTY_ENABLED(u"Enabled")
constexpr OUStringLiteral PROPERTY_COLUMN(u"Column")
constexpr OUStringLiteral SERVICE_CONTROLDEFAULT
constexpr OUStringLiteral PROPERTY_BORDER(u"Border")
constexpr OUStringLiteral PROPERTY_ACTIVE_CONNECTION(u"ActiveConnection")
constexpr OUStringLiteral PROPERTY_EDIT_WIDTH(u"EditWidth")
constexpr OUStringLiteral PROPERTY_DEFAULTCONTROL(u"DefaultControl")
constexpr OUStringLiteral PROPERTY_TABSTOP(u"TabStop")
#define IMPLEMENT_FORWARD_REFCOUNT(classname, refcountbase)