bump product version to 4.1.6.2
[LibreOffice.git] / chart2 / source / model / inc / PolarCoordinateSystem.hxx
blobf69d2b5503065c4cf152d1d4fd099d4510dfa82b
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 #ifndef _CHART_POLARCOORDINATESYSTEM_HXX
20 #define _CHART_POLARCOORDINATESYSTEM_HXX
22 #include "ServiceMacros.hxx"
23 #include "BaseCoordinateSystem.hxx"
25 namespace chart
28 class PolarCoordinateSystem : public BaseCoordinateSystem
30 public:
31 explicit PolarCoordinateSystem(
32 const ::com::sun::star::uno::Reference<
33 ::com::sun::star::uno::XComponentContext > & xContext,
34 sal_Int32 nDimensionCount = 2,
35 sal_Bool bSwapXAndYAxis = sal_False );
36 explicit PolarCoordinateSystem( const PolarCoordinateSystem & rSource );
37 virtual ~PolarCoordinateSystem();
39 // ____ XCoordinateSystem ____
40 virtual OUString SAL_CALL getCoordinateSystemType()
41 throw (::com::sun::star::uno::RuntimeException);
42 virtual OUString SAL_CALL getViewServiceName()
43 throw (::com::sun::star::uno::RuntimeException);
45 // ____ XCloneable ____
46 virtual ::com::sun::star::uno::Reference<
47 ::com::sun::star::util::XCloneable > SAL_CALL createClone()
48 throw (::com::sun::star::uno::RuntimeException);
50 // ____ XServiceInfo ____
51 APPHELPER_XSERVICEINFO_DECL()
54 class PolarCoordinateSystem2d : public PolarCoordinateSystem
56 public:
57 explicit PolarCoordinateSystem2d(
58 const ::com::sun::star::uno::Reference<
59 ::com::sun::star::uno::XComponentContext > & xContext );
60 virtual ~PolarCoordinateSystem2d();
62 /// establish methods for factory instatiation
63 APPHELPER_SERVICE_FACTORY_HELPER( PolarCoordinateSystem2d )
64 // ____ XServiceInfo ____
65 APPHELPER_XSERVICEINFO_DECL()
68 class PolarCoordinateSystem3d : public PolarCoordinateSystem
70 public:
71 explicit PolarCoordinateSystem3d(
72 const ::com::sun::star::uno::Reference<
73 ::com::sun::star::uno::XComponentContext > & xContext );
74 virtual ~PolarCoordinateSystem3d();
76 /// establish methods for factory instatiation
77 APPHELPER_SERVICE_FACTORY_HELPER( PolarCoordinateSystem3d )
78 // ____ XServiceInfo ____
79 APPHELPER_XSERVICEINFO_DECL()
82 } // namespace chart
84 // _CHART_POLARCOORDINATESYSTEM_HXX
85 #endif
87 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */