User: vg Date: 2008-08-19 10:12:45+0000 Modified: dba/reportdesign/source/ui/inc/UITools.hxx
Log: INTEGRATION: CWS dba31a (1.5.30); FILE MERGED 2008/07/15 08:38:55 fs 1.5.30.4: remove unused code Issue number: #i91592# Submitted by: [EMAIL PROTECTED] Reviewed by: [EMAIL PROTECTED] 2008/07/10 06:59:49 oj 1.5.30.3: #i88727# new area prop for shapes and some model changes 2008/06/26 14:26:32 oj 1.5.30.2: #i77916# impl zooming in report builder 2008/06/13 11:40:19 oj 1.5.30.1: #i88506# impl hyphenation File Changes: Directory: /dba/reportdesign/source/ui/inc/ =========================================== File [changed]: UITools.hxx Url: http://dba.openoffice.org/source/browse/dba/reportdesign/source/ui/inc/UITools.hxx?r1=1.5&r2=1.6 Delta lines: +15 -8 -------------------- --- UITools.hxx 2008-04-10 19:05:56+0000 1.5 +++ UITools.hxx 2008-08-19 10:12:42+0000 1.6 @@ -32,6 +32,7 @@ #include <com/sun/star/report/XGroup.hpp> #include <com/sun/star/report/XReportControlFormat.hpp> +#include <com/sun/star/report/XShape.hpp> #include <com/sun/star/awt/XWindow.hpp> #include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/container/XIndexAccess.hpp> @@ -92,15 +93,15 @@ */ bool openCharDialog( const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportControlFormat>& _xReportControlFormat, - const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow>& _xWindow + const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow>& _xWindow, + ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& _out_rNewValues ); - /** opens the common character font dialog + /** opens the area dialog for shapes */ - bool openCharDialog( - const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportControlFormat>& _xReportControlFormat, - const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow>& _xWindow, - ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& _out_rNewValues + bool openAreaDialog( + const ::com::sun::star::uno::Reference< ::com::sun::star::report::XShape >& _xShape + ,const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow>& _xWindow ); /** applies the character settings previously obtained via openCharDialog @@ -155,7 +156,7 @@ * \param _pReportSection the section * \param _bInsert TRUE whe the control should be inserted, otherwise not. */ - void correctOverlapping(SdrObject* pControl,::boost::shared_ptr<OReportSection> _pReportSection,bool _bInsert = true); + void correctOverlapping(SdrObject* pControl,OReportSection& _aReportSection,bool _bInsert = true); /** returns a Rectangle of a given SdrObject * @@ -163,6 +164,12 @@ */ Rectangle getRectangleFromControl(SdrObject* pControl); + + /** sets the map mode at the window + @param _nZoom in percentage + @param _rWindow where to set the map mode + */ + void setZoomFactor(const sal_Int16 _nZoom,Window& _rWindow); } #endif //RPTUI_UITOOLS_HXX --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
