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

#include <dbfld.hxx>

Inheritance diagram for SwDBSetNumberField:
Collaboration diagram for SwDBSetNumberField:

Public Member Functions

 SwDBSetNumberField (SwDBSetNumberFieldType *, const SwDBData &rDBData, sal_uInt32 nFormat=0)
virtual OUString ExpandImpl (SwRootFrame const *pLayout) const override
virtual std::unique_ptr< SwFieldCopy () const override
void Evaluate (const SwDoc &)
tools::Long GetSetNumber () const
void SetSetNumber (tools::Long nNum)
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 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)
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

tools::Long m_nNumber

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 266 of file dbfld.hxx.

Constructor & Destructor Documentation

SwDBSetNumberField::SwDBSetNumberField ( SwDBSetNumberFieldType pTyp,
const SwDBData rDBData,
sal_uInt32  nFormat = 0 

Definition at line 796 of file dbfld.cxx.

Referenced by Copy().

Member Function Documentation

std::unique_ptr< SwField > SwDBSetNumberField::Copy ( ) const
void SwDBSetNumberField::Evaluate ( const SwDoc rDoc)
OUString SwDBSetNumberField::ExpandImpl ( SwRootFrame const *  pLayout) const
tools::Long SwDBSetNumberField::GetSetNumber ( ) const

Definition at line 282 of file dbfld.hxx.

References m_nNumber.

bool SwDBSetNumberField::PutValue ( const css::uno::Any &  rVal,
sal_uInt16  nWhich 
bool SwDBSetNumberField::QueryValue ( css::uno::Any &  rVal,
sal_uInt16  nWhich 
) const
void SwDBSetNumberField::SetSetNumber ( tools::Long  nNum)

Definition at line 285 of file dbfld.hxx.

References m_nNumber.

Referenced by SwXTextField::attach().

Member Data Documentation

tools::Long SwDBSetNumberField::m_nNumber

Definition at line 268 of file dbfld.hxx.

Referenced by Copy(), Evaluate(), ExpandImpl(), GetSetNumber(), PutValue(), QueryValue(), and SetSetNumber().

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