Update git submodules
[LibreOffice.git] / chart2 / source / model / inc / CartesianCoordinateSystem.hxx
blobd84f53bf571996e5fe085542771717e7220bd17d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
19 #pragma once
21 #include <BaseCoordinateSystem.hxx>
23 namespace chart
25 class CartesianCoordinateSystem : public BaseCoordinateSystem
27 public:
28 explicit CartesianCoordinateSystem(sal_Int32 nDimensionCount);
29 explicit CartesianCoordinateSystem(const CartesianCoordinateSystem& rSource);
30 virtual ~CartesianCoordinateSystem() override;
32 // ____ XCoordinateSystem ____
33 virtual OUString SAL_CALL getCoordinateSystemType() override;
34 virtual OUString SAL_CALL getViewServiceName() override;
36 // ____ XCloneable ____
37 virtual css::uno::Reference<css::util::XCloneable> SAL_CALL createClone() override;
39 // ____ XServiceInfo ____
40 virtual OUString SAL_CALL getImplementationName() override;
41 virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
42 virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
45 class CartesianCoordinateSystem2d final : public CartesianCoordinateSystem
47 public:
48 explicit CartesianCoordinateSystem2d();
49 virtual ~CartesianCoordinateSystem2d() override;
51 // ____ XServiceInfo ____
52 virtual OUString SAL_CALL getImplementationName() override;
53 virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
54 virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
57 class CartesianCoordinateSystem3d final : public CartesianCoordinateSystem
59 public:
60 explicit CartesianCoordinateSystem3d();
61 virtual ~CartesianCoordinateSystem3d() override;
63 // ____ XServiceInfo ____
64 virtual OUString SAL_CALL getImplementationName() override;
65 virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
66 virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
69 } // namespace chart
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */