LCOV - code coverage report
Current view: top level - reportdesign/inc - ReportDefinition.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 13 0.0 %
Date: 2012-08-25 Functions: 0 8 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 100 0.0 %

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /*************************************************************************
       3                 :            :  *
       4                 :            :  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       5                 :            :  *
       6                 :            :  * Copyright 2000, 2010 Oracle and/or its affiliates.
       7                 :            :  *
       8                 :            :  * OpenOffice.org - a multi-platform office productivity suite
       9                 :            :  *
      10                 :            :  * This file is part of OpenOffice.org.
      11                 :            :  *
      12                 :            :  * OpenOffice.org is free software: you can redistribute it and/or modify
      13                 :            :  * it under the terms of the GNU Lesser General Public License version 3
      14                 :            :  * only, as published by the Free Software Foundation.
      15                 :            :  *
      16                 :            :  * OpenOffice.org is distributed in the hope that it will be useful,
      17                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      18                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      19                 :            :  * GNU Lesser General Public License version 3 for more details
      20                 :            :  * (a copy is included in the LICENSE file that accompanied this code).
      21                 :            :  *
      22                 :            :  * You should have received a copy of the GNU Lesser General Public License
      23                 :            :  * version 3 along with OpenOffice.org.  If not, see
      24                 :            :  * <http://www.openoffice.org/license.html>
      25                 :            :  * for a copy of the LGPLv3 License.
      26                 :            :  *
      27                 :            :  ************************************************************************/
      28                 :            : 
      29                 :            : #ifndef REPORTDESIGN_API_REPORTDEFINITION_HXX
      30                 :            : #define REPORTDESIGN_API_REPORTDEFINITION_HXX
      31                 :            : 
      32                 :            : #include "dllapi.h"
      33                 :            : 
      34                 :            : #include "ReportHelperDefines.hxx"
      35                 :            : 
      36                 :            : #include <com/sun/star/datatransfer/XTransferable.hpp>
      37                 :            : #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
      38                 :            : #include <com/sun/star/document/XUndoManagerSupplier.hpp>
      39                 :            : #include <com/sun/star/frame/XModule.hpp>
      40                 :            : #include <com/sun/star/frame/XTitle.hpp>
      41                 :            : #include <com/sun/star/frame/XTitleChangeBroadcaster.hpp>
      42                 :            : #include <com/sun/star/frame/XUntitledNumbers.hpp>
      43                 :            : #include <com/sun/star/lang/XServiceInfo.hpp>
      44                 :            : #include <com/sun/star/lang/XTypeProvider.hpp>
      45                 :            : #include <com/sun/star/lang/XUnoTunnel.hpp>
      46                 :            : #include <com/sun/star/report/XReportDefinition.hpp>
      47                 :            : #include <com/sun/star/util/XNumberFormatsSupplier.hpp>
      48                 :            : 
      49                 :            : #include <comphelper/embeddedobjectcontainer.hxx>
      50                 :            : #include <comphelper/uno3.hxx>
      51                 :            : #include <cppuhelper/basemutex.hxx>
      52                 :            : #include <cppuhelper/propertysetmixin.hxx>
      53                 :            : #include <svx/unomod.hxx>
      54                 :            : 
      55                 :            : #ifndef INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_13
      56                 :            : #define INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_13
      57                 :            : #define COMPHELPER_IMPLBASE_INTERFACE_NUMBER 13
      58                 :            : #include <comphelper/implbase_var.hxx>
      59                 :            : #endif
      60                 :            : 
      61                 :            : #include <boost/shared_ptr.hpp>
      62                 :            : 
      63                 :            : 
      64                 :            : namespace rptui
      65                 :            : {
      66                 :            :     class OReportModel;
      67                 :            : }
      68                 :            : namespace comphelper
      69                 :            : {
      70                 :            :     class MediaDescriptor;
      71                 :            : }
      72                 :            : namespace reportdesign
      73                 :            : {
      74                 :            :     class OReportComponentProperties;
      75                 :            :     typedef ::comphelper::PartialWeakComponentImplHelper13 <   ::com::sun::star::report::XReportDefinition
      76                 :            :                                                     ,   ::com::sun::star::document::XEventBroadcaster
      77                 :            :                                                     ,   ::com::sun::star::lang::XServiceInfo
      78                 :            :                                                     ,   ::com::sun::star::frame::XModule
      79                 :            :                                                     ,   ::com::sun::star::lang::XUnoTunnel
      80                 :            :                                                     ,   ::com::sun::star::util::XNumberFormatsSupplier
      81                 :            :                                                     ,   ::com::sun::star::frame::XTitle
      82                 :            :                                                     ,   ::com::sun::star::frame::XTitleChangeBroadcaster
      83                 :            :                                                     ,   ::com::sun::star::frame::XUntitledNumbers
      84                 :            :                                                     ,   ::com::sun::star::document::XDocumentPropertiesSupplier
      85                 :            :                                                     ,   ::com::sun::star::datatransfer::XTransferable
      86                 :            :                                                     ,   ::com::sun::star::document::XUndoManagerSupplier
      87                 :            :                                                     ,   SvxUnoDrawMSFactory
      88                 :            :                                                     >   ReportDefinitionBase;
      89                 :            : 
      90                 :            :     typedef ::cppu::PropertySetMixin< ::com::sun::star::report::XReportDefinition > ReportDefinitionPropertySet;
      91                 :            : 
      92                 :            :     struct OReportDefinitionImpl;
      93                 :            :     /** \class OReportDefinition Defines the implementation of a \interface com:::sun::star::report::XReportDefinition
      94                 :            :      * \ingroup reportdesign_api
      95                 :            :      *
      96                 :            :      */
      97                 :            :     class REPORTDESIGN_DLLPUBLIC OReportDefinition  :public ::cppu::BaseMutex
      98                 :            :                                                     ,public ReportDefinitionBase
      99                 :            :                                                     ,public ReportDefinitionPropertySet
     100                 :            :                                                     ,public ::comphelper::IEmbeddedHelper
     101                 :            :     {
     102                 :            :     private:
     103                 :            :         ::boost::shared_ptr<OReportComponentProperties>                             m_aProps;
     104                 :            :         ::boost::shared_ptr<OReportDefinitionImpl>                                  m_pImpl;
     105                 :            : 
     106                 :            :     private:
     107                 :            :         OReportDefinition(const OReportDefinition&);
     108                 :            :         OReportDefinition& operator=(const OReportDefinition&);
     109                 :            : 
     110                 :            :         void setSection(     const ::rtl::OUString& _sProperty
     111                 :            :                             ,const sal_Bool& _bOn
     112                 :            :                             ,const ::rtl::OUString& _sName
     113                 :            :                             ,::com::sun::star::uno::Reference< ::com::sun::star::report::XSection>& _member);
     114                 :            : 
     115                 :          0 :         template <typename T> void set(  const ::rtl::OUString& _sProperty
     116                 :            :                                         ,const T& _Value
     117                 :            :                                         ,T& _member)
     118                 :            :         {
     119 [ #  # ][ #  # ]:          0 :             BoundListeners l;
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
     120                 :            :             {
     121 [ #  # ][ #  # ]:          0 :                 ::osl::MutexGuard aGuard(m_aMutex);
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
     122 [ #  # ][ #  # ]:          0 :                 prepareSet(_sProperty, ::com::sun::star::uno::makeAny(_member), ::com::sun::star::uno::makeAny(_Value), &l);
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
     123   [ #  #  #  # ]:          0 :                 _member = _Value;
           [ #  #  #  #  
          #  #  #  #  #  
              # ][ #  # ]
     124                 :            :             }
     125 [ #  # ][ #  # ]:          0 :             l.notify();
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
         [ #  # ][ #  # ]
     126                 :          0 :         }
     127                 :            : 
     128                 :            :         /// write a single XML stream into the package
     129                 :            :         sal_Bool WriteThroughComponent(
     130                 :            :             /// the component we export
     131                 :            :             const ::com::sun::star::uno::Reference<
     132                 :            :                 ::com::sun::star::lang::XComponent> & xComponent,
     133                 :            :             const sal_Char* pStreamName,        /// the stream name
     134                 :            :             const sal_Char* pServiceName,       /// service name of the component
     135                 :            :             /// the argument (XInitialization)
     136                 :            :             const ::com::sun::star::uno::Sequence<
     137                 :            :                 ::com::sun::star::uno::Any> & rArguments,
     138                 :            :             /// output descriptor
     139                 :            :             const ::com::sun::star::uno::Sequence<
     140                 :            :                 ::com::sun::star::beans::PropertyValue> & rMediaDesc,
     141                 :            :             sal_Bool bPlainStream
     142                 :            :             , const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& _xStorageToSaveTo);          /// neither compress nor encrypt
     143                 :            : 
     144                 :            :         /// write a single output stream
     145                 :            :         /// (to be called either directly or by WriteThroughComponent(...))
     146                 :            :         sal_Bool WriteThroughComponent(
     147                 :            :             const ::com::sun::star::uno::Reference<
     148                 :            :                 ::com::sun::star::io::XOutputStream> & xOutputStream,
     149                 :            :             const ::com::sun::star::uno::Reference<
     150                 :            :                 ::com::sun::star::lang::XComponent> & xComponent,
     151                 :            :             const sal_Char* pServiceName,
     152                 :            :             const ::com::sun::star::uno::Sequence<
     153                 :            :                 ::com::sun::star::uno::Any> & rArguments,
     154                 :            :             const ::com::sun::star::uno::Sequence<
     155                 :            :                 ::com::sun::star::beans::PropertyValue> & rMediaDesc);
     156                 :            : 
     157                 :            :         void notifyEvent(const ::rtl::OUString& _sEventName);
     158                 :            :         void init();
     159                 :            :         void fillArgs(::comphelper::MediaDescriptor& _aDescriptor);
     160                 :            : 
     161                 :            :         ::com::sun::star::uno::Reference< ::com::sun::star::frame::XTitle >             impl_getTitleHelper_throw();
     162                 :            :         ::com::sun::star::uno::Reference< ::com::sun::star::frame::XUntitledNumbers >   impl_getUntitledHelper_throw();
     163                 :            : 
     164                 :            :         /** loads the report definition from the given storage
     165                 :            :             @precond
     166                 :            :                 our mutex is locked
     167                 :            :             @throws
     168                 :            :         */
     169                 :            :         void impl_loadFromStorage_nolck_throw(
     170                 :            :             const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& _rxStorage,
     171                 :            :             const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _rArguments
     172                 :            :         );
     173                 :            : 
     174                 :            :     protected:
     175                 :            :         virtual ~OReportDefinition();
     176                 :            : 
     177                 :            :         /** this function is called upon disposing the component
     178                 :            :         */
     179                 :            :         virtual void SAL_CALL disposing();
     180                 :            :     public:
     181                 :            :         explicit OReportDefinition(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & _xContext);
     182                 :            :         explicit OReportDefinition(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & _xContext
     183                 :            :                                   ,const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & _xFactory
     184                 :            :                                   ,::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >& _xShape);
     185                 :            : 
     186                 :            :         static ::com::sun::star::uno::Sequence< ::rtl::OUString > getSupportedServiceNames_Static(void) throw( ::com::sun::star::uno::RuntimeException );
     187                 :            :         static ::rtl::OUString getImplementationName_Static(void) throw( ::com::sun::star::uno::RuntimeException );
     188                 :            :         static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL
     189                 :            :             create(::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext);
     190                 :            : 
     191                 :            :         ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > getContext();
     192                 :            : 
     193                 :            :         /** return the SdrModel of the real model
     194                 :            :         *
     195                 :            :         * \return
     196                 :            :         */
     197                 :            :         ::boost::shared_ptr<rptui::OReportModel> getSdrModel() const;
     198                 :            : 
     199                 :            :         static ::boost::shared_ptr<rptui::OReportModel> getSdrModel(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XReportDefinition >& _xReportDefinition);
     200                 :            :     private:
     201                 :            :         DECLARE_XINTERFACE( )
     202                 :            :         DECLARE_XTYPEPROVIDER( )
     203                 :            :         // ::com::sun::star::lang::XServiceInfo
     204                 :            :         virtual ::sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException);
     205                 :            :         virtual ::rtl::OUString SAL_CALL getImplementationName(  ) throw(::com::sun::star::uno::RuntimeException);
     206                 :            :         virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames(  ) throw(::com::sun::star::uno::RuntimeException);
     207                 :            : 
     208                 :            :         // com::sun::star::beans::XPropertySet
     209                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo(  ) throw(::com::sun::star::uno::RuntimeException);
     210                 :            :         virtual void SAL_CALL setPropertyValue( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Any& aValue ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
     211                 :            :         virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue( const ::rtl::OUString& PropertyName ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
     212                 :            :         virtual void SAL_CALL addPropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& xListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
     213                 :            :         virtual void SAL_CALL removePropertyChangeListener( const ::rtl::OUString& aPropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
     214                 :            :         virtual void SAL_CALL addVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
     215                 :            :         virtual void SAL_CALL removeVetoableChangeListener( const ::rtl::OUString& PropertyName, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& aListener ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
     216                 :            : 
     217                 :            :         // XReportDefinition
     218                 :            :         virtual ::rtl::OUString SAL_CALL getMimeType() throw (::com::sun::star::uno::RuntimeException);
     219                 :            :         virtual void SAL_CALL setMimeType( const ::rtl::OUString& _mimetype ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
     220                 :            :         virtual ::rtl::OUString SAL_CALL getCaption() throw (::com::sun::star::uno::RuntimeException);
     221                 :            :         virtual void SAL_CALL setCaption( const ::rtl::OUString& _caption ) throw (::com::sun::star::uno::RuntimeException);
     222                 :            :         virtual ::sal_Int16 SAL_CALL getGroupKeepTogether() throw (::com::sun::star::uno::RuntimeException);
     223                 :            :         virtual void SAL_CALL setGroupKeepTogether( ::sal_Int16 _groupkeeptogether ) throw (::com::sun::star::uno::RuntimeException);
     224                 :            :         virtual ::sal_Int16 SAL_CALL getPageHeaderOption() throw (::com::sun::star::uno::RuntimeException);
     225                 :            :         virtual void SAL_CALL setPageHeaderOption( ::sal_Int16 _pageheaderoption ) throw (::com::sun::star::uno::RuntimeException);
     226                 :            :         virtual ::sal_Int16 SAL_CALL getPageFooterOption() throw (::com::sun::star::uno::RuntimeException);
     227                 :            :         virtual void SAL_CALL setPageFooterOption( ::sal_Int16 _pagefooteroption ) throw (::com::sun::star::uno::RuntimeException);
     228                 :            :         virtual ::rtl::OUString SAL_CALL getCommand() throw (::com::sun::star::uno::RuntimeException);
     229                 :            :         virtual void SAL_CALL setCommand( const ::rtl::OUString& _command ) throw (::com::sun::star::uno::RuntimeException);
     230                 :            :         virtual ::sal_Int32 SAL_CALL getCommandType() throw (::com::sun::star::uno::RuntimeException);
     231                 :            :         virtual void SAL_CALL setCommandType( ::sal_Int32 _commandtype ) throw (::com::sun::star::uno::RuntimeException);
     232                 :            :         virtual ::rtl::OUString SAL_CALL getFilter() throw (::com::sun::star::uno::RuntimeException);
     233                 :            :         virtual void SAL_CALL setFilter( const ::rtl::OUString& _filter ) throw (::com::sun::star::uno::RuntimeException);
     234                 :            :         virtual ::sal_Bool SAL_CALL getEscapeProcessing() throw (::com::sun::star::uno::RuntimeException);
     235                 :            :         virtual void SAL_CALL setEscapeProcessing( ::sal_Bool _escapeprocessing ) throw (::com::sun::star::uno::RuntimeException);
     236                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getActiveConnection() throw (::com::sun::star::uno::RuntimeException);
     237                 :            :         virtual void SAL_CALL setActiveConnection( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _activeconnection ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
     238                 :            :         virtual ::rtl::OUString SAL_CALL getDataSourceName() throw (::com::sun::star::uno::RuntimeException);
     239                 :            :         virtual void SAL_CALL setDataSourceName( const ::rtl::OUString& _datasourcename ) throw (::com::sun::star::uno::RuntimeException);
     240                 :            :         virtual ::sal_Bool SAL_CALL getReportHeaderOn() throw (::com::sun::star::uno::RuntimeException);
     241                 :            :         virtual void SAL_CALL setReportHeaderOn( ::sal_Bool _reportheaderon ) throw (::com::sun::star::uno::RuntimeException);
     242                 :            :         virtual ::sal_Bool SAL_CALL getReportFooterOn() throw (::com::sun::star::uno::RuntimeException);
     243                 :            :         virtual void SAL_CALL setReportFooterOn( ::sal_Bool _reportfooteron ) throw (::com::sun::star::uno::RuntimeException);
     244                 :            :         virtual ::sal_Bool SAL_CALL getPageHeaderOn() throw (::com::sun::star::uno::RuntimeException);
     245                 :            :         virtual void SAL_CALL setPageHeaderOn( ::sal_Bool _pageheaderon ) throw (::com::sun::star::uno::RuntimeException);
     246                 :            :         virtual ::sal_Bool SAL_CALL getPageFooterOn() throw (::com::sun::star::uno::RuntimeException);
     247                 :            :         virtual void SAL_CALL setPageFooterOn( ::sal_Bool _pagefooteron ) throw (::com::sun::star::uno::RuntimeException);
     248                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XGroups > SAL_CALL getGroups() throw (::com::sun::star::uno::RuntimeException);
     249                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > SAL_CALL getReportHeader() throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException);
     250                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > SAL_CALL getPageHeader() throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException);
     251                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > SAL_CALL getDetail() throw (::com::sun::star::uno::RuntimeException);
     252                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > SAL_CALL getPageFooter() throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException);
     253                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XSection > SAL_CALL getReportFooter() throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException);
     254                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::document::XEventBroadcaster > SAL_CALL getEventBroadcaster(  ) throw (::com::sun::star::lang::DisposedException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
     255                 :            :         virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getAvailableMimeTypes(  ) throw (::com::sun::star::lang::DisposedException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
     256                 :            : 
     257                 :            :         // XReportComponent
     258                 :            :         REPORTCOMPONENT_HEADER()
     259                 :            : 
     260                 :            :         // XShape
     261                 :            :         SHAPE_HEADER()
     262                 :            : 
     263                 :            :         // XShapeDescriptor
     264                 :            :         virtual ::rtl::OUString SAL_CALL getShapeType(  ) throw (::com::sun::star::uno::RuntimeException);
     265                 :            : 
     266                 :            :         //XFunctionsSupplier
     267                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::report::XFunctions > SAL_CALL getFunctions() throw (::com::sun::star::uno::RuntimeException);
     268                 :            : 
     269                 :            :         // XCloneable
     270                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloneable > SAL_CALL createClone(  ) throw (::com::sun::star::uno::RuntimeException);
     271                 :            : 
     272                 :            :         // XComponent
     273                 :            :         virtual void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException);
     274                 :          0 :         virtual void SAL_CALL addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener) throw(::com::sun::star::uno::RuntimeException)
     275                 :            :         {
     276                 :          0 :             cppu::WeakComponentImplHelperBase::addEventListener(aListener);
     277                 :          0 :         }
     278                 :          0 :         virtual void SAL_CALL removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener) throw(::com::sun::star::uno::RuntimeException)
     279                 :            :         {
     280                 :          0 :             cppu::WeakComponentImplHelperBase::removeEventListener(aListener);
     281                 :          0 :         }
     282                 :            : 
     283                 :            :         // XChild
     284                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getParent(  ) throw (::com::sun::star::uno::RuntimeException);
     285                 :            :         virtual void SAL_CALL setParent( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Parent ) throw (::com::sun::star::lang::NoSupportException, ::com::sun::star::uno::RuntimeException);
     286                 :            : 
     287                 :            :         // XCloseBroadcaster
     288                 :            :         virtual void SAL_CALL addCloseListener( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseListener >& Listener ) throw (::com::sun::star::uno::RuntimeException);
     289                 :            :         virtual void SAL_CALL removeCloseListener( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseListener >& Listener ) throw (::com::sun::star::uno::RuntimeException);
     290                 :            : 
     291                 :            :         // XCloseable
     292                 :            :         virtual void SAL_CALL close( ::sal_Bool DeliverOwnership ) throw (::com::sun::star::util::CloseVetoException, ::com::sun::star::uno::RuntimeException);
     293                 :            : 
     294                 :            :         // XModel
     295                 :            :         virtual ::sal_Bool SAL_CALL attachResource( const ::rtl::OUString& URL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Arguments ) throw (::com::sun::star::uno::RuntimeException);
     296                 :            :         virtual ::rtl::OUString SAL_CALL getURL(  ) throw (::com::sun::star::uno::RuntimeException);
     297                 :            :         virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getArgs(  ) throw (::com::sun::star::uno::RuntimeException);
     298                 :            :         virtual void SAL_CALL connectController( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController >& Controller ) throw (::com::sun::star::uno::RuntimeException);
     299                 :            :         virtual void SAL_CALL disconnectController( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController >& Controller ) throw (::com::sun::star::uno::RuntimeException);
     300                 :            :         virtual void SAL_CALL lockControllers(  ) throw (::com::sun::star::uno::RuntimeException);
     301                 :            :         virtual void SAL_CALL unlockControllers(  ) throw (::com::sun::star::uno::RuntimeException);
     302                 :            :         virtual ::sal_Bool SAL_CALL hasControllersLocked(  ) throw (::com::sun::star::uno::RuntimeException);
     303                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > SAL_CALL getCurrentController(  ) throw (::com::sun::star::uno::RuntimeException);
     304                 :            :         virtual void SAL_CALL setCurrentController( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController >& Controller ) throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException);
     305                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getCurrentSelection(  ) throw (::com::sun::star::uno::RuntimeException);
     306                 :            : 
     307                 :            :         // XStorageBasedDocument
     308                 :            :         virtual void SAL_CALL loadFromStorage( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aMediaDescriptor ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::frame::DoubleInitializationException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
     309                 :            :         virtual void SAL_CALL storeToStorage( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aMediaDescriptor ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
     310                 :            :         virtual void SAL_CALL switchToStorage( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
     311                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > SAL_CALL getDocumentStorage(  ) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
     312                 :            :         virtual void SAL_CALL addStorageChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::document::XStorageChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
     313                 :            :         virtual void SAL_CALL removeStorageChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::document::XStorageChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
     314                 :            : 
     315                 :            :         // XViewDataSupplier
     316                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > SAL_CALL getViewData(  ) throw (::com::sun::star::uno::RuntimeException);
     317                 :            :         virtual void SAL_CALL setViewData( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >& Data ) throw (::com::sun::star::uno::RuntimeException);
     318                 :            : 
     319                 :            :         // XLoadable
     320                 :            :         virtual void SAL_CALL initNew(  ) throw (::com::sun::star::frame::DoubleInitializationException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
     321                 :            :         virtual void SAL_CALL load( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lArguments ) throw (::com::sun::star::frame::DoubleInitializationException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
     322                 :            : 
     323                 :            :         // XVisualObject
     324                 :            :         virtual void SAL_CALL setVisualAreaSize( ::sal_Int64 nAspect, const ::com::sun::star::awt::Size& aSize ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::embed::WrongStateException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
     325                 :            :         virtual ::com::sun::star::awt::Size SAL_CALL getVisualAreaSize( ::sal_Int64 nAspect ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::embed::WrongStateException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
     326                 :            :         virtual ::com::sun::star::embed::VisualRepresentation SAL_CALL getPreferredVisualRepresentation( ::sal_Int64 nAspect ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::embed::WrongStateException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
     327                 :            :         virtual ::sal_Int32 SAL_CALL getMapUnit( ::sal_Int64 nAspect ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
     328                 :            : 
     329                 :            :         // XModifiable2
     330                 :            :         virtual ::sal_Bool SAL_CALL disableSetModified(  ) throw (::com::sun::star::uno::RuntimeException);
     331                 :            :         virtual ::sal_Bool SAL_CALL enableSetModified(  ) throw (::com::sun::star::uno::RuntimeException);
     332                 :            :         virtual ::sal_Bool SAL_CALL isSetModifiedEnabled(  ) throw (::com::sun::star::uno::RuntimeException);
     333                 :            : 
     334                 :            :         // XModifiable
     335                 :            :         virtual ::sal_Bool SAL_CALL isModified(  ) throw (::com::sun::star::uno::RuntimeException);
     336                 :            :         virtual void SAL_CALL setModified( ::sal_Bool bModified ) throw (::com::sun::star::beans::PropertyVetoException, ::com::sun::star::uno::RuntimeException);
     337                 :            : 
     338                 :            :         // XModifyBroadcaster
     339                 :            :         virtual void SAL_CALL addModifyListener( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyListener >& aListener ) throw (::com::sun::star::uno::RuntimeException);
     340                 :            :         virtual void SAL_CALL removeModifyListener( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyListener >& aListener ) throw (::com::sun::star::uno::RuntimeException);
     341                 :            : 
     342                 :            :         // document::XEventBroadcaster
     343                 :            :         virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::document::XEventListener >& aListener ) throw (::com::sun::star::uno::RuntimeException);
     344                 :            :         virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::document::XEventListener >& aListener ) throw (::com::sun::star::uno::RuntimeException);
     345                 :            : 
     346                 :            :         // document::XEventListener
     347                 :            :         virtual void SAL_CALL notifyEvent( const ::com::sun::star::document::EventObject& aEvent ) throw (::com::sun::star::uno::RuntimeException);
     348                 :            : 
     349                 :            :         // XUIConfigurationManagerSupplier
     350                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::ui::XUIConfigurationManager > SAL_CALL getUIConfigurationManager(  ) throw (::com::sun::star::uno::RuntimeException);
     351                 :            : 
     352                 :            :         // XDocumentSubStorageSupplier
     353                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > SAL_CALL getDocumentSubStorage( const ::rtl::OUString& aStorageName, sal_Int32 nMode ) throw (::com::sun::star::uno::RuntimeException);
     354                 :            :         virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getDocumentSubStoragesNames(  ) throw (::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
     355                 :            : 
     356                 :            :         // com::sun::star::lang::XUnoTunnel
     357                 :            :         virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
     358                 :            :         static ::com::sun::star::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId();
     359                 :            : 
     360                 :            :         // SvxUnoDrawMSFactory
     361                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstance( const ::rtl::OUString& aServiceSpecifier ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
     362                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceWithArguments( const ::rtl::OUString& ServiceSpecifier, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Arguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
     363                 :            :         ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getAvailableServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
     364                 :            : 
     365                 :            :         // XStyleFamiliesSupplier
     366                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getStyleFamilies(  ) throw (::com::sun::star::uno::RuntimeException);
     367                 :            : 
     368                 :            :         // XModule
     369                 :            :         virtual void SAL_CALL setIdentifier( const ::rtl::OUString& Identifier ) throw (::com::sun::star::uno::RuntimeException);
     370                 :            :         virtual ::rtl::OUString SAL_CALL getIdentifier(  ) throw (::com::sun::star::uno::RuntimeException);
     371                 :            : 
     372                 :            :         // XNumberFormatsSupplier
     373                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > SAL_CALL getNumberFormatSettings(  ) throw (::com::sun::star::uno::RuntimeException);
     374                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormats > SAL_CALL getNumberFormats(  ) throw (::com::sun::star::uno::RuntimeException);
     375                 :            : 
     376                 :            :         // XTitle
     377                 :            :         virtual ::rtl::OUString SAL_CALL getTitle(  ) throw (::com::sun::star::uno::RuntimeException);
     378                 :            :         virtual void SAL_CALL setTitle( const ::rtl::OUString& sTitle ) throw (::com::sun::star::uno::RuntimeException);
     379                 :            : 
     380                 :            :         // XTitleChangeBroadcaster
     381                 :            :         virtual void SAL_CALL addTitleChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XTitleChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
     382                 :            :         virtual void SAL_CALL removeTitleChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XTitleChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
     383                 :            : 
     384                 :            :         // XUntitledNumbers
     385                 :            :         virtual ::sal_Int32 SAL_CALL leaseNumber( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xComponent ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
     386                 :            :         virtual void SAL_CALL releaseNumber( ::sal_Int32 nNumber ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
     387                 :            :         virtual void SAL_CALL releaseNumberForComponent( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xComponent ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
     388                 :            :         virtual ::rtl::OUString SAL_CALL getUntitledPrefix(  ) throw (::com::sun::star::uno::RuntimeException);
     389                 :            : 
     390                 :            :         // XDocumentPropertiesSupplier
     391                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::document::XDocumentProperties > SAL_CALL getDocumentProperties(  ) throw (::com::sun::star::uno::RuntimeException);
     392                 :            : 
     393                 :            :         // XTransferable
     394                 :            :         virtual ::com::sun::star::uno::Any SAL_CALL getTransferData( const ::com::sun::star::datatransfer::DataFlavor& aFlavor ) throw (::com::sun::star::datatransfer::UnsupportedFlavorException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException);
     395                 :            :         virtual ::com::sun::star::uno::Sequence< ::com::sun::star::datatransfer::DataFlavor > SAL_CALL getTransferDataFlavors(  ) throw (::com::sun::star::uno::RuntimeException);
     396                 :            :         virtual ::sal_Bool SAL_CALL isDataFlavorSupported( const ::com::sun::star::datatransfer::DataFlavor& aFlavor ) throw (::com::sun::star::uno::RuntimeException);
     397                 :            : 
     398                 :            :         // XUndoManagerSupplier
     399                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::document::XUndoManager > SAL_CALL getUndoManager(  ) throw (::com::sun::star::uno::RuntimeException);
     400                 :            : 
     401                 :            :         // comphelper::IEmbeddedHelper
     402                 :            :         virtual com::sun::star::uno::Reference < com::sun::star::embed::XStorage > getStorage() const;
     403                 :            :         virtual ::comphelper::EmbeddedObjectContainer& getEmbeddedObjectContainer() const;
     404                 :            :         virtual ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionHandler > getInteractionHandler() const;
     405                 :            :         virtual bool isEnableSetModified() const;
     406                 :            : 
     407                 :            :         ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > getContext() const;
     408                 :            :       };
     409                 :            : // =============================================================================
     410                 :            : } // namespace reportdesign
     411                 :            : // =============================================================================
     412                 :            : #endif // REPORTDESIGN_API_REPORTDEFINITION_HXX
     413                 :            : 
     414                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10