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:
[legend]
Collaboration diagram for SwRefPageGetFieldType:
[legend]

Public Member Functions

 SwRefPageGetFieldType (SwDoc &rDoc)
 
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
 
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< 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 sw::BroadcastingModify
virtual void CallSwClientNotify (const SfxHint &rHint) const override
 
- Public Member Functions inherited from SwModify
 SwModify ()
 
virtual ~SwModify () override
 
void Add (SwClient *pDepend)
 
SwClientRemove (SwClient *pDepend)
 
bool HasWriterListeners () const
 
bool HasOnlyOneListener () const
 
virtual bool GetInfo (SfxPoolItem &) const override
 
void LockModify ()
 
void UnlockModify ()
 
bool IsModifyLocked () const
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
std::optional< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
void CheckRegistrationFormat (SwFormat &rOld)
 
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 SwClientNotify (const SwModify &, const SfxHint &) override
 overwritten to update all RefPageGet fields More...
 

Private Attributes

SwDocm_rDoc
 
sal_Int16 m_nNumberingType
 

Additional Inherited Members

- Static Public Member Functions inherited from SwFieldType
static const 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 609 of file docufld.hxx.

Constructor & Destructor Documentation

SwRefPageGetFieldType::SwRefPageGetFieldType ( SwDoc rDoc)

Definition at line 2156 of file docufld.cxx.

References RefPageGet, and SVX_NUM_ARABIC.

Referenced by Copy().

Member Function Documentation

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

Implements SwFieldType.

Definition at line 2161 of file docufld.cxx.

References m_nNumberingType, m_rDoc, and SwRefPageGetFieldType().

SwDoc& SwRefPageGetFieldType::GetDoc ( ) const
inline

Definition at line 623 of file docufld.hxx.

References m_rDoc.

Referenced by SwRefPageGetField::ChangeExpansion().

bool SwRefPageGetFieldType::MakeSetList ( SetGetExpFields rTmpLst,
SwRootFrame const *  pLayout 
)
void SwRefPageGetFieldType::SwClientNotify ( const SwModify ,
const SfxHint rHint 
)
overrideprivatevirtual

overwritten to update all RefPageGet fields

Reimplemented from SwModify.

Definition at line 2168 of file docufld.cxx.

References sw::BroadcastingModify::CallSwClientNotify(), SwFieldType::GatherFields(), SwDoc::GetAllLayouts(), SwModify::HasWriterListeners(), m_rDoc, MakeSetList(), and UpdateField().

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

Member Data Documentation

sal_Int16 SwRefPageGetFieldType::m_nNumberingType
private

Definition at line 612 of file docufld.hxx.

Referenced by Copy().

SwDoc& SwRefPageGetFieldType::m_rDoc
private

Definition at line 611 of file docufld.hxx.

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


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