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:
[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 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
 
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
 Only for controlling (creation of content). More...
 

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

Header, for PageFormats Client of FrameFormat describing the header.

Definition at line 33 of file fmthdft.hxx.

Constructor & Destructor Documentation

◆ SwFormatHeader() [1/3]

SwFormatHeader::SwFormatHeader ( bool  bOn = false)

Definition at line 503 of file atrfrm.cxx.

Referenced by Clone().

◆ SwFormatHeader() [2/3]

SwFormatHeader::SwFormatHeader ( SwFrameFormat pHeaderFormat)

Definition at line 489 of file atrfrm.cxx.

◆ SwFormatHeader() [3/3]

SwFormatHeader::SwFormatHeader ( const SwFormatHeader rCpy)

Definition at line 496 of file atrfrm.cxx.

◆ ~SwFormatHeader()

SwFormatHeader::~SwFormatHeader ( )
overridevirtual

Definition at line 510 of file atrfrm.cxx.

References GetHeaderFormat(), and lcl_DelHFFormat().

Member Function Documentation

◆ Clone()

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

Implements SfxPoolItem.

Definition at line 523 of file atrfrm.cxx.

References SwFormatHeader().

Referenced by SwUndoPageDesc::ExchangeContentNodes().

◆ GetHeaderFormat() [1/2]

SwFrameFormat * SwFormatHeader::GetHeaderFormat ( )
inline

Definition at line 55 of file fmthdft.hxx.

References SwClient::GetRegisteredIn().

◆ GetHeaderFormat() [2/2]

const SwFrameFormat * SwFormatHeader::GetHeaderFormat ( ) const
inline

◆ GetPresentation()

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

Reimplemented from SfxPoolItem.

Definition at line 257 of file attrdesc.cxx.

References GetHeaderFormat(), and SwResId().

◆ IsActive()

bool SwFormatHeader::IsActive ( ) const
inline

◆ operator=()

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

◆ operator==()

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

"pure virtual methods" of SfxPoolItem

Implements SfxPoolItem.

Definition at line 516 of file atrfrm.cxx.

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

◆ RegisterToFormat()

void SwFormatHeader::RegisterToFormat ( SwFormat rFormat)

Definition at line 528 of file atrfrm.cxx.

Member Data Documentation

◆ m_bActive

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