LCOV - code coverage report
Current view: top level - rendering - FontInfo.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 7 0.0 %
Date: 2013-07-09 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_FONTINFO_HPP
       2             : #define INCLUDED_COM_SUN_STAR_RENDERING_FONTINFO_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/rendering/FontInfo.hdl"
       7             : 
       8             : #include "com/sun/star/rendering/Panose.hpp"
       9             : #include "com/sun/star/util/TriState.hpp"
      10             : #include "com/sun/star/uno/Type.hxx"
      11             : #include "cppu/unotype.hxx"
      12             : #include "rtl/ustring.hxx"
      13             : #include "sal/types.h"
      14             : #include "typelib/typeclass.h"
      15             : #include "typelib/typedescription.h"
      16             : 
      17             : namespace com { namespace sun { namespace star { namespace rendering {
      18             : 
      19           0 : inline FontInfo::FontInfo() SAL_THROW(())
      20             :     : FontDescription()
      21             :     , FamilyName()
      22             :     , StyleName()
      23             :     , UnicodeRanges0(0)
      24             :     , UnicodeRanges1(0)
      25             :     , UnicodeRanges2(0)
      26             :     , UnicodeRanges3(0)
      27             :     , IsSymbolFont(css::util::TriState_NO)
      28           0 :     , IsVertical(css::util::TriState_NO)
      29             : {
      30           0 : }
      31             : 
      32             : inline FontInfo::FontInfo(const css::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 css::util::TriState& IsSymbolFont_, const css::util::TriState& IsVertical_) SAL_THROW(())
      33             :     : FontDescription(FontDescription_)
      34             :     , FamilyName(FamilyName_)
      35             :     , StyleName(StyleName_)
      36             :     , UnicodeRanges0(UnicodeRanges0_)
      37             :     , UnicodeRanges1(UnicodeRanges1_)
      38             :     , UnicodeRanges2(UnicodeRanges2_)
      39             :     , UnicodeRanges3(UnicodeRanges3_)
      40             :     , IsSymbolFont(IsSymbolFont_)
      41             :     , IsVertical(IsVertical_)
      42             : {
      43             : }
      44             : 
      45             : } } } }
      46             : 
      47             : namespace com { namespace sun { namespace star { namespace rendering {
      48             : 
      49           0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rendering::FontInfo const *) {
      50             :     //TODO: On certain platforms with weak memory models, the following code can result in some threads observing that the_type points to garbage
      51             :     static ::typelib_TypeDescriptionReference * the_type = 0;
      52           0 :     if (the_type == 0) {
      53           0 :         ::typelib_static_type_init(&the_type, typelib_TypeClass_STRUCT, "com.sun.star.rendering.FontInfo");
      54             :     }
      55           0 :     return *reinterpret_cast< ::com::sun::star::uno::Type * >(&the_type);
      56             : }
      57             : 
      58             : } } } }
      59             : 
      60             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::rendering::FontInfo const *) SAL_THROW(()) {
      61             :     return ::cppu::UnoType< css::rendering::FontInfo >::get();
      62             : }
      63             : 
      64             : #endif // INCLUDED_COM_SUN_STAR_RENDERING_FONTINFO_HPP

Generated by: LCOV version 1.10