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

Constructor & Destructor Documentation

SdrUndoFactory::~SdrUndoFactory ( )
virtual

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

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

Definition at line 1717 of file svdundo.cxx.

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

Definition at line 1701 of file svdundo.cxx.

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

Definition at line 1651 of file svdundo.cxx.

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

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

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

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

Definition at line 1626 of file svdundo.cxx.

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

Definition at line 1696 of file svdundo.cxx.

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

Definition at line 1656 of file svdundo.cxx.

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

Definition at line 1712 of file svdundo.cxx.

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

Definition at line 1676 of file svdundo.cxx.

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

Definition at line 1666 of file svdundo.cxx.

Referenced by SdrObjList::sort().

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

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

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

Definition at line 1727 of file svdundo.cxx.

Referenced by SdrUndoDelPage::SdrUndoDelPage().

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

Definition at line 1641 of file svdundo.cxx.

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

Definition at line 1671 of file svdundo.cxx.

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

Definition at line 1722 of file svdundo.cxx.


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