LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Attributes | List of all members
dbaui::OFieldDescription Class Reference

#include <FieldDescriptions.hxx>

Collaboration diagram for dbaui::OFieldDescription:
[legend]

Public Member Functions

 OFieldDescription ()
 
 OFieldDescription (const OFieldDescription &rDescr)
 
 OFieldDescription (const css::uno::Reference< css::beans::XPropertySet > &_xAffectedCol, bool _bUseAsDest=false)
 
 ~OFieldDescription ()
 
void SetName (const OUString &_rName)
 
void SetDescription (const OUString &_rDescription)
 
void SetHelpText (const OUString &_sHelptext)
 
void SetDefaultValue (const css::uno::Any &_rDefaultValue)
 
void SetControlDefault (const css::uno::Any &_rControlDefault)
 
void SetAutoIncrementValue (const OUString &_sAutoIncValue)
 
void SetType (const TOTypeInfoSP &_pType)
 
void SetTypeValue (sal_Int32 _nType)
 
void SetTypeName (const OUString &_sTypeName)
 
void SetPrecision (sal_Int32 _rPrecision)
 
void SetScale (sal_Int32 _rScale)
 
void SetIsNullable (sal_Int32 _rIsNullable)
 
void SetFormatKey (sal_Int32 _rFormatKey)
 
void SetHorJustify (const SvxCellHorJustify &_rHorJustify)
 
void SetAutoIncrement (bool _bAuto)
 
void SetPrimaryKey (bool _bPKey)
 
void SetCurrency (bool _bIsCurrency)
 
void copyColumnSettingsTo (const css::uno::Reference< css::beans::XPropertySet > &_rxColumn)
 copies the content of the field description into the column More...
 
void FillFromTypeInfo (const TOTypeInfoSP &_pType, bool _bForce, bool _bReset)
 
OUString GetName () const
 
OUString GetDescription () const
 
OUString GetHelpText () const
 
css::uno::Any GetControlDefault () const
 
OUString GetAutoIncrementValue () const
 
sal_Int32 GetType () const
 
OUString GetTypeName () const
 
sal_Int32 GetPrecision () const
 
sal_Int32 GetScale () const
 
sal_Int32 GetIsNullable () const
 
sal_Int32 GetFormatKey () const
 
SvxCellHorJustify GetHorJustify () const
 
const TOTypeInfoSPgetTypeInfo () const
 
TOTypeInfoSP getSpecialTypeInfo () const
 
bool IsAutoIncrement () const
 
bool IsPrimaryKey () const
 
bool IsCurrency () const
 
bool IsNullable () const
 

Private Attributes

css::uno::Any m_aControlDefault
 
css::uno::Any m_aWidth
 
css::uno::Any m_aRelativePosition
 
TOTypeInfoSP m_pType
 
css::uno::Reference< css::beans::XPropertySetm_xDest
 
css::uno::Reference< css::beans::XPropertySetInfo > m_xDestInfo
 
OUString m_sName
 
OUString m_sTypeName
 
OUString m_sDescription
 
OUString m_sHelpText
 
OUString m_sAutoIncrementValue
 
sal_Int32 m_nType
 
sal_Int32 m_nPrecision
 
sal_Int32 m_nScale
 
sal_Int32 m_nIsNullable
 
sal_Int32 m_nFormatKey
 
SvxCellHorJustify m_eHorJustify
 
bool m_bIsAutoIncrement
 
bool m_bIsPrimaryKey
 
bool m_bIsCurrency
 
bool m_bHidden
 

Detailed Description

Definition at line 28 of file FieldDescriptions.hxx.

Constructor & Destructor Documentation

◆ OFieldDescription() [1/3]

OFieldDescription::OFieldDescription ( )

Definition at line 40 of file FieldDescriptions.cxx.

References Standard.

◆ OFieldDescription() [2/3]

OFieldDescription::OFieldDescription ( const OFieldDescription rDescr)

Definition at line 54 of file FieldDescriptions.cxx.

References m_sDescription.

◆ OFieldDescription() [3/3]

dbaui::OFieldDescription::OFieldDescription ( const css::uno::Reference< css::beans::XPropertySet > &  _xAffectedCol,
bool  _bUseAsDest = false 
)

◆ ~OFieldDescription()

