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 ,
const css::uno::Reference< css::report::XGroup>& _xGroup
128 ,
const css::uno::Reference< css::report::XReportDefinition >& _xReportDefinition);
129 virtual void Undo()
override;
130 virtual void Redo()
override;
133 #endif // INCLUDED_REPORTDESIGN_SOURCE_UI_INC_RPTUNDO_HXX
virtual void Redo() override
virtual void implReRemove()=0
void implReRemove() override
::std::function< css::uno::Reference< css::report::XSection >OReportHelper *)> m_pMemberFunction
virtual ~OReportSectionUndo() override
::std::vector< css::uno::Reference< css::drawing::XShape > > m_aControls
Undo action for the group header, footer, page header, footer.
virtual void implReInsert()=0
Undo action for the group header, footer.
Helper class to allow std::mem_fun for SAL_CALL.
::std::vector< ::std::pair< OUString,css::uno::Any > > m_aValues
virtual ~OSectionUndo() override
OSectionUndo(const OSectionUndo &)=delete
exports com.sun.star. drawing
virtual void Redo() override
virtual OUString GetComment() const override
void collectControls(const css::uno::Reference< css::report::XSection > &_xSection)
::std::function< css::uno::Reference< css::report::XSection >OGroupHelper *)> m_pMemberFunction
OGroupSectionUndo(const OGroupSectionUndo &)=delete
void operator=(const OReportSectionUndo &)=delete
OGroupHelper m_aGroupHelper
void operator=(const OGroupSectionUndo &)=delete
void operator=(const OSectionUndo &)=delete
OGroupUndo(OReportModel &rMod, TranslateId pCommentID, Action _eAction, const css::uno::Reference< css::report::XGroup > &_xGroup, const css::uno::Reference< css::report::XReportDefinition > &_xReportDefinition)
Undo class for section add and remove.
Action m_eAction
! the current action
sal_Int32 m_nLastPosition
! the last position of the group
void implReInsert() override
void implReInsert() override
css::uno::Reference< css::report::XGroup > m_xGroup
! the group for the undo redo action
void implReRemove() override
virtual void Undo() override
virtual void Undo() override
css::uno::Reference< css::report::XReportDefinition > m_xReportDefinition
! the parent report definition
OReportHelper m_aReportHelper
OReportSectionUndo(const OReportSectionUndo &)=delete
Helper class to allow std::mem_fun for SAL_CALL.