21#include <UndoActions.hxx>
30 OObjectBase* pObj =
dynamic_cast<OObjectBase*
>(&rObject);
33 uno::Reference< report::XReportComponent> xReportComponent = pObj->getReportComponent();
34 uno::Reference< report::XSection> xSection = pObj->getSection();
35 uno::Reference< report::XGroup> xGroup = xSection->getGroup();
63 return m_pUndoFactory->CreateUndoAttrObject( rObject, bStyleSheet1, bSaveText );
88 return m_pUndoFactory->CreateUndoCopyObject( rObject, bOrdNumDirect );
93 return m_pUndoFactory->CreateUndoObjectOrdNum( rObject, nOldOrdNum1, nNewOrdNum1 );
98 return m_pUndoFactory->CreateUndoReplaceObject( rOldObject, rNewObject );
103 return m_pUndoFactory->CreateUndoObjectLayerChange( rObject, aOldLayer, aNewLayer );
114 return m_pUndoFactory->CreateUndoNewLayer( nLayerNum, rNewLayerAdmin, rNewModel );
119 return m_pUndoFactory->CreateUndoDeleteLayer( nLayerNum, rNewLayerAdmin, rNewModel );
140 return m_pUndoFactory->CreateUndoSetPageNum( rNewPg, nOldPageNum1, nNewPageNum1 );
145 return m_pUndoFactory->CreateUndoPageRemoveMasterPage( rChangedPage );
150 return m_pUndoFactory->CreateUndoPageChangeMasterPage(rChangedPage);
SdrModel & getSdrModelFromSdrObject() const
static ::std::function< css::uno::Reference< css::report::XSection >(OGroupHelper *)> getMemberFunction(const css::uno::Reference< css::report::XSection > &_xSection)
static ::std::function< css::uno::Reference< css::report::XSection >(OReportHelper *)> getMemberFunction(const css::uno::Reference< css::report::XSection > &_xSection)
virtual std::unique_ptr< SdrUndoAction > CreateUndoCopyPage(SdrPage &rPage) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoAttrObject(SdrObject &rObject, bool bStyleSheet1=false, bool bSaveText=false) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoMoveObject(SdrObject &rObject, const Size &rDist) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoSetPageNum(SdrPage &rNewPg, sal_uInt16 nOldPageNum1, sal_uInt16 nNewPageNum1) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoCopyObject(SdrObject &rObject, bool bOrdNumDirect=false) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoObjectOrdNum(SdrObject &rObject, sal_uInt32 nOldOrdNum1, sal_uInt32 nNewOrdNum1) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoObjectLayerChange(SdrObject &rObject, SdrLayerID aOldLayer, SdrLayerID aNewLayer) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoPageChangeMasterPage(SdrPage &rChangedPage) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoNewPage(SdrPage &rPage) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoNewObject(SdrObject &rObject, bool bOrdNumDirect=false) override
::std::unique_ptr< SdrUndoFactory > m_pUndoFactory
virtual std::unique_ptr< SdrUndoAction > CreateUndoDeleteLayer(sal_uInt16 nLayerNum, SdrLayerAdmin &rNewLayerAdmin, SdrModel &rNewModel) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoObjectSetText(SdrObject &rNewObj, sal_Int32 nText) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoGeoObject(SdrObject &rObject) override
virtual ~OReportUndoFactory() override
virtual std::unique_ptr< SdrUndoAction > CreateUndoRemoveObject(SdrObject &rObject) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoInsertObject(SdrObject &rObject, bool bOrdNumDirect=false) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoDeletePage(SdrPage &rPage) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoReplaceObject(SdrObject &rOldObject, SdrObject &rNewObject) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoPageRemoveMasterPage(SdrPage &rChangedPage) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoDeleteObject(SdrObject &rObject, bool bOrdNumDirect=false) override
virtual std::unique_ptr< SdrUndoAction > CreateUndoNewLayer(sal_uInt16 nLayerNum, SdrLayerAdmin &rNewLayerAdmin, SdrModel &rNewModel) override
static std::unique_ptr< SdrUndoAction > lcl_createUndo(SdrObject &rObject, Action _eAction, TranslateId pCommentId)