OFieldDescription::~OFieldDescription ( )

Definition at line 78 of file FieldDescriptions.cxx.

Member Function Documentation

◆ copyColumnSettingsTo()

void OFieldDescription::copyColumnSettingsTo ( const css::uno::Reference< css::beans::XPropertySet > &  _rxColumn)

◆ FillFromTypeInfo()

void OFieldDescription::FillFromTypeInfo ( const TOTypeInfoSP _pType,
bool  _bForce,
bool  _bReset 
)

◆ GetAutoIncrementValue()

OUString OFieldDescription::GetAutoIncrementValue ( ) const

◆ GetControlDefault()

css::uno::Any OFieldDescription::GetControlDefault ( ) const

◆ GetDescription()

OUString OFieldDescription::GetDescription ( ) const

◆ GetFormatKey()

sal_Int32 OFieldDescription::GetFormatKey ( ) const

◆ GetHelpText()

OUString OFieldDescription::GetHelpText ( ) const

◆ GetHorJustify()

SvxCellHorJustify OFieldDescription::GetHorJustify ( ) const

◆ GetIsNullable()

sal_Int32 OFieldDescription::GetIsNullable ( ) const

◆ GetName()

OUString OFieldDescription::GetName ( ) const

◆ GetPrecision()

sal_Int32 OFieldDescription::GetPrecision ( ) const

◆ GetScale()

sal_Int32 OFieldDescription::GetScale ( ) const

◆ getSpecialTypeInfo()

TOTypeInfoSP OFieldDescription::getSpecialTypeInfo ( ) const

◆ GetType()

sal_Int32 OFieldDescription::GetType ( ) const

◆ getTypeInfo()

const TOTypeInfoSP & dbaui::OFieldDescription::getTypeInfo ( ) const
inline

◆ GetTypeName()

OUString OFieldDescription::GetTypeName ( ) const

◆ IsAutoIncrement()

bool OFieldDescription::IsAutoIncrement ( ) const

◆ IsCurrency()

bool dbaui::OFieldDescription::IsCurrency ( ) const
inline

◆ IsNullable()

bool OFieldDescription::IsNullable ( ) const

◆ IsPrimaryKey()

bool dbaui::OFieldDescription::IsPrimaryKey ( ) const
inline

◆ SetAutoIncrement()

void OFieldDescription::SetAutoIncrement ( bool  _bAuto)

◆ SetAutoIncrementValue()

void OFieldDescription::SetAutoIncrementValue ( const OUString &  _sAutoIncValue)

◆ SetControlDefault()

void OFieldDescription::SetControlDefault ( const css::uno::Any &  _rControlDefault)

◆ SetCurrency()

void OFieldDescription::SetCurrency ( bool  _bIsCurrency)

◆ SetDefaultValue()

void OFieldDescription::SetDefaultValue ( const css::uno::Any &  _rDefaultValue)

◆ SetDescription()

void OFieldDescription::SetDescription ( const OUString &  _rDescription)

◆ SetFormatKey()

void OFieldDescription::SetFormatKey ( sal_Int32  _rFormatKey)

◆ SetHelpText()

void OFieldDescription::SetHelpText ( const OUString &  _sHelptext)

◆ SetHorJustify()

void OFieldDescription::SetHorJustify ( const SvxCellHorJustify _rHorJustify)

◆ SetIsNullable()

void OFieldDescription::SetIsNullable ( sal_Int32  _rIsNullable)

◆ SetName()

void OFieldDescription::SetName ( const OUString &  _rName)

◆ SetPrecision()

void OFieldDescription::SetPrecision ( sal_Int32  _rPrecision)

◆ SetPrimaryKey()

void OFieldDescription::SetPrimaryKey ( bool  _bPKey)

◆ SetScale()

void OFieldDescription::SetScale ( sal_Int32  _rScale)

◆ SetType()

void OFieldDescription::SetType ( const TOTypeInfoSP _pType)

◆ SetTypeName()

void OFieldDescription::SetTypeName ( const OUString &  _sTypeName)

◆ SetTypeValue()

void OFieldDescription::SetTypeValue ( sal_Int32  _nType)

Member Data Documentation

◆ m_aControlDefault

css::uno::Any dbaui::OFieldDescription::m_aControlDefault
private

