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

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

#include <fmthdft.hxx>

Inheritance diagram for SwFormatHeader:
Collaboration diagram for SwFormatHeader:

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 SwFormatHeaderClone (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
T & StaticWhichCast (TypedWhichId< T > nId)
const T & StaticWhichCast (TypedWhichId< T > nId) const
T * DynamicWhichCast (TypedWhichId< T > nId)
const T * DynamicWhichCast (TypedWhichId< T > nId) const
bool operator!= (const SfxPoolItem &rItem) const
virtual bool operator< (const SfxPoolItem &) const
virtual bool IsSortable () 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)
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

Private Attributes

bool 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
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
- 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 502 of file atrfrm.cxx.

Referenced by Clone().

SwFormatHeader::SwFormatHeader ( SwFrameFormat pHeaderFormat)

Definition at line 488 of file atrfrm.cxx.

SwFormatHeader::SwFormatHeader ( const SwFormatHeader rCpy)

Definition at line 495 of file atrfrm.cxx.

SwFormatHeader::~SwFormatHeader ( )

Definition at line 509 of file atrfrm.cxx.

References GetHeaderFormat(), and lcl_DelHFFormat().

Member Function Documentation

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

Implements SfxPoolItem.

Definition at line 522 of file atrfrm.cxx.

References SwFormatHeader().

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

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

Reimplemented from SfxPoolItem.

Definition at line 258 of file attrdesc.cxx.

References SwResId().

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

"pure virtual methods" of SfxPoolItem

Implements SfxPoolItem.

Definition at line 515 of file atrfrm.cxx.

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

void SwFormatHeader::RegisterToFormat ( SwFormat rFormat)

Definition at line 527 of file atrfrm.cxx.

References SwModify::Add().

Member Data Documentation

bool SwFormatHeader::m_bActive

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: