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, css::uno::Reference< css::container::XIndexContainer > xContainer, const css::uno::Reference< css::uno::XInterface > &xElem, TranslateId pCommentId)
 
virtual ~OUndoContainerAction () override
 
virtual void Undo () override
 
virtual void Redo () override
 
- Public Member Functions inherited from rptui::OCommentUndoAction
 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 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 155 of file UndoActions.hxx.

Constructor & Destructor Documentation

◆ OUndoContainerAction() [1/2]

rptui::OUndoContainerAction::OUndoContainerAction ( OUndoContainerAction const &  )
privatedelete

◆ OUndoContainerAction() [2/2]

rptui::OUndoContainerAction::OUndoContainerAction ( SdrModel rMod,
Action  _eAction,
css::uno::Reference< css::container::XIndexContainer >  xContainer,
const css::uno::Reference< css::uno::XInterface > &  xElem,
TranslateId  pCommentId 
)

◆ ~OUndoContainerAction()

rptui::OUndoContainerAction::~OUndoContainerAction ( )
overridevirtual

Member Function Documentation

◆ implReInsert()

void rptui::OUndoContainerAction::implReInsert ( )
protectedvirtual

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

Definition at line 132 of file UndoActions.cxx.

References m_xContainer, m_xElement, and m_xOwnElement.

Referenced by Redo(), and Undo().

◆ implReRemove()

void rptui::OUndoContainerAction::implReRemove ( )
protectedvirtual

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

Definition at line 144 of file UndoActions.cxx.

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

Referenced by Redo(), and Undo().

◆ operator=()

void rptui::OUndoContainerAction::operator= ( OUndoContainerAction const &  )
privatedelete

◆ Redo()

void rptui::OUndoContainerAction::Redo ( )
overridevirtual

◆ Undo()

void rptui::OUndoContainerAction::Undo ( )
overridevirtual

Member Data Documentation

◆ m_eAction

Action rptui::OUndoContainerAction::m_eAction
protected

Definition at line 166 of file UndoActions.hxx.

Referenced by Redo(), and Undo().

◆ m_xContainer

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

Definition at line 165 of file UndoActions.hxx.

Referenced by implReInsert(), and implReRemove().

◆ m_xElement

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

◆ m_xOwnElement

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

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