Definition at line 31 of file FieldDescriptions.hxx.

Referenced by GetControlDefault(), and SetControlDefault().

◆ m_aRelativePosition

css::uno::Any dbaui::OFieldDescription::m_aRelativePosition
private

Definition at line 33 of file FieldDescriptions.hxx.

Referenced by copyColumnSettingsTo().

◆ m_aWidth

css::uno::Any dbaui::OFieldDescription::m_aWidth
private

Definition at line 32 of file FieldDescriptions.hxx.

Referenced by copyColumnSettingsTo().

◆ m_bHidden

bool dbaui::OFieldDescription::m_bHidden
private

Definition at line 55 of file FieldDescriptions.hxx.

Referenced by copyColumnSettingsTo().

◆ m_bIsAutoIncrement

bool dbaui::OFieldDescription::m_bIsAutoIncrement
private

Definition at line 52 of file FieldDescriptions.hxx.

Referenced by IsAutoIncrement(), and SetAutoIncrement().

◆ m_bIsCurrency

bool dbaui::OFieldDescription::m_bIsCurrency
private

Definition at line 54 of file FieldDescriptions.hxx.

Referenced by IsCurrency(), and SetCurrency().

◆ m_bIsPrimaryKey

bool dbaui::OFieldDescription::m_bIsPrimaryKey
private

Definition at line 53 of file FieldDescriptions.hxx.

Referenced by IsPrimaryKey(), and SetPrimaryKey().

◆ m_eHorJustify

SvxCellHorJustify dbaui::OFieldDescription::m_eHorJustify
private

Definition at line 51 of file FieldDescriptions.hxx.

Referenced by GetHorJustify(), and SetHorJustify().

◆ m_nFormatKey

sal_Int32 dbaui::OFieldDescription::m_nFormatKey
private

Definition at line 50 of file FieldDescriptions.hxx.

Referenced by GetFormatKey(), and SetFormatKey().

◆ m_nIsNullable

sal_Int32 dbaui::OFieldDescription::m_nIsNullable
private

Definition at line 49 of file FieldDescriptions.hxx.

Referenced by GetIsNullable(), IsNullable(), and SetIsNullable().

◆ m_nPrecision

sal_Int32 dbaui::OFieldDescription::m_nPrecision
private

Definition at line 47 of file FieldDescriptions.hxx.

Referenced by GetPrecision(), and SetPrecision().

◆ m_nScale

sal_Int32 dbaui::OFieldDescription::m_nScale
private

Definition at line 48 of file FieldDescriptions.hxx.

Referenced by GetScale(), and SetScale().

◆ m_nType

sal_Int32 dbaui::OFieldDescription::m_nType
private

Definition at line 46 of file FieldDescriptions.hxx.

Referenced by GetType(), SetType(), and SetTypeValue().

◆ m_pType

TOTypeInfoSP dbaui::OFieldDescription::m_pType
private

◆ m_sAutoIncrementValue

OUString dbaui::OFieldDescription::m_sAutoIncrementValue
private

Definition at line 45 of file FieldDescriptions.hxx.

Referenced by GetAutoIncrementValue(), and SetAutoIncrementValue().

◆ m_sDescription

OUString dbaui::OFieldDescription::m_sDescription
private

Definition at line 42 of file FieldDescriptions.hxx.

Referenced by GetDescription(), and SetDescription().

◆ m_sHelpText

OUString dbaui::OFieldDescription::m_sHelpText
private

Definition at line 43 of file FieldDescriptions.hxx.

Referenced by GetHelpText(), and SetHelpText().

◆ m_sName

OUString dbaui::OFieldDescription::m_sName
private

Definition at line 40 of file FieldDescriptions.hxx.

Referenced by GetName(), and SetName().

◆ m_sTypeName

OUString dbaui::OFieldDescription::m_sTypeName
private

Definition at line 41 of file FieldDescriptions.hxx.

Referenced by GetTypeName(), and SetTypeName().

◆ m_xDest

css::uno::Reference< css::beans::XPropertySet > dbaui::OFieldDescription::m_xDest
private

◆ m_xDestInfo

css::uno::Reference< css::beans::XPropertySetInfo > dbaui::OFieldDescription::m_xDestInfo
private

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