LibreOffice Module chart2 (master) 1
CandleStickChartType.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
26// see <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100797> "[10/11/12 Regression] using
27// declaration causing virtual call with wrongly adjusted this pointer" before restoring 'final'
28class CandleStickChartType /* final */ : public ChartType
29{
30public:
31 explicit CandleStickChartType();
32 virtual ~CandleStickChartType() override;
33
34 virtual OUString SAL_CALL
35 getImplementationName() override;
36 virtual sal_Bool SAL_CALL
37 supportsService( const OUString& ServiceName ) override;
38 virtual css::uno::Sequence< OUString > SAL_CALL
39 getSupportedServiceNames() override;
40
41 virtual rtl::Reference<ChartType> cloneChartType() const override;
42
43private:
44 explicit CandleStickChartType( const CandleStickChartType & rOther );
45
46 // ____ XChartType ____
47 virtual OUString SAL_CALL getChartType() override;
48 virtual css::uno::Sequence< OUString > SAL_CALL
50 virtual css::uno::Sequence< OUString > SAL_CALL
52 virtual OUString SAL_CALL getRoleOfSequenceForSeriesLabel() override;
53
54 // ____ OPropertySet ____
55 virtual void GetDefaultValue( sal_Int32 nHandle, css::uno::Any& rAny ) const override;
56
57 // ____ OPropertySet ____
58 virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() override;
59
60 // ____ OPropertySet ____
61 virtual void SAL_CALL setFastPropertyValue_NoBroadcast
62 ( sal_Int32 nHandle,
63 const css::uno::Any& rValue ) override;
64
65 // ____ XPropertySet ____
66 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
67 getPropertySetInfo() 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 ~CandleStickChartType() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper() override
The InfoHelper table contains all property names and types of this object.
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, const css::uno::Any &rValue) override
The same as setFastPropertyValue; nHandle is always valid.
virtual OUString SAL_CALL getChartType() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedMandatoryRoles() override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
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 css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedOptionalRoles() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual rtl::Reference< ChartType > cloneChartType() const override
virtual OUString SAL_CALL getRoleOfSequenceForSeriesLabel() override
sal_Int32 nHandle
unsigned char sal_Bool