User: kz      
Date: 2008-06-26 09:02:26+0000
Modified:
   dba/reportdesign/source/ui/inc/ReportController.hxx

Log:
 INTEGRATION: CWS rptwizard01 (1.6.2); FILE MERGED
 2008/06/20 09:17:59 lla 1.6.2.4: RESYNC: (1.7-1.8); FILE MERGED
 2008/05/21 10:09:41 lla 1.6.2.3: RESYNC: (1.6-1.7); FILE MERGED
 2008/05/20 13:02:53 lla 1.6.2.2: #i86092# wrong include header
 2008/04/22 12:23:49 oj 1.6.2.1: #i86908# new interface supported to allow a 
remote mode

File Changes:

Directory: /dba/reportdesign/source/ui/inc/
===========================================

File [changed]: ReportController.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/ReportController.hxx?r1=1.9&r2=1.10
Delta lines:  +14 -2
--------------------
--- ReportController.hxx        2008-06-25 13:19:38+0000        1.9
+++ ReportController.hxx        2008-06-26 09:02:23+0000        1.10
@@ -33,6 +33,7 @@
 #include <dbaccess/singledoccontroller.hxx>
 #include <com/sun/star/uno/XComponentContext.hpp>
 #include <com/sun/star/beans/PropertyValue.hpp>
+#include <cppuhelper/implbase3.hxx>
 #include <com/sun/star/uno/Sequence.hxx>
 #include <com/sun/star/sdbc/XConnection.hpp>
 #include <com/sun/star/sdbc/XRowSet.hpp>
@@ -49,7 +50,7 @@
 #include <com/sun/star/report/XReportEngine.hpp>
 #include <com/sun/star/report/XSection.hpp>
 #include <com/sun/star/view/XSelectionSupplier.hpp>
-#include <cppuhelper/implbase3.hxx>
+#include <cppuhelper/implbase4.hxx>
 #include <comphelper/uno3.hxx>
 #include <svtools/transfer.hxx>
 #include <svtools/lstner.hxx>
@@ -59,6 +60,7 @@
 #include "RptDef.hxx"
 #include <functional>
 #include <boost/shared_ptr.hpp>
+#include <com/sun/star/util/XModeSelector.hpp>
 
 
 class TransferableHelper;
@@ -73,9 +75,10 @@
     class OSectionView;
 
        typedef ::dbaui::OSingleDocumentController      OReportController_BASE;
-       typedef ::cppu::ImplHelper3     <       
::com::sun::star::container::XContainerListener
+       typedef ::cppu::ImplHelper4     <       
::com::sun::star::container::XContainerListener
                                                                ,   
::com::sun::star::beans::XPropertyChangeListener
                                 ,   ::com::sun::star::view::XSelectionSupplier
+                                                               ,       
::com::sun::star::util::XModeSelector
                                                                >       
OReportController_Listener;
 
        class OReportController :        public OReportController_BASE
@@ -105,6 +108,7 @@
                                 m_aReportModel;
                ::rtl::OUString                 m_sName;                        
    /// name for the report definition
         ::rtl::OUString         m_sLastActivePage;      /// last active 
property browser page
+        ::rtl::OUString         m_sMode;                       /// the current 
mode of the controller
                sal_Int32                               m_nSplitPos;            
    /// the position of the splitter
         sal_Int32               m_nPageNum;             /// the page number 
from the restoreView call
         //sal_Int32               m_nExecuteReportEvent;
@@ -364,6 +368,13 @@
         // XTitle
         virtual ::rtl::OUString SAL_CALL getTitle(  ) throw 
(::com::sun::star::uno::RuntimeException);
 
+               // XModeSelector
+        virtual void SAL_CALL setMode( const ::rtl::OUString& aMode ) throw 
(::com::sun::star::lang::NoSupportException, 
::com::sun::star::uno::RuntimeException) ;
+        virtual ::rtl::OUString SAL_CALL getMode(  ) throw 
(::com::sun::star::uno::RuntimeException) ;
+        virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL 
getSupportedModes(  ) throw (::com::sun::star::uno::RuntimeException) ;
+        virtual ::sal_Bool SAL_CALL supportsMode( const ::rtl::OUString& aMode 
) throw (::com::sun::star::uno::RuntimeException) ;
+
+
                /** returns the current position of the splitter
                *
                * \return 
@@ -405,6 +416,7 @@
        private:
                virtual void onLoadedMenu( const 
::com::sun::star::uno::Reference< ::com::sun::star::frame::XLayoutManager >& 
_xLayoutManager );
                virtual void impl_initialize( );
+               bool isUiVisible() const;
        };
 }
 #endif // RPTUI_REPORTCONTROLLER_HXX




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to