Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_FONTREQUEST_HDL
2 : : #define INCLUDED_COM_SUN_STAR_RENDERING_FONTREQUEST_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/lang/Locale.hdl"
7 : : #include "com/sun/star/rendering/FontInfo.hdl"
8 : : #include "cppu/macros.hxx"
9 : :
10 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
11 : :
12 : : namespace com { namespace sun { namespace star { namespace rendering {
13 : :
14 : : #ifdef SAL_W32
15 : : # pragma pack(push, 8)
16 : : #endif
17 : :
18 : 0 : struct FontRequest {
19 : : inline FontRequest() SAL_THROW(());
20 : :
21 : : inline FontRequest(const ::com::sun::star::rendering::FontInfo& FontDescription_, const double& CellSize_, const double& ReferenceAdvancement_, const ::com::sun::star::lang::Locale& Locale_) SAL_THROW(());
22 : :
23 : : ::com::sun::star::rendering::FontInfo FontDescription;
24 : : double CellSize;
25 : : double ReferenceAdvancement;
26 : : ::com::sun::star::lang::Locale Locale;
27 : : };
28 : :
29 : : #ifdef SAL_W32
30 : : # pragma pack(pop)
31 : : #endif
32 : :
33 : :
34 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::rendering::FontRequest const *);
35 : : } } } }
36 : :
37 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::rendering::FontRequest *) SAL_THROW(());
38 : :
39 : : #endif
|