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

#include <fldbas.hxx>

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

Public Member Functions

virtual OUString GetFormula () const override
 
void SetFormula (const OUString &rStr)
 
void SetExpandedFormula (const OUString &rStr)
 
OUString GetExpandedFormula () const
 
- Public Member Functions inherited from SwValueField
virtual ~SwValueField () override
 
virtual SwFieldTypeChgTyp (SwFieldType *) override
 Set a new type. More...
 
virtual void SetLanguage (LanguageType nLng) override
 set language of the format More...
 
SwDocGetDoc () const
 
virtual double GetValue () const
 
virtual void SetValue (const double &rVal)
 
OUString ExpandValue (const double &rVal, sal_uInt32 nFormat, LanguageType nLng) const
 
void dumpAsXml (xmlTextWriterPtr pWriter) const 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
 
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...
 
sal_uInt32 GetFormat () const
 Query parameters for dialog and for BASIC. More...
 
virtual OUString GetPar1 () const
 
virtual OUString GetPar2 () 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...
 

Protected Member Functions

 SwFormulaField (SwValueFieldType *pFieldType, sal_uInt32 nFormat, const double fVal)
 
 SwFormulaField (const SwFormulaField &rField)
 
- Protected Member Functions inherited from SwValueField
 SwValueField (SwValueFieldType *pFieldType, sal_uInt32 nFormat, LanguageType nLang=LANGUAGE_SYSTEM, const double fVal=0.0)
 
 SwValueField (const SwValueField &rField)
 
- 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)
 

Private Attributes

OUString m_sFormula
 

Additional Inherited Members

- Static Public Member Functions inherited from SwValueField
static sal_uInt32 GetSystemFormat (SvNumberFormatter *pFormatter, sal_uInt32 nFormat)
 get format in office language More...
 

Detailed Description

Definition at line 459 of file fldbas.hxx.

Constructor & Destructor Documentation

SwFormulaField::SwFormulaField ( SwValueFieldType pFieldType,
sal_uInt32  nFormat,
const double  fVal 
)
protected

Definition at line 677 of file fldbas.cxx.

References LANGUAGE_SYSTEM.

SwFormulaField::SwFormulaField ( const SwFormulaField rField)
protected

Definition at line 682 of file fldbas.cxx.

References GetValue.

Member Function Documentation

OUString SwFormulaField::GetExpandedFormula ( ) const
OUString SwFormulaField::GetFormula ( ) const
overridevirtual
void SwFormulaField::SetExpandedFormula ( const OUString &  rStr)
void SwFormulaField::SetFormula ( const OUString &  rStr)

Member Data Documentation

OUString SwFormulaField::m_sFormula
private

Definition at line 462 of file fldbas.hxx.

Referenced by GetFormula(), SetExpandedFormula(), and SetFormula().


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