LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/oovbaapi/ooo/vba/word - XDocument.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_XDOCUMENT_HDL
       2             : #define INCLUDED_OOO_VBA_WORD_XDOCUMENT_HDL
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/script/XInvocation.hdl"
       7             : #include "com/sun/star/uno/RuntimeException.hdl"
       8             : namespace ooo { namespace vba { namespace word { class XRange; } } }
       9             : #include "com/sun/star/uno/Any.h"
      10             : #include "com/sun/star/uno/Reference.h"
      11             : #include "cppu/macros.hxx"
      12             : #include "sal/types.h"
      13             : 
      14             : namespace com { namespace sun { namespace star { namespace uno { class Type; } } } }
      15             : 
      16             : namespace ooo { namespace vba { namespace word {
      17             : 
      18           0 : class SAL_NO_VTABLE XDocument : public css::script::XInvocation
      19             : {
      20             : public:
      21             : 
      22             :     // Attributes
      23             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::word::XRange > SAL_CALL getContent() = 0;
      24             :     virtual ::com::sun::star::uno::Any SAL_CALL getAttachedTemplate() = 0;
      25             :     virtual void SAL_CALL setAttachedTemplate( const ::com::sun::star::uno::Any& _attachedtemplate ) = 0;
      26             :     virtual ::sal_Int32 SAL_CALL getProtectionType() = 0;
      27             :     virtual void SAL_CALL setProtectionType( ::sal_Int32 _protectiontype ) = 0;
      28             :     virtual ::sal_Bool SAL_CALL getUpdateStylesOnOpen() = 0;
      29             :     virtual void SAL_CALL setUpdateStylesOnOpen( ::sal_Bool _updatestylesonopen ) = 0;
      30             :     virtual ::sal_Bool SAL_CALL getAutoHyphenation() = 0;
      31             :     virtual void SAL_CALL setAutoHyphenation( ::sal_Bool _autohyphenation ) = 0;
      32             :     virtual ::sal_Int32 SAL_CALL getHyphenationZone() = 0;
      33             :     virtual void SAL_CALL setHyphenationZone( ::sal_Int32 _hyphenationzone ) = 0;
      34             :     virtual ::sal_Int32 SAL_CALL getConsecutiveHyphensLimit() = 0;
      35             :     virtual void SAL_CALL setConsecutiveHyphensLimit( ::sal_Int32 _consecutivehyphenslimit ) = 0;
      36             : 
      37             :     // Methods
      38             :     virtual ::com::sun::star::uno::Reference< ::ooo::vba::word::XRange > SAL_CALL Range( const ::com::sun::star::uno::Any& Start, const ::com::sun::star::uno::Any& End ) = 0;
      39             :     virtual ::com::sun::star::uno::Any SAL_CALL BuiltInDocumentProperties( const ::com::sun::star::uno::Any& Index ) = 0;
      40             :     virtual ::com::sun::star::uno::Any SAL_CALL CustomDocumentProperties( const ::com::sun::star::uno::Any& Index ) = 0;
      41             :     virtual ::com::sun::star::uno::Any SAL_CALL Bookmarks( const ::com::sun::star::uno::Any& Index ) = 0;
      42             :     virtual ::com::sun::star::uno::Any SAL_CALL Variables( const ::com::sun::star::uno::Any& Index ) = 0;
      43             :     virtual ::com::sun::star::uno::Any SAL_CALL Paragraphs( const ::com::sun::star::uno::Any& Index ) = 0;
      44             :     virtual ::com::sun::star::uno::Any SAL_CALL Styles( const ::com::sun::star::uno::Any& Index ) = 0;
      45             :     virtual ::com::sun::star::uno::Any SAL_CALL Tables( const ::com::sun::star::uno::Any& Index ) = 0;
      46             :     virtual ::com::sun::star::uno::Any SAL_CALL Fields( const ::com::sun::star::uno::Any& Index ) = 0;
      47             :     virtual ::com::sun::star::uno::Any SAL_CALL Shapes( const ::com::sun::star::uno::Any& Index ) = 0;
      48             :     virtual ::com::sun::star::uno::Any SAL_CALL Sections( const ::com::sun::star::uno::Any& Index ) = 0;
      49             :     virtual void SAL_CALL Activate() = 0;
      50             :     virtual ::com::sun::star::uno::Any SAL_CALL PageSetup() = 0;
      51             :     virtual ::com::sun::star::uno::Any SAL_CALL TablesOfContents( const ::com::sun::star::uno::Any& Index ) = 0;
      52             :     virtual ::com::sun::star::uno::Any SAL_CALL FormFields( const ::com::sun::star::uno::Any& Index ) = 0;
      53             :     virtual void SAL_CALL Protect( ::sal_Int32 Type, const ::com::sun::star::uno::Any& NOReset, const ::com::sun::star::uno::Any& Password, const ::com::sun::star::uno::Any& UseIRM, const ::com::sun::star::uno::Any& EnforceStyleLock ) = 0;
      54             :     virtual void SAL_CALL PrintOut( const ::com::sun::star::uno::Any& Background, const ::com::sun::star::uno::Any& Append, const ::com::sun::star::uno::Any& Range, const ::com::sun::star::uno::Any& OutputFileName, const ::com::sun::star::uno::Any& From, const ::com::sun::star::uno::Any& To, const ::com::sun::star::uno::Any& Item, const ::com::sun::star::uno::Any& Copies, const ::com::sun::star::uno::Any& Pages, const ::com::sun::star::uno::Any& PageType, const ::com::sun::star::uno::Any& PrintToFile, const ::com::sun::star::uno::Any& Collate, const ::com::sun::star::uno::Any& FileName, const ::com::sun::star::uno::Any& ActivePrinterMacGX, const ::com::sun::star::uno::Any& ManualDuplexPrint, const ::com::sun::star::uno::Any& PrintZoomColumn, const ::com::sun::star::uno::Any& PrintZoomRow, const ::com::sun::star::uno::Any& PrintZoomPaperWidth, const ::com::sun::star::uno::Any& PrintZoomPaperHeight ) = 0;
      55             :     virtual void SAL_CALL PrintPreview() = 0;
      56             :     virtual void SAL_CALL ClosePrintPreview() = 0;
      57             :     virtual ::com::sun::star::uno::Any SAL_CALL Revisions( const ::com::sun::star::uno::Any& index ) = 0;
      58             :     virtual ::com::sun::star::uno::Any SAL_CALL Frames( const ::com::sun::star::uno::Any& index ) = 0;
      59             : 
      60             :     static inline ::com::sun::star::uno::Type const & SAL_CALL static_type(void * = 0);
      61             : 
      62             : protected:
      63           0 :     ~XDocument() throw () {} // avoid warnings about virtual members and non-virtual dtor
      64             : };
      65             : 
      66             : 
      67             : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::ooo::vba::word::XDocument const *);
      68             : } } }
      69             : 
      70             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(const ::com::sun::star::uno::Reference< ::ooo::vba::word::XDocument > *) SAL_THROW(());
      71             : 
      72             : #endif

Generated by: LCOV version 1.10