LibreOffice Module reportdesign (master) 1
|
Undo action for the group header, footer. More...
#include <RptUndo.hxx>
Public Member Functions | |
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) | |
virtual OUString | GetComment () const override |
Public Member Functions inherited from rptui::OSectionUndo | |
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 |
Private Member Functions | |
void | implReInsert () override |
void | implReRemove () override |
OGroupSectionUndo (const OGroupSectionUndo &)=delete | |
void | operator= (const OGroupSectionUndo &)=delete |
Private Attributes | |
OGroupHelper | m_aGroupHelper |
::std::function< css::uno::Reference< css::report::XSection >(OGroupHelper *)> | m_pMemberFunction |
OUString | m_sName |
Additional Inherited Members | |
Protected Member Functions inherited from rptui::OSectionUndo | |
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 inherited from rptui::OSectionUndo | |
::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 |
Undo action for the group header, footer.
Definition at line 88 of file RptUndo.hxx.
|
privatedelete |
rptui::OGroupSectionUndo::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 | ||
) |
|
overridevirtual |
Reimplemented from rptui::OCommentUndoAction.
Definition at line 259 of file RptUndo.cxx.
References m_aGroupHelper, m_pMemberFunction, m_sName, and rptui::OCommentUndoAction::m_strComment.
|
overrideprivatevirtual |
Implements rptui::OSectionUndo.
Definition at line 277 of file RptUndo.cxx.
References dbaui::IController::executeChecked(), rptui::OGroupHelper::getGroup(), rptui::OSectionUndo::m_aControls, m_aGroupHelper, rptui::OSectionUndo::m_aValues, rptui::OSectionUndo::m_bInserted, rptui::OSectionUndo::m_nSlot, rptui::OCommentUndoAction::m_pController, m_pMemberFunction, comphelper::makePropertyValue(), PROPERTY_FOOTERON, PROPERTY_GROUP, and PROPERTY_HEADERON.
|
overrideprivatevirtual |
Implements rptui::OSectionUndo.
Definition at line 292 of file RptUndo.cxx.
References rptui::OSectionUndo::collectControls(), dbaui::IController::executeChecked(), rptui::OGroupHelper::getGroup(), m_aGroupHelper, rptui::OSectionUndo::m_bInserted, rptui::OSectionUndo::m_eAction, rptui::OSectionUndo::m_nSlot, rptui::OCommentUndoAction::m_pController, m_pMemberFunction, comphelper::makePropertyValue(), PROPERTY_FOOTERON, PROPERTY_GROUP, PROPERTY_HEADERON, and rptui::Removed.
|
privatedelete |
|
private |
Definition at line 90 of file RptUndo.hxx.
Referenced by GetComment(), implReInsert(), and implReRemove().
|
private |
Definition at line 91 of file RptUndo.hxx.
Referenced by GetComment(), implReInsert(), and implReRemove().
|
mutableprivate |
Definition at line 93 of file RptUndo.hxx.
Referenced by GetComment().