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

Footer, for pageformats Client of FrameFormat describing the footer. More...

#include <fmthdft.hxx>

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

Public Member Functions

 SwFormatFooter (bool bOn=false)
 
 SwFormatFooter (SwFrameFormat *pFooterFormat)
 
 SwFormatFooter (const SwFormatFooter &rCpy)
 
virtual ~SwFormatFooter () override
 
SwFormatFooteroperator= (const SwFormatFooter &rCpy)
 
virtual bool operator== (const SfxPoolItem &) const override
 "pure virtual methods" of SfxPoolItem More...
 
virtual SwFormatFooterClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) const override
 
const SwFrameFormatGetFooterFormat () const
 
SwFrameFormatGetFooterFormat ()
 
void RegisterToFormat (SwFormat &rFormat)
 
bool IsActive () const
 
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
 
virtual ~SfxPoolItem ()
 
void SetWhich (sal_uInt16 nId)
 
sal_uInt16 Which () const
 
T & StaticWhichCast (TypedWhichId< T > nId)
 
const T & StaticWhichCast (TypedWhichId< T > nId) const
 
T * DynamicWhichCast (TypedWhichId< T > nId)
 
const T * DynamicWhichCast (TypedWhichId< T > nId) const
 
virtual bool operator== (const SfxPoolItem &) const=0
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool HasLookup () const
 
virtual lookup_iterator Lookup (lookup_iterator, lookup_iterator end) const
 
virtual bool GetPresentation (SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
 
virtual void ScaleMetrics (tools::Long lMult, tools::Long lDiv)
 
virtual bool HasMetrics () const
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId)
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const=0
 
std::unique_ptr< SfxPoolItemCloneSetWhich (sal_uInt16 nNewWhich) const
 
std::unique_ptr< T > CloneSetWhich (TypedWhichId< T > nId) const
 
sal_uInt32 GetRefCount () const
 
SfxItemKind GetKind () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
virtual boost::property_tree::ptree dumpAsJSON () const
 
virtual bool IsVoidItem () 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 &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 
virtual const SwCellFrameDynCastCellFrame () const
 
virtual const SwTabFrameDynCastTabFrame () const
 
virtual const SwRowFrameDynCastRowFrame () const
 
virtual const SwTableDynCastTable () const
 

Private Attributes

bool m_bActive
 

Additional Inherited Members

- Public Types inherited from SfxPoolItem
typedef std::vector< SfxPoolItem * >::const_iterator lookup_iterator
 
- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint)=0
 

Detailed Description

Footer, for pageformats Client of FrameFormat describing the footer.

Definition at line 64 of file fmthdft.hxx.

Constructor & Destructor Documentation

◆ SwFormatFooter() [1/3]

SwFormatFooter::SwFormatFooter ( bool  bOn = false)

Definition at line 548 of file atrfrm.cxx.

Referenced by Clone().

◆ SwFormatFooter() [2/3]

SwFormatFooter::SwFormatFooter ( SwFrameFormat pFooterFormat)

Definition at line 534 of file atrfrm.cxx.

◆ SwFormatFooter() [3/3]

SwFormatFooter::SwFormatFooter ( const SwFormatFooter rCpy)

Definition at line 541 of file atrfrm.cxx.

◆ ~SwFormatFooter()

SwFormatFooter::~SwFormatFooter ( )
overridevirtual

Definition at line 555 of file atrfrm.cxx.

References GetFooterFormat(), and lcl_DelHFFormat().

Member Function Documentation

◆ Clone()

SwFormatFooter * SwFormatFooter::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 573 of file atrfrm.cxx.

References SwFormatFooter().

Referenced by SwUndoPageDesc::ExchangeContentNodes().

◆ GetFooterFormat() [1/2]

SwFrameFormat * SwFormatFooter::GetFooterFormat ( )
inline

Definition at line 86 of file fmthdft.hxx.

References SwClient::GetRegisteredIn().

◆ GetFooterFormat() [2/2]

const SwFrameFormat * SwFormatFooter::GetFooterFormat ( ) const
inline

◆ GetPresentation()

bool SwFormatFooter::GetPresentation ( SfxItemPresentation  ePres,
MapUnit  eCoreMetric,
MapUnit  ePresMetric,
OUString &  rText,
const IntlWrapper rIntl 
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 274 of file attrdesc.cxx.

References GetFooterFormat(), and SwResId().

◆ IsActive()

bool SwFormatFooter::IsActive ( ) const
inline

◆ operator=()

SwFormatFooter & SwFormatFooter::operator= ( const SwFormatFooter rCpy)

◆ operator==()

bool SwFormatFooter::operator== ( const SfxPoolItem rAttr) const
overridevirtual

"pure virtual methods" of SfxPoolItem

Implements SfxPoolItem.

Definition at line 566 of file atrfrm.cxx.

References SwClient::GetRegisteredIn(), IsActive(), and m_bActive.

◆ RegisterToFormat()

void SwFormatFooter::RegisterToFormat ( SwFormat rFormat)

Definition at line 561 of file atrfrm.cxx.

Member Data Documentation

◆ m_bActive

bool SwFormatFooter::m_bActive
private

Definition at line 66 of file fmthdft.hxx.

Referenced by operator==().


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