LibreOffice Module chart2 (master) 1
FilledNetChartType.cxx
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
23
24namespace com::sun::star::uno { class XComponentContext; }
25
26using namespace ::com::sun::star;
27using namespace ::com::sun::star::chart2;
28
29using ::com::sun::star::uno::Sequence;
30
31namespace chart
32{
33
35{}
36
38 NetChartType_Base( rOther )
39{
40}
41
43{}
44
45// ____ XCloneable ____
47{
49}
50
52{
53 return new FilledNetChartType( *this );
54}
55
56// ____ XChartType ____
58{
60}
61
63{
64 return "com.sun.star.comp.chart.FilledNetChartType";
65}
66
67sal_Bool SAL_CALL FilledNetChartType::supportsService( const OUString& rServiceName )
68{
69 return cppu::supportsService(this, rServiceName);
70}
71
72css::uno::Sequence< OUString > SAL_CALL FilledNetChartType::getSupportedServiceNames()
73{
74 return {
76 "com.sun.star.chart2.ChartType",
77 "com.sun.star.beans.PropertySet" };
78}
79
80} // namespace chart
81
82extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface *
83com_sun_star_comp_chart_FilledNetChartType_get_implementation(css::uno::XComponentContext * /*context*/,
84 css::uno::Sequence<css::uno::Any> const &)
85{
86 return cppu::acquire(new ::chart::FilledNetChartType);
87}
88
89/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SAL_DLLPUBLIC_EXPORT css::uno::XInterface * com_sun_star_comp_chart_FilledNetChartType_get_implementation(css::uno::XComponentContext *, css::uno::Sequence< css::uno::Any > const &)
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual rtl::Reference< ChartType > cloneChartType() const override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual ~FilledNetChartType() override
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone() override
virtual OUString SAL_CALL getChartType() override
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)
constexpr OUStringLiteral CHART2_SERVICE_NAME_CHARTTYPE_FILLED_NET
unsigned char sal_Bool