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

#include <docufld.hxx>

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

Public Member Functions

 SwDocStatField (SwDocStatFieldType *, sal_uInt16 nSubType, sal_uInt32 nFormat)
 
void ChangeExpansion (const SwFrame *pFrame)
 
virtual OUString ExpandImpl (SwRootFrame const *pLayout) const override
 
virtual std::unique_ptr< SwFieldCopy () const override
 
virtual sal_uInt16 GetSubType () const override
 
virtual void SetSubType (sal_uInt16 nSub) override
 
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 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
 
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

sal_uInt16 m_nSubType
 

Additional Inherited Members

- 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 260 of file docufld.hxx.

Constructor & Destructor Documentation

SwDocStatField::SwDocStatField ( SwDocStatFieldType pTyp,
sal_uInt16  nSub,
sal_uInt32  nFormat 
)
Parameters
pTyp
nSubSubType
nFormat

Definition at line 759 of file docufld.cxx.

Member Function Documentation

void SwDocStatField::ChangeExpansion ( const SwFrame pFrame)
std::unique_ptr< SwField > SwDocStatField::Copy ( ) const
overridevirtual

Implements SwField.

Definition at line 769 of file docufld.cxx.

References SwField::GetFormat(), SwField::GetTyp(), and m_nSubType.

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

Implements SwField.

Definition at line 764 of file docufld.cxx.

References Expand, SwField::GetFormat(), SwField::GetTyp(), and m_nSubType.

sal_uInt16 SwDocStatField::GetSubType ( ) const
overridevirtual

Reimplemented from SwField.

Definition at line 775 of file docufld.cxx.

References m_nSubType.

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

Reimplemented from SwField.

Definition at line 792 of file docufld.cxx.

References FIELD_PROP_USHORT2, and SwField::GetFormat().

void SwDocStatField::SetSubType ( sal_uInt16  nSub)
overridevirtual

Reimplemented from SwField.

Definition at line 780 of file docufld.cxx.

References m_nSubType.

Member Data Documentation

sal_uInt16 SwDocStatField::m_nSubType
private

Definition at line 262 of file docufld.hxx.

Referenced by ChangeExpansion(), Copy(), ExpandImpl(), GetSubType(), and SetSubType().


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