|
LibreOffice Module reportdesign (master) 1
|
#include <UndoActions.hxx>
Public Member Functions | |
| OUndoContainerAction (SdrModel &rMod, Action _eAction, css::uno::Reference< css::container::XIndexContainer > xContainer, const css::uno::Reference< css::uno::XInterface > &xElem, TranslateId pCommentId) | |
| virtual | ~OUndoContainerAction () 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 () |
| virtual void | implReRemove () |
Protected Member Functions inherited from SdrUndoAction | |
| SdrUndoAction (SdrModel &rNewMod) | |
Protected Attributes | |
| css::uno::Reference< css::uno::XInterface > | m_xElement |
| css::uno::Reference< css::uno::XInterface > | m_xOwnElement |
| css::uno::Reference< css::container::XIndexContainer > | m_xContainer |
| Action | m_eAction |
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 | |
| OUndoContainerAction (OUndoContainerAction const &)=delete | |
| void | operator= (OUndoContainerAction const &)=delete |
Definition at line 155 of file UndoActions.hxx.
|
privatedelete |
| rptui::OUndoContainerAction::OUndoContainerAction | ( | SdrModel & | rMod, |
| Action | _eAction, | ||
| css::uno::Reference< css::container::XIndexContainer > | xContainer, | ||
| const css::uno::Reference< css::uno::XInterface > & | xElem, | ||
| TranslateId | pCommentId | ||
| ) |
|
overridevirtual |
Definition at line 106 of file UndoActions.cxx.
References DBG_UNHANDLED_EXCEPTION, comphelper::disposeComponent(), m_xOwnElement, rptui::OXUndoEnvironment::RemoveElement(), and SdrUndoAction::rMod.
|
protectedvirtual |
Reimplemented in rptui::OUndoReportSectionAction, and rptui::OUndoGroupSectionAction.
Definition at line 132 of file UndoActions.cxx.
References m_xContainer, m_xElement, and m_xOwnElement.
|
protectedvirtual |
Reimplemented in rptui::OUndoReportSectionAction, and rptui::OUndoGroupSectionAction.
Definition at line 144 of file UndoActions.cxx.
References i, m_xContainer, m_xElement, m_xOwnElement, nCount, and SdrUndoAction::rMod.
|
privatedelete |
|
overridevirtual |
Reimplemented from rptui::OCommentUndoAction.
Definition at line 199 of file UndoActions.cxx.
References Exception, implReInsert(), implReRemove(), rptui::Inserted, m_eAction, m_xElement, rptui::Removed, and TOOLS_WARN_EXCEPTION.
|
overridevirtual |
Reimplemented from rptui::OCommentUndoAction.
Definition at line 170 of file UndoActions.cxx.
References Exception, implReInsert(), implReRemove(), rptui::Inserted, m_eAction, m_xElement, rptui::Removed, and TOOLS_WARN_EXCEPTION.
|
protected |
Definition at line 166 of file UndoActions.hxx.
|
protected |
Definition at line 165 of file UndoActions.hxx.
Referenced by implReInsert(), and implReRemove().
|
protected |
Definition at line 161 of file UndoActions.hxx.
Referenced by implReInsert(), rptui::OUndoReportSectionAction::implReInsert(), rptui::OUndoGroupSectionAction::implReInsert(), implReRemove(), rptui::OUndoReportSectionAction::implReRemove(), rptui::OUndoGroupSectionAction::implReRemove(), Redo(), and Undo().
|
protected |
Definition at line 163 of file UndoActions.hxx.
Referenced by implReInsert(), rptui::OUndoReportSectionAction::implReInsert(), rptui::OUndoGroupSectionAction::implReInsert(), implReRemove(), rptui::OUndoReportSectionAction::implReRemove(), rptui::OUndoGroupSectionAction::implReRemove(), and ~OUndoContainerAction().