LCOV - code coverage report
Current view: top level - chart2/source/model/template - PieChartType.hxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 1 1 100.0 %
Date: 2014-04-11 Functions: 1 1 100.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_CHART2_SOURCE_MODEL_TEMPLATE_PIECHARTTYPE_HXX
      20             : #define INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_PIECHARTTYPE_HXX
      21             : 
      22             : #include "ChartType.hxx"
      23             : #include "ServiceMacros.hxx"
      24             : 
      25             : namespace chart
      26             : {
      27             : 
      28             : class PieChartType : public ChartType
      29             : {
      30             : public:
      31             :     PieChartType(
      32             :         ::com::sun::star::uno::Reference<
      33             :             ::com::sun::star::uno::XComponentContext > const & xContext,
      34             :         sal_Bool bUseRings = sal_False );
      35             :     virtual ~PieChartType();
      36             : 
      37             :     virtual OUString SAL_CALL
      38             :         getImplementationName()
      39             :             throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      40             :     virtual sal_Bool SAL_CALL
      41             :         supportsService( const OUString& ServiceName )
      42             :             throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      43             :     virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
      44             :         getSupportedServiceNames()
      45             :             throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
      46             :     static OUString getImplementationName_Static();
      47             :     static ::com::sun::star::uno::Sequence< OUString >
      48             :         getSupportedServiceNames_Static();
      49             : 
      50             :     /// establish methods for factory instatiation
      51        5360 :     APPHELPER_SERVICE_FACTORY_HELPER( PieChartType )
      52             : 
      53             : protected:
      54             :     explicit PieChartType( const PieChartType & rOther );
      55             : 
      56             :     // ____ XChartType ____
      57             :     virtual OUString SAL_CALL getChartType()
      58             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      59             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XCoordinateSystem > SAL_CALL
      60             :         createCoordinateSystem( ::sal_Int32 DimensionCount )
      61             :         throw (::com::sun::star::lang::IllegalArgumentException,
      62             :                ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      63             :     virtual com::sun::star::uno::Sequence< OUString > SAL_CALL
      64             :         getSupportedPropertyRoles()
      65             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      66             : 
      67             :     // ____ OPropertySet ____
      68             :     virtual ::com::sun::star::uno::Any GetDefaultValue( sal_Int32 nHandle ) const
      69             :         throw(::com::sun::star::beans::UnknownPropertyException) SAL_OVERRIDE;
      70             : 
      71             :     // ____ OPropertySet ____
      72             :     virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() SAL_OVERRIDE;
      73             : 
      74             :     // ____ XPropertySet ____
      75             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL
      76             :         getPropertySetInfo()
      77             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      78             : 
      79             :     // ____ XCloneable ____
      80             :     virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloneable > SAL_CALL createClone()
      81             :         throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
      82             : };
      83             : 
      84             : } //  namespace chart
      85             : 
      86             : // INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_PIECHARTTYPE_HXX
      87             : #endif
      88             : 
      89             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10