LibreOffice Module reportdesign (master) 1
|
Undo class for section add and remove. More...
#include <RptUndo.hxx>
Public Member Functions | |
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 |
Protected Member Functions | |
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 | |
::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::IController * | m_pController |
Protected Attributes inherited from SdrUndoAction | |
SdrModel & | rMod |
ViewShellId | m_nViewShellId |
Private Member Functions | |
OSectionUndo (const OSectionUndo &)=delete | |
void | operator= (const OSectionUndo &)=delete |
Undo class for section add and remove.
Definition at line 37 of file RptUndo.hxx.
|
privatedelete |
rptui::OSectionUndo::OSectionUndo | ( | OReportModel & | rMod, |
sal_uInt16 | _nSlot, | ||
Action | _eAction, | ||
TranslateId | pCommentID | ||
) |
Definition at line 114 of file RptUndo.cxx.
|
overridevirtual |
Definition at line 125 of file RptUndo.cxx.
References comphelper::disposeComponent(), m_aControls, m_bInserted, rptui::OXUndoEnvironment::RemoveElement(), SdrUndoAction::rMod, and TOOLS_WARN_EXCEPTION.
|
protected |
Definition at line 145 of file RptUndo.cxx.
References aSeq, m_aControls, and m_aValues.
Referenced by rptui::OReportSectionUndo::implReRemove(), and rptui::OGroupSectionUndo::implReRemove().
|
protectedpure virtual |
Implemented in rptui::OReportSectionUndo, and rptui::OGroupSectionUndo.
|
protectedpure virtual |
Implemented in rptui::OReportSectionUndo, and rptui::OGroupSectionUndo.
|
privatedelete |
|
overridevirtual |
Reimplemented from rptui::OCommentUndoAction.
Definition at line 186 of file RptUndo.cxx.
References Exception, implReInsert(), implReRemove(), rptui::Inserted, m_eAction, rptui::Removed, and TOOLS_WARN_EXCEPTION.
|
overridevirtual |
Reimplemented from rptui::OCommentUndoAction.
Definition at line 165 of file RptUndo.cxx.
References Exception, implReInsert(), implReRemove(), rptui::Inserted, m_eAction, rptui::Removed, and TOOLS_WARN_EXCEPTION.
|
protected |
Definition at line 43 of file RptUndo.hxx.
Referenced by collectControls(), rptui::OReportSectionUndo::implReInsert(), rptui::OGroupSectionUndo::implReInsert(), and ~OSectionUndo().
|
protected |
Definition at line 45 of file RptUndo.hxx.
Referenced by collectControls(), rptui::OReportSectionUndo::implReInsert(), and rptui::OGroupSectionUndo::implReInsert().
|
protected |
Definition at line 48 of file RptUndo.hxx.
Referenced by rptui::OReportSectionUndo::implReInsert(), rptui::OGroupSectionUndo::implReInsert(), rptui::OReportSectionUndo::implReRemove(), rptui::OGroupSectionUndo::implReRemove(), and ~OSectionUndo().
|
protected |
Definition at line 46 of file RptUndo.hxx.
Referenced by rptui::OReportSectionUndo::implReRemove(), rptui::OGroupSectionUndo::implReRemove(), Redo(), and Undo().
|
protected |
Definition at line 47 of file RptUndo.hxx.
Referenced by rptui::OReportSectionUndo::implReInsert(), rptui::OGroupSectionUndo::implReInsert(), rptui::OReportSectionUndo::implReRemove(), and rptui::OGroupSectionUndo::implReRemove().