LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/offapi/com/sun/star/rendering - XTextLayout.hdl (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 2 0.0 %
Date: 2012-12-27 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/rendering/StringContext.hdl"
       7             : namespace com { namespace sun { namespace star { namespace rendering { class XCanvasFont; } } } }
       8             : #include "com/sun/star/rendering/Caret.hdl"
       9             : #include "com/sun/star/geometry/RealPoint2D.hdl"
      10             : #include "com/sun/star/lang/IllegalArgumentException.hdl"
      11             : namespace com { namespace sun { namespace star { namespace rendering { class XTextLayout; } } } }
      12             : #include "com/sun/star/rendering/TextHit.hdl"
      13             : #include "com/sun/star/geometry/RealRectangle2D.hdl"
      14             : #include "com/sun/star/uno/XInterface.hdl"
      15             : #include "com/sun/star/lang/IndexOutOfBoundsException.hdl"
      16             : namespace com { namespace sun { namespace star { namespace rendering { class XPolyPolygon2D; } } } }
      17             : #include "com/sun/star/uno/RuntimeException.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() = 0;
      33             :     virtual ::com::sun::star::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL queryInkMeasures() = 0;
      34             :     virtual ::com::sun::star::uno::Sequence< css::geometry::RealRectangle2D > SAL_CALL queryMeasures() = 0;
      35             :     virtual ::com::sun::star::uno::Sequence< double > SAL_CALL queryLogicalAdvancements() = 0;
      36             :     virtual void SAL_CALL applyLogicalAdvancements( const ::com::sun::star::uno::Sequence< double >& aAdvancements ) = 0;
      37             :     virtual css::geometry::RealRectangle2D SAL_CALL queryTextBounds() = 0;
      38             :     virtual double SAL_CALL justify( double nSize ) = 0;
      39             :     virtual double SAL_CALL combinedJustify( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< css::rendering::XTextLayout > >& aNextLayouts, double nSize ) = 0;
      40             :     virtual css::rendering::TextHit SAL_CALL getTextHit( const css::geometry::RealPoint2D& aHitPoint ) = 0;
      41             :     virtual css::rendering::Caret SAL_CALL getCaret( ::sal_Int32 nInsertionIndex, ::sal_Bool bExcludeLigatures ) = 0;
      42             :     virtual ::sal_Int32 SAL_CALL getNextInsertionIndex( ::sal_Int32 nStartIndex, ::sal_Int32 nCaretAdvancement, ::sal_Bool bExcludeLigatures ) = 0;
      43             :     virtual ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL queryVisualHighlighting( ::sal_Int32 nStartIndex, ::sal_Int32 nEndIndex ) = 0;
      44             :     virtual ::com::sun::star::uno::Reference< css::rendering::XPolyPolygon2D > SAL_CALL queryLogicalHighlighting( ::sal_Int32 nStartIndex, ::sal_Int32 nEndIndex ) = 0;
      45             :     virtual double SAL_CALL getBaselineOffset() = 0;
      46             :     virtual ::sal_Int8 SAL_CALL getMainTextDirection() = 0;
      47             :     virtual ::com::sun::star::uno::Reference< css::rendering::XCanvasFont > SAL_CALL getFont() = 0;
      48             :     virtual css::rendering::StringContext SAL_CALL getText() = 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