25#include <com/sun/star/document/XUndoManagerSupplier.hpp>
36 typedef ::cppu::ImplInheritanceHelper< DBSubComponentController
37 , css::document::XUndoManagerSupplier
46 virtual void SAL_CALL
disposing()
override;
63 virtual void Execute( sal_uInt16
nId,
const css::uno::Sequence< css::beans::PropertyValue>& aArgs )
override;
66 virtual css::uno::Reference< css::document::XUndoManager > SAL_CALL
getUndoManager( )
override;
69 using OSingleDocumentController_Base::disposing;
virtual void SAL_CALL disposing() override
virtual void Execute(sal_uInt16 nId, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override
std::unique_ptr< UndoManager > m_pUndoManager
OSingleDocumentController(const css::uno::Reference< css::uno::XComponentContext > &_rxORB)
virtual css::uno::Reference< css::document::XUndoManager > SAL_CALL getUndoManager() override
virtual ~OSingleDocumentController() override
SfxUndoManager & GetUndoManager() const
need for undo's and redo's
void addUndoActionAndInvalidate(std::unique_ptr< SfxUndoAction > pAction)
addUndoActionAndInvalidate adds an undo action to the undoManager, additionally invalidates the UNDO ...
virtual FeatureState GetState(sal_uInt16 nId) const override
void ClearUndoManager()
complete clears the Undo/Redo stacks
::cppu::ImplInheritanceHelper< DBSubComponentController, css::document::XUndoManagerSupplier > OSingleDocumentController_Base
describes the state of a feature