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< SdrUndoActionCreateUndoObjectDecorative (SdrObject &rObject, bool const WasDecorative)
 
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 739 of file svdundo.hxx.

Constructor & Destructor Documentation

◆ ~SdrUndoFactory()

SdrUndoFactory::~SdrUndoFactory ( )
virtual

Definition at line 1659 of file svdundo.cxx.

Member Function Documentation

◆ CreateUndoAttrObject()

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

◆ CreateUndoCopyObject()

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

Definition at line 1704 of file svdundo.cxx.

◆ CreateUndoCopyPage()

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

Definition at line 1771 of file svdundo.cxx.

◆ CreateUndoDeleteLayer()

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

Definition at line 1755 of file svdundo.cxx.

◆ CreateUndoDeleteObject()

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

Definition at line 1694 of file svdundo.cxx.

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

◆ CreateUndoDeletePage()

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

Definition at line 1761 of file svdundo.cxx.

◆ CreateUndoDiagramModelData()

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

Definition at line 1674 of file svdundo.cxx.

◆ CreateUndoGeoObject()

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

◆ CreateUndoInsertObject()

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

Definition at line 1689 of file svdundo.cxx.

◆ CreateUndoMoveObject()

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

Definition at line 1663 of file svdundo.cxx.

◆ CreateUndoNewLayer()

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

Definition at line 1750 of file svdundo.cxx.

◆ CreateUndoNewObject()

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

Definition at line 1699 of file svdundo.cxx.

◆ CreateUndoNewPage()

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

Definition at line 1766 of file svdundo.cxx.

◆ CreateUndoObjectDecorative()

std::unique_ptr< SdrUndoAction > SdrUndoFactory::CreateUndoObjectDecorative ( SdrObject rObject,
bool const  WasDecorative 
)
static

Definition at line 1742 of file svdundo.cxx.

Referenced by SdrObject::SetDecorative().

◆ CreateUndoObjectLayerChange()

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

Definition at line 1724 of file svdundo.cxx.

◆ CreateUndoObjectOrdNum()

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

Definition at line 1709 of file svdundo.cxx.

◆ CreateUndoObjectSetText()

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

Definition at line 1729 of file svdundo.cxx.

◆ CreateUndoObjectStrAttr()

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

◆ CreateUndoPageChangeMasterPage()

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

Definition at line 1786 of file svdundo.cxx.

◆ CreateUndoPageRemoveMasterPage()

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

Definition at line 1781 of file svdundo.cxx.

Referenced by SdrUndoDelPage::SdrUndoDelPage().

◆ CreateUndoRemoveObject()

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

Definition at line 1684 of file svdundo.cxx.

◆ CreateUndoReplaceObject()

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

Definition at line 1719 of file svdundo.cxx.

◆ CreateUndoSetPageNum()

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

Definition at line 1776 of file svdundo.cxx.

◆ CreateUndoSort()

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

Definition at line 1714 of file svdundo.cxx.

Referenced by SdrObjList::sort().


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