LibreOffice Module dbaccess (master) 1
|
#include <columnsettings.hxx>
Public Member Functions | |
OColumnSettings () | |
Static Public Member Functions | |
static bool | hasDefaultSettings (const css::uno::Reference< css::beans::XPropertySet > &_rxColumn) |
check if the persistent settings have their default value More... | |
Protected Member Functions | |
virtual | ~OColumnSettings () |
void | registerProperties (IPropertyContainer &_rPropertyContainer) |
Static Protected Member Functions | |
static bool | isColumnSettingProperty (const sal_Int32 _nPropertyHandle) |
determines whether the property with the given handle is handled by the class More... | |
static bool | isDefaulted (const sal_Int32 _nPropertyHandle, const css::uno::Any &_rPropertyValue) |
Private Attributes | |
css::uno::Any | m_aWidth |
css::uno::Any | m_aFormatKey |
css::uno::Any | m_aRelativePosition |
css::uno::Any | m_aAlignment |
css::uno::Any | m_aHelpText |
css::uno::Any | m_aControlDefault |
css::uno::Reference< css::beans::XPropertySet > | m_xControlModel |
bool | m_bHidden |
Definition at line 52 of file columnsettings.hxx.
|
protectedvirtual |
Definition at line 50 of file columnsettings.cxx.
dbaccess::OColumnSettings::OColumnSettings | ( | ) |
Definition at line 45 of file columnsettings.cxx.
|
static |
check if the persistent settings have their default value
Definition at line 110 of file columnsettings.cxx.
References DBG_UNHANDLED_EXCEPTION, ENSURE_OR_THROW, Exception, isDefaulted(), nHandle, PROPERTY_ALIGN(), PROPERTY_CONTROLDEFAULT(), PROPERTY_CONTROLMODEL(), PROPERTY_HELPTEXT(), PROPERTY_HIDDEN(), PROPERTY_ID_ALIGN, PROPERTY_ID_CONTROLDEFAULT, PROPERTY_ID_CONTROLMODEL, PROPERTY_ID_HELPTEXT, PROPERTY_ID_HIDDEN, PROPERTY_ID_NUMBERFORMAT, PROPERTY_ID_RELATIVEPOSITION, PROPERTY_ID_WIDTH, PROPERTY_NUMBERFORMAT(), PROPERTY_RELATIVEPOSITION(), PROPERTY_WIDTH(), and sName.
Referenced by dbaccess::OTableContainer::appendObject().
|
staticprotected |
determines whether the property with the given handle is handled by the class
Definition at line 72 of file columnsettings.cxx.
References PROPERTY_ID_ALIGN, PROPERTY_ID_CONTROLDEFAULT, PROPERTY_ID_CONTROLMODEL, PROPERTY_ID_HELPTEXT, PROPERTY_ID_HIDDEN, PROPERTY_ID_NUMBERFORMAT, PROPERTY_ID_RELATIVEPOSITION, and PROPERTY_ID_WIDTH.
Referenced by dbaccess::OQueryColumn::getFastPropertyValue().
|
staticprotected |
Definition at line 84 of file columnsettings.cxx.
References PROPERTY_ID_ALIGN, PROPERTY_ID_CONTROLDEFAULT, PROPERTY_ID_CONTROLMODEL, PROPERTY_ID_HELPTEXT, PROPERTY_ID_HIDDEN, PROPERTY_ID_NUMBERFORMAT, PROPERTY_ID_RELATIVEPOSITION, and PROPERTY_ID_WIDTH.
Referenced by dbaccess::OQueryColumn::getFastPropertyValue(), and hasDefaultSettings().
|
protected |
Definition at line 54 of file columnsettings.cxx.
References cppu::UnoType< typename T >::get(), m_aAlignment, m_aControlDefault, m_aFormatKey, m_aHelpText, m_aRelativePosition, m_aWidth, m_bHidden, m_xControlModel, PROPERTY_ALIGN(), PROPERTY_CONTROLDEFAULT(), PROPERTY_CONTROLMODEL(), PROPERTY_HELPTEXT(), PROPERTY_HIDDEN(), PROPERTY_ID_ALIGN, PROPERTY_ID_CONTROLDEFAULT, PROPERTY_ID_CONTROLMODEL, PROPERTY_ID_HELPTEXT, PROPERTY_ID_HIDDEN, PROPERTY_ID_NUMBERFORMAT, PROPERTY_ID_RELATIVEPOSITION, PROPERTY_ID_WIDTH, PROPERTY_NUMBERFORMAT(), PROPERTY_RELATIVEPOSITION(), PROPERTY_WIDTH(), dbaccess::IPropertyContainer::registerMayBeVoidProperty(), and dbaccess::IPropertyContainer::registerProperty().
Referenced by dbaccess::ORowSetDataColumn::ORowSetDataColumn(), and dbaccess::OTableColumnDescriptorWrapper::OTableColumnDescriptorWrapper().
|
private |
Definition at line 58 of file columnsettings.hxx.
Referenced by registerProperties().
|
private |
Definition at line 60 of file columnsettings.hxx.
Referenced by registerProperties().
|
private |
Definition at line 56 of file columnsettings.hxx.
Referenced by registerProperties().
|
private |
Definition at line 59 of file columnsettings.hxx.
Referenced by registerProperties().
|
private |
Definition at line 57 of file columnsettings.hxx.
Referenced by registerProperties().
|
private |
Definition at line 55 of file columnsettings.hxx.
Referenced by registerProperties().
|
private |
Definition at line 63 of file columnsettings.hxx.
Referenced by registerProperties().
|
private |
Definition at line 62 of file columnsettings.hxx.
Referenced by registerProperties().