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

Generated by: LCOV version 1.10