fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / chart2 / source / model / template / GL3DBarChartType.hxx
blob3ea07b82da6dbf54dc27f1478aa75ba009ebdc6c
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_GL3DBARCHARTTYPE_HXX
11 #define INCLUDED_CHART2_SOURCE_MODEL_TEMPLATE_GL3DBARCHARTTYPE_HXX
13 #include "ChartType.hxx"
15 namespace chart {
17 /**
18 * Chart type that represents 3 dimensional data content in 3D space using
19 * OpenGL.
21 class GL3DBarChartType : public ChartType
23 public:
24 GL3DBarChartType( const css::uno::Reference<css::uno::XComponentContext>& xContext );
25 virtual ~GL3DBarChartType();
27 virtual com::sun::star::uno::Sequence< OUString > SAL_CALL
28 getSupportedPropertyRoles()
29 throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
30 virtual OUString SAL_CALL
31 getImplementationName()
32 throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
33 virtual sal_Bool SAL_CALL
34 supportsService( const OUString& ServiceName )
35 throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
36 virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
37 getSupportedServiceNames()
38 throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
39 static OUString getImplementationName_Static();
40 static ::com::sun::star::uno::Sequence< OUString >
41 getSupportedServiceNames_Static();
43 static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext)
44 throw(css::uno::Exception)
46 return (::cppu::OWeakObject *)new GL3DBarChartType( xContext );
49 protected:
50 GL3DBarChartType( const GL3DBarChartType& rOther );
52 virtual OUString SAL_CALL getChartType()
53 throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
55 virtual css::uno::Reference<css::util::XCloneable> SAL_CALL
56 createClone()
57 throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
59 // OPropertySet
60 virtual css::uno::Any GetDefaultValue( sal_Int32 nHandle ) const
61 throw (css::beans::UnknownPropertyException) SAL_OVERRIDE;
63 virtual cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE;
65 // XPropertySet
66 virtual css::uno::Reference<css::beans::XPropertySetInfo> SAL_CALL
67 getPropertySetInfo()
68 throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
73 #endif
75 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */