LibreOffice Module sd (master) 1
Public Member Functions | Protected Attributes | Private Attributes | List of all members
SdUndoAction Class Reference

#include <sdundo.hxx>

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

Public Member Functions

 SdUndoAction (SdDrawDocument *pSdDrawDocument)
 
void SetComment (const OUString &rStr)
 
virtual OUString GetComment () const override
 
virtual SdUndoAction * Clone () const
 
ViewShellId GetViewShellId () const override
 See SfxUndoAction::GetViewShellId(). More...
 
- Public Member Functions inherited from SfxUndoAction
 SfxUndoAction ()
 
virtual ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE
 
virtual void Undo ()
 
virtual void UndoWithContext (SfxUndoContext &i_context)
 
virtual void Redo ()
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual void Repeat (SfxRepeatTarget &)
 
virtual bool CanRepeat (SfxRepeatTarget &) const
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
virtual OUString GetComment () const
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
virtual ViewShellId GetViewShellId () const
 
const DateTime & GetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Protected Attributes

SdDrawDocument * mpDoc
 
ViewShellId mnViewShellId
 

Private Attributes

OUString maComment
 

Detailed Description

Definition at line 27 of file sdundo.hxx.

Constructor & Destructor Documentation

◆ SdUndoAction()

SdUndoAction::SdUndoAction ( SdDrawDocument *  pSdDrawDocument)

Member Function Documentation

◆ Clone()

virtual SdUndoAction * SdUndoAction::Clone ( ) const
inlinevirtual

Reimplemented in SdBackgroundObjUndoAction.

Definition at line 34 of file sdundo.hxx.

Referenced by SdUndoGroup::Merge().

◆ GetComment()

virtual OUString SdUndoAction::GetComment ( ) const
inlineoverridevirtual

◆ GetViewShellId()

ViewShellId SdUndoAction::GetViewShellId ( ) const
overridevirtual

See SfxUndoAction::GetViewShellId().

Reimplemented from SfxUndoAction.

Definition at line 42 of file undoobjects.cxx.

References mnViewShellId.

◆ SetComment()

void SdUndoAction::SetComment ( const OUString &  rStr)
inline

Member Data Documentation

◆ maComment

OUString SdUndoAction::maComment
private

Definition at line 42 of file sdundo.hxx.

◆ mnViewShellId

ViewShellId SdUndoAction::mnViewShellId
protected

Definition at line 40 of file sdundo.hxx.

Referenced by GetViewShellId(), and SdUndoAction().

◆ mpDoc

SdDrawDocument* SdUndoAction::mpDoc
protected

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