LibreOffice Module reportdesign (master) 1
Public Member Functions | Protected Attributes | List of all members
rptui::OCommentUndoAction Class Reference

#include <UndoActions.hxx>

Inheritance diagram for rptui::OCommentUndoAction:
[legend]
Collaboration diagram for rptui::OCommentUndoAction:
[legend]

Public Member Functions

 OCommentUndoAction (SdrModel &rMod, TranslateId pCommentID)
 
virtual ~OCommentUndoAction () override
 
virtual OUString GetComment () const override
 
virtual void Undo () override
 
virtual void Redo () override
 
- Public Member Functions inherited from SdrUndoAction
virtual ~SdrUndoAction () override
 
virtual bool CanRepeat (SfxRepeatTarget &rView) const override
 
virtual void Repeat (SfxRepeatTarget &rView) override
 
virtual OUString GetRepeatComment (SfxRepeatTarget &rView) const override
 
virtual OUString GetSdrRepeatComment () const
 
virtual bool CanSdrRepeat (SdrView &rView) const
 
virtual void SdrRepeat (SdrView &rView)
 
ViewShellId GetViewShellId () const override
 

Protected Attributes

OUString m_strComment
 
::dbaui::IControllerm_pController
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Additional Inherited Members

- Protected Member Functions inherited from SdrUndoAction
 SdrUndoAction (SdrModel &rNewMod)
 

Detailed Description

Definition at line 138 of file UndoActions.hxx.

Constructor & Destructor Documentation

◆ OCommentUndoAction()

rptui::OCommentUndoAction::OCommentUndoAction ( SdrModel rMod,
TranslateId  pCommentID 
)

Definition at line 71 of file UndoActions.cxx.

References m_pController, m_strComment, and RptResId().

◆ ~OCommentUndoAction()

rptui::OCommentUndoAction::~OCommentUndoAction ( )
overridevirtual

Definition at line 78 of file UndoActions.cxx.

Member Function Documentation

◆ GetComment()

virtual OUString rptui::OCommentUndoAction::GetComment ( ) const
inlineoverridevirtual

Reimplemented in rptui::ORptUndoPropertyAction, and rptui::OGroupSectionUndo.

Definition at line 148 of file UndoActions.hxx.

◆ Redo()

void rptui::OCommentUndoAction::Redo ( )
overridevirtual

◆ Undo()

void rptui::OCommentUndoAction::Undo ( )
overridevirtual

Member Data Documentation

◆ m_pController

::dbaui::IController* rptui::OCommentUndoAction::m_pController
protected

◆ m_strComment

OUString rptui::OCommentUndoAction::m_strComment
protected

Definition at line 141 of file UndoActions.hxx.

Referenced by rptui::OGroupSectionUndo::GetComment(), and OCommentUndoAction().


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