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

Header, for PageFormats Client of FrameFormat describing the header. More...

#include <fmthdft.hxx>

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

Public Member Functions

 SwFormatHeader (bool bOn=false)
 
 SwFormatHeader (SwFrameFormat *pHeaderFormat)
 
 SwFormatHeader (const SwFormatHeader &rCpy)
 
virtual ~SwFormatHeader () override
 
SwFormatHeaderoperator= (const SwFormatHeader &rCpy)
 
virtual bool operator== (const SfxPoolItem &) const override
 "pure virtual methods" of SfxPoolItem More...
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &rIntl) const override
 
const SwFrameFormatGetHeaderFormat () const
 
SwFrameFormatGetHeaderFormat ()
 
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
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual void ScaleMetrics (long lMult, 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)
 
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 bool IsVoidItem () const
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
virtual void Modify (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
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 &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 

Private Attributes

bool const m_bActive
 Only for controlling (creation of content). More...
 

Additional Inherited Members

- 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
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Header, for PageFormats Client of FrameFormat describing the header.

Definition at line 33 of file fmthdft.hxx.

Constructor & Destructor Documentation

SwFormatHeader::SwFormatHeader ( bool  bOn = false)

Definition at line 464 of file atrfrm.cxx.

Referenced by Clone().

SwFormatHeader::SwFormatHeader ( SwFrameFormat pHeaderFormat)

Definition at line 450 of file atrfrm.cxx.

SwFormatHeader::SwFormatHeader ( const SwFormatHeader rCpy)

Definition at line 457 of file atrfrm.cxx.

SwFormatHeader::~SwFormatHeader ( )
overridevirtual

Definition at line 471 of file atrfrm.cxx.

References GetHeaderFormat(), and lcl_DelHFFormat().

Member Function Documentation

SfxPoolItem * SwFormatHeader::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 484 of file atrfrm.cxx.

References SwFormatHeader().

const SwFrameFormat* SwFormatHeader::GetHeaderFormat ( ) const
inline
SwFrameFormat* SwFormatHeader::GetHeaderFormat ( )
inline

Definition at line 55 of file fmthdft.hxx.

References SwClient::GetRegisteredIn().

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

Reimplemented from SfxPoolItem.

Definition at line 266 of file attrdesc.cxx.

References SwResId().

bool SwFormatHeader::IsActive ( ) const
inline
SwFormatHeader& SwFormatHeader::operator= ( const SwFormatHeader rCpy)
bool SwFormatHeader::operator== ( const SfxPoolItem rAttr) const
overridevirtual

"pure virtual methods" of SfxPoolItem

Implements SfxPoolItem.

Definition at line 477 of file atrfrm.cxx.

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

void SwFormatHeader::RegisterToFormat ( SwFormat rFormat)

Definition at line 489 of file atrfrm.cxx.

References SwModify::Add().

Member Data Documentation

bool const SwFormatHeader::m_bActive
private

Only for controlling (creation of content).

Definition at line 35 of file fmthdft.hxx.

Referenced by operator==().


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