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

#include <redline.hxx>

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

Public Member Functions

 SwRedlineExtraData_FormatColl (OUString aColl, sal_uInt16 nPoolFormatId, const SfxItemSet *pSet=nullptr, bool bFormatAll=true)
 
virtual ~SwRedlineExtraData_FormatColl () override
 
virtual SwRedlineExtraDataCreateNew () const override
 
virtual void Reject (SwPaM &rPam) const override
 
virtual bool operator== (const SwRedlineExtraData &) const override
 
const OUString & GetFormatName () const
 
void SetItemSet (const SfxItemSet &rSet)
 
SfxItemSetGetItemSet () const
 
void SetFormatAll (bool bAll)
 
- Public Member Functions inherited from SwRedlineExtraData
virtual ~SwRedlineExtraData ()
 
virtual SwRedlineExtraDataCreateNew () const =0
 
virtual void Reject (SwPaM &rPam) const
 
virtual bool operator== (const SwRedlineExtraData &) const
 

Private Attributes

OUString m_sFormatNm
 
std::unique_ptr< SfxItemSetm_pSet
 
sal_uInt16 m_nPoolId
 
bool m_bFormatAll
 

Additional Inherited Members

- Protected Member Functions inherited from SwRedlineExtraData
 SwRedlineExtraData ()
 

Detailed Description

Definition at line 52 of file redline.hxx.

Constructor & Destructor Documentation

◆ SwRedlineExtraData_FormatColl()

SwRedlineExtraData_FormatColl::SwRedlineExtraData_FormatColl ( OUString  aColl,
sal_uInt16  nPoolFormatId,
const SfxItemSet pSet = nullptr,
bool  bFormatAll = true 
)

Definition at line 908 of file docredln.cxx.

References SfxItemSet::Count(), and m_pSet.

Referenced by CreateNew().

◆ ~SwRedlineExtraData_FormatColl()

SwRedlineExtraData_FormatColl::~SwRedlineExtraData_FormatColl ( )
overridevirtual

Definition at line 918 of file docredln.cxx.

Member Function Documentation

◆ CreateNew()

SwRedlineExtraData * SwRedlineExtraData_FormatColl::CreateNew ( ) const
overridevirtual

Implements SwRedlineExtraData.

Definition at line 922 of file docredln.cxx.

References m_bFormatAll, m_nPoolId, m_pSet, m_sFormatNm, and SwRedlineExtraData_FormatColl().

◆ GetFormatName()

const OUString & SwRedlineExtraData_FormatColl::GetFormatName ( ) const
inline

Definition at line 66 of file redline.hxx.

Referenced by DocxAttributeOutput::Redline().

◆ GetItemSet()

SfxItemSet * SwRedlineExtraData_FormatColl::GetItemSet ( ) const
inline

Definition at line 68 of file redline.hxx.

Referenced by DocxAttributeOutput::Redline().

◆ operator==()

bool SwRedlineExtraData_FormatColl::operator== ( const SwRedlineExtraData r) const
overridevirtual

Reimplemented from SwRedlineExtraData.

Definition at line 973 of file docredln.cxx.

References m_bFormatAll, m_nPoolId, m_pSet, and m_sFormatNm.

◆ Reject()

void SwRedlineExtraData_FormatColl::Reject ( SwPaM rPam) const
overridevirtual

◆ SetFormatAll()

void SwRedlineExtraData_FormatColl::SetFormatAll ( bool  bAll)
inline

Definition at line 69 of file redline.hxx.

Referenced by sw::DocumentRedlineManager::AppendRedline().

◆ SetItemSet()

void SwRedlineExtraData_FormatColl::SetItemSet ( const SfxItemSet rSet)

Definition at line 982 of file docredln.cxx.

References SfxItemSet::Count(), m_pSet, and rSet.

Referenced by SwDoc::SetTextFormatCollByAutoFormat().

Member Data Documentation

◆ m_bFormatAll

bool SwRedlineExtraData_FormatColl::m_bFormatAll
private

Definition at line 57 of file redline.hxx.

Referenced by CreateNew(), operator==(), and Reject().

◆ m_nPoolId

sal_uInt16 SwRedlineExtraData_FormatColl::m_nPoolId
private

Definition at line 56 of file redline.hxx.

Referenced by CreateNew(), operator==(), and Reject().

◆ m_pSet

std::unique_ptr<SfxItemSet> SwRedlineExtraData_FormatColl::m_pSet
private

Definition at line 55 of file redline.hxx.

Referenced by CreateNew(), operator==(), Reject(), SetItemSet(), and SwRedlineExtraData_FormatColl().

◆ m_sFormatNm

OUString SwRedlineExtraData_FormatColl::m_sFormatNm
private

Definition at line 54 of file redline.hxx.

Referenced by CreateNew(), operator==(), and Reject().


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