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/.
9 * This file incorporates work covered by the following license notice:
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 .
21 #include <ChartType.hxx>
26 class NetChartType_Base
: public ChartType
29 explicit NetChartType_Base();
30 virtual ~NetChartType_Base() override
;
33 explicit NetChartType_Base( const NetChartType_Base
& rOther
);
35 // ____ OPropertySet ____
36 virtual void GetDefaultValue( sal_Int32 nHandle
, css::uno::Any
& rAny
) const override
;
38 virtual ::cppu::IPropertyArrayHelper
& SAL_CALL
getInfoHelper() override
;
40 // ____ XPropertySet ____
41 virtual css::uno::Reference
< css::beans::XPropertySetInfo
> SAL_CALL
42 getPropertySetInfo() override
;
44 virtual rtl::Reference
< ::chart::BaseCoordinateSystem
>
45 createCoordinateSystem2( sal_Int32 DimensionCount
) override
;
48 class NetChartType final
: public NetChartType_Base
51 explicit NetChartType();
52 virtual ~NetChartType() override
;
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
;
61 virtual rtl::Reference
<ChartType
> cloneChartType() const override
;
64 explicit NetChartType( const NetChartType
& rOther
);
66 // ____ XChartType ____
67 virtual OUString SAL_CALL
getChartType() override
;
69 // ____ XCloneable ____
70 virtual css::uno::Reference
< css::util::XCloneable
> SAL_CALL
createClone() override
;
75 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */