summaryrefslogtreecommitdiff
path: root/toolkit/inc
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-06-25 13:21:07 +0000
committerKurt Zenker <kz@openoffice.org>2008-06-25 13:21:07 +0000
commit9a6453b2f3b3530dcc5a02bbf083455255fd0a64 (patch)
tree4b506e88342562bfe8d8777460b46a158aefabe0 /toolkit/inc
parentf237e5c8af662c46117e3268c20032ef2eb716b7 (diff)
INTEGRATION: CWS rptwizard01 (1.7.88); FILE MERGED
2008/05/21 10:11:54 lla 1.7.88.4: RESYNC: (1.7-1.8); FILE MERGED 2008/03/17 13:31:04 lla 1.7.88.3: #i86925# include for throw clause forgotten 2008/03/17 12:07:26 lla 1.7.88.2: #i86925# wrong throws clause fixed 2008/03/14 13:47:15 lla 1.7.88.1: #i86925# Unit Converter
Diffstat (limited to 'toolkit/inc')
-rw-r--r--toolkit/inc/toolkit/helper/vclunohelper.hxx14
1 files changed, 13 insertions, 1 deletions
diff --git a/toolkit/inc/toolkit/helper/vclunohelper.hxx b/toolkit/inc/toolkit/helper/vclunohelper.hxx
index eca2dac5ff7b..68583f99b447 100644
--- a/toolkit/inc/toolkit/helper/vclunohelper.hxx
+++ b/toolkit/inc/toolkit/helper/vclunohelper.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: vclunohelper.hxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
* This file is part of OpenOffice.org.
*
@@ -35,6 +35,9 @@
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/Sequence.h>
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
+
+
namespace com { namespace sun { namespace star { namespace uno {
class XInterface;
}}}}
@@ -51,6 +54,8 @@ namespace com { namespace sun { namespace star { namespace awt {
class XToolkit;
class XFont;
class XControlContainer;
+ struct Size;
+ struct Point;
struct SimpleFontMetric;
struct FontDescriptor;
struct Rectangle;
@@ -128,6 +133,13 @@ public:
static sal_Int16 ConvertToMeasurementUnit( FieldUnit _nFieldUnit, sal_Int16 _rFieldToUNOValueFactor );
static FieldUnit ConvertToFieldUnit( sal_Int16 _nMeasurementUnit, sal_Int16& _rFieldToUNOValueFactor );
+ static MapUnit /* MapModeUnit */ ConvertToMapModeUnit(sal_Int16 /* com.sun.star.util.MeasureUnit.* */ _nMeasureUnit) throw (::com::sun::star::lang::IllegalArgumentException);
+ static sal_Int16 /* com.sun.star.util.MeasureUnit.* */ ConvertToMeasurementUnit(MapUnit /* MapModeUnit */ _nMapModeUnit) throw (::com::sun::star::lang::IllegalArgumentException);
+ static ::Size /* VCLSize */ ConvertToVCLSize(::com::sun::star::awt::Size const& _aSize);
+ static ::com::sun::star::awt::Size ConvertToAWTSize(::Size /* VCLSize */ const& _aSize);
+ static ::Point /* VCLPoint */ ConvertToVCLPoint(::com::sun::star::awt::Point const& _aPoint);
+ static ::com::sun::star::awt::Point ConvertToAWTPoint(::Point /* VCLPoint */ const& _aPoint);
+
};