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

#include <dbfld.hxx>

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

Public Member Functions

 SwDBNextSetField (SwDBNextSetFieldType *, const OUString &rCond, const SwDBData &rDBData)
 
virtual OUString ExpandImpl (SwRootFrame const *pLayout) const override
 
virtual std::unique_ptr< SwFieldCopy () const override
 
void Evaluate (SwDoc const *)
 
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 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...
 
sal_uInt16 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 GetPar2 () const
 
virtual OUString GetFormula () const
 
void ChangeFormat (sal_uInt32 n)
 
virtual void SetPar2 (const OUString &rStr)
 
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
 
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 158 of file dbfld.hxx.

Constructor & Destructor Documentation

SwDBNextSetField::SwDBNextSetField ( SwDBNextSetFieldType pTyp,
const OUString &  rCond,
const SwDBData rDBData 
)

Definition at line 569 of file dbfld.cxx.

Referenced by Copy().

Member Function Documentation

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

Implements SwField.

Definition at line 575 of file dbfld.cxx.

OUString SwDBNextSetField::GetPar1 ( ) const
overridevirtual

get condition

Reimplemented from SwField.

Definition at line 600 of file dbfld.cxx.

References m_aCond.

bool SwDBNextSetField::IsCondValid ( ) const
inline

Definition at line 181 of file dbfld.hxx.

References m_bCondValid.

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

Reimplemented from SwDBNameInfField.

Definition at line 625 of file dbfld.cxx.

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

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

Reimplemented from SwDBNameInfField.

Definition at line 611 of file dbfld.cxx.

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

void SwDBNextSetField::SetCondValid ( bool  bCond)
inline

Definition at line 184 of file dbfld.hxx.

References m_bCondValid.

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

set condition

Reimplemented from SwField.

Definition at line 606 of file dbfld.cxx.

References m_aCond.

Member Data Documentation

OUString SwDBNextSetField::m_aCond
private

Definition at line 160 of file dbfld.hxx.

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

bool SwDBNextSetField::m_bCondValid
private

Definition at line 161 of file dbfld.hxx.

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


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