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

#include <docufld.hxx>

Inheritance diagram for SwRefPageGetFieldType:
Collaboration diagram for SwRefPageGetFieldType:

Public Member Functions

 SwRefPageGetFieldType (SwDoc *pDoc)
virtual std::unique_ptr< SwFieldTypeCopy () const override
bool MakeSetList (SetGetExpFields &rTmpLst, SwRootFrame const *pLayout)
SwDocGetDoc () 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
SwFormatFieldFindFormatForField (const SwField *) const
SwFormatFieldFindFormatForPostItId (sal_uInt32 nPostItId) const
void CollectPostIts (std::vector< SwFormatField * > &rvFormatFields, IDocumentRedlineAccess const &rIDRA, bool HideRedlines)
bool HasHiddenInformationNotes ()
void GatherNodeIndex (std::vector< sal_uLong > &rvNodeIndex)
void GatherRefFields (std::vector< SwGetRefField * > &rvRFields, const sal_uInt16 nTyp)
void GatherFields (std::vector< SwFormatField * > &rvFormatFields, bool bCollectOnlyInDocNodes=true) const
- Public Member Functions inherited from SwModify
 SwModify ()
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 () const
- 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 ()

Private Member Functions

void UpdateField (SwTextField const *pTextField, SetGetExpFields const &rSetList, SwRootFrame const *pLayout)
virtual void Modify (const SfxPoolItem *, const SfxPoolItem *) override
 overwritten to update all RefPageGet fields More...

Private Attributes

sal_Int16 m_nNumberingType

Additional Inherited Members

- Static Public Member Functions inherited from SwFieldType
static OUString GetTypeStr (SwFieldTypesEnum nTypeId)
- 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

Detailed Description

Definition at line 605 of file docufld.hxx.

Constructor & Destructor Documentation

SwRefPageGetFieldType::SwRefPageGetFieldType ( SwDoc pDoc)

Definition at line 2157 of file docufld.cxx.

References RefPageGet, and SVX_NUM_ARABIC.

Referenced by Copy().

Member Function Documentation

std::unique_ptr< SwFieldType > SwRefPageGetFieldType::Copy ( ) const

Implements SwFieldType.

Definition at line 2162 of file docufld.cxx.

References m_nNumberingType, m_pDoc, and SwRefPageGetFieldType().

SwDoc* SwRefPageGetFieldType::GetDoc ( ) const

Definition at line 619 of file docufld.hxx.

References m_pDoc.

Referenced by SwRefPageGetField::ChangeExpansion().

bool SwRefPageGetFieldType::MakeSetList ( SetGetExpFields rTmpLst,
SwRootFrame const *  pLayout 
void SwRefPageGetFieldType::Modify ( const SfxPoolItem pOld,
const SfxPoolItem pNew 

overwritten to update all RefPageGet fields

Reimplemented from SwModify.

Definition at line 2169 of file docufld.cxx.

References SwFieldType::GatherFields(), SwDoc::GetAllLayouts(), SwModify::HasWriterListeners(), m_pDoc, MakeSetList(), SwModify::NotifyClients(), and UpdateField().

void SwRefPageGetFieldType::UpdateField ( SwTextField const *  pTextField,
SetGetExpFields const &  rSetList,
SwRootFrame const *  pLayout 

Member Data Documentation

sal_Int16 SwRefPageGetFieldType::m_nNumberingType

Definition at line 608 of file docufld.hxx.

Referenced by Copy().

SwDoc* SwRefPageGetFieldType::m_pDoc

Definition at line 607 of file docufld.hxx.

Referenced by Copy(), GetDoc(), MakeSetList(), Modify(), and UpdateField().

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