19#ifndef INCLUDED_REPORTDESIGN_SOURCE_UI_INC_RPTUNDO_HXX
20#define INCLUDED_REPORTDESIGN_SOURCE_UI_INC_RPTUNDO_HXX
23#include <UndoActions.hxx>
42 ::std::vector< css::uno::Reference< css::drawing::XShape> >
44 ::std::vector< ::std::pair< OUString ,css::uno::Any> >
53 void collectControls(
const css::uno::Reference< css::report::XSection >& _xSection);
61 virtual void Undo()
override;
62 virtual void Redo()
override;
80 ,::std::function<css::uno::Reference< css::report::XSection >(
OReportHelper *)> _pMemberFunction
81 ,
const css::uno::Reference< css::report::XReportDefinition >& _xReport
103 ,::std::function<css::uno::Reference< css::report::XSection >(
OGroupHelper *)> _pMemberFunction
104 ,
const css::uno::Reference< css::report::XGroup >& _xGroup
116 css::uno::Reference< css::report::XGroup>
m_xGroup;
127 ,css::uno::Reference< css::report::XGroup> _xGroup
128 ,css::uno::Reference< css::report::XReportDefinition > _xReportDefinition);
129 virtual void Undo()
override;
130 virtual void Redo()
override;
Helper class to allow std::mem_fun for SAL_CALL.
Undo action for the group header, footer.
void implReInsert() override
OGroupHelper m_aGroupHelper
::std::function< css::uno::Reference< css::report::XSection >(OGroupHelper *)> m_pMemberFunction
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)
void implReRemove() override
void operator=(const OGroupSectionUndo &)=delete
virtual OUString GetComment() const override
OGroupSectionUndo(const OGroupSectionUndo &)=delete
virtual void Redo() override
virtual void Undo() override
Action m_eAction
! the current action
css::uno::Reference< css::report::XGroup > m_xGroup
! the group for the undo redo action
OGroupUndo(OReportModel &rMod, TranslateId pCommentID, Action _eAction, css::uno::Reference< css::report::XGroup > _xGroup, css::uno::Reference< css::report::XReportDefinition > _xReportDefinition)
css::uno::Reference< css::report::XReportDefinition > m_xReportDefinition
! the parent report definition
sal_Int32 m_nLastPosition
! the last position of the group
Helper class to allow std::mem_fun for SAL_CALL.
Undo action for the group header, footer, page header, footer.
::std::function< css::uno::Reference< css::report::XSection >(OReportHelper *)> m_pMemberFunction
OReportHelper m_aReportHelper
void implReRemove() override
void implReInsert() override
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(const OReportSectionUndo &)=delete
virtual ~OReportSectionUndo() override
void operator=(const OReportSectionUndo &)=delete
Undo class for section add and remove.
virtual void implReInsert()=0
virtual void Redo() override
::std::vector< css::uno::Reference< css::drawing::XShape > > m_aControls
void operator=(const OSectionUndo &)=delete
virtual void implReRemove()=0
OSectionUndo(const OSectionUndo &)=delete
void collectControls(const css::uno::Reference< css::report::XSection > &_xSection)
virtual ~OSectionUndo() override
::std::vector< ::std::pair< OUString,css::uno::Any > > m_aValues
virtual void Undo() override