LCOV - code coverage report
Current view: top level - svx/inc/svx - fmdpage.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 1 100.0 %
Date: 2012-08-25 Functions: 3 3 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 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                 :            : #ifndef _SVX_FMDPAGE_HXX
      29                 :            : #define _SVX_FMDPAGE_HXX
      30                 :            : 
      31                 :            : #include <com/sun/star/form/XFormsSupplier2.hpp>
      32                 :            : #include <svx/unopage.hxx>
      33                 :            : #include <comphelper/uno3.hxx>
      34                 :            : #include "svx/svxdllapi.h"
      35                 :            : 
      36                 :            : //==================================================================
      37                 :            : // SvxFmDrawPage
      38                 :            : //==================================================================
      39                 :            : class SVX_DLLPUBLIC SvxFmDrawPage   :public SvxDrawPage
      40                 :            :                                     ,public ::com::sun::star::form::XFormsSupplier2
      41                 :            : {
      42                 :            : protected:
      43                 :            : 
      44                 :            :     // Creating a SdrObject based on a Description. Cann be used by derived classes to
      45                 :            :     // support own ::com::sun::star::drawing::Shapes (for example Controls)
      46                 :            :     virtual SdrObject *_CreateSdrObject( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape > & xShape )throw ();
      47                 :            : 
      48                 :            :     // The following method is called when a SvxShape object should be created.
      49                 :            :     // Derived classes can create a derivation or an object aggregating SvxShape.
      50                 :            :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >  _CreateShape( SdrObject *pObj ) const throw ();
      51                 :            : 
      52                 :            : public:
      53                 :            :     SvxFmDrawPage( SdrPage* pPage );
      54                 :            :     virtual ~SvxFmDrawPage() throw ();
      55                 :            : 
      56                 :            :     // UNO connection
      57                 :     573851 :     DECLARE_UNO3_AGG_DEFAULTS(SvxFmDrawPage, SvxDrawPage);
      58                 :            : 
      59                 :            :     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException);
      60                 :            :     virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException);
      61                 :            : 
      62                 :            :     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes(  ) throw(::com::sun::star::uno::RuntimeException);
      63                 :            : 
      64                 :            :     // XFormsSupplier
      65                 :            :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer > SAL_CALL getForms(void) throw( ::com::sun::star::uno::RuntimeException );
      66                 :            : 
      67                 :            :     // XFormsSupplier2
      68                 :            :     virtual sal_Bool SAL_CALL hasForms(void) throw( ::com::sun::star::uno::RuntimeException );
      69                 :            : 
      70                 :            :     // ::com::sun::star::lang::XServiceInfo
      71                 :            :     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames(void) throw( ::com::sun::star::uno::RuntimeException );
      72                 :            : };
      73                 :            : 
      74                 :            : #endif // _SVX_FMDPAGE_HXX
      75                 :            : 
      76                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10