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

#include <docufld.hxx>

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

Public Member Functions

 SwTemplNameField (SwTemplNameFieldType *, sal_uInt32 nFormat)
 
virtual OUString ExpandImpl (SwRootFrame const *pLayout) const override
 
virtual std::unique_ptr< SwFieldCopy () const 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
 
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)
 

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

Constructor & Destructor Documentation

◆ SwTemplNameField()

SwTemplNameField::SwTemplNameField ( SwTemplNameFieldType pTyp,
sal_uInt32  nFormat 
)

Definition at line 646 of file docufld.cxx.

Member Function Documentation

◆ Copy()

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

Implements SwField.

Definition at line 655 of file docufld.cxx.

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

◆ ExpandImpl()

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

Implements SwField.

Definition at line 650 of file docufld.cxx.

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

◆ PutValue()

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

Reimplemented from SwField.

Definition at line 687 of file docufld.cxx.

References FF_NAME, FF_NAME_NOEXT, FF_PATH, FF_PATHNAME, FF_UI_NAME, FF_UI_RANGE, FIELD_PROP_FORMAT, NAME, nType, and SwField::SetFormat().

◆ QueryValue()

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

Reimplemented from SwField.

Definition at line 660 of file docufld.cxx.

References FF_NAME, FF_NAME_NOEXT, FF_PATH, FF_UI_NAME, FF_UI_RANGE, FIELD_PROP_FORMAT, SwField::GetFormat(), and NAME.


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