Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_RENDERING_XTEXTLAYOUT_HPP
2 : #define INCLUDED_COM_SUN_STAR_RENDERING_XTEXTLAYOUT_HPP
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/rendering/XTextLayout.hdl"
7 :
8 : #include "com/sun/star/geometry/RealPoint2D.hpp"
9 : #include "com/sun/star/geometry/RealRectangle2D.hpp"
10 : #include "com/sun/star/lang/IllegalArgumentException.hpp"
11 : #include "com/sun/star/lang/IndexOutOfBoundsException.hpp"
12 : #include "com/sun/star/rendering/Caret.hpp"
13 : #include "com/sun/star/rendering/StringContext.hpp"
14 : #include "com/sun/star/rendering/TextHit.hpp"
15 : #include "com/sun/star/rendering/XCanvasFont.hpp"
16 : #include "com/sun/star/rendering/XPolyPolygon2D.hpp"
17 : #include "com/sun/star/rendering/XTextLayout.hpp"
18 : #include "com/sun/star/uno/RuntimeException.hpp"
19 : #include "com/sun/star/uno/XInterface.hpp"
20 : #include "com/sun/star/uno/Reference.hxx"
21 : #include "com/sun/star/uno/Sequence.hxx"
22 : #include "com/sun/star/uno/Type.hxx"
23 : #include "cppu/unotype.hxx"
24 : #include "osl/mutex.hxx"
25 : #include "rtl/instance.hxx"
26 : #include "sal/types.h"
27 :
28 : namespace com { namespace sun { namespace star { namespace rendering {
29 :
30 0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rendering::XTextLayout const *) {
31 : static typelib_TypeDescriptionReference * the_type = 0;
32 0 : if ( !the_type )
33 : {
34 0 : typelib_static_type_init( &the_type, typelib_TypeClass_INTERFACE, "com.sun.star.rendering.XTextLayout" );
35 : }
36 0 : return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
37 : }
38 :
39 : } } } }
40 :
41 0 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::uno::Reference< css::rendering::XTextLayout > const *) SAL_THROW(()) {
42 0 : return ::cppu::UnoType< ::com::sun::star::uno::Reference< css::rendering::XTextLayout > >::get();
43 : }
44 :
45 0 : ::com::sun::star::uno::Type const & css::rendering::XTextLayout::static_type(SAL_UNUSED_PARAMETER void *) {
46 0 : return ::getCppuType(static_cast< ::com::sun::star::uno::Reference< css::rendering::XTextLayout > * >(0));
47 : }
48 :
49 : #endif // INCLUDED_COM_SUN_STAR_RENDERING_XTEXTLAYOUT_HPP
|