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, const char *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 137 of file UndoActions.hxx.

Constructor & Destructor Documentation

rptui::OCommentUndoAction::OCommentUndoAction ( SdrModel rMod,
const char *  pCommentID 
)

Definition at line 71 of file UndoActions.cxx.

References m_pController, m_strComment, and RptResId().

rptui::OCommentUndoAction::~OCommentUndoAction ( )
overridevirtual

Definition at line 78 of file UndoActions.cxx.

Member Function Documentation

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

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

Definition at line 147 of file UndoActions.hxx.

void rptui::OCommentUndoAction::Redo ( )
overridevirtual
void rptui::OCommentUndoAction::Undo ( )
overridevirtual

Member Data Documentation

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

Definition at line 140 of file UndoActions.hxx.

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


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