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

#include <UndoAttribute.hxx>

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

Public Member Functions

 SwUndoFormatAttrHelper (SwFormat &rFormat, bool bSaveDrawPt=true)
 
virtual void SwClientNotify (const SwModify &, const SfxHint &) override
 
SwUndoFormatAttrGetUndo () const
 
std::unique_ptr< SwUndoFormatAttrReleaseUndo ()
 
- 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

SwFormatm_rFormat
 
std::unique_ptr< SwUndoFormatAttrm_pUndo
 
const bool m_bSaveDrawPt
 

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 164 of file UndoAttribute.hxx.

Constructor & Destructor Documentation

◆ SwUndoFormatAttrHelper()

SwUndoFormatAttrHelper::SwUndoFormatAttrHelper ( SwFormat rFormat,
bool  bSaveDrawPt = true 
)

Definition at line 62 of file unattr.cxx.

Member Function Documentation

◆ GetUndo()

SwUndoFormatAttr * SwUndoFormatAttrHelper::GetUndo ( ) const
inline

◆ ReleaseUndo()

std::unique_ptr< SwUndoFormatAttr > SwUndoFormatAttrHelper::ReleaseUndo ( )
inline

Definition at line 177 of file UndoAttribute.hxx.

References m_pUndo.

Referenced by SwDoc::SetAttr(), and SwUndoInsertLabel::SetFlys().

◆ SwClientNotify()

void SwUndoFormatAttrHelper::SwClientNotify ( const SwModify ,
const SfxHint rHint 
)
overridevirtual

Member Data Documentation

◆ m_bSaveDrawPt

const bool SwUndoFormatAttrHelper::m_bSaveDrawPt
private

Definition at line 168 of file UndoAttribute.hxx.

Referenced by SwClientNotify().

◆ m_pUndo

std::unique_ptr<SwUndoFormatAttr> SwUndoFormatAttrHelper::m_pUndo
private

Definition at line 167 of file UndoAttribute.hxx.

Referenced by GetUndo(), ReleaseUndo(), and SwClientNotify().

◆ m_rFormat

SwFormat& SwUndoFormatAttrHelper::m_rFormat
private

Definition at line 166 of file UndoAttribute.hxx.

Referenced by SwClientNotify().


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