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, TranslateId pCommentID)
 
virtual OUString GetComment () const 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
 
 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
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.

Definition at line 88 of file RptUndo.hxx.

Constructor & Destructor Documentation

◆ OGroupSectionUndo() [1/2]

rptui::OGroupSectionUndo::OGroupSectionUndo ( const OGroupSectionUndo )
privatedelete

◆ OGroupSectionUndo() [2/2]

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,
TranslateId  pCommentID 
)

Member Function Documentation

◆ GetComment()

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

◆ implReInsert()

void rptui::OGroupSectionUndo::implReInsert ( )
overrideprivatevirtual

◆ implReRemove()

void rptui::OGroupSectionUndo::implReRemove ( )
overrideprivatevirtual

◆ operator=()

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

Member Data Documentation

◆ m_aGroupHelper

OGroupHelper rptui::OGroupSectionUndo::m_aGroupHelper
private

Definition at line 90 of file RptUndo.hxx.

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

◆ m_pMemberFunction

::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().

◆ m_sName

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: