LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwDBNumSetField Class Reference

#include <dbfld.hxx>

Inheritance diagram for SwDBNumSetField:
[legend]
Collaboration diagram for SwDBNumSetField:
[legend]

Public Member Functions

 SwDBNumSetField (SwDBNumSetFieldType *, const OUString &rCond, const OUString &rDBNum, const SwDBData &rDBData)
 
virtual OUString ExpandImpl (SwRootFrame const *pLayout) const override
 
virtual std::unique_ptr< SwFieldCopy () const override
 
bool IsCondValid () const
 
void SetCondValid (bool bCond)
 
void Evaluate (SwDoc const *)
 
virtual OUString GetPar1 () const override
 get LogDBName More...
 
virtual void SetPar1 (const OUString &rStr) override
 set LogDBName More...
 
virtual OUString GetPar2 () const override
 get condition More...
 
virtual void SetPar2 (const OUString &rStr) override
 set condition More...
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt16 nWhich) const override
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt16 nWhich) override
 
- Public Member Functions inherited from SwDBNameInfField
const SwDBDataGetRealDBData () const
 DBName. More...
 
SwDBDataGetRealDBData ()
 
SwDBData GetDBData (SwDoc *pDoc)
 
void SetDBData (const SwDBData &rDBData)
 
virtual OUString GetFieldName () const override
 get name or content More...
 
virtual sal_uInt16 GetSubType () const override
 
virtual void SetSubType (sal_uInt16 nType) override
 
- Public Member Functions inherited from SwField
virtual ~SwField ()
 
 SwField (SwField const &)=default
 
 SwField (SwField &&)=default
 
SwFieldoperator= (SwField const &)=default
 
SwFieldoperator= (SwField &&)=default
 
SwFieldTypeGetTyp () const
 
virtual SwFieldTypeChgTyp (SwFieldType *)
 Set new type (used for copying among documents). More...
 
OUString ExpandField (bool bCached, SwRootFrame const *pLayout) const
 expand the field. More...
 
std::unique_ptr< SwFieldCopyField () const
 
SwFieldIds Which () const
 ResId. More...
 
SwFieldTypesEnum GetTypeId () const
 
LanguageType GetLanguage () const
 Language at field position. More...
 
virtual void SetLanguage (LanguageType nLng)
 
sal_uInt32 GetFormat () const
 Query parameters for dialog and for BASIC. More...
 
virtual OUString GetFormula () const
 
void ChangeFormat (sal_uInt32 n)
 
bool HasClickHdl () const
 Does the field possess an action on its ClickHandler? (e.g. INetFields, ...). More...
 
bool IsFixed () const
 
bool IsAutomaticLanguage () const
 
void SetAutomaticLanguage (bool const bSet)
 
virtual OUString GetDescription () const
 
bool IsClickable () const
 Is this field clickable? More...
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

OUString m_aCond
 
OUString m_aPar2
 
bool m_bCondValid
 

Additional Inherited Members

- Protected Member Functions inherited from SwDBNameInfField
const SwDBDataGetDBData () const
 
SwDBDataGetDBData ()
 
 SwDBNameInfField (SwFieldType *pTyp, const SwDBData &rDBData, sal_uInt32 nFormat=0)
 
- Protected Member Functions inherited from SwField
void SetFormat (sal_uInt32 const nSet)
 
 SwField (SwFieldType *pTyp, sal_uInt32 nFormat=0, LanguageType nLang=LANGUAGE_SYSTEM, bool m_bUseFieldValueCache=true)
 

Detailed Description

Definition at line 198 of file dbfld.hxx.

Constructor & Destructor Documentation

SwDBNumSetField::SwDBNumSetField ( SwDBNumSetFieldType pTyp,
const OUString &  rCond,
const OUString &  rDBNum,
const SwDBData rDBData 
)

Definition at line 651 of file dbfld.cxx.

Referenced by Copy().

Member Function Documentation

std::unique_ptr< SwField > SwDBNumSetField::Copy ( ) const
overridevirtual
void SwDBNumSetField::Evaluate ( SwDoc const *  pDoc)
OUString SwDBNumSetField::ExpandImpl ( SwRootFrame const *  pLayout) const
overridevirtual

Implements SwField.

Definition at line 661 of file dbfld.cxx.

OUString SwDBNumSetField::GetPar1 ( ) const
overridevirtual

get LogDBName

Reimplemented from SwField.

Definition at line 688 of file dbfld.cxx.

References m_aCond.

OUString SwDBNumSetField::GetPar2 ( ) const
overridevirtual

get condition

Reimplemented from SwField.

Definition at line 700 of file dbfld.cxx.

References m_aPar2.

bool SwDBNumSetField::IsCondValid ( ) const
inline

Definition at line 227 of file dbfld.hxx.

References m_bCondValid.

bool SwDBNumSetField::PutValue ( const css::uno::Any &  rVal,
sal_uInt16  nWhich 
)
overridevirtual

Reimplemented from SwDBNameInfField.

Definition at line 728 of file dbfld.cxx.

References FIELD_PROP_FORMAT, FIELD_PROP_PAR3, m_aCond, m_aPar2, and SwDBNameInfField::PutValue().

bool SwDBNumSetField::QueryValue ( css::uno::Any &  rVal,
sal_uInt16  nWhich 
) const
overridevirtual

Reimplemented from SwDBNameInfField.

Definition at line 711 of file dbfld.cxx.

References FIELD_PROP_FORMAT, FIELD_PROP_PAR3, m_aCond, m_aPar2, and SwDBNameInfField::QueryValue().

void SwDBNumSetField::SetCondValid ( bool  bCond)
inline

Definition at line 230 of file dbfld.hxx.

References m_bCondValid.

void SwDBNumSetField::SetPar1 ( const OUString &  rStr)
overridevirtual

set LogDBName

Reimplemented from SwField.

Definition at line 694 of file dbfld.cxx.

References m_aCond.

void SwDBNumSetField::SetPar2 ( const OUString &  rStr)
overridevirtual

set condition

Reimplemented from SwField.

Definition at line 706 of file dbfld.cxx.

References m_aPar2.

Member Data Documentation

OUString SwDBNumSetField::m_aCond
private

Definition at line 200 of file dbfld.hxx.

Referenced by Copy(), GetPar1(), PutValue(), QueryValue(), and SetPar1().

OUString SwDBNumSetField::m_aPar2
private

Definition at line 201 of file dbfld.hxx.

Referenced by Copy(), Evaluate(), GetPar2(), PutValue(), QueryValue(), and SetPar2().

bool SwDBNumSetField::m_bCondValid
private

Definition at line 202 of file dbfld.hxx.

Referenced by Copy(), Evaluate(), IsCondValid(), and SetCondValid().


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