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

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...
 

Detailed Description

Definition at line 623 of file docufld.hxx.

Constructor & Destructor Documentation

◆ SwRefPageGetFieldType()

SwRefPageGetFieldType::SwRefPageGetFieldType ( SwDoc rDoc)

Definition at line 2221 of file docufld.cxx.

References RefPageGet, and SVX_NUM_ARABIC.

Referenced by Copy().

Member Function Documentation

◆ Copy()

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

Implements SwFieldType.

Definition at line 2226 of file docufld.cxx.

References m_nNumberingType, m_rDoc, and SwRefPageGetFieldType().

◆ GetDoc()

SwDoc & SwRefPageGetFieldType::GetDoc ( ) const
inline

Definition at line 637 of file docufld.hxx.

References m_rDoc.

Referenced by SwRefPageGetField::ChangeExpansion().

◆ MakeSetList()

bool SwRefPageGetFieldType::MakeSetList ( SetGetExpFields rTmpLst,
SwRootFrame const *  pLayout 
)

◆ SwClientNotify()

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

overwritten to update all RefPageGet fields

Definition at line 2233 of file docufld.cxx.

References SwFieldType::GatherFields(), SwDoc::GetAllLayouts(), SfxHint::GetId(), m_rDoc, MakeSetList(), and UpdateField().

◆ UpdateField()

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

Member Data Documentation

◆ m_nNumberingType

sal_Int16 SwRefPageGetFieldType::m_nNumberingType
private

Definition at line 626 of file docufld.hxx.

Referenced by Copy().

◆ m_rDoc

SwDoc& SwRefPageGetFieldType::m_rDoc
private

Definition at line 625 of file docufld.hxx.

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


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