LibreOffice Module chart2 (master) 1
PieChartType.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19#pragma once
20
21#include <ChartType.hxx>
22
23namespace chart
24{
25
26class PieChartType final: public ChartType
27{
28public:
29 explicit PieChartType();
30 virtual ~PieChartType() override;
31
32 virtual OUString SAL_CALL
33 getImplementationName() override;
34 virtual sal_Bool SAL_CALL
35 supportsService( const OUString& ServiceName ) override;
36 virtual css::uno::Sequence< OUString > SAL_CALL
37 getSupportedServiceNames() override;
38
39 virtual rtl::Reference<ChartType> cloneChartType() const override;
40
41private:
42 explicit PieChartType( const PieChartType & rOther );
43
44 // ____ XChartType ____
45 virtual OUString SAL_CALL getChartType() override;
46 virtual css::uno::Sequence< OUString > SAL_CALL
48
49 // ____ OPropertySet ____
50 virtual void GetDefaultValue( sal_Int32 nHandle, css::uno::Any& rAny ) const override;
51
52 // ____ OPropertySet ____
53 virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() override;
54
55 // ____ XPropertySet ____
56 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
57 getPropertySetInfo() override;
58
59 // ____ XCloneable ____
60 virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override;
61
63 createCoordinateSystem2( sal_Int32 DimensionCount ) override;
64};
65
66} // namespace chart
67
68/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual rtl::Reference< ChartType > cloneChartType() const override
virtual void GetDefaultValue(sal_Int32 nHandle, css::uno::Any &rAny) const override
implement this method to provide default values for all properties supporting defaults.
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
The InfoHelper table contains all property names and types of this object.
virtual ~PieChartType() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedPropertyRoles() override
virtual rtl::Reference< ::chart::BaseCoordinateSystem > createCoordinateSystem2(sal_Int32 DimensionCount) override
virtual OUString SAL_CALL getChartType() override
virtual OUString SAL_CALL getImplementationName() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
sal_Int32 nHandle
unsigned char sal_Bool