Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_FONTINFO_HDL
2 : : #define INCLUDED_COM_SUN_STAR_RENDERING_FONTINFO_HDL
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/util/TriState.hdl"
7 : : #include "com/sun/star/rendering/Panose.hdl"
8 : : #include "cppu/macros.hxx"
9 : : #include "rtl/ustring.hxx"
10 : : #include "sal/types.h"
11 : :
12 : : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
13 : :
14 : : namespace com { namespace sun { namespace star { namespace rendering {
15 : :
16 : : #ifdef SAL_W32
17 : : # pragma pack(push, 8)
18 : : #endif
19 : :
20 : 0 : struct FontInfo {
21 : : inline FontInfo() SAL_THROW(());
22 : :
23 : : inline FontInfo(const ::com::sun::star::rendering::Panose& FontDescription_, const ::rtl::OUString& FamilyName_, const ::rtl::OUString& StyleName_, const ::sal_Int32& UnicodeRanges0_, const ::sal_Int32& UnicodeRanges1_, const ::sal_Int32& UnicodeRanges2_, const ::sal_Int32& UnicodeRanges3_, const ::com::sun::star::util::TriState& IsSymbolFont_, const ::com::sun::star::util::TriState& IsVertical_) SAL_THROW(());
24 : :
25 : : ::com::sun::star::rendering::Panose FontDescription;
26 : : ::rtl::OUString FamilyName;
27 : : ::rtl::OUString StyleName;
28 : : ::sal_Int32 UnicodeRanges0;
29 : : ::sal_Int32 UnicodeRanges1;
30 : : ::sal_Int32 UnicodeRanges2;
31 : : ::sal_Int32 UnicodeRanges3;
32 : : ::com::sun::star::util::TriState IsSymbolFont;
33 : : ::com::sun::star::util::TriState IsVertical;
34 : : };
35 : :
36 : : #ifdef SAL_W32
37 : : # pragma pack(pop)
38 : : #endif
39 : :
40 : :
41 : : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::rendering::FontInfo const *);
42 : : } } } }
43 : :
44 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::rendering::FontInfo *) SAL_THROW(());
45 : :
46 : : #endif
|