LibreOffice Module reportdesign (master) 1
|
/class OGroupUndo More...
#include <RptUndo.hxx>
Public Member Functions | |
OGroupUndo (OReportModel &rMod, TranslateId pCommentID, Action _eAction, css::uno::Reference< css::report::XGroup > _xGroup, css::uno::Reference< css::report::XReportDefinition > _xReportDefinition) | |
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 () |
void | implReRemove () |
Private Attributes | |
css::uno::Reference< css::report::XGroup > | m_xGroup |
! the group for the undo redo action More... | |
css::uno::Reference< css::report::XReportDefinition > | m_xReportDefinition |
! the parent report definition More... | |
Action | m_eAction |
! the current action More... | |
sal_Int32 | m_nLastPosition |
! the last position of the group More... | |
Additional Inherited Members | |
Protected Member Functions inherited from SdrUndoAction | |
SdrUndoAction (SdrModel &rNewMod) | |
Protected Attributes inherited from rptui::OCommentUndoAction | |
OUString | m_strComment |
::dbaui::IController * | m_pController |
Protected Attributes inherited from SdrUndoAction | |
SdrModel & | rMod |
ViewShellId | m_nViewShellId |
/class OGroupUndo
Undo action for removing a group object.
Definition at line 114 of file RptUndo.hxx.
rptui::OGroupUndo::OGroupUndo | ( | OReportModel & | rMod, |
TranslateId | pCommentID, | ||
Action | _eAction, | ||
css::uno::Reference< css::report::XGroup > | _xGroup, | ||
css::uno::Reference< css::report::XReportDefinition > | _xReportDefinition | ||
) |
Definition at line 308 of file RptUndo.cxx.
References rptui::getPositionInIndexAccess(), m_nLastPosition, m_xGroup, and m_xReportDefinition.
|
private |
Definition at line 321 of file RptUndo.cxx.
References m_nLastPosition, m_xGroup, m_xReportDefinition, and TOOLS_WARN_EXCEPTION.
|
private |
Definition at line 333 of file RptUndo.cxx.
References m_nLastPosition, m_xReportDefinition, and TOOLS_WARN_EXCEPTION.
|
overridevirtual |
Reimplemented from rptui::OCommentUndoAction.
Definition at line 360 of file RptUndo.cxx.
References implReInsert(), implReRemove(), rptui::Inserted, m_eAction, and rptui::Removed.
|
overridevirtual |
Reimplemented from rptui::OCommentUndoAction.
Definition at line 345 of file RptUndo.cxx.
References implReInsert(), implReRemove(), rptui::Inserted, m_eAction, and rptui::Removed.
|
private |
|
private |
! the last position of the group
Definition at line 119 of file RptUndo.hxx.
Referenced by implReInsert(), implReRemove(), and OGroupUndo().
|
private |
! the group for the undo redo action
Definition at line 116 of file RptUndo.hxx.
Referenced by implReInsert(), and OGroupUndo().
|
private |
! the parent report definition
Definition at line 117 of file RptUndo.hxx.
Referenced by implReInsert(), implReRemove(), and OGroupUndo().