LibreOffice Module chart2 (master) 1
NetChartType.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
27{
28public:
29 explicit NetChartType_Base();
30 virtual ~NetChartType_Base() override;
31
32protected:
33 explicit NetChartType_Base( const NetChartType_Base & rOther );
34
35 // ____ OPropertySet ____
36 virtual void GetDefaultValue( sal_Int32 nHandle, css::uno::Any& rAny ) const override;
37
38 virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() override;
39
40 // ____ XPropertySet ____
41 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
42 getPropertySetInfo() override;
43
45 createCoordinateSystem2( sal_Int32 DimensionCount ) override;
46};
47
48class NetChartType final : public NetChartType_Base
49{
50public:
51 explicit NetChartType();
52 virtual ~NetChartType() override;
53
54 virtual OUString SAL_CALL
55 getImplementationName() override;
56 virtual sal_Bool SAL_CALL
57 supportsService( const OUString& ServiceName ) override;
58 virtual css::uno::Sequence< OUString > SAL_CALL
59 getSupportedServiceNames() override;
60
61 virtual rtl::Reference<ChartType> cloneChartType() const override;
62
63private:
64 explicit NetChartType( const NetChartType & rOther );
65
66 // ____ XChartType ____
67 virtual OUString SAL_CALL getChartType() override;
68
69 // ____ XCloneable ____
70 virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override;
71};
72
73} // namespace chart
74
75/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
The InfoHelper table contains all property names and types of this object.
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 ~NetChartType_Base() override
virtual rtl::Reference< ::chart::BaseCoordinateSystem > createCoordinateSystem2(sal_Int32 DimensionCount) override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override
virtual ~NetChartType() override
virtual rtl::Reference< ChartType > cloneChartType() const override
virtual OUString SAL_CALL getImplementationName() override
virtual OUString SAL_CALL getChartType() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
sal_Int32 nHandle
unsigned char sal_Bool