1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
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>
21 class GL3DBarChartTypeTemplate
:
22 public MutexContainer
, public property::OPropertySet
, public ChartTypeTemplate
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
;
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
;
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
;
58 virtual css::uno::Reference
<css::beans::XPropertySetInfo
> SAL_CALL
60 throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
67 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */