LCOV - code coverage report
Current view: top level - rendering - XTextLayout.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 2 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_XTEXTLAYOUT_HDL
       2             : #define INCLUDED_COM_SUN_STAR_RENDERING_XTEXTLAYOUT_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/geometry/RealPoint2D.hdl"
       7             : #include "com/sun/star/geometry/RealRectangle2D.hdl"
       8             : #include "com/sun/star/lang/IllegalArgumentException.hdl"
       9             : #include "com/sun/star/lang/IndexOutOfBoundsException.hdl"
      10             : #include "com/sun/star/rendering/Caret.hdl"
      11             : #include "com/sun/star/rendering/StringContext.hdl"
      12             : #include "com/sun/star/rendering/TextHit.hdl"
      13             : namespace com { namespace sun { namespace star { namespace rendering { class XCanvasFont; } } } }
      14             : namespace com { namespace sun { namespace star { namespace rendering { class XPolyPolygon2D; } } } }
      15             : namespace com { namespace sun { namespace star { namespace rendering { class XTextLayout; } } } }
      16             : #include "com/sun/star/uno/RuntimeException.hdl"
      17             : #include "com/sun/star/uno/XInterface.hdl"
      18             : #include "com/sun/star/uno/Reference.h"
      19             : #include "com/sun/star/uno/Sequence.h"
      20             : #include "cppu/macros.hxx"
      21             : #include "sal/types.h"
      22             : 
      23             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      24             : 
      25             : namespace com { namespace sun { namespace star { namespace rendering {
      26             : 
      27           0 : class SAL_NO_VTABLE XTextLayout : public css::uno::XInterface
      28             : {
      29             : public:
      30             : 
      31             :     // Methods
      32             :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D > > SAL_CALL queryTextShapes() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      33             :     virtual ::com::sun::star::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL queryInkMeasures() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      34             :     virtual ::com::sun::star::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL queryMeasures() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      35             :     virtual ::com::sun::star::uno::Sequence< double > SAL_CALL queryLogicalAdvancements() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      36             :     virtual void SAL_CALL applyLogicalAdvancements( const ::com::sun::star::uno::Sequence< double >& aAdvancements ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      37             :     virtual css::geometry::RealRectangle2D SAL_CALL queryTextBounds() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      38             :     virtual double SAL_CALL justify( double nSize ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      39             :     virtual double SAL_CALL combinedJustify( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::rendering::XTextLayout > >& aNextLayouts, double nSize ) /* throw (css::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) */ = 0;
      40             :     virtual css::rendering::TextHit SAL_CALL getTextHit( const css::geometry::RealPoint2D& aHitPoint ) /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      41             :     virtual css::rendering::Caret SAL_CALL getCaret( ::sal_Int32 nInsertionIndex, ::sal_Bool bExcludeLigatures ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      42             :     virtual ::sal_Int32 SAL_CALL getNextInsertionIndex( ::sal_Int32 nStartIndex, ::sal_Int32 nCaretAdvancement, ::sal_Bool bExcludeLigatures ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      43             :     virtual ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL queryVisualHighlighting( ::sal_Int32 nStartIndex, ::sal_Int32 nEndIndex ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      44             :     virtual ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL queryLogicalHighlighting( ::sal_Int32 nStartIndex, ::sal_Int32 nEndIndex ) /* throw (css::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) */ = 0;
      45             :     virtual double SAL_CALL getBaselineOffset() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      46             :     virtual ::sal_Int8 SAL_CALL getMainTextDirection() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      47             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCanvasFont > SAL_CALL getFont() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      48             :     virtual css::rendering::StringContext SAL_CALL getText() /* throw (::com::sun::star::uno::RuntimeException) */ = 0;
      49             : 
      50             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      51             : 
      52             : protected:
      53           0 :     ~XTextLayout() throw () {} // avoid warnings about virtual members and non-virtual dtor
      54             : };
      55             : 
      56             : 
      57             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::rendering::XTextLayout const *);
      58             : } } } }
      59             : 
      60             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< css::rendering::XTextLayout > *) SAL_THROW(());
      61             : 
      62             : #endif

Generated by: LCOV version 1.10