1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
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/.
12 #include <ChartType.hxx>
16 class HistogramChartType
: public ChartType
19 explicit HistogramChartType();
20 virtual ~HistogramChartType() override
;
22 virtual OUString SAL_CALL
getImplementationName() override
;
23 virtual sal_Bool SAL_CALL
supportsService(const OUString
& ServiceName
) override
;
24 virtual css::uno::Sequence
<OUString
> SAL_CALL
getSupportedServiceNames() override
;
26 virtual rtl::Reference
<ChartType
> cloneChartType() const override
;
28 void createCalculatedDataSeries() override
;
31 explicit HistogramChartType(const HistogramChartType
& rOther
);
33 // ____ XChartType ____
34 rtl::Reference
<::chart::BaseCoordinateSystem
>
35 createCoordinateSystem2(sal_Int32 DimensionCount
) override
;
36 OUString SAL_CALL
getChartType() override
;
37 css::uno::Sequence
<OUString
> SAL_CALL
getSupportedPropertyRoles() override
;
39 // ____ OPropertySet ____
40 void GetDefaultValue(sal_Int32 nHandle
, css::uno::Any
& rAny
) const override
;
41 ::cppu::IPropertyArrayHelper
& SAL_CALL
getInfoHelper() override
;
43 // ____ XPropertySet ____
44 css::uno::Reference
<css::beans::XPropertySetInfo
> SAL_CALL
getPropertySetInfo() override
;
46 // ____ XCloneable ____
47 css::uno::Reference
<css::util::XCloneable
> SAL_CALL
createClone() override
;
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */