summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-01-10 11:20:03 +0000
committerOliver Bolte <obo@openoffice.org>2008-01-10 11:20:03 +0000
commit1f45bdf99183506ec9d618aa89b3d184772a7f95 (patch)
treeea1e6d33c6b168b3eda739b319594917fefe5b6c /toolkit
parent9743b393dc7cf13a43773919660b970563f9f234 (diff)
INTEGRATION: CWS xmlfilter02 (1.4.218); FILE MERGED
2007/04/11 09:14:44 tbe 1.4.218.2: #i74754# API: get supported script types from font 2007/03/28 08:21:59 tbe 1.4.218.1: #i74754# API: get supported script types from font
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/inc/toolkit/awt/vclxfont.hxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/toolkit/inc/toolkit/awt/vclxfont.hxx b/toolkit/inc/toolkit/awt/vclxfont.hxx
index 0b09b3a1f6b7..20774cda968b 100644
--- a/toolkit/inc/toolkit/awt/vclxfont.hxx
+++ b/toolkit/inc/toolkit/awt/vclxfont.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: vclxfont.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 12:44:01 $
+ * last change: $Author: obo $ $Date: 2008-01-10 12:20:03 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -40,8 +40,8 @@
#include <toolkit/dllapi.h>
#endif
-#ifndef _COM_SUN_STAR_AWT_XFONT_HPP_
-#include <com/sun/star/awt/XFont.hpp>
+#ifndef _COM_SUN_STAR_AWT_XFONT2_HPP_
+#include <com/sun/star/awt/XFont2.hpp>
#endif
#ifndef _COM_SUN_STAR_AWT_XDEVICE_HPP_
#include <com/sun/star/awt/XDevice.hpp>
@@ -69,7 +69,7 @@
// class VCLXFont
// ----------------------------------------------------
-class TOOLKIT_DLLPUBLIC VCLXFont : public ::com::sun::star::awt::XFont,
+class TOOLKIT_DLLPUBLIC VCLXFont : public ::com::sun::star::awt::XFont2,
public ::com::sun::star::lang::XTypeProvider,
public ::com::sun::star::lang::XUnoTunnel,
public ::cppu::OWeakObject
@@ -113,6 +113,9 @@ public:
sal_Int32 SAL_CALL getStringWidth( const ::rtl::OUString& str ) throw(::com::sun::star::uno::RuntimeException);
sal_Int32 SAL_CALL getStringWidthArray( const ::rtl::OUString& str, ::com::sun::star::uno::Sequence< sal_Int32 >& rDXArray ) throw(::com::sun::star::uno::RuntimeException);
void SAL_CALL getKernPairs( ::com::sun::star::uno::Sequence< sal_Unicode >& rnChars1, ::com::sun::star::uno::Sequence< sal_Unicode >& rnChars2, ::com::sun::star::uno::Sequence< sal_Int16 >& rnKerns ) throw(::com::sun::star::uno::RuntimeException);
+
+ // ::com::sun::star::lang::XFont2
+ sal_Bool SAL_CALL hasGlyphs( const ::rtl::OUString& aText ) throw(::com::sun::star::uno::RuntimeException);
};