LibreOffice Module svx (master)  1
Public Member Functions | Static Public Member Functions | List of all members
SdrUndoFactory Class Reference

The SdrUndoFactory can be set and retrieved from the SdrModel. More...

#include <svdundo.hxx>

Public Member Functions

virtual ~SdrUndoFactory ()
 
virtual std::unique_ptr< SdrUndoActionCreateUndoMoveObject (SdrObject &rObject, const Size &rDist)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoGeoObject (SdrObject &rObject)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoAttrObject (SdrObject &rObject, bool bStyleSheet1=false, bool bSaveText=false)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoRemoveObject (SdrObject &rObject)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoInsertObject (SdrObject &rObject, bool bOrdNumDirect=false)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoDeleteObject (SdrObject &rObject, bool bOrdNumDirect=false)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoNewObject (SdrObject &rObject, bool bOrdNumDirect=false)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoCopyObject (SdrObject &rObject, bool bOrdNumDirect=false)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoObjectOrdNum (SdrObject &rObject, sal_uInt32 nOldOrdNum1, sal_uInt32 nNewOrdNum1)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoReplaceObject (SdrObject &rOldObject, SdrObject &rNewObject)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoObjectLayerChange (SdrObject &rObject, SdrLayerID aOldLayer, SdrLayerID aNewLayer)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoObjectSetText (SdrObject &rNewObj, sal_Int32 nText)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoDiagramModelData (SdrObject &rObject, std::shared_ptr< svx::diagram::DiagramDataState > &rStartState)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoNewLayer (sal_uInt16 nLayerNum, SdrLayerAdmin &rNewLayerAdmin, SdrModel &rNewModel)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoDeleteLayer (sal_uInt16 nLayerNum, SdrLayerAdmin &rNewLayerAdmin, SdrModel &rNewModel)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoDeletePage (SdrPage &rPage)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoNewPage (SdrPage &rPage)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoCopyPage (SdrPage &rPage)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoSetPageNum (SdrPage &rNewPg, sal_uInt16 nOldPageNum1, sal_uInt16 nNewPageNum1)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoPageRemoveMasterPage (SdrPage &rChangedPage)
 
virtual std::unique_ptr< SdrUndoActionCreateUndoPageChangeMasterPage (SdrPage &rChangedPage)
 

Static Public Member Functions

static std::unique_ptr< SdrUndoActionCreateUndoObjectStrAttr (SdrObject &rObject, SdrUndoObjStrAttr::ObjStrAttrType eObjStrAttrType, const OUString &sOldStr, const OUString &sNewStr)
 
static std::unique_ptr< SdrUndoActionCreateUndoSort (SdrPage &rPage,::std::vector< sal_Int32 > const &rSortOrder)
 

Detailed Description

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 740 of file svdundo.hxx.

Constructor & Destructor Documentation

SdrUndoFactory::~SdrUndoFactory ( )
virtual

Definition at line 1712 of file svdundo.cxx.

Member Function Documentation

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoAttrObject ( SdrObject rObject,
bool  bStyleSheet1 = false,
bool  bSaveText = false 
)
virtual
std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoCopyObject ( SdrObject rObject,
bool  bOrdNumDirect = false 
)
virtual

Definition at line 1757 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoCopyPage ( SdrPage rPage)
virtual

Definition at line 1818 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoDeleteLayer ( sal_uInt16  nLayerNum,
SdrLayerAdmin rNewLayerAdmin,
SdrModel rNewModel 
)
virtual

Definition at line 1802 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoDeleteObject ( SdrObject rObject,
bool  bOrdNumDirect = false 
)
virtual

Definition at line 1747 of file svdundo.cxx.

Referenced by SvxDrawPage::remove(), and SdrObjEditView::SdrEndTextEdit().

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoDeletePage ( SdrPage rPage)
virtual

Definition at line 1808 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoDiagramModelData ( SdrObject rObject,
std::shared_ptr< svx::diagram::DiagramDataState > &  rStartState 
)
virtual

Definition at line 1727 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoGeoObject ( SdrObject rObject)
virtual
std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoInsertObject ( SdrObject rObject,
bool  bOrdNumDirect = false 
)
virtual

Definition at line 1742 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoMoveObject ( SdrObject rObject,
const Size rDist 
)
virtual

Definition at line 1716 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoNewLayer ( sal_uInt16  nLayerNum,
SdrLayerAdmin rNewLayerAdmin,
SdrModel rNewModel 
)
virtual

Definition at line 1797 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoNewObject ( SdrObject rObject,
bool  bOrdNumDirect = false 
)
virtual

Definition at line 1752 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoNewPage ( SdrPage rPage)
virtual

Definition at line 1813 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoObjectLayerChange ( SdrObject rObject,
SdrLayerID  aOldLayer,
SdrLayerID  aNewLayer 
)
virtual

Definition at line 1777 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoObjectOrdNum ( SdrObject rObject,
sal_uInt32  nOldOrdNum1,
sal_uInt32  nNewOrdNum1 
)
virtual

Definition at line 1762 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoObjectSetText ( SdrObject rNewObj,
sal_Int32  nText 
)
virtual

Definition at line 1782 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoObjectStrAttr ( SdrObject rObject,
SdrUndoObjStrAttr::ObjStrAttrType  eObjStrAttrType,
const OUString &  sOldStr,
const OUString &  sNewStr 
)
static
std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoPageChangeMasterPage ( SdrPage rChangedPage)
virtual

Definition at line 1833 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoPageRemoveMasterPage ( SdrPage rChangedPage)
virtual

Definition at line 1828 of file svdundo.cxx.

Referenced by SdrUndoDelPage::SdrUndoDelPage().

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoRemoveObject ( SdrObject rObject)
virtual

Definition at line 1737 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoReplaceObject ( SdrObject rOldObject,
SdrObject rNewObject 
)
virtual

Definition at line 1772 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoSetPageNum ( SdrPage rNewPg,
sal_uInt16  nOldPageNum1,
sal_uInt16  nNewPageNum1 
)
virtual

Definition at line 1823 of file svdundo.cxx.

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoSort ( SdrPage rPage,
::std::vector< sal_Int32 > const &  rSortOrder 
)
static

Definition at line 1767 of file svdundo.cxx.

Referenced by SdrObjList::sort().


The documentation for this class was generated from the following files: