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< 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)
 

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

Constructor & Destructor Documentation

SdrUndoFactory::~SdrUndoFactory ( )
virtual

Definition at line 1640 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 1679 of file svdundo.cxx.

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

Definition at line 1735 of file svdundo.cxx.

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

Definition at line 1719 of file svdundo.cxx.

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

Definition at line 1669 of file svdundo.cxx.

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

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

Definition at line 1725 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 1664 of file svdundo.cxx.

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

Definition at line 1644 of file svdundo.cxx.

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

Definition at line 1714 of file svdundo.cxx.

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

Definition at line 1674 of file svdundo.cxx.

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

Definition at line 1730 of file svdundo.cxx.

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

Definition at line 1694 of file svdundo.cxx.

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

Definition at line 1684 of file svdundo.cxx.

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

Definition at line 1699 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 1750 of file svdundo.cxx.

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

Definition at line 1745 of file svdundo.cxx.

Referenced by SdrUndoDelPage::SdrUndoDelPage().

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

Definition at line 1659 of file svdundo.cxx.

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

Definition at line 1689 of file svdundo.cxx.

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

Definition at line 1740 of file svdundo.cxx.


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