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

#include <expfld.hxx>

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

Public Member Functions

 SwGetExpFieldType (SwDoc *pDoc)
 
virtual std::unique_ptr< SwFieldTypeCopy () const override
 
virtual void UpdateFields () override
 
- Public Member Functions inherited from SwValueFieldType
SwDocGetDoc () const
 
void SetDoc (SwDoc *pNewDoc)
 
bool UseFormat () const
 
void EnableFormat (bool bFormat=true)
 
OUString ExpandValue (const double &rVal, sal_uInt32 nFormat, LanguageType nLng) const
 return value formatted as string More...
 
OUString DoubleToString (const double &rVal, LanguageType eLng) const
 
OUString DoubleToString (const double &rVal, sal_uInt32 nFormat) const
 
- Public Member Functions inherited from SwFieldType
SAL_DLLPRIVATE css::uno::WeakReference< css::beans::XPropertySet > const & GetXObject () const
 
SAL_DLLPRIVATE void SetXObject (css::uno::Reference< css::beans::XPropertySet > const &xFieldMaster)
 
virtual OUString GetName () const
 Only in derived classes. More...
 
virtual std::unique_ptr< SwFieldTypeCopy () const =0
 
virtual void QueryValue (css::uno::Any &rVal, sal_uInt16 nWhich) const
 
virtual void PutValue (const css::uno::Any &rVal, sal_uInt16 nWhich)
 
SwFieldIds Which () const
 
void PrintHiddenPara ()
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
SwFormatFieldFindFormatForField (const SwField *) const
 
SwFormatFieldFindFormatForPostItId (sal_uInt32 nPostItId) const
 
void CollectPostIts (std::vector< SwFormatField * > &rvFormatFields, IDocumentRedlineAccess const &rIDRA, bool HideRedlines)
 
bool HasHiddenInformationNotes () const
 
void GatherNodeIndex (std::vector< SwNodeOffset > &rvNodeIndex)
 
void GatherRefFields (std::vector< SwGetRefField * > &rvRFields, const sal_uInt16 nTyp)
 
void GatherFields (std::vector< SwFormatField * > &rvFormatFields, bool bCollectOnlyInDocNodes=true) const
 
void GatherDdeTables (std::vector< SwDDETable * > &rvTables) const
 
virtual void UpdateFields ()
 

Private Member Functions

virtual void SwClientNotify (const SwModify &, const SfxHint &) override
 Overlay, because get-field cannot be changed and therefore does not need to be updated. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from SwFieldType
static const OUString & GetTypeStr (SwFieldTypesEnum nTypeId)
 
- Protected Member Functions inherited from SwValueFieldType
 SwValueFieldType (SwDoc *pDocPtr, SwFieldIds nWhichId)
 
 SwValueFieldType (const SwValueFieldType &rTyp)
 
- Protected Member Functions inherited from SwFieldType
 SwFieldType (SwFieldIds nWhichId)
 Single argument ctors shall be explicit. More...
 

Detailed Description

Definition at line 73 of file expfld.hxx.

Constructor & Destructor Documentation

◆ SwGetExpFieldType()

SwGetExpFieldType::SwGetExpFieldType ( SwDoc pDoc)

Definition at line 262 of file expfld.cxx.

References GetExp.

Member Function Documentation

◆ Copy()

std::unique_ptr< SwFieldType > SwGetExpFieldType::Copy ( ) const
overridevirtual

Implements SwFieldType.

Definition at line 267 of file expfld.cxx.

References SwValueFieldType::GetDoc().

◆ SwClientNotify()

void SwGetExpFieldType::SwClientNotify ( const SwModify ,
const SfxHint rHint 
)
overrideprivatevirtual

Overlay, because get-field cannot be changed and therefore does not need to be updated.

Update at changing of set-values!

Definition at line 272 of file expfld.cxx.

References SfxHint::GetId(), and RES_DOCPOS_UPDATE().

◆ UpdateFields()

virtual void SwGetExpFieldType::UpdateFields ( )
inlineoverridevirtual

Reimplemented from SwFieldType.

Definition at line 78 of file expfld.hxx.


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