User: vg Date: 2008-08-19 10:10:13+0000 Modified: dba/reportdesign/source/ui/inc/DesignView.hxx
Log: INTEGRATION: CWS dba31a (1.5.28); FILE MERGED 2008/07/15 08:38:55 fs 1.5.28.7: remove unused code Issue number: #i91592# Submitted by: [EMAIL PROTECTED] Reviewed by: [EMAIL PROTECTED] 2008/07/07 06:38:24 oj 1.5.28.6: #i80200# method to select different types 2008/07/03 06:58:31 oj 1.5.28.5: wrong header name typo 2008/07/01 07:02:10 oj 1.5.28.4: #i77916# impl zoom and move config data into ext 2008/06/26 14:26:32 oj 1.5.28.3: #i77916# impl zooming in report builder 2008/06/24 12:06:53 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]: DesignView.hxx Url: http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/DesignView.hxx?r1=1.7&r2=1.8 Delta lines: +12 -12 --------------------- --- DesignView.hxx 2008-06-25 11:36:28+0000 1.7 +++ DesignView.hxx 2008-08-19 10:10:10+0000 1.8 @@ -51,6 +51,7 @@ #include <vcl/tabpage.hxx> #include <vcl/splitwin.hxx> #include <MarkedSection.hxx> +#include "ScrollHelper.hxx" class KeyEvent; class MouseEvent; @@ -59,7 +60,6 @@ namespace rptui { - class OScrollWindowHelper; class OReportSection; class OUnoObject; class OSectionView; @@ -73,12 +73,11 @@ class ODesignView : public dbaui::ODataView, public SfxBroadcaster, public IMarkedSection { private: - //Splitter m_aSplitter; - SplitWindow* m_pSplitWin; + SplitWindow m_aSplitWin; ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> m_xReportComponent; OReportController& m_rReportController; - OScrollWindowHelper* m_pScrollWindow; + OScrollWindowHelper m_aScrollWindow; Window* m_pTaskPane; PropBrw* m_pPropWin; OAddFieldWindow* m_pAddField; @@ -93,7 +92,7 @@ Size m_aGridSize; BOOL m_bGridVisible; BOOL m_bGridSnap; - BOOL m_bInSplitHandler; + BOOL m_bDeleted; DECL_LINK( MarkTimeout, Timer * ); @@ -166,12 +165,12 @@ /** All objects will be marked. */ - void SelectAll(); + void SelectAll(const sal_uInt16 _nObjectType); /// checks if a selection exists BOOL HasSelection(); - void UpdatePropertyBrowserDelayed(OSectionView* _pView); + void UpdatePropertyBrowserDelayed(OSectionView& _rView); USHORT getSectionCount() const; @@ -193,7 +192,6 @@ inline BOOL isGridSnap() const { return m_bGridSnap; } void setGridSnap(BOOL bOn); void setDragStripes(BOOL bOn); - BOOL isDragStripes() const; /** turns the grid on or off * * \param _bGridVisible @@ -233,7 +231,7 @@ ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportComponent > getCurrentControlModel() const; // 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); /** fills the positions of all collapsed sections. @@ -261,8 +259,6 @@ @param _pSectionView the section where to set the marked flag @param _bMark the marked flag */ - void setMarked(OSectionView* _pSectionView,sal_Bool _bMark); - 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); @@ -275,6 +271,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]
