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

Undo class for section add and remove. More...

#include <RptUndo.hxx>

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

Public Member Functions

 OSectionUndo (OReportModel &rMod, sal_uInt16 _nSlot, Action _eAction, TranslateId pCommentID)
 
virtual ~OSectionUndo () 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 ()=0
 
virtual void implReRemove ()=0
 
void collectControls (const css::uno::Reference< css::report::XSection > &_xSection)
 
- Protected Member Functions inherited from SdrUndoAction
 SdrUndoAction (SdrModel &rNewMod)
 

Protected Attributes

::std::vector< css::uno::Reference< css::drawing::XShape > > m_aControls
 
::std::vector< ::std::pair< OUString,css::uno::Any > > m_aValues
 
Action m_eAction
 
sal_uInt16 m_nSlot
 
bool m_bInserted
 
- Protected Attributes inherited from rptui::OCommentUndoAction
OUString m_strComment
 
::dbaui::IControllerm_pController
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Private Member Functions

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

Detailed Description

Undo class for section add and remove.

Definition at line 37 of file RptUndo.hxx.

Constructor & Destructor Documentation

◆ OSectionUndo() [1/2]

rptui::OSectionUndo::OSectionUndo ( const OSectionUndo )
privatedelete

◆ OSectionUndo() [2/2]

rptui::OSectionUndo::OSectionUndo ( OReportModel rMod,
sal_uInt16  _nSlot,
Action  _eAction,
TranslateId  pCommentID 
)

Definition at line 114 of file RptUndo.cxx.

◆ ~OSectionUndo()

rptui::OSectionUndo::~OSectionUndo ( )
overridevirtual

Member Function Documentation

◆ collectControls()

void rptui::OSectionUndo::collectControls ( const css::uno::Reference< css::report::XSection > &  _xSection)
protected

◆ implReInsert()

virtual void rptui::OSectionUndo::implReInsert ( )
protectedpure virtual

Implemented in rptui::OReportSectionUndo, and rptui::OGroupSectionUndo.

Referenced by Redo(), and Undo().

◆ implReRemove()

virtual void rptui::OSectionUndo::implReRemove ( )
protectedpure virtual

Implemented in rptui::OReportSectionUndo, and rptui::OGroupSectionUndo.

Referenced by Redo(), and Undo().

◆ operator=()

void rptui::OSectionUndo::operator= ( const OSectionUndo )
privatedelete

◆ Redo()

void rptui::OSectionUndo::Redo ( )
overridevirtual

◆ Undo()

void rptui::OSectionUndo::Undo ( )
overridevirtual

Member Data Documentation

◆ m_aControls

::std::vector< css::uno::Reference< css::drawing::XShape> > rptui::OSectionUndo::m_aControls
protected

◆ m_aValues

::std::vector< ::std::pair< OUString ,css::uno::Any> > rptui::OSectionUndo::m_aValues
protected

◆ m_bInserted

bool rptui::OSectionUndo::m_bInserted
protected

◆ m_eAction

Action rptui::OSectionUndo::m_eAction
protected

◆ m_nSlot

sal_uInt16 rptui::OSectionUndo::m_nSlot
protected

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