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

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

#include <RptUndo.hxx>

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

Public Member Functions

 OGroupSectionUndo (OReportModel &rMod, sal_uInt16 _nSlot,::std::function< css::uno::Reference< css::report::XSection >(OGroupHelper *)> _pMemberFunction, const css::uno::Reference< css::report::XGroup > &_xGroup, Action _eAction, const char *pCommentID)
 
virtual OUString GetComment () const override
 
- Public Member Functions inherited from rptui::OSectionUndo
 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
 
- 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
 
 OGroupSectionUndo (const OGroupSectionUndo &)=delete
 
void operator= (const OGroupSectionUndo &)=delete
 

Private Attributes

OGroupHelper m_aGroupHelper
 
::std::function< css::uno::Reference< css::report::XSection >OGroupHelper *)> m_pMemberFunction
 
OUString m_sName
 

Additional Inherited Members

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

Definition at line 88 of file RptUndo.hxx.

Constructor & Destructor Documentation

rptui::OGroupSectionUndo::OGroupSectionUndo ( const OGroupSectionUndo )
privatedelete
rptui::OGroupSectionUndo::OGroupSectionUndo ( OReportModel rMod,
sal_uInt16  _nSlot,
::std::function< css::uno::Reference< css::report::XSection >(OGroupHelper *)>  _pMemberFunction,
const css::uno::Reference< css::report::XGroup > &  _xGroup,
Action  _eAction,
const char *  pCommentID 
)

Member Function Documentation

OUString rptui::OGroupSectionUndo::GetComment ( ) const
overridevirtual

Reimplemented from rptui::OCommentUndoAction.

Definition at line 265 of file RptUndo.cxx.

References m_pMemberFunction, m_sName, and rptui::OCommentUndoAction::m_strComment.

void rptui::OGroupSectionUndo::implReInsert ( )
overrideprivatevirtual
void rptui::OGroupSectionUndo::implReRemove ( )
overrideprivatevirtual
void rptui::OGroupSectionUndo::operator= ( const OGroupSectionUndo )
privatedelete

Member Data Documentation

OGroupHelper rptui::OGroupSectionUndo::m_aGroupHelper
private

Definition at line 90 of file RptUndo.hxx.

Referenced by implReInsert(), and implReRemove().

::std::function<css::uno::Reference< css::report::XSection >OGroupHelper *)> rptui::OGroupSectionUndo::m_pMemberFunction
private

Definition at line 91 of file RptUndo.hxx.

Referenced by GetComment(), implReInsert(), and implReRemove().

OUString rptui::OGroupSectionUndo::m_sName
mutableprivate

Definition at line 93 of file RptUndo.hxx.

Referenced by GetComment().


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