23#include <rtl/ustring.hxx>
40 OUString i_undoMessage,
41 const css::uno::Reference< css::document::XUndoManager > & i_undoManager,
71 const OUString& i_undoMessage,
72 const css::uno::Reference< css::document::XUndoManager > & i_undoManager
85 const OUString& i_undoMessage,
86 const css::uno::Reference< css::document::XUndoManager > & i_undoManager
95 const OUString& i_undoMessage,
96 const css::uno::Reference< css::document::XUndoManager > & i_undoManager
105 const css::uno::Reference< css::document::XUndoManager > & i_undoManager
HiddenUndoContext(const css::uno::Reference< css::document::XUndoManager > &i_undoManager)
css::uno::Reference< css::document::XUndoManager > m_xUndoManager
UndoGuardWithSelection(const OUString &i_undoMessage, const css::uno::Reference< css::document::XUndoManager > &i_undoManager)
virtual ~UndoGuardWithSelection()
A guard which does nothing, unless you explicitly call commitAction.
const css::uno::Reference< css::document::XUndoManager > m_xUndoManager
bool isActionPosted() const
UndoGuard(OUString i_undoMessage, const css::uno::Reference< css::document::XUndoManager > &i_undoManager, const ModelFacet i_facet=E_MODEL)
std::shared_ptr< ChartModelClone > m_pDocumentSnapshot
rtl::Reference<::chart::ChartModel > m_xChartModel
Same as UndoLiveUpdateGuard but with additional storage of the chart's data.
~UndoLiveUpdateGuardWithData()
UndoLiveUpdateGuardWithData(const OUString &i_undoMessage, const css::uno::Reference< css::document::XUndoManager > &i_undoManager)
A guard which, in its destructor, restores the model state it found in the constructor.
UndoLiveUpdateGuard(const OUString &i_undoMessage, const css::uno::Reference< css::document::XUndoManager > &i_undoManager)