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

#include <docufld.hxx>

Inheritance diagram for SwPageNumberFieldType:
[legend]
Collaboration diagram for SwPageNumberFieldType:
[legend]

Public Member Functions

 SwPageNumberFieldType ()
 
OUString Expand (SvxNumType nFormat, short nOff, sal_uInt16 const nPageNumber, sal_uInt16 const nMaxPage, const OUString &, LanguageType=LANGUAGE_NONE) const
 
void ChangeExpansion (SwDoc *pDoc, bool bVirtPageNum, const SvxNumType *pNumFormat)
 
virtual std::unique_ptr< SwFieldTypeCopy () const override
 
- 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 () 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 Attributes

SvxNumType m_nNumberingType
 
bool m_bVirtual
 

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 126 of file docufld.hxx.

Constructor & Destructor Documentation

SwPageNumberFieldType::SwPageNumberFieldType ( )

Definition at line 101 of file docufld.cxx.

References PageNumber, and SVX_NUM_ARABIC.

Referenced by Copy().

Member Function Documentation

void SwPageNumberFieldType::ChangeExpansion ( SwDoc pDoc,
bool  bVirtPageNum,
const SvxNumType pNumFormat 
)
std::unique_ptr< SwFieldType > SwPageNumberFieldType::Copy ( ) const
overridevirtual

Implements SwFieldType.

Definition at line 124 of file docufld.cxx.

References m_bVirtual, m_nNumberingType, and SwPageNumberFieldType().

OUString SwPageNumberFieldType::Expand ( SvxNumType  nFormat,
short  nOff,
sal_uInt16 const  nPageNumber,
sal_uInt16 const  nMaxPage,
const OUString &  rUserStr,
LanguageType  nLang = LANGUAGE_NONE 
) const

Member Data Documentation

bool SwPageNumberFieldType::m_bVirtual
private

Definition at line 129 of file docufld.hxx.

Referenced by ChangeExpansion(), Copy(), and Expand().

SvxNumType SwPageNumberFieldType::m_nNumberingType
private

Definition at line 128 of file docufld.hxx.

Referenced by ChangeExpansion(), Copy(), and Expand().


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