Tag: cws_src680_oj14
User: oj      
Date: 2007-05-30 16:25:08+0000
Modified:
   dba/reportdesign/source/ui/inc/DesignView.hxx
   dba/reportdesign/source/ui/inc/MarkedSection.hxx
   dba/reportdesign/source/ui/inc/ReportController.hxx
   dba/reportdesign/source/ui/inc/ReportWindow.hxx
   dba/reportdesign/source/ui/inc/ScrollHelper.hxx
   dba/reportdesign/source/ui/inc/ViewsWindow.hxx

Log:
 #i77284 tab+ctrl to move between sections

File Changes:

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

File [changed]: DesignView.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/DesignView.hxx?r1=1.1.2.3&r2=1.1.2.4
Delta lines:  +4 -4
-------------------
--- DesignView.hxx      2007-05-21 10:01:44+0000        1.1.2.3
+++ DesignView.hxx      2007-05-30 16:25:05+0000        1.1.2.4
@@ -6,9 +6,9 @@
  *
  *  $RCSfile: DesignView.hxx,v $
  *
- *  $Revision: 1.1.2.3 $
+ *  $Revision: 1.1.2.4 $
  *
- *  last change: $Author: oj $ $Date: 2007/05/21 10:01:44 $
+ *  last change: $Author: oj $ $Date: 2007/05/30 16:25:05 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -270,9 +270,9 @@
                */
                ::com::sun::star::uno::Reference< 
::com::sun::star::report::XReportComponent > getCurrentControlModel() const;
 
-               /** returns the section which is currently marked.
-               */
+        // IMarkedSection
                ::boost::shared_ptr<OReportSection> 
getMarkedSection(NearSectionAccess nsa = CURRENT) const;
+        virtual void markSection(const sal_uInt16 _nPos);
 
         /** fills the positions of all collapsed sections.
         *

File [changed]: MarkedSection.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/MarkedSection.hxx?r1=1.1.2.1&r2=1.1.2.2
Delta lines:  +9 -1
-------------------
--- MarkedSection.hxx   2007-05-09 13:57:34+0000        1.1.2.1
+++ MarkedSection.hxx   2007-05-30 16:25:05+0000        1.1.2.2
@@ -6,9 +6,9 @@
  *
  *  $RCSfile: MarkedSection.hxx,v $
  *
- *  $Revision: 1.1.2.1 $
+ *  $Revision: 1.1.2.2 $
  *
- *  last change: $Author: oj $ $Date: 2007/05/09 13:57:34 $
+ *  last change: $Author: oj $ $Date: 2007/05/30 16:25:05 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -52,7 +52,15 @@
     class IMarkedSection
     {
     public:
+        /** returns the section which is currently marked.
+               */
         virtual ::boost::shared_ptr<OReportSection> 
getMarkedSection(NearSectionAccess nsa) const =0;
+
+        /** mark the section on the given position .
+        *
+        * \param _nPos the position is zero based.
+        */
+        virtual void markSection(const sal_uInt16 _nPos) = 0;
     };
     
 } // rptui

File [changed]: ReportController.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/ReportController.hxx?r1=1.1.2.5&r2=1.1.2.6
Delta lines:  +8 -2
-------------------
--- ReportController.hxx        2007-05-25 11:46:58+0000        1.1.2.5
+++ ReportController.hxx        2007-05-30 16:25:05+0000        1.1.2.6
@@ -6,9 +6,9 @@
  *
  *  $RCSfile: ReportController.hxx,v $
  *
- *  $Revision: 1.1.2.5 $
+ *  $Revision: 1.1.2.6 $
  *
- *  last change: $Author: lla $ $Date: 2007/05/25 11:46:58 $
+ *  last change: $Author: oj $ $Date: 2007/05/30 16:25:05 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -288,6 +288,12 @@
         */
         void changeZOrder(sal_Int32 _nId);
 
+        /** marks the next or previous section, when the first/last section 
was already selected then the report will be selected.
+        *
+        * \param _bNext
+        */
+        void markSection(const bool _bNext);
+
         OReportController(OReportController&);
         void operator =(OReportController&);
 

