35 :m_pActFieldDescr(nullptr)
40 pFieldControl->SetComponentInterface(
this);
41 pFieldControl->Show();
51 pFieldControl->GetControl().setEditWidth(_nWidth);
73 sal_Int32 nPrecision = 0;
108 pFieldControl->GetControl().setConnection(_xCon);
139 aProp <<= pFieldControl->GetControl().getConnection();
css::uno::Any SAL_CALL getProperty(const OUString &PropertyName) override
void SAL_CALL setProperty(const OUString &PropertyName, const css::uno::Any &Value) override
TOTypeInfoSP const & getDefaultTyp() const
virtual TOTypeInfoSP getTypeInfo(sal_Int32 _nPos) override
void setColumn(const css::uno::Reference< css::beans::XPropertySet > &_xColumn)
OFieldDescription * m_pActFieldDescr
OColumnPeer(vcl::Window *_pParent, const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
css::uno::Reference< css::beans::XPropertySet > m_xColumn
virtual void SAL_CALL setProperty(const OUString &PropertyName, const css::uno::Any &Value) override
void setConnection(const css::uno::Reference< css::sdbc::XConnection > &_xCon)
void setEditWidth(sal_Int32 _nWidth)
virtual css::uno::Any SAL_CALL getProperty(const OUString &PropertyName) override
void DisplayData(OFieldDescription *pFieldDescr)
void FillFromTypeInfo(const TOTypeInfoSP &_pType, bool _bForce, bool _bReset)
TOTypeInfoSP getTypeInfoFromType(const OTypeInfoMap &_rTypeInfo, sal_Int32 _nType, const OUString &_sTypeName, const OUString &_sCreateParams, sal_Int32 _nPrecision, sal_Int32 _nScale, bool _bAutoIncrement, bool &_brForceToType)
return the most suitable typeinfo for a requested type
std::shared_ptr< OTypeInfo > TOTypeInfoSP
constexpr OUStringLiteral PROPERTY_ISAUTOINCREMENT(u"IsAutoIncrement")
constexpr OUStringLiteral PROPERTY_PRECISION(u"Precision")
constexpr OUStringLiteral PROPERTY_TYPENAME(u"TypeName")
constexpr OUStringLiteral PROPERTY_COLUMN(u"Column")
constexpr OUStringLiteral PROPERTY_SCALE(u"Scale")
constexpr OUStringLiteral PROPERTY_ACTIVE_CONNECTION(u"ActiveConnection")
constexpr OUStringLiteral PROPERTY_TYPE(u"Type")