User: vg      
Date: 2008-08-19 10:11:36+0000
Modified:
   dba/reportdesign/source/ui/inc/ScrollHelper.hxx

Log:
 INTEGRATION: CWS dba31a (1.5.28); FILE MERGED
 2008/07/07 06:38:25 oj 1.5.28.4: #i80200# method to select different types
 2008/06/26 14:26:32 oj 1.5.28.3: #i77916# impl zooming in report builder
 2008/06/24 12:07:02 oj 1.5.28.2: RESYNC: (1.5-1.6); FILE MERGED
 2008/06/13 11:40:19 oj 1.5.28.1: #i88506# impl hyphenation

File Changes:

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

File [changed]: ScrollHelper.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/ScrollHelper.hxx?r1=1.6&r2=1.7
Delta lines:  +9 -5
-------------------
--- ScrollHelper.hxx    2008-06-16 13:41:43+0000        1.6
+++ ScrollHelper.hxx    2008-08-19 10:11:34+0000        1.7
@@ -41,11 +41,11 @@
 #include <boost/shared_ptr.hpp>
 #include <vcl/dockwin.hxx>
 #include <MarkedSection.hxx>
+#include "ReportWindow.hxx"
 
 class SdrView;
 namespace rptui
 {      
-       class OSectionsWindow;
        class ODesignView;
        class OReportWindow;
        class OSectionView;
@@ -68,7 +68,7 @@
                Size                            m_aTotalPixelSize;
                Point                           m_aPixOffset;           // 
offset to virtual window (pixel)
                ODesignView*        m_pParent;
-               OReportWindow*          m_pChild;
+               OReportWindow           m_aReportWindow;
         ::rtl::Reference<comphelper::OPropertyChangeMultiplexer >
                             m_pReportDefintionMultiPlexer; // listener for 
property changes
 
@@ -96,7 +96,7 @@
                void                                    initialize();
 
                inline Point                    getScrollOffset() const { 
return 
Point(m_aHScroll.GetThumbPos(),m_aVScroll.GetThumbPos())/*m_aScrollOffset*/; }
-               inline OReportWindow*   getReportWindow() const { return 
m_pChild; }
+               inline const OReportWindow&     getReportWindow() const { 
return m_aReportWindow; }
                void                                    setTotalSize(sal_Int32 
_nWidth ,sal_Int32 _nHeight);
                inline Size                             getTotalSize() const { 
return m_aTotalPixelSize; }
                inline ScrollBar*               GetHScroll() { return 
&m_aHScroll; }
@@ -130,7 +130,7 @@
 
                /** All objects will be marked.
                */
-               void SelectAll();
+               void SelectAll(const sal_uInt16 _nObjectType);
 
         /** returns <TRUE/> when a object is marked
         */
@@ -190,7 +190,7 @@
         void                           setMarked(const 
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< 
::com::sun::star::report::XReportComponent> >& _xShape,sal_Bool _bMark);
                
         // IMarkedSection
-               ::boost::shared_ptr<OReportSection> 
getMarkedSection(NearSectionAccess nsa = CURRENT) const;
+               ::boost::shared_ptr<OSectionWindow> 
getMarkedSection(NearSectionAccess nsa = CURRENT) const;
         virtual void markSection(const sal_uInt16 _nPos);
 
 
@@ -216,6 +216,10 @@
 
         sal_uInt32 getMarkedObjectCount() const;
 
+        /** zoom the ruler and view windows
+        */
+        void zoom(const sal_Int16 _nZoom);
+
         /** fills the vector with all selected control models
             /param  _rSelection The vector will be filled and will not be 
cleared before.
         */




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

Reply via email to