diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-01-29 12:48:54 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-01-29 12:48:54 +0000 |
commit | 4450ff85181ab4e7394448d6dfe404c346bf7a6c (patch) | |
tree | 4e8d1c04b8aedf75e7f5d54878e8d3a1e1621e91 /reportdesign/source/ui/inc/UITools.hxx | |
parent | e58b07014301482b6a61bd9ec86d21c92794c76f (diff) |
INTEGRATION: CWS reportdesign02 (1.2.44); FILE MERGED
2007/10/30 06:56:28 oj 1.2.44.1: #i78939# change pos and size when control is outside page
Diffstat (limited to 'reportdesign/source/ui/inc/UITools.hxx')
-rw-r--r-- | reportdesign/source/ui/inc/UITools.hxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/reportdesign/source/ui/inc/UITools.hxx b/reportdesign/source/ui/inc/UITools.hxx index 56b3e0ffd..5896507a0 100644 --- a/reportdesign/source/ui/inc/UITools.hxx +++ b/reportdesign/source/ui/inc/UITools.hxx @@ -6,9 +6,9 @@ * * $RCSfile: UITools.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2007-07-09 11:56:30 $ + * last change: $Author: rt $ $Date: 2008-01-29 13:48:54 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -43,7 +43,7 @@ #include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/container/XIndexAccess.hpp> #include <com/sun/star/sdbc/XRowSet.hpp> - +#include "ReportSection.hxx" #include <rtl/ref.hxx> #include <vcl/taskpanelist.hxx> #include <comphelper/stl_types.hxx> @@ -152,6 +152,14 @@ namespace rptui */ ::com::sun::star::uno::Sequence< ::rtl::OUString > getParameterNames( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet >& _rxRowSet ); + + /** ensures that no control overlaps the given one. + * + * \param pControl the control which should place in the section without overlapping + * \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); } #endif //RPTUI_UITOOLS_HXX |