User: kz Date: 2008-03-05 18:14:08+0000 Modified: dba/reportdesign/source/ui/report/dlgedfunc.cxx
Log: INTEGRATION: CWS rptchart01_DEV300 (1.5.62); FILE MERGED 2008/02/21 10:00:11 oj 1.5.62.4: #i85225# create DatabaseDataProvider in factory 2008/02/19 17:11:38 oj 1.5.62.3: merge conflict 2008/02/19 09:23:08 oj 1.5.62.2: RESYNC: (1.5-1.6); FILE MERGED 2008/01/24 12:39:33 oj 1.5.62.1: #i85225# changes for chart File Changes: Directory: /dba/reportdesign/source/ui/report/ ============================================== File [changed]: dlgedfunc.cxx Url: http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/report/dlgedfunc.cxx?r1=1.6&r2=1.7 Delta lines: +17 -1 -------------------- --- dlgedfunc.cxx 2008-01-29 13:52:33+0000 1.6 +++ dlgedfunc.cxx 2008-03-05 18:14:05+0000 1.7 @@ -92,11 +92,12 @@ #ifndef _SVDITER_HXX #include <svx/svditer.hxx> #endif - +#include <toolkit/helper/vclunohelper.hxx> #include <com/sun/star/beans/XPropertySet.hpp> #include <uistrings.hrc> #include "UndoEnv.hxx" #include <RptModel.hxx> +#include "InsertFunctions.hxx" #define DEFAUL_MOVE_SIZE 100 namespace rptui @@ -641,6 +642,21 @@ } bReturn = m_pView->AreObjectsMarked(); + if ( bReturn ) + { + OReportController* pController = m_pParent->getViewsWindow()->getView()->getReportView()->getController(); + const SdrMarkList& rMarkList = m_pView->GetMarkedObjectList(); + for (sal_uInt32 i = 0; i < rMarkList.GetMarkCount();++i ) + { + SdrMark* pMark = rMarkList.GetMark(i); + // bCheck = dynamic_cast<OUnoObject*>(pMark->GetMarkedSdrObj()) != NULL; + OOle2Obj* pObj = dynamic_cast<OOle2Obj*>(pMark->GetMarkedSdrObj()); + if ( pObj && !pObj->IsEmpty() ) + { + InitializeChart(pController->getModel(),pObj->GetObjRef()); + } + } + } } else checkMovementAllowed(rMEvt); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
