LibreOffice Module dbaccess (master) 1
Protected Member Functions | Private Attributes | List of all members
dbaccess::ODataSettings Class Reference

#include <datasettings.hxx>

Inheritance diagram for dbaccess::ODataSettings:
[legend]
Collaboration diagram for dbaccess::ODataSettings:
[legend]

Protected Member Functions

 ODataSettings (::cppu::OBroadcastHelper &_rBHelper, bool _bQuery=false)
 
virtual void getPropertyDefaultByHandle (sal_Int32 _nHandle, css::uno::Any &_rDefault) const override
 
void registerPropertiesFor (ODataSettings_Base *_pItem)
 register the properties from the param given. More...
 
- Protected Member Functions inherited from comphelper::OPropertyStateContainer
 OPropertyStateContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) override
 
css::beans::PropertyState getPropertyStateByHandle (sal_Int32 _nHandle) const
 
void setPropertyToDefaultByHandle (sal_Int32 _nHandle)
 
virtual void getPropertyDefaultByHandle (sal_Int32 _nHandle, css::uno::Any &_rDefault) const=0
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &_rType) override
 
sal_Int32 getHandleForName (const OUString &_rPropertyName)
 
- Protected Member Functions inherited from comphelper::OPropertyContainer
 OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
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)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 
- Protected Member Functions inherited from dbaccess::ODataSettings_Base
 ODataSettings_Base ()
 
 ODataSettings_Base (const ODataSettings_Base &_rSource)=delete
 
 ~ODataSettings_Base ()
 

Private Attributes

bool m_bQuery
 

Additional Inherited Members

- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 
- Public Attributes inherited from dbaccess::ODataSettings_Base
OUString m_sFilter
 
OUString m_sHavingClause
 
OUString m_sGroupBy
 
OUString m_sOrder
 
bool m_bApplyFilter
 
bool m_bAutoGrow
 
css::awt::FontDescriptor m_aFont
 
css::uno::Any m_aRowHeight
 
css::uno::Any m_aTextColor
 
css::uno::Any m_aTextLineColor
 
sal_Int16 m_nFontEmphasis
 
sal_Int16 m_nFontRelief
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 

Detailed Description

Definition at line 60 of file datasettings.hxx.

Constructor & Destructor Documentation

◆ ODataSettings()

dbaccess::ODataSettings::ODataSettings ( ::cppu::OBroadcastHelper _rBHelper,
bool  _bQuery = false 
)
protected

Definition at line 96 of file datasettings.cxx.

Member Function Documentation

◆ getPropertyDefaultByHandle()

void dbaccess::ODataSettings::getPropertyDefaultByHandle ( sal_Int32  _nHandle,
css::uno::Any &  _rDefault 
) const
overrideprotectedvirtual

◆ registerPropertiesFor()

void dbaccess::ODataSettings::registerPropertiesFor ( ODataSettings_Base _pItem)
protected

register the properties from the param given.

The parameter instance must be alive as long as its object lives.

Parameters
_pItemThe database settings, can be
this

Definition at line 38 of file datasettings.cxx.

References dbaccess::ODataSettings_Base::m_aFont, dbaccess::ODataSettings_Base::m_aRowHeight, dbaccess::ODataSettings_Base::m_aTextColor, dbaccess::ODataSettings_Base::m_aTextLineColor, dbaccess::ODataSettings_Base::m_bApplyFilter, dbaccess::ODataSettings_Base::m_bAutoGrow, m_bQuery, dbaccess::ODataSettings_Base::m_nFontEmphasis, dbaccess::ODataSettings_Base::m_nFontRelief, dbaccess::ODataSettings_Base::m_sFilter, dbaccess::ODataSettings_Base::m_sGroupBy, dbaccess::ODataSettings_Base::m_sHavingClause, dbaccess::ODataSettings_Base::m_sOrder, PROPERTY_APPLYFILTER(), PROPERTY_AUTOGROW(), PROPERTY_FILTER(), PROPERTY_FONT(), PROPERTY_FONTCHARSET(), PROPERTY_FONTCHARWIDTH(), PROPERTY_FONTFAMILY(), PROPERTY_FONTHEIGHT(), PROPERTY_FONTKERNING(), PROPERTY_FONTNAME(), PROPERTY_FONTORIENTATION(), PROPERTY_FONTPITCH(), PROPERTY_FONTSLANT(), PROPERTY_FONTSTRIKEOUT(), PROPERTY_FONTSTYLENAME(), PROPERTY_FONTTYPE(), PROPERTY_FONTUNDERLINE(), PROPERTY_FONTWEIGHT(), PROPERTY_FONTWIDTH(), PROPERTY_FONTWORDLINEMODE(), PROPERTY_GROUP_BY(), PROPERTY_HAVING_CLAUSE(), PROPERTY_ID_APPLYFILTER, PROPERTY_ID_AUTOGROW, PROPERTY_ID_FILTER, PROPERTY_ID_FONT, PROPERTY_ID_FONTCHARSET, PROPERTY_ID_FONTCHARWIDTH, PROPERTY_ID_FONTFAMILY, PROPERTY_ID_FONTHEIGHT, PROPERTY_ID_FONTKERNING, PROPERTY_ID_FONTNAME, PROPERTY_ID_FONTORIENTATION, PROPERTY_ID_FONTPITCH, PROPERTY_ID_FONTSLANT, PROPERTY_ID_FONTSTRIKEOUT, PROPERTY_ID_FONTSTYLENAME, PROPERTY_ID_FONTTYPE, PROPERTY_ID_FONTUNDERLINE, PROPERTY_ID_FONTWEIGHT, PROPERTY_ID_FONTWIDTH, PROPERTY_ID_FONTWORDLINEMODE, PROPERTY_ID_GROUP_BY, PROPERTY_ID_HAVING_CLAUSE, PROPERTY_ID_ORDER, PROPERTY_ID_ROW_HEIGHT, PROPERTY_ID_TEXTCOLOR, PROPERTY_ID_TEXTEMPHASIS, PROPERTY_ID_TEXTLINECOLOR, PROPERTY_ID_TEXTRELIEF, PROPERTY_ORDER(), PROPERTY_ROW_HEIGHT(), PROPERTY_TEXTCOLOR(), PROPERTY_TEXTEMPHASIS(), PROPERTY_TEXTLINECOLOR(), PROPERTY_TEXTRELIEF(), comphelper::OPropertyContainerHelper::registerMayBeVoidProperty(), and comphelper::OPropertyContainerHelper::registerProperty().

Referenced by dbaccess::ODBTableDecorator::ODBTableDecorator(), dbaccess::OQuery::OQuery(), dbaccess::OQueryDescriptor::OQueryDescriptor(), and dbaccess::OComponentDefinition::registerProperties().

Member Data Documentation

◆ m_bQuery

bool dbaccess::ODataSettings::m_bQuery
private

Definition at line 63 of file datasettings.hxx.

Referenced by registerPropertiesFor().


The documentation for this class was generated from the following files: