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
 
OUString GetInputOrDateTime (const OUString &rInput, const double &rVal, sal_uInt32 nFormat) const
 Query input or formatted value for dialog. More...
 
- Public Member Functions inherited from SwFieldType
unotools::WeakReference< SwXFieldMaster > const & GetXObject () const
 
void SetXObject (rtl::Reference< SwXFieldMaster > 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
 
void UpdateDocPos (const SwTwips nDocPos)
 
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  
)
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.

◆ 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: