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

#include <ddefld.hxx>

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

Public Member Functions

 SwDDEField (SwDDEFieldType *)
 
virtual ~SwDDEField () override
 
virtual OUString GetPar1 () const override
 Get parameter via types. More...
 
virtual OUString GetPar2 () const override
 get field type command More...
 
virtual void SetPar2 (const OUString &rStr) override
 set field type command More...
 
- 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)
 

Private Member Functions

virtual OUString ExpandImpl (SwRootFrame const *pLayout) const override
 
virtual std::unique_ptr< SwFieldCopy () const override
 

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 107 of file ddefld.hxx.

Constructor & Destructor Documentation

◆ SwDDEField()

SwDDEField::SwDDEField ( SwDDEFieldType pInitType)

Definition at line 336 of file ddefld.cxx.

◆ ~SwDDEField()

SwDDEField::~SwDDEField ( )
overridevirtual

Definition at line 341 of file ddefld.cxx.

References Disconnect, and SwField::GetTyp().

Member Function Documentation

◆ Copy()

std::unique_ptr< SwField > SwDDEField::Copy ( ) const
overrideprivatevirtual

Implements SwField.

Definition at line 360 of file ddefld.cxx.

References SwField::GetTyp().

◆ ExpandImpl()

OUString SwDDEField::ExpandImpl ( SwRootFrame const *  pLayout) const
overrideprivatevirtual

Implements SwField.

Definition at line 347 of file ddefld.cxx.

References aStr, and SwField::GetTyp().

◆ GetPar1()

OUString SwDDEField::GetPar1 ( ) const
overridevirtual

Get parameter via types.

get field type name

Name cannot be changed.

Reimplemented from SwField.

Definition at line 366 of file ddefld.cxx.

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

◆ GetPar2()

OUString SwDDEField::GetPar2 ( ) const
overridevirtual

get field type command

Reimplemented from SwField.

Definition at line 372 of file ddefld.cxx.

References SwField::GetTyp().

◆ SetPar2()

void SwDDEField::SetPar2 ( const OUString &  rStr)
overridevirtual

set field type command

Reimplemented from SwField.

Definition at line 378 of file ddefld.cxx.

References SwField::GetTyp().


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