LibreOffice Module svx (master) 1
|
The SdrUndoFactory can be set and retrieved from the SdrModel. More...
#include <svdundo.hxx>
Public Member Functions | |
virtual | ~SdrUndoFactory () |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoMoveObject (SdrObject &rObject, const Size &rDist) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoGeoObject (SdrObject &rObject) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoAttrObject (SdrObject &rObject, bool bStyleSheet1=false, bool bSaveText=false) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoRemoveObject (SdrObject &rObject) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoInsertObject (SdrObject &rObject, bool bOrdNumDirect=false) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoDeleteObject (SdrObject &rObject, bool bOrdNumDirect=false) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoNewObject (SdrObject &rObject, bool bOrdNumDirect=false) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoCopyObject (SdrObject &rObject, bool bOrdNumDirect=false) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoObjectOrdNum (SdrObject &rObject, sal_uInt32 nOldOrdNum1, sal_uInt32 nNewOrdNum1) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoReplaceObject (SdrObject &rOldObject, SdrObject &rNewObject) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoObjectLayerChange (SdrObject &rObject, SdrLayerID aOldLayer, SdrLayerID aNewLayer) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoObjectSetText (SdrObject &rNewObj, sal_Int32 nText) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoDiagramModelData (SdrObject &rObject, std::shared_ptr< svx::diagram::DiagramDataState > &rStartState) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoNewLayer (sal_uInt16 nLayerNum, SdrLayerAdmin &rNewLayerAdmin, SdrModel &rNewModel) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoDeleteLayer (sal_uInt16 nLayerNum, SdrLayerAdmin &rNewLayerAdmin, SdrModel &rNewModel) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoDeletePage (SdrPage &rPage) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoNewPage (SdrPage &rPage) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoCopyPage (SdrPage &rPage) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoSetPageNum (SdrPage &rNewPg, sal_uInt16 nOldPageNum1, sal_uInt16 nNewPageNum1) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoPageRemoveMasterPage (SdrPage &rChangedPage) |
virtual std::unique_ptr< SdrUndoAction > | CreateUndoPageChangeMasterPage (SdrPage &rChangedPage) |
Static Public Member Functions | |
static std::unique_ptr< SdrUndoAction > | CreateUndoObjectStrAttr (SdrObject &rObject, SdrUndoObjStrAttr::ObjStrAttrType eObjStrAttrType, const OUString &sOldStr, const OUString &sNewStr) |
static std::unique_ptr< SdrUndoAction > | CreateUndoObjectDecorative (SdrObject &rObject, bool const WasDecorative) |
static std::unique_ptr< SdrUndoAction > | CreateUndoSort (SdrPage &rPage, ::std::vector< sal_Int32 > const &rSortOrder) |
The SdrUndoFactory can be set and retrieved from the SdrModel.
It is used by the drawing layer implementations to create undo actions. It can be used by applications to create application specific undo actions.
Definition at line 739 of file svdundo.hxx.
|
virtual |
Definition at line 1659 of file svdundo.cxx.
|
virtual |
Definition at line 1679 of file svdundo.cxx.
Referenced by SdrMarkView::AddDragModeHdl(), SdrDragObjOwn::EndSdrDrag(), svx::FontworkBar::execute(), svx::ExtrusionBar::execute(), SdrHdlGradient::FromIAOToItem(), and sdr::table::SvxTableController::SetVertical().
|
virtual |
Definition at line 1704 of file svdundo.cxx.
|
virtual |
Definition at line 1771 of file svdundo.cxx.
|
virtual |
Definition at line 1755 of file svdundo.cxx.
|
virtual |
Definition at line 1694 of file svdundo.cxx.
Referenced by SvxDrawPage::remove(), and SdrObjEditView::SdrEndTextEdit().
|
virtual |
Definition at line 1761 of file svdundo.cxx.
|
virtual |
Definition at line 1674 of file svdundo.cxx.
|
virtual |
Definition at line 1668 of file svdundo.cxx.
Referenced by SdrDragView::BegInsGluePoint(), sdr::table::SvxTableController::changeTableEdge(), sdr::table::SvxTableController::DistributeColumns(), sdr::table::SvxTableController::DistributeRows(), SdrDragObjOwn::EndSdrDrag(), SvxGrafAttrHelper::ExecuteGrafAttr(), SdrDragView::ImpBegInsObjPoint(), SdrGlueEditView::ImpDoMarkedGluePoints(), sdr::table::TableModel::insertColumns(), sdr::table::TableModel::insertRows(), sdr::table::SvxTableController::MergeRange(), sdr::table::SvxTableController::onInsert(), sdr::table::TableModel::removeColumns(), sdr::table::TableModel::removeRows(), and sdr::table::SvxTableController::SplitMarkedCells().
|
virtual |
Definition at line 1689 of file svdundo.cxx.
|
virtual |
Definition at line 1663 of file svdundo.cxx.
|
virtual |
Definition at line 1750 of file svdundo.cxx.
|
virtual |
Definition at line 1699 of file svdundo.cxx.
|
virtual |
Definition at line 1766 of file svdundo.cxx.
|
static |
Definition at line 1742 of file svdundo.cxx.
Referenced by SdrObject::SetDecorative().
|
virtual |
Definition at line 1724 of file svdundo.cxx.
|
virtual |
Definition at line 1709 of file svdundo.cxx.
|
virtual |
Definition at line 1729 of file svdundo.cxx.
|
static |
Definition at line 1734 of file svdundo.cxx.
Referenced by SdrObject::SetDescription(), SdrObject::SetName(), and SdrObject::SetTitle().
|
virtual |
Definition at line 1786 of file svdundo.cxx.
|
virtual |
Definition at line 1781 of file svdundo.cxx.
Referenced by SdrUndoDelPage::SdrUndoDelPage().
|
virtual |
Definition at line 1684 of file svdundo.cxx.
|
virtual |
Definition at line 1719 of file svdundo.cxx.
|
virtual |
Definition at line 1776 of file svdundo.cxx.
|
static |
Definition at line 1714 of file svdundo.cxx.
Referenced by SdrObjList::sort().