LibreOffice Module chart2 (master) 1
LineChartType.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
26class LineChartType final : public ChartType
27{
28public:
29 explicit LineChartType();
30 virtual ~LineChartType() override;
31
32 virtual OUString SAL_CALL
33 getImplementationName() override;
34 virtual sal_Bool SAL_CALL
35 supportsService( const OUString& ServiceName ) override;
36 virtual css::uno::Sequence< OUString > SAL_CALL
37 getSupportedServiceNames() override;
38
39 virtual rtl::Reference<ChartType> cloneChartType() const override;
40
41private:
42 explicit LineChartType( const LineChartType & rOther );
43
44 // ____ XChartType ____
45 virtual OUString SAL_CALL getChartType() override;
46
47 // ____ OPropertySet ____
48 virtual void GetDefaultValue( sal_Int32 nHandle, css::uno::Any& rAny ) const override;
49 virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper() override;
50
51 // ____ XPropertySet ____
52 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
53 getPropertySetInfo() override;
54
55 // ____ XCloneable ____
56 virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override;
57};
58
59} // namespace chart
60
61/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() 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 sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual OUString SAL_CALL getImplementationName() override
virtual OUString SAL_CALL getChartType() override
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override
virtual ~LineChartType() override
virtual rtl::Reference< ChartType > cloneChartType() const 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.
sal_Int32 nHandle
unsigned char sal_Bool