fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / chart2 / source / model / template / GL3DBarChartTypeTemplate.hxx
blobe5fe1b9924eec89f22a8245f6e9f06f279396abe
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/.
8 */
10 #ifndef INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_GL3DBARCHARTTYPETEMPLATE_HXX
11 #define INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_GL3DBARCHARTTYPETEMPLATE_HXX
13 #include <MutexContainer.hxx>
14 #include <ChartTypeTemplate.hxx>
15 #include <OPropertySet.hxx>
17 #include <comphelper/uno3.hxx>
19 namespace chart {
21 class GL3DBarChartTypeTemplate :
22 public MutexContainer, public property::OPropertySet, public ChartTypeTemplate
24 public:
26 DECLARE_XINTERFACE()
28 GL3DBarChartTypeTemplate(
29 const css::uno::Reference<
30 css::uno::XComponentContext>& xContext,
31 const OUString& rServiceName );
33 virtual ~GL3DBarChartTypeTemplate();
35 virtual css::uno::Reference<css::chart2::XChartType> getChartTypeForIndex( sal_Int32 nChartTypeIndex ) SAL_OVERRIDE;
37 // XChartTypeTemplate
39 virtual sal_Bool SAL_CALL matchesTemplate(
40 const css::uno::Reference<css::chart2::XDiagram>& xDiagram,
41 sal_Bool bAdaptProperties )
42 throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
44 virtual css::uno::Reference<css::chart2::XChartType> SAL_CALL
45 getChartTypeForNewSeries( const css::uno::Sequence<css::uno::Reference<css::chart2::XChartType> >& xOldChartTypes )
46 throw (css::uno::RuntimeException, ::std::exception) SAL_OVERRIDE;
48 virtual sal_Bool SAL_CALL supportsCategories()
49 throw (css::uno::RuntimeException, ::std::exception) SAL_OVERRIDE;
51 // OPropertySet
52 virtual css::uno::Any GetDefaultValue( sal_Int32 nHandle ) const
53 throw (css::beans::UnknownPropertyException) SAL_OVERRIDE;
55 virtual cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE;
57 // XPropertySet
58 virtual css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL
59 getPropertySetInfo()
60 throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
65 #endif
67 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */