fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / chart2 / source / model / template / BubbleChartTypeTemplate.hxx
blobc8a9eb378971f4abe1a4237ab278d3b01a76b8f5
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_BUBBLECHARTTYPETEMPLATE_HXX
20 #define INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_BUBBLECHARTTYPETEMPLATE_HXX
22 #include "ChartTypeTemplate.hxx"
23 #include "OPropertySet.hxx"
24 #include "MutexContainer.hxx"
25 #include <comphelper/uno3.hxx>
27 namespace chart
30 class BubbleChartTypeTemplate :
31 public MutexContainer,
32 public ChartTypeTemplate,
33 public ::property::OPropertySet
35 public:
36 explicit BubbleChartTypeTemplate(
37 ::com::sun::star::uno::Reference<
38 ::com::sun::star::uno::XComponentContext > const & xContext,
39 const OUString & rServiceName );
40 virtual ~BubbleChartTypeTemplate();
42 /// merge XInterface implementations
43 DECLARE_XINTERFACE()
44 /// merge XTypeProvider implementations
45 DECLARE_XTYPEPROVIDER()
47 protected:
48 // ____ OPropertySet ____
49 virtual ::com::sun::star::uno::Any GetDefaultValue( sal_Int32 nHandle ) const
50 throw(::com::sun::star::beans::UnknownPropertyException) SAL_OVERRIDE;
51 virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() SAL_OVERRIDE;
53 // ____ XPropertySet ____
54 virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL
55 getPropertySetInfo()
56 throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
58 // ____ XChartTypeTemplate ____
59 virtual sal_Bool SAL_CALL supportsCategories()
60 throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
61 virtual ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartType > SAL_CALL
62 getChartTypeForNewSeries( const ::com::sun::star::uno::Sequence<
63 ::com::sun::star::uno::Reference<
64 ::com::sun::star::chart2::XChartType > >& aFormerlyUsedChartTypes )
65 throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
66 virtual ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataInterpreter > SAL_CALL getDataInterpreter()
67 throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
68 virtual void SAL_CALL applyStyle(
69 const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries >& xSeries,
70 ::sal_Int32 nChartTypeGroupIndex,
71 ::sal_Int32 nSeriesIndex,
72 ::sal_Int32 nSeriesCount )
73 throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
75 // ____ ChartTypeTemplate ____
76 virtual ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartType >
77 getChartTypeForIndex( sal_Int32 nChartTypeIndex ) SAL_OVERRIDE;
78 virtual sal_Int32 getDimension() const SAL_OVERRIDE;
79 virtual StackMode getStackMode( sal_Int32 nChartTypeIndex ) const SAL_OVERRIDE;
82 } // namespace chart
84 // INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_BUBBLECHARTTYPETEMPLATE_HXX
85 #endif
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */