Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_AWT_FONTDESCRIPTOR_HDL
2 : #define INCLUDED_COM_SUN_STAR_AWT_FONTDESCRIPTOR_HDL
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/awt/FontSlant.hdl"
7 : #include "cppu/macros.hxx"
8 : #include "rtl/ustring.hxx"
9 : #include "sal/types.h"
10 :
11 : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
12 :
13 : namespace com { namespace sun { namespace star { namespace awt {
14 :
15 : #ifdef SAL_W32
16 : # pragma pack(push, 8)
17 : #endif
18 :
19 38014 : struct FontDescriptor {
20 : inline FontDescriptor() SAL_THROW(());
21 :
22 : inline FontDescriptor(const ::rtl::OUString& Name_, const ::sal_Int16& Height_, const ::sal_Int16& Width_, const ::rtl::OUString& StyleName_, const ::sal_Int16& Family_, const ::sal_Int16& CharSet_, const ::sal_Int16& Pitch_, const float& CharacterWidth_, const float& Weight_, const css::awt::FontSlant& Slant_, const ::sal_Int16& Underline_, const ::sal_Int16& Strikeout_, const float& Orientation_, const ::sal_Bool& Kerning_, const ::sal_Bool& WordLineMode_, const ::sal_Int16& Type_) SAL_THROW(());
23 :
24 : ::rtl::OUString Name;
25 : ::sal_Int16 Height;
26 : ::sal_Int16 Width;
27 : ::rtl::OUString StyleName;
28 : ::sal_Int16 Family;
29 : ::sal_Int16 CharSet;
30 : ::sal_Int16 Pitch;
31 : float CharacterWidth;
32 : float Weight;
33 : css::awt::FontSlant Slant;
34 : ::sal_Int16 Underline;
35 : ::sal_Int16 Strikeout;
36 : float Orientation;
37 : ::sal_Bool Kerning;
38 : ::sal_Bool WordLineMode;
39 : ::sal_Int16 Type;
40 : };
41 :
42 : #ifdef SAL_W32
43 : # pragma pack(pop)
44 : #endif
45 :
46 :
47 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::awt::FontDescriptor const *);
48 : } } } }
49 :
50 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const css::awt::FontDescriptor *) SAL_THROW(());
51 :
52 : #endif
|