LCOV - code coverage report
Current view: top level - libreoffice/reportdesign/inc - ReportDefinition.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 13 0.0 %
Date: 2012-12-27 Functions: 0 8 0.0 %
Legend: Lines: hit not hit

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

Generated by: LCOV version 1.10