26#include <core_resource.hxx>
28#include <com/sun/star/util/NumberFormatter.hpp>
30using namespace ::
dbaui;
38OColumnControlTopLevel::OColumnControlTopLevel(
vcl::Window* pParent,
61 , m_sTypeNames(
DBA_RES(STR_TABLEDESIGN_DBFIELDTYPES))
62 , m_bAutoIncrementEnabled(true)
110 if ( xSupplier.is() )
virtual void dispose() override
const css::lang::Locale & getLocale(bool bResolveSystem=true) const
const LanguageTag & GetLanguageTag() const
std::unique_ptr< OColumnControlWindow > m_xControl
virtual void dispose() override
virtual void GetFocus() override
css::lang::Locale m_aLocale
virtual css::uno::Reference< css::sdbc::XConnection > getConnection() override
TOTypeInfoSP const & getDefaultTyp() const
css::uno::Reference< css::sdbc::XConnection > m_xConnection
virtual void CellModified(sal_Int32 nRow, sal_uInt16 nColId) override
virtual OUString getAutoIncrementValue() const override
virtual void ActivateAggregate(EControlType eType) override
virtual css::lang::Locale GetLocale() const override
std::vector< OTypeInfoMap::iterator > m_aDestTypeInfoIndex
css::uno::Reference< css::util::XNumberFormatter > m_xFormatter
virtual bool isAutoIncrementValueEnabled() const override
css::uno::Reference< css::uno::XComponentContext > m_xContext
OUString m_sAutoIncrementValue
virtual css::uno::Reference< css::util::XNumberFormatter > GetFormatter() const override
bool m_bAutoIncrementEnabled
OColumnControlWindow(weld::Container *pParent, const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
OTypeInfoMap m_aDestTypeInfo
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData > getMetaData() override
virtual void DeactivateAggregate(EControlType eType) override
void setConnection(const css::uno::Reference< css::sdbc::XConnection > &_xCon)
virtual const OTypeInfoMap * getTypeInfo() const override
virtual void ActivateAggregate(EControlType eType)
void saveCurrentFieldDescData()
virtual void DeactivateAggregate(EControlType eType)
Reference< XComponentContext > m_xContext
std::multimap< DataTypeEnum, OExtendedTypeInfo * > OTypeInfoMap
void fillTypeInfo(const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, std::u16string_view _rsTypeNames, OTypeInfoMap &_rTypeInfoMap, std::vector< OTypeInfoMap::iterator > &_rTypeInfoIters)
fills a map and a vector with localized type names
const sal_uInt16 TYPE_OTHER
void fillAutoIncrementValue(const css::uno::Reference< css::beans::XPropertySet > &_xDatasource, bool &_rAutoIncrementValueEnabled, OUString &_rsAutoIncrementValue)
fills the bool and string value with information out of the datasource info property
std::shared_ptr< OTypeInfo > TOTypeInfoSP
constexpr std::enable_if_t< std::is_signed_v< T >, std::make_unsigned_t< T > > make_unsigned(T value)
css::uno::Reference< css::linguistic2::XProofreadingIterator > get(css::uno::Reference< css::uno::XComponentContext > const &context)
Reference< XNameAccess > m_xContainer