|
LibreOffice Module svx (master) 1
|
#include <fmundo.hxx>
Public Types | |
| enum | Action { Inserted = 1 , Removed = 2 } |
Public Member Functions | |
| FmUndoContainerAction (FmFormModel &rMod, Action _eAction, const css::uno::Reference< css::container::XIndexContainer > &xCont, const css::uno::Reference< css::uno::XInterface > &xElem, sal_Int32 nIdx) | |
| virtual | ~FmUndoContainerAction () 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 |
| See SfxUndoAction::GetViewShellId(). More... | |
Public Member Functions inherited from SfxUndoAction | |
| SfxUndoAction () | |
| virtual | ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE |
| virtual void | Undo () |
| virtual void | UndoWithContext (SfxUndoContext &i_context) |
| virtual void | Redo () |
| virtual void | RedoWithContext (SfxUndoContext &i_context) |
| virtual void | Repeat (SfxRepeatTarget &) |
| virtual bool | CanRepeat (SfxRepeatTarget &) const |
| virtual bool | Merge (SfxUndoAction *pNextAction) |
| virtual OUString | GetComment () const |
| virtual OUString | GetRepeatComment (SfxRepeatTarget &) const |
| virtual ViewShellId | GetViewShellId () const |
| const DateTime & | GetDateTime () const |
| virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Static Public Member Functions | |
| static void | DisposeElement (const css::uno::Reference< css::uno::XInterface > &xElem) |
Private Member Functions | |
| void | implReInsert () |
| void | implReRemove () |
Private Attributes | |
| css::uno::Reference< css::container::XIndexContainer > | m_xContainer |
| css::uno::Reference< css::uno::XInterface > | m_xElement |
| css::uno::Reference< css::uno::XInterface > | m_xOwnElement |
| sal_Int32 | m_nIndex |
| css::uno::Sequence< css::script::ScriptEventDescriptor > | m_aEvents |
| Action | m_eAction |
Additional Inherited Members | |
Protected Member Functions inherited from SdrUndoAction | |
| SdrUndoAction (SdrModel &rNewMod) | |
Protected Attributes inherited from SdrUndoAction | |
| SdrModel & | rMod |
| ViewShellId | m_nViewShellId |
Definition at line 63 of file fmundo.hxx.
| Enumerator | |
|---|---|
| Inserted | |
| Removed | |
Definition at line 66 of file fmundo.hxx.
| FmUndoContainerAction::FmUndoContainerAction | ( | FmFormModel & | rMod, |
| Action | _eAction, | ||
| const css::uno::Reference< css::container::XIndexContainer > & | xCont, | ||
| const css::uno::Reference< css::uno::XInterface > & | xElem, | ||
| sal_Int32 | nIdx | ||
| ) |
Definition at line 1021 of file fmundo.cxx.
References m_aEvents, m_eAction, m_eAction, m_nIndex, m_xContainer, m_xElement, m_xOwnElement, and Removed.
|
overridevirtual |
Definition at line 1057 of file fmundo.cxx.
References DisposeElement(), and m_xOwnElement.
|
static |
Definition at line 1064 of file fmundo.cxx.
Referenced by svxform::NavigatorTree::implExecuteDataTransfer(), svxform::NavigatorTreeModel::Remove(), and ~FmUndoContainerAction().
|
private |
Definition at line 1078 of file fmundo.cxx.
References Any, getElementPos(), m_aEvents, m_nIndex, m_xContainer, m_xElement, and m_xOwnElement.
|
private |
Definition at line 1107 of file fmundo.cxx.
References getElementPos(), m_aEvents, m_nIndex, m_xContainer, m_xElement, and m_xOwnElement.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1164 of file fmundo.cxx.
References Exception, implReInsert(), implReRemove(), Inserted, FmXUndoEnvironment::IsLocked(), FmXUndoEnvironment::Lock(), m_eAction, m_xContainer, m_xElement, Removed, SdrUndoAction::rMod, TOOLS_WARN_EXCEPTION, and FmXUndoEnvironment::UnLock().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1135 of file fmundo.cxx.
References Exception, implReInsert(), implReRemove(), Inserted, FmXUndoEnvironment::IsLocked(), FmXUndoEnvironment::Lock(), m_eAction, m_xContainer, m_xElement, Removed, SdrUndoAction::rMod, TOOLS_WARN_EXCEPTION, and FmXUndoEnvironment::UnLock().
|
private |
Definition at line 96 of file fmundo.hxx.
Referenced by FmUndoContainerAction(), implReInsert(), and implReRemove().
|
private |
Definition at line 97 of file fmundo.hxx.
Referenced by FmUndoContainerAction(), Redo(), and Undo().
|
private |
Definition at line 94 of file fmundo.hxx.
Referenced by FmUndoContainerAction(), implReInsert(), and implReRemove().
|
private |
Definition at line 89 of file fmundo.hxx.
Referenced by implReInsert(), implReRemove(), Redo(), and Undo().
|
private |
Definition at line 91 of file fmundo.hxx.
Referenced by FmUndoContainerAction(), implReInsert(), implReRemove(), Redo(), and Undo().
|
private |
Definition at line 93 of file fmundo.hxx.
Referenced by FmUndoContainerAction(), implReInsert(), implReRemove(), and ~FmUndoContainerAction().