File [changed]: ReportWindow.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/ReportWindow.hxx?r1=1.1.2.2&r2=1.1.2.3
Delta lines:  +5 -4
-------------------
--- ReportWindow.hxx    2007-05-21 10:01:44+0000        1.1.2.2
+++ ReportWindow.hxx    2007-05-30 16:25:05+0000        1.1.2.3
@@ -6,9 +6,9 @@
  *
  *  $RCSfile: ReportWindow.hxx,v $
  *
- *  $Revision: 1.1.2.2 $
+ *  $Revision: 1.1.2.3 $
  *
- *  last change: $Author: oj $ $Date: 2007/05/21 10:01:44 $
+ *  last change: $Author: oj $ $Date: 2007/05/30 16:25:05 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -224,9 +224,10 @@
         void                   setMarked(const 
::com::sun::star::uno::Reference< ::com::sun::star::report::XSection>& 
_xSection,sal_Bool _bMark);
         void                   setMarked(const 
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< 
::com::sun::star::report::XReportComponent> >& _xShape,sal_Bool _bMark);
 
-               /** returns the section which is currently marked.
-               */
+        // IMarkedSection
                ::boost::shared_ptr<OReportSection> 
getMarkedSection(NearSectionAccess nsa = CURRENT) const;
+        virtual void markSection(const sal_uInt16 _nPos);
+
 
         /** fills the positions of all collapsed sections.
         *

File [changed]: ScrollHelper.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/ScrollHelper.hxx?r1=1.1.2.2&r2=1.1.2.3
Delta lines:  +5 -4
-------------------
--- ScrollHelper.hxx    2007-05-21 10:01:44+0000        1.1.2.2
+++ ScrollHelper.hxx    2007-05-30 16:25:05+0000        1.1.2.3
@@ -6,9 +6,9 @@
  *
  *  $RCSfile: ScrollHelper.hxx,v $
  *
- *  $Revision: 1.1.2.2 $
+ *  $Revision: 1.1.2.3 $
  *
- *  last change: $Author: oj $ $Date: 2007/05/21 10:01:44 $
+ *  last change: $Author: oj $ $Date: 2007/05/30 16:25:05 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -214,9 +214,10 @@
         void                           setMarked(const 
::com::sun::star::uno::Reference< ::com::sun::star::report::XSection>& 
_xSection,sal_Bool _bMark);
         void                           setMarked(const 
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< 
::com::sun::star::report::XReportComponent> >& _xShape,sal_Bool _bMark);
                
-               /** returns the section which is currently marked.
-               */
+        // IMarkedSection
                ::boost::shared_ptr<OReportSection> 
getMarkedSection(NearSectionAccess nsa = CURRENT) const;
+        virtual void markSection(const sal_uInt16 _nPos);
+
 
         /** fills the positions of all collapsed sections.
         *

File [changed]: ViewsWindow.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/ViewsWindow.hxx?r1=1.1.2.2&r2=1.1.2.3
Delta lines:  +4 -4
-------------------
--- ViewsWindow.hxx     2007-05-21 10:01:44+0000        1.1.2.2
+++ ViewsWindow.hxx     2007-05-30 16:25:05+0000        1.1.2.3
@@ -6,9 +6,9 @@
  *
  *  $RCSfile: ViewsWindow.hxx,v $
  *
- *  $Revision: 1.1.2.2 $
+ *  $Revision: 1.1.2.3 $
  *
- *  last change: $Author: oj $ $Date: 2007/05/21 10:01:44 $
+ *  last change: $Author: oj $ $Date: 2007/05/30 16:25:05 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -248,9 +248,9 @@
                */
                ::boost::shared_ptr<OReportSection> getSection(const Point& 
_aPosition);
 
-               /** returns the section which is currently marked.
-               */
+               // IMarkedSection
                ::boost::shared_ptr<OReportSection> 
getMarkedSection(NearSectionAccess nsa = CURRENT) const;
+        virtual void markSection(const sal_uInt16 _nPos);
 
         /** align all marked objects in all sections
         */




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

Reply via email to