#ifndef _COM_SUN_STAR_AWT_FONTDESCRIPTOR_HPP_
#define _COM_SUN_STAR_AWT_FONTDESCRIPTOR_HPP_

#ifndef _COM_SUN_STAR_AWT_FONTDESCRIPTOR_HDL_
#include <com/sun/star/awt/FontDescriptor.hdl>
#endif

#ifndef _OSL_MUTEX_HXX_
#include <osl/mutex.hxx>
#endif

#ifndef _COM_SUN_STAR_UNO_TYPE_HXX_
#include <com/sun/star/uno/Type.hxx>
#endif

#ifndef _COM_SUN_STAR_AWT_FONTSLANT_HPP_
#include <com/sun/star/awt/FontSlant.hpp>
#endif

namespace com
{
namespace sun
{
namespace star
{
namespace awt
{

inline FontDescriptor::FontDescriptor() SAL_THROW( () )
    : Name()
    , Height((sal_Int16)0)
    , Width((sal_Int16)0)
    , StyleName()
    , Family((sal_Int16)0)
    , CharSet((sal_Int16)0)
    , Pitch((sal_Int16)0)
    , CharacterWidth((float)0)
    , Weight((float)0)
    , Slant(::com::sun::star::awt::FontSlant_NONE)
    , Underline((sal_Int16)0)
    , Strikeout((sal_Int16)0)
    , Orientation((float)0)
    , Kerning(sal_False)
    , WordLineMode(sal_False)
    , Type((sal_Int16)0)
{
}

inline FontDescriptor::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 ::com::sun::star::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( () )
    : Name(__Name)
    , Height(__Height)
    , Width(__Width)
    , StyleName(__StyleName)
    , Family(__Family)
    , CharSet(__CharSet)
    , Pitch(__Pitch)
    , CharacterWidth(__CharacterWidth)
    , Weight(__Weight)
    , Slant(__Slant)
    , Underline(__Underline)
    , Strikeout(__Strikeout)
    , Orientation(__Orientation)
    , Kerning(__Kerning)
    , WordLineMode(__WordLineMode)
    , Type(__Type)
{
}

} // awt
} // star
} // sun
} // com

#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))
static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_FontDescriptor = 0;
#endif

inline const ::com::sun::star::uno::Type& SAL_CALL getCppuType( const ::com::sun::star::awt::FontDescriptor* ) SAL_THROW( () )
{
    #if ! ((defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500)) || (defined(__GNUC__) && defined(__APPLE__)))
    static typelib_TypeDescriptionReference * s_pType_com_sun_star_awt_FontDescriptor = 0;
    #endif

    if ( !s_pType_com_sun_star_awt_FontDescriptor )
    {
        typelib_static_type_init( &s_pType_com_sun_star_awt_FontDescriptor, typelib_TypeClass_STRUCT, "com.sun.star.awt.FontDescriptor" );
    }
    return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_com_sun_star_awt_FontDescriptor );
}

#endif // _COM_SUN_STAR_AWT_FONTDESCRIPTOR_HPP_
