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

#include <dbfld.hxx>

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

Public Member Functions

 SwDBNumSetField (SwDBNumSetFieldType *, OUString aCond, OUString aDBNum, 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 (const SwDoc &)
 
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 bool QueryValue (css::uno::Any &rVal, sal_uInt16 nWhich) const override
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt16 nWhich) override
 
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...
 
virtual OUString GetFieldName () const
 get name or content More...
 
std::unique_ptr< SwFieldCopyField () const
 
SwFieldIds Which () const
 ResId. More...
 
SwFieldTypesEnum GetTypeId () const
 
virtual sal_uInt16 GetSubType () const
 
virtual void SetSubType (sal_uInt16)
 
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 GetPar1 () const
 
virtual OUString GetPar2 () const
 
virtual OUString GetFormula () const
 
void ChangeFormat (sal_uInt32 n)
 
virtual void SetPar1 (const OUString &rStr)
 
virtual void SetPar2 (const OUString &rStr)
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt16 nWhichId) const
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt16 nWhichId)
 
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
 
const OUString & GetTitle () const
 
void SetTitle (const OUString &rTitle)
 

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, SwDBData aDBData, 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 199 of file dbfld.hxx.

Constructor & Destructor Documentation

◆ SwDBNumSetField()

SwDBNumSetField::SwDBNumSetField ( SwDBNumSetFieldType pTyp,
OUString  aCond,
OUString  aDBNum,
const SwDBData rDBData 
)

Definition at line 638 of file dbfld.cxx.

Referenced by Copy().

Member Function Documentation

◆ Copy()

std::unique_ptr< SwField > SwDBNumSetField::Copy ( ) const
overridevirtual

◆ Evaluate()

void SwDBNumSetField::Evaluate ( const SwDoc rDoc)

◆ ExpandImpl()

OUString SwDBNumSetField::ExpandImpl ( SwRootFrame const *  pLayout) const
overridevirtual

Implements SwField.

Definition at line 648 of file dbfld.cxx.

◆ GetPar1()

OUString SwDBNumSetField::GetPar1 ( ) const
overridevirtual

get LogDBName

Reimplemented from SwField.

Definition at line 675 of file dbfld.cxx.

References m_aCond.

◆ GetPar2()

OUString SwDBNumSetField::GetPar2 ( ) const
overridevirtual

get condition

Reimplemented from SwField.

Definition at line 687 of file dbfld.cxx.

References m_aPar2.

◆ IsCondValid()

bool SwDBNumSetField::IsCondValid ( ) const
inline

Definition at line 228 of file dbfld.hxx.

References m_bCondValid.

Referenced by SwDocUpdateField::MakeFieldList_().

◆ PutValue()

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

Reimplemented from SwDBNameInfField.

Definition at line 715 of file dbfld.cxx.

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

◆ QueryValue()

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

Reimplemented from SwDBNameInfField.

Definition at line 698 of file dbfld.cxx.

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

◆ SetCondValid()

void SwDBNumSetField::SetCondValid ( bool  bCond)
inline

Definition at line 231 of file dbfld.hxx.

References m_bCondValid.

◆ SetPar1()

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

set LogDBName

Reimplemented from SwField.

Definition at line 681 of file dbfld.cxx.

References m_aCond.

◆ SetPar2()

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

set condition

Reimplemented from SwField.

Definition at line 693 of file dbfld.cxx.

References m_aPar2.

Member Data Documentation

◆ m_aCond

OUString SwDBNumSetField::m_aCond
private

Definition at line 201 of file dbfld.hxx.

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

◆ m_aPar2

OUString SwDBNumSetField::m_aPar2
private

Definition at line 202 of file dbfld.hxx.

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

◆ m_bCondValid

bool SwDBNumSetField::m_bCondValid
private

Definition at line 203 of file dbfld.hxx.

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


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