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, const char *pCommentID)
 
virtual ~OSectionUndo () 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 ()=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

rptui::OSectionUndo::OSectionUndo ( const OSectionUndo )
privatedelete
rptui::OSectionUndo::OSectionUndo ( OReportModel rMod,
sal_uInt16  _nSlot,
Action  _eAction,
const char *  pCommentID 
)

Definition at line 113 of file RptUndo.cxx.

rptui::OSectionUndo::~OSectionUndo ( )
overridevirtual

Member Function Documentation

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

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

Referenced by Redo(), and Undo().

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

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

Referenced by Redo(), and Undo().

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

Member Data Documentation

::std::vector< css::uno::Reference< css::drawing::XShape> > rptui::OSectionUndo::m_aControls
protected
::std::vector< ::std::pair< OUString ,css::uno::Any> > rptui::OSectionUndo::m_aValues
protected
bool rptui::OSectionUndo::m_bInserted
protected
Action rptui::OSectionUndo::m_eAction
protected
sal_uInt16 rptui::OSectionUndo::m_nSlot
protected

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