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

#include <fmtcol.hxx>

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

Public Member Functions

 SwCollCondition (SwTextFormatColl *pColl, Master_CollCondition nMasterCond, sal_uInt32 nSubCond)
 
virtual ~SwCollCondition () override
 
 SwCollCondition (const SwCollCondition &rCpy)
 @@ public copy ctor, but no copy assignment? More...
 
bool operator== (const SwCollCondition &rCmp) const
 
Master_CollCondition GetCondition () const
 
sal_uInt32 GetSubCondition () const
 
void SetCondition (Master_CollCondition nCond, sal_uInt32 nSubCond)
 
SwTextFormatCollGetTextFormatColl () const
 
void RegisterToFormat (SwFormat &)
 
- 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 Member Functions

SwCollConditionoperator= (const SwCollCondition &)=delete
 @@ public copy ctor, but no copy assignment? More...
 

Private Attributes

Master_CollCondition m_nCondition
 
sal_uInt32 m_nSubCondition
 

Additional Inherited Members

- 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

Definition at line 210 of file fmtcol.hxx.

Constructor & Destructor Documentation

◆ SwCollCondition() [1/2]

SwCollCondition::SwCollCondition ( SwTextFormatColl pColl,
Master_CollCondition  nMasterCond,
sal_uInt32  nSubCond 
)

Definition at line 572 of file fmtcol.cxx.

◆ ~SwCollCondition()

SwCollCondition::~SwCollCondition ( )
overridevirtual

Definition at line 586 of file fmtcol.cxx.

◆ SwCollCondition() [2/2]

SwCollCondition::SwCollCondition ( const SwCollCondition rCpy)

@@ public copy ctor, but no copy assignment?

Definition at line 579 of file fmtcol.cxx.

Member Function Documentation

◆ GetCondition()

Master_CollCondition SwCollCondition::GetCondition ( ) const
inline

Definition at line 230 of file fmtcol.hxx.

Referenced by SwXMLImport::UpdateTextCollConditions().

◆ GetSubCondition()

sal_uInt32 SwCollCondition::GetSubCondition ( ) const
inline

Definition at line 231 of file fmtcol.hxx.

◆ GetTextFormatColl()

SwTextFormatColl * SwCollCondition::GetTextFormatColl ( ) const
inline

Definition at line 234 of file fmtcol.hxx.

Referenced by SwContentNode::ChkCondColl(), and SwCondCollPage::Reset().

◆ operator=()

SwCollCondition & SwCollCondition::operator= ( const SwCollCondition )
privatedelete

@@ public copy ctor, but no copy assignment?

References operator==().

◆ operator==()

bool SwCollCondition::operator== ( const SwCollCondition rCmp) const

Definition at line 595 of file fmtcol.cxx.

References m_nCondition, and m_nSubCondition.

◆ RegisterToFormat()

void SwCollCondition::RegisterToFormat ( SwFormat rFormat)

Definition at line 590 of file fmtcol.cxx.

Referenced by SwDocStyleSheet::SetItemSet().

◆ SetCondition()

void SwCollCondition::SetCondition ( Master_CollCondition  nCond,
sal_uInt32  nSubCond 
)

Definition at line 601 of file fmtcol.cxx.

References m_nCondition, and m_nSubCondition.

Referenced by SwContentNode::ChkCondColl(), and SwContentNode::IsAnyCondition().

Member Data Documentation

◆ m_nCondition

Master_CollCondition SwCollCondition::m_nCondition
private

Definition at line 212 of file fmtcol.hxx.

Referenced by operator==(), and SetCondition().

◆ m_nSubCondition

sal_uInt32 SwCollCondition::m_nSubCondition
private

Definition at line 213 of file fmtcol.hxx.

Referenced by operator==(), and SetCondition().


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