nss: upgrade to release 3.73
[LibreOffice.git] / chart2 / source / view / axes / VPolarRadiusAxis.hxx
blobd0f7b5867c478e891e41c17d83b0a0a24c50e62a
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 "VPolarAxis.hxx"
22 #include <memory>
24 namespace chart
27 class VCartesianAxis;
29 class VPolarRadiusAxis : public VPolarAxis
31 public:
32 VPolarRadiusAxis( const AxisProperties& rAxisProperties
33 , const css::uno::Reference< css::util::XNumberFormatsSupplier >& xNumberFormatsSupplier
34 , sal_Int32 nDimensionCount );
35 virtual ~VPolarRadiusAxis() override;
37 virtual void initPlotter(
38 const css::uno::Reference< css::drawing::XShapes >& xLogicTarget
39 , const css::uno::Reference< css::drawing::XShapes >& xFinalTarget
40 , const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory
41 , const OUString& rCID
42 ) override;
44 virtual void setTransformationSceneToScreen( const css::drawing::HomogenMatrix& rMatrix ) override;
46 virtual void setScales( const std::vector< ExplicitScaleData >& rScales, bool bSwapXAndYAxis ) override;
48 virtual void setExplicitScaleAndIncrement(
49 const ExplicitScaleData& rScale
50 , const ExplicitIncrementData& rIncrement ) override;
52 virtual void initAxisLabelProperties(
53 const css::awt::Size& rFontReferenceSize
54 , const css::awt::Rectangle& rMaximumSpaceForLabels ) override;
56 virtual sal_Int32 estimateMaximumAutoMainIncrementCount() override;
58 virtual void createMaximumLabels() override;
59 virtual void createLabels() override;
60 virtual void updatePositions() override;
62 virtual void createShapes() override;
64 protected: //methods
65 virtual bool prepareShapeCreation() override;
67 private: //member
68 std::unique_ptr<VCartesianAxis> m_apAxisWithLabels;
71 } //namespace chart
73 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */