1*cdf0e10cSrcweir /************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir #ifndef RPTUI_UNDOACTIONS_HXX 28*cdf0e10cSrcweir #define RPTUI_UNDOACTIONS_HXX 29*cdf0e10cSrcweir 30*cdf0e10cSrcweir #include "dllapi.h" 31*cdf0e10cSrcweir 32*cdf0e10cSrcweir #include "RptModel.hxx" 33*cdf0e10cSrcweir 34*cdf0e10cSrcweir /** === begin UNO includes === **/ 35*cdf0e10cSrcweir #include <com/sun/star/util/XModifyListener.hpp> 36*cdf0e10cSrcweir #include <com/sun/star/beans/XPropertySet.hpp> 37*cdf0e10cSrcweir #include <com/sun/star/beans/PropertyChangeEvent.hpp> 38*cdf0e10cSrcweir #include <com/sun/star/script/ScriptEvent.hpp> 39*cdf0e10cSrcweir #include <com/sun/star/script/XScriptListener.hpp> 40*cdf0e10cSrcweir #include <com/sun/star/script/ScriptEventDescriptor.hpp> 41*cdf0e10cSrcweir #include <com/sun/star/container/XNameContainer.hpp> 42*cdf0e10cSrcweir #include <com/sun/star/container/ContainerEvent.hpp> 43*cdf0e10cSrcweir #include <com/sun/star/container/XNameContainer.hpp> 44*cdf0e10cSrcweir #include <com/sun/star/report/XReportComponent.hpp> 45*cdf0e10cSrcweir #include <com/sun/star/report/XReportDefinition.hpp> 46*cdf0e10cSrcweir #include <com/sun/star/report/XGroup.hpp> 47*cdf0e10cSrcweir #include <com/sun/star/document/XUndoManager.hpp> 48*cdf0e10cSrcweir /** === end UNO includes === **/ 49*cdf0e10cSrcweir 50*cdf0e10cSrcweir #include <cppuhelper/implbase3.hxx> 51*cdf0e10cSrcweir #include <comphelper/uno3.hxx> 52*cdf0e10cSrcweir #include <comphelper/sequence.hxx> 53*cdf0e10cSrcweir #include <svl/lstner.hxx> 54*cdf0e10cSrcweir #include <svx/svdouno.hxx> 55*cdf0e10cSrcweir #include <svx/svdundo.hxx> 56*cdf0e10cSrcweir #include <tools/string.hxx> 57*cdf0e10cSrcweir 58*cdf0e10cSrcweir #include <functional> 59*cdf0e10cSrcweir #include <memory> 60*cdf0e10cSrcweir #include <boost/shared_ptr.hpp> 61*cdf0e10cSrcweir 62*cdf0e10cSrcweir FORWARD_DECLARE_INTERFACE(awt,XControl) 63*cdf0e10cSrcweir FORWARD_DECLARE_INTERFACE(awt,XControlContainer) 64*cdf0e10cSrcweir namespace dbaui 65*cdf0e10cSrcweir { 66*cdf0e10cSrcweir class IController; 67*cdf0e10cSrcweir } 68*cdf0e10cSrcweir namespace rptui 69*cdf0e10cSrcweir { 70*cdf0e10cSrcweir class OObjectBase; 71*cdf0e10cSrcweir 72*cdf0e10cSrcweir enum Action 73*cdf0e10cSrcweir { 74*cdf0e10cSrcweir Inserted = 1, 75*cdf0e10cSrcweir Removed = 2 76*cdf0e10cSrcweir }; 77*cdf0e10cSrcweir 78*cdf0e10cSrcweir /** Helper class to allow std::mem_fun for SAL_CALL 79*cdf0e10cSrcweir */ 80*cdf0e10cSrcweir class REPORTDESIGN_DLLPUBLIC OGroupHelper 81*cdf0e10cSrcweir { 82*cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::report::XGroup > m_xGroup; 83*cdf0e10cSrcweir OGroupHelper(const OGroupHelper&); 84*cdf0e10cSrcweir OGroupHelper& operator=(const OGroupHelper&); 85*cdf0e10cSrcweir public: 86*cdf0e10cSrcweir OGroupHelper(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XGroup >& _xGroup) 87*cdf0e10cSrcweir :m_xGroup(_xGroup) 88*cdf0e10cSrcweir { 89*cdf0e10cSrcweir } 90*cdf0e10cSrcweir inline ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > getHeader() { return m_xGroup->getHeader(); } 91*cdf0e10cSrcweir inline ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > getFooter() { return m_xGroup->getFooter(); } 92*cdf0e10cSrcweir inline ::com::sun::star::uno::Reference< ::com::sun::star::report::XGroup > getGroup() { return m_xGroup; } 93*cdf0e10cSrcweir 94*cdf0e10cSrcweir inline ::sal_Bool getHeaderOn() { return m_xGroup->getHeaderOn(); } 95*cdf0e10cSrcweir inline ::sal_Bool getFooterOn() { return m_xGroup->getFooterOn(); } 96*cdf0e10cSrcweir 97*cdf0e10cSrcweir static ::std::mem_fun_t< ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection> , OGroupHelper> getMemberFunction(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection >& _xSection); 98*cdf0e10cSrcweir 99*cdf0e10cSrcweir }; 100*cdf0e10cSrcweir typedef com::sun::star::uno::Reference< ::com::sun::star::report::XSection > TSection; 101*cdf0e10cSrcweir 102*cdf0e10cSrcweir /** Helper class to allow std::mem_fun for SAL_CALL 103*cdf0e10cSrcweir */ 104*cdf0e10cSrcweir class REPORTDESIGN_DLLPUBLIC OReportHelper 105*cdf0e10cSrcweir { 106*cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportDefinition > m_xReport; 107*cdf0e10cSrcweir public: 108*cdf0e10cSrcweir OReportHelper(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportDefinition >& _xReport) 109*cdf0e10cSrcweir :m_xReport(_xReport) 110*cdf0e10cSrcweir { 111*cdf0e10cSrcweir } 112*cdf0e10cSrcweir inline ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > getReportHeader() { return m_xReport->getReportHeader(); } 113*cdf0e10cSrcweir inline ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > getReportFooter() { return m_xReport->getReportFooter(); } 114*cdf0e10cSrcweir inline ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > getPageHeader() { return m_xReport->getPageHeader(); } 115*cdf0e10cSrcweir inline ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > getPageFooter() { return m_xReport->getPageFooter(); } 116*cdf0e10cSrcweir inline ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > getDetail() { return m_xReport->getDetail(); } 117*cdf0e10cSrcweir 118*cdf0e10cSrcweir inline ::sal_Bool getReportHeaderOn() { return m_xReport->getReportHeaderOn(); } 119*cdf0e10cSrcweir inline ::sal_Bool getReportFooterOn() { return m_xReport->getReportFooterOn(); } 120*cdf0e10cSrcweir inline ::sal_Bool getPageHeaderOn() { return m_xReport->getPageHeaderOn(); } 121*cdf0e10cSrcweir inline ::sal_Bool getPageFooterOn() { return m_xReport->getPageFooterOn(); } 122*cdf0e10cSrcweir 123*cdf0e10cSrcweir static ::std::mem_fun_t< ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection> , OReportHelper> getMemberFunction(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection >& _xSection); 124*cdf0e10cSrcweir }; 125*cdf0e10cSrcweir 126*cdf0e10cSrcweir //================================================================================================================== 127*cdf0e10cSrcweir //= UndoContext 128*cdf0e10cSrcweir //================================================================================================================== 129*cdf0e10cSrcweir class UndoContext 130*cdf0e10cSrcweir { 131*cdf0e10cSrcweir public: 132*cdf0e10cSrcweir UndoContext( SfxUndoManager& i_undoManager, const ::rtl::OUString& i_undoTitle ) 133*cdf0e10cSrcweir :m_rUndoManager( i_undoManager ) 134*cdf0e10cSrcweir { 135*cdf0e10cSrcweir m_rUndoManager.EnterListAction( i_undoTitle, String() ); 136*cdf0e10cSrcweir } 137*cdf0e10cSrcweir 138*cdf0e10cSrcweir ~UndoContext() 139*cdf0e10cSrcweir { 140*cdf0e10cSrcweir m_rUndoManager.LeaveListAction(); 141*cdf0e10cSrcweir } 142*cdf0e10cSrcweir 143*cdf0e10cSrcweir private: 144*cdf0e10cSrcweir SfxUndoManager& m_rUndoManager; 145*cdf0e10cSrcweir }; 146*cdf0e10cSrcweir 147*cdf0e10cSrcweir //================================================================================================================== 148*cdf0e10cSrcweir //= UndoSuppressor 149*cdf0e10cSrcweir //================================================================================================================== 150*cdf0e10cSrcweir class UndoSuppressor 151*cdf0e10cSrcweir { 152*cdf0e10cSrcweir public: 153*cdf0e10cSrcweir UndoSuppressor( SfxUndoManager& i_undoManager ) 154*cdf0e10cSrcweir :m_rUndoManager( i_undoManager ) 155*cdf0e10cSrcweir { 156*cdf0e10cSrcweir m_rUndoManager.EnableUndo( false ); 157*cdf0e10cSrcweir } 158*cdf0e10cSrcweir 159*cdf0e10cSrcweir ~UndoSuppressor() 160*cdf0e10cSrcweir { 161*cdf0e10cSrcweir m_rUndoManager.EnableUndo( true ); 162*cdf0e10cSrcweir } 163*cdf0e10cSrcweir 164*cdf0e10cSrcweir private: 165*cdf0e10cSrcweir SfxUndoManager& m_rUndoManager; 166*cdf0e10cSrcweir }; 167*cdf0e10cSrcweir 168*cdf0e10cSrcweir //================================================================================================================== 169*cdf0e10cSrcweir //= OCommentUndoAction 170*cdf0e10cSrcweir //================================================================================================================== 171*cdf0e10cSrcweir class REPORTDESIGN_DLLPUBLIC OCommentUndoAction : public SdrUndoAction 172*cdf0e10cSrcweir { 173*cdf0e10cSrcweir protected: 174*cdf0e10cSrcweir String m_strComment; // undo, redo comment 175*cdf0e10cSrcweir ::dbaui::IController* m_pController; 176*cdf0e10cSrcweir 177*cdf0e10cSrcweir public: 178*cdf0e10cSrcweir TYPEINFO(); 179*cdf0e10cSrcweir OCommentUndoAction( SdrModel& rMod 180*cdf0e10cSrcweir ,sal_uInt16 nCommentID); 181*cdf0e10cSrcweir virtual ~OCommentUndoAction(); 182*cdf0e10cSrcweir 183*cdf0e10cSrcweir virtual UniString GetComment() const { return m_strComment; } 184*cdf0e10cSrcweir virtual void Undo(); 185*cdf0e10cSrcweir virtual void Redo(); 186*cdf0e10cSrcweir }; 187*cdf0e10cSrcweir //================================================================== 188*cdf0e10cSrcweir // OUndoContainerAction 189*cdf0e10cSrcweir //================================================================== 190*cdf0e10cSrcweir class REPORTDESIGN_DLLPUBLIC OUndoContainerAction: public OCommentUndoAction 191*cdf0e10cSrcweir { 192*cdf0e10cSrcweir OUndoContainerAction(OUndoContainerAction&); 193*cdf0e10cSrcweir void operator =(OUndoContainerAction&); 194*cdf0e10cSrcweir protected: 195*cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > 196*cdf0e10cSrcweir m_xElement; // object not owned by the action 197*cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > 198*cdf0e10cSrcweir m_xOwnElement; // object owned by the action 199*cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer > 200*cdf0e10cSrcweir m_xContainer; 201*cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > 202*cdf0e10cSrcweir m_xSection; 203*cdf0e10cSrcweir Action m_eAction; 204*cdf0e10cSrcweir 205*cdf0e10cSrcweir public: 206*cdf0e10cSrcweir OUndoContainerAction(SdrModel& rMod 207*cdf0e10cSrcweir ,Action _eAction 208*cdf0e10cSrcweir ,const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer > _xContainer 209*cdf0e10cSrcweir ,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& xElem 210*cdf0e10cSrcweir ,sal_uInt16 _nCommentId); 211*cdf0e10cSrcweir virtual ~OUndoContainerAction(); 212*cdf0e10cSrcweir 213*cdf0e10cSrcweir virtual void Undo(); 214*cdf0e10cSrcweir virtual void Redo(); 215*cdf0e10cSrcweir 216*cdf0e10cSrcweir protected: 217*cdf0e10cSrcweir virtual void implReInsert( ) SAL_THROW( ( ::com::sun::star::uno::Exception ) ); 218*cdf0e10cSrcweir virtual void implReRemove( ) SAL_THROW( ( ::com::sun::star::uno::Exception ) ); 219*cdf0e10cSrcweir }; 220*cdf0e10cSrcweir 221*cdf0e10cSrcweir //================================================================== 222*cdf0e10cSrcweir // OUndoReportSectionAction 223*cdf0e10cSrcweir //================================================================== 224*cdf0e10cSrcweir class REPORTDESIGN_DLLPUBLIC OUndoReportSectionAction : public OUndoContainerAction 225*cdf0e10cSrcweir { 226*cdf0e10cSrcweir OReportHelper m_aReportHelper; 227*cdf0e10cSrcweir ::std::mem_fun_t< ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > 228*cdf0e10cSrcweir ,OReportHelper> m_pMemberFunction; 229*cdf0e10cSrcweir public: 230*cdf0e10cSrcweir OUndoReportSectionAction(SdrModel& rMod 231*cdf0e10cSrcweir ,Action _eAction 232*cdf0e10cSrcweir ,::std::mem_fun_t< ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > 233*cdf0e10cSrcweir ,OReportHelper> _pMemberFunction 234*cdf0e10cSrcweir ,const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportDefinition >& _xReport 235*cdf0e10cSrcweir ,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& xElem 236*cdf0e10cSrcweir ,sal_uInt16 _nCommentId); 237*cdf0e10cSrcweir 238*cdf0e10cSrcweir protected: 239*cdf0e10cSrcweir virtual void implReInsert( ) SAL_THROW( ( ::com::sun::star::uno::Exception ) ); 240*cdf0e10cSrcweir virtual void implReRemove( ) SAL_THROW( ( ::com::sun::star::uno::Exception ) ); 241*cdf0e10cSrcweir }; 242*cdf0e10cSrcweir 243*cdf0e10cSrcweir //================================================================== 244*cdf0e10cSrcweir // OUndoGroupSectionAction 245*cdf0e10cSrcweir //================================================================== 246*cdf0e10cSrcweir class REPORTDESIGN_DLLPUBLIC OUndoGroupSectionAction : public OUndoContainerAction 247*cdf0e10cSrcweir { 248*cdf0e10cSrcweir OGroupHelper m_aGroupHelper; 249*cdf0e10cSrcweir ::std::mem_fun_t< ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > 250*cdf0e10cSrcweir ,OGroupHelper> m_pMemberFunction; 251*cdf0e10cSrcweir public: 252*cdf0e10cSrcweir OUndoGroupSectionAction(SdrModel& rMod 253*cdf0e10cSrcweir ,Action _eAction 254*cdf0e10cSrcweir ,::std::mem_fun_t< ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > 255*cdf0e10cSrcweir ,OGroupHelper> _pMemberFunction 256*cdf0e10cSrcweir ,const ::com::sun::star::uno::Reference< ::com::sun::star::report::XGroup >& _xGroup 257*cdf0e10cSrcweir ,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>& xElem 258*cdf0e10cSrcweir ,sal_uInt16 _nCommentId); 259*cdf0e10cSrcweir 260*cdf0e10cSrcweir protected: 261*cdf0e10cSrcweir virtual void implReInsert( ) SAL_THROW( ( ::com::sun::star::uno::Exception ) ); 262*cdf0e10cSrcweir virtual void implReRemove( ) SAL_THROW( ( ::com::sun::star::uno::Exception ) ); 263*cdf0e10cSrcweir }; 264*cdf0e10cSrcweir 265*cdf0e10cSrcweir ///================================================================== 266*cdf0e10cSrcweir /// ORptUndoPropertyAction 267*cdf0e10cSrcweir ///================================================================== 268*cdf0e10cSrcweir class REPORTDESIGN_DLLPUBLIC ORptUndoPropertyAction: public OCommentUndoAction 269*cdf0e10cSrcweir { 270*cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> m_xObj; 271*cdf0e10cSrcweir ::rtl::OUString m_aPropertyName; 272*cdf0e10cSrcweir ::com::sun::star::uno::Any m_aNewValue; 273*cdf0e10cSrcweir ::com::sun::star::uno::Any m_aOldValue; 274*cdf0e10cSrcweir 275*cdf0e10cSrcweir /** sets either the old value or the new value again at the property set. 276*cdf0e10cSrcweir * 277*cdf0e10cSrcweir * \param _bOld If set to <TRUE/> than the old value will be set otherwise the new value will be set. 278*cdf0e10cSrcweir */ 279*cdf0e10cSrcweir void setProperty(sal_Bool _bOld); 280*cdf0e10cSrcweir protected: 281*cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> getObject(); 282*cdf0e10cSrcweir 283*cdf0e10cSrcweir public: 284*cdf0e10cSrcweir ORptUndoPropertyAction(SdrModel& rMod, const ::com::sun::star::beans::PropertyChangeEvent& evt); 285*cdf0e10cSrcweir 286*cdf0e10cSrcweir virtual void Undo(); 287*cdf0e10cSrcweir virtual void Redo(); 288*cdf0e10cSrcweir 289*cdf0e10cSrcweir virtual String GetComment() const; 290*cdf0e10cSrcweir }; 291*cdf0e10cSrcweir 292*cdf0e10cSrcweir //================================================================== 293*cdf0e10cSrcweir // OUndoPropertyReportSectionAction 294*cdf0e10cSrcweir //================================================================== 295*cdf0e10cSrcweir class REPORTDESIGN_DLLPUBLIC OUndoPropertyReportSectionAction : public ORptUndoPropertyAction 296*cdf0e10cSrcweir { 297*cdf0e10cSrcweir OReportHelper m_aReportHelper; 298*cdf0e10cSrcweir ::std::mem_fun_t< ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > 299*cdf0e10cSrcweir ,OReportHelper> m_pMemberFunction; 300*cdf0e10cSrcweir protected: 301*cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> getObject(); 302*cdf0e10cSrcweir public: 303*cdf0e10cSrcweir OUndoPropertyReportSectionAction(SdrModel& rMod 304*cdf0e10cSrcweir ,const ::com::sun::star::beans::PropertyChangeEvent& evt 305*cdf0e10cSrcweir ,::std::mem_fun_t< ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > 306*cdf0e10cSrcweir ,OReportHelper> _pMemberFunction 307*cdf0e10cSrcweir ,const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportDefinition >& _xReport 308*cdf0e10cSrcweir ); 309*cdf0e10cSrcweir }; 310*cdf0e10cSrcweir 311*cdf0e10cSrcweir //================================================================== 312*cdf0e10cSrcweir // OUndoPropertyGroupSectionAction 313*cdf0e10cSrcweir //================================================================== 314*cdf0e10cSrcweir class REPORTDESIGN_DLLPUBLIC OUndoPropertyGroupSectionAction : public ORptUndoPropertyAction 315*cdf0e10cSrcweir { 316*cdf0e10cSrcweir OGroupHelper m_aGroupHelper; 317*cdf0e10cSrcweir ::std::mem_fun_t< ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > 318*cdf0e10cSrcweir ,OGroupHelper> m_pMemberFunction; 319*cdf0e10cSrcweir protected: 320*cdf0e10cSrcweir virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet> getObject(); 321*cdf0e10cSrcweir public: 322*cdf0e10cSrcweir OUndoPropertyGroupSectionAction(SdrModel& rMod 323*cdf0e10cSrcweir ,const ::com::sun::star::beans::PropertyChangeEvent& evt 324*cdf0e10cSrcweir ,::std::mem_fun_t< ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > 325*cdf0e10cSrcweir ,OGroupHelper> _pMemberFunction 326*cdf0e10cSrcweir ,const ::com::sun::star::uno::Reference< ::com::sun::star::report::XGroup >& _xGroup 327*cdf0e10cSrcweir ); 328*cdf0e10cSrcweir }; 329*cdf0e10cSrcweir 330*cdf0e10cSrcweir } 331*cdf0e10cSrcweir #endif //RPTUI_UNDOACTIONS_HXX 332*cdf0e10cSrcweir 333