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

#include <UndoActions.hxx>

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

Public Member Functions

 OUndoContainerAction (SdrModel &rMod, Action _eAction, const css::uno::Reference< css::container::XIndexContainer > &rContainer, const css::uno::Reference< css::uno::XInterface > &xElem, const char *pCommentId)
 
virtual ~OUndoContainerAction () override
 
virtual void Undo () override
 
virtual void Redo () override
 
- Public Member Functions inherited from rptui::OCommentUndoAction
 OCommentUndoAction (SdrModel &rMod, const char *pCommentID)
 
virtual ~OCommentUndoAction () override
 
virtual OUString GetComment () const 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 Member Functions

virtual void implReInsert ()
 
virtual void implReRemove ()
 
- Protected Member Functions inherited from SdrUndoAction
 SdrUndoAction (SdrModel &rNewMod)
 

Protected Attributes

css::uno::Reference< css::uno::XInterface > m_xElement
 
css::uno::Reference< css::uno::XInterface > m_xOwnElement
 
css::uno::Reference< css::container::XIndexContainer > m_xContainer
 
Action m_eAction
 
- Protected Attributes inherited from rptui::OCommentUndoAction
OUString m_strComment
 
::dbaui::IControllerm_pController
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Private Member Functions

 OUndoContainerAction (OUndoContainerAction const &)=delete
 
void operator= (OUndoContainerAction const &)=delete
 

Detailed Description

Definition at line 154 of file UndoActions.hxx.

Constructor & Destructor Documentation

rptui::OUndoContainerAction::OUndoContainerAction ( OUndoContainerAction const &  )
privatedelete
rptui::OUndoContainerAction::OUndoContainerAction ( SdrModel rMod,
Action  _eAction,
const css::uno::Reference< css::container::XIndexContainer > &  rContainer,
const css::uno::Reference< css::uno::XInterface > &  xElem,
const char *  pCommentId 
)
rptui::OUndoContainerAction::~OUndoContainerAction ( )
overridevirtual

Member Function Documentation

void rptui::OUndoContainerAction::implReInsert ( )
protectedvirtual

Reimplemented in rptui::OUndoGroupSectionAction, and rptui::OUndoReportSectionAction.

Definition at line 138 of file UndoActions.cxx.

References m_xContainer, m_xElement, and m_xOwnElement.

Referenced by Redo(), and Undo().

void rptui::OUndoContainerAction::implReRemove ( )
protectedvirtual

Reimplemented in rptui::OUndoGroupSectionAction, and rptui::OUndoReportSectionAction.

Definition at line 150 of file UndoActions.cxx.

References aLock, i, m_xContainer, m_xElement, m_xOwnElement, nCount, and SdrUndoAction::rMod.

Referenced by Redo(), and Undo().

void rptui::OUndoContainerAction::operator= ( OUndoContainerAction const &  )
privatedelete
void rptui::OUndoContainerAction::Redo ( )
overridevirtual
void rptui::OUndoContainerAction::Undo ( )
overridevirtual

Member Data Documentation

Action rptui::OUndoContainerAction::m_eAction
protected

Definition at line 165 of file UndoActions.hxx.

Referenced by Redo(), and Undo().

css::uno::Reference< css::container::XIndexContainer > rptui::OUndoContainerAction::m_xContainer
protected

Definition at line 164 of file UndoActions.hxx.

Referenced by implReInsert(), and implReRemove().

css::uno::Reference< css::uno::XInterface > rptui::OUndoContainerAction::m_xElement
protected
css::uno::Reference< css::uno::XInterface > rptui::OUndoContainerAction::m_xOwnElement
protected

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