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

Undo action for the group header, footer, page header, footer. More...

#include <RptUndo.hxx>

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

Public Member Functions

 OReportSectionUndo (OReportModel &rMod, sal_uInt16 _nSlot,::std::function< css::uno::Reference< css::report::XSection >(OReportHelper *)> _pMemberFunction, const css::uno::Reference< css::report::XReportDefinition > &_xReport, Action _eAction)
 
virtual ~OReportSectionUndo () override
 
- Public Member Functions inherited from rptui::OSectionUndo
 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
 

Private Member Functions

void implReInsert () override
 
void implReRemove () override
 
 OReportSectionUndo (const OReportSectionUndo &)=delete
 
void operator= (const OReportSectionUndo &)=delete
 

Private Attributes

OReportHelper m_aReportHelper
 
::std::function< css::uno::Reference< css::report::XSection >(OReportHelper *)> m_pMemberFunction
 

Additional Inherited Members

- Protected Member Functions inherited from rptui::OSectionUndo
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 inherited from rptui::OSectionUndo
::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
 

Detailed Description

Undo action for the group header, footer, page header, footer.

Definition at line 67 of file RptUndo.hxx.

Constructor & Destructor Documentation

◆ OReportSectionUndo() [1/2]

rptui::OReportSectionUndo::OReportSectionUndo ( const OReportSectionUndo )
privatedelete

◆ OReportSectionUndo() [2/2]

rptui::OReportSectionUndo::OReportSectionUndo ( OReportModel rMod,
sal_uInt16  _nSlot,
::std::function< css::uno::Reference< css::report::XSection >(OReportHelper *)>  _pMemberFunction,
const css::uno::Reference< css::report::XReportDefinition > &  _xReport,
Action  _eAction 
)

◆ ~OReportSectionUndo()

rptui::OReportSectionUndo::~OReportSectionUndo ( )
overridevirtual

Definition at line 219 of file RptUndo.cxx.

Member Function Documentation

◆ implReInsert()

void rptui::OReportSectionUndo::implReInsert ( )
overrideprivatevirtual

◆ implReRemove()

void rptui::OReportSectionUndo::implReRemove ( )
overrideprivatevirtual

◆ operator=()

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

Member Data Documentation

◆ m_aReportHelper

OReportHelper rptui::OReportSectionUndo::m_aReportHelper
private

Definition at line 69 of file RptUndo.hxx.

Referenced by implReInsert(), and implReRemove().

◆ m_pMemberFunction

::std::function<css::uno::Reference< css::report::XSection >(OReportHelper *)> rptui::OReportSectionUndo::m_pMemberFunction
private

Definition at line 70 of file RptUndo.hxx.

Referenced by implReInsert(), and implReRemove().


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