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

#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
 
- 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 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 UpdateFields () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
- Public Member Functions inherited from SwModify
 SwModify ()
 
 SwModify (SwModify *pToRegisterIn)
 
void NotifyClients (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void ModifyBroadcast (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
virtual void CallSwClientNotify (const SfxHint &rHint) const
 
virtual ~SwModify () override
 
void Add (SwClient *pDepend)
 
SwClientRemove (SwClient *pDepend)
 
bool HasWriterListeners () const
 
virtual bool GetInfo (SfxPoolItem &) const override
 
void LockModify ()
 
void UnlockModify ()
 
void SetInCache (bool bNew)
 
void SetInSwFntCache (bool bNew)
 
void SetInDocDTOR ()
 
bool IsModifyLocked () const
 
bool IsInCache () const
 
bool IsInSwFntCache () const
 
void CheckCaching (const sal_uInt16 nWhich)
 
bool HasOnlyOneListener ()
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 
- Public Member Functions inherited from sw::BroadcasterMixin
 BroadcasterMixin ()=default
 
 BroadcasterMixin (BroadcasterMixin const &)=default
 
BroadcasterMixinoperator= (const BroadcasterMixin &)
 
SvtBroadcasterGetNotifier ()
 

Protected Member Functions

virtual void Modify (const SfxPoolItem *pOld, const SfxPoolItem *pNew) override
 Overlay, because get-field cannot be changed and therefore does not need to be updated. More...
 
- 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...
 
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 

Additional Inherited Members

- Static Public Member Functions inherited from SwFieldType
static OUString GetTypeStr (sal_uInt16 nTypeId)
 

Detailed Description

Definition at line 70 of file expfld.hxx.

Constructor & Destructor Documentation

SwGetExpFieldType::SwGetExpFieldType ( SwDoc pDoc)

Definition at line 267 of file expfld.cxx.

References GetExp.

Member Function Documentation

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

Implements SwFieldType.

Definition at line 272 of file expfld.cxx.

References SwValueFieldType::GetDoc().

void SwGetExpFieldType::Modify ( const SfxPoolItem pOld,
const SfxPoolItem pNew 
)
overrideprotectedvirtual

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

Update at changing of set-values!

Reimplemented from SwModify.

Definition at line 277 of file expfld.cxx.

References SwModify::NotifyClients(), RES_DOCPOS_UPDATE, and SfxPoolItem::Which().


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