LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/oovbaapi/ooo/vba/word - XSelection.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_OOO_VBA_WORD_XSELECTION_HDL
       2             : #define INCLUDED_OOO_VBA_WORD_XSELECTION_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/uno/RuntimeException.hdl"
       7             : namespace ooo { namespace vba { namespace word { class XFont; } } }
       8             : namespace ooo { namespace vba { namespace word { class XFind; } } }
       9             : namespace ooo { namespace vba { namespace word { class XParagraphFormat; } } }
      10             : namespace ooo { namespace vba { namespace word { class XRange; } } }
      11             : namespace ooo { namespace vba { namespace word { class XHeaderFooter; } } }
      12             : #include "ooo/vba/XHelperInterface.hdl"
      13             : #include "com/sun/star/uno/Any.h"
      14             : #include "com/sun/star/uno/Reference.h"
      15             : #include "cppu/macros.hxx"
      16             : #include "rtl/ustring.hxx"
      17             : #include "sal/types.h"
      18             : 
      19             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      20             : 
      21             : namespace ooo { namespace vba { namespace word {
      22             : 
      23           0 : class SAL_NO_VTABLE XSelection : public ::ooo::vba::XHelperInterface
      24             : {
      25             : public:
      26             : 
      27             :     // Attributes
      28             :     virtual ::rtl::OUString SAL_CALL getText() = 0;
      29             :     virtual void SAL_CALL setText( const ::rtl::OUString& _text ) = 0;
      30             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::word::XRange > SAL_CALL getRange() = 0;
      31             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::word::XParagraphFormat > SAL_CALL getParagraphFormat() = 0;
      32             :     virtual void SAL_CALL setParagraphFormat( const ::com::sun::star::uno::Reference< ::ooo::vba::word::XParagraphFormat >& _paragraphformat ) = 0;
      33             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::word::XFind > SAL_CALL getFind() = 0;
      34             :     virtual ::com::sun::star::uno::Any SAL_CALL getStyle() = 0;
      35             :     virtual void SAL_CALL setStyle( const ::com::sun::star::uno::Any& _style ) = 0;
      36             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::word::XFont > SAL_CALL getFont() = 0;
      37             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::word::XHeaderFooter > SAL_CALL getHeaderFooter() = 0;
      38             :     virtual ::sal_Int32 SAL_CALL getLanguageID() = 0;
      39             :     virtual void SAL_CALL setLanguageID( ::sal_Int32 _languageid ) = 0;
      40             :     virtual ::sal_Int32 SAL_CALL getStart() = 0;
      41             :     virtual void SAL_CALL setStart( ::sal_Int32 _start ) = 0;
      42             :     virtual ::sal_Int32 SAL_CALL getEnd() = 0;
      43             :     virtual void SAL_CALL setEnd( ::sal_Int32 _end ) = 0;
      44             : 
      45             :     // Methods
      46             :     virtual ::com::sun::star::uno::Any SAL_CALL Tables( const ::com::sun::star::uno::Any& Index ) = 0;
      47             :     virtual ::com::sun::star::uno::Any SAL_CALL Fields( const ::com::sun::star::uno::Any& Index ) = 0;
      48             :     virtual void SAL_CALL TypeText( const ::rtl::OUString& Text ) = 0;
      49             :     virtual void SAL_CALL HomeKey( const ::com::sun::star::uno::Any& Unit, const ::com::sun::star::uno::Any& Extend ) = 0;
      50             :     virtual void SAL_CALL EndKey( const ::com::sun::star::uno::Any& Unit, const ::com::sun::star::uno::Any& Extend ) = 0;
      51             :     virtual void SAL_CALL Delete( const ::com::sun::star::uno::Any& Unit, const ::com::sun::star::uno::Any& Count ) = 0;
      52             :     virtual void SAL_CALL MoveRight( const ::com::sun::star::uno::Any& Unit, const ::com::sun::star::uno::Any& Count, const ::com::sun::star::uno::Any& Extend ) = 0;
      53             :     virtual void SAL_CALL MoveLeft( const ::com::sun::star::uno::Any& Unit, const ::com::sun::star::uno::Any& Count, const ::com::sun::star::uno::Any& Extend ) = 0;
      54             :     virtual void SAL_CALL MoveDown( const ::com::sun::star::uno::Any& Unit, const ::com::sun::star::uno::Any& Count, const ::com::sun::star::uno::Any& Extend ) = 0;
      55             :     virtual void SAL_CALL MoveUp( const ::com::sun::star::uno::Any& Unit, const ::com::sun::star::uno::Any& Count, const ::com::sun::star::uno::Any& Extend ) = 0;
      56             :     virtual void SAL_CALL TypeParagraph() = 0;
      57             :     virtual void SAL_CALL InsertParagraph() = 0;
      58             :     virtual void SAL_CALL InsertParagraphBefore() = 0;
      59             :     virtual void SAL_CALL InsertParagraphAfter() = 0;
      60             :     virtual void SAL_CALL TypeBackspace() = 0;
      61             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::word::XRange > SAL_CALL GoTo( const ::com::sun::star::uno::Any& What, const ::com::sun::star::uno::Any& Which, const ::com::sun::star::uno::Any& Count, const ::com::sun::star::uno::Any& Name ) = 0;
      62             :     virtual ::com::sun::star::uno::Any SAL_CALL Information( ::sal_Int32 Type ) = 0;
      63             :     virtual void SAL_CALL InsertBreak( const ::com::sun::star::uno::Any& Type ) = 0;
      64             :     virtual ::com::sun::star::uno::Any SAL_CALL ShapeRange() = 0;
      65             :     virtual void SAL_CALL SelectColumn() = 0;
      66             :     virtual void SAL_CALL SelectRow() = 0;
      67             :     virtual ::com::sun::star::uno::Any SAL_CALL Rows( const ::com::sun::star::uno::Any& aIndex ) = 0;
      68             :     virtual ::com::sun::star::uno::Any SAL_CALL Columns( const ::com::sun::star::uno::Any& aIndex ) = 0;
      69             :     virtual ::com::sun::star::uno::Any SAL_CALL Cells( const ::com::sun::star::uno::Any& aIndex ) = 0;
      70             :     virtual void SAL_CALL Copy() = 0;
      71             :     virtual void SAL_CALL CopyAsPicture() = 0;
      72             :     virtual void SAL_CALL Paste() = 0;
      73             :     virtual void SAL_CALL Collapse( const ::com::sun::star::uno::Any& Direction ) = 0;
      74             :     virtual void SAL_CALL WholeStory() = 0;
      75             :     virtual ::sal_Bool SAL_CALL InRange( const ::com::sun::star::uno::Reference< ::ooo::vba::word::XRange >& Range ) = 0;
      76             :     virtual void SAL_CALL SplitTable() = 0;
      77             :     virtual ::com::sun::star::uno::Any SAL_CALL Paragraphs( const ::com::sun::star::uno::Any& aIndex ) = 0;
      78             : 
      79             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      80             : 
      81             : protected:
      82           0 :     ~XSelection() throw () {} // avoid warnings about virtual members and non-virtual dtor
      83             : };
      84             : 
      85             : 
      86             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::word::XSelection const *);
      87             : } } }
      88             : 
      89             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::word::XSelection > *) SAL_THROW(());
      90             : 
      91             : #endif

Generated by: LCOV version 1.10