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:
Collaboration diagram for rptui::OCommentUndoAction:

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
- Protected Attributes inherited from SdrUndoAction
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 ( )

Definition at line 78 of file UndoActions.cxx.

Member Function Documentation

◆ GetComment()

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

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

Definition at line 148 of file UndoActions.hxx.

◆ Redo()

void rptui::OCommentUndoAction::Redo ( )

◆ Undo()

void rptui::OCommentUndoAction::Undo ( )

Member Data Documentation

◆ m_pController

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

◆ m_strComment

OUString rptui::OCommentUndoAction::m_strComment

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: