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

#include <dbfld.hxx>

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

Public Member Functions

 SwDBNextSetField (SwDBNextSetFieldType *, OUString aCond, const SwDBData &rDBData)
 
virtual OUString ExpandImpl (SwRootFrame const *pLayout) const override
 
virtual std::unique_ptr< SwFieldCopy () const override
 
void Evaluate (const SwDoc &)
 
void SetCondValid (bool bCond)
 
bool IsCondValid () const
 
virtual OUString GetPar1 () const override
 get condition More...
 
virtual void SetPar1 (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
 
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 159 of file dbfld.hxx.

Constructor & Destructor Documentation

◆ SwDBNextSetField()

SwDBNextSetField::SwDBNextSetField ( SwDBNextSetFieldType pTyp,
OUString  aCond,
const SwDBData rDBData 
)

Definition at line 556 of file dbfld.cxx.

Referenced by Copy().

Member Function Documentation

◆ Copy()

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

◆ Evaluate()

void SwDBNextSetField::Evaluate ( const SwDoc rDoc)

◆ ExpandImpl()

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

Implements SwField.

Definition at line 562 of file dbfld.cxx.

◆ GetPar1()

OUString SwDBNextSetField::GetPar1 ( ) const
overridevirtual

get condition

Reimplemented from SwField.

Definition at line 587 of file dbfld.cxx.

References m_aCond.

◆ IsCondValid()

bool SwDBNextSetField::IsCondValid ( ) const
inline

Definition at line 182 of file dbfld.hxx.

References m_bCondValid.

Referenced by SwDocUpdateField::MakeFieldList_().

◆ PutValue()

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

Reimplemented from SwDBNameInfField.

Definition at line 612 of file dbfld.cxx.

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

◆ QueryValue()

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

Reimplemented from SwDBNameInfField.

Definition at line 598 of file dbfld.cxx.

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

◆ SetCondValid()

void SwDBNextSetField::SetCondValid ( bool  bCond)
inline

Definition at line 185 of file dbfld.hxx.

References m_bCondValid.

◆ SetPar1()

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

set condition

Reimplemented from SwField.

Definition at line 593 of file dbfld.cxx.

References m_aCond.

Member Data Documentation

◆ m_aCond

OUString SwDBNextSetField::m_aCond
private

Definition at line 161 of file dbfld.hxx.

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

◆ m_bCondValid

bool SwDBNextSetField::m_bCondValid
private

Definition at line 162 of file dbfld.hxx.

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


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