summaryrefslogtreecommitdiff
path: root/chart2/source/model/template
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/template')
-rw-r--r--chart2/source/model/template/AreaChartType.cxx7
-rw-r--r--chart2/source/model/template/BarChartType.cxx7
-rw-r--r--chart2/source/model/template/BubbleChartType.cxx7
-rw-r--r--chart2/source/model/template/CandleStickChartType.cxx7
-rw-r--r--chart2/source/model/template/ChartTypeManager.cxx7
-rw-r--r--chart2/source/model/template/ColumnChartType.cxx7
-rw-r--r--chart2/source/model/template/FilledNetChartType.cxx7
-rw-r--r--chart2/source/model/template/GL3DBarChartType.cxx7
-rw-r--r--chart2/source/model/template/LineChartType.cxx7
-rw-r--r--chart2/source/model/template/NetChartType.cxx7
-rw-r--r--chart2/source/model/template/PieChartType.cxx7
-rw-r--r--chart2/source/model/template/ScatterChartType.cxx7
-rw-r--r--chart2/source/model/template/_serviceregistration_charttypes.cxx137
13 files changed, 84 insertions, 137 deletions
diff --git a/chart2/source/model/template/AreaChartType.cxx b/chart2/source/model/template/AreaChartType.cxx
index 8446109ef0f5..e9e057f1e490 100644
--- a/chart2/source/model/template/AreaChartType.cxx
+++ b/chart2/source/model/template/AreaChartType.cxx
@@ -87,4 +87,11 @@ css::uno::Sequence< OUString > SAL_CALL AreaChartType::getSupportedServiceNames(
} // namespace chart
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart_AreaChartType_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::AreaChartType(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/model/template/BarChartType.cxx b/chart2/source/model/template/BarChartType.cxx
index 587fc6310b39..d7423110a126 100644
--- a/chart2/source/model/template/BarChartType.cxx
+++ b/chart2/source/model/template/BarChartType.cxx
@@ -98,4 +98,11 @@ css::uno::Sequence< OUString > SAL_CALL BarChartType::getSupportedServiceNames()
} // namespace chart
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart_BarChartType_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::BarChartType(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/model/template/BubbleChartType.cxx b/chart2/source/model/template/BubbleChartType.cxx
index 13cc1876b4a0..f9724f7e7109 100644
--- a/chart2/source/model/template/BubbleChartType.cxx
+++ b/chart2/source/model/template/BubbleChartType.cxx
@@ -249,4 +249,11 @@ css::uno::Sequence< OUString > SAL_CALL BubbleChartType::getSupportedServiceName
} // namespace chart
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart_BubbleChartType_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::BubbleChartType(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/model/template/CandleStickChartType.cxx b/chart2/source/model/template/CandleStickChartType.cxx
index 85660ee85099..fc6baa6c1225 100644
--- a/chart2/source/model/template/CandleStickChartType.cxx
+++ b/chart2/source/model/template/CandleStickChartType.cxx
@@ -362,4 +362,11 @@ css::uno::Sequence< OUString > SAL_CALL CandleStickChartType::getSupportedServic
} // namespace chart
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart_CandleStickChartType_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::CandleStickChartType(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/model/template/ChartTypeManager.cxx b/chart2/source/model/template/ChartTypeManager.cxx
index 7c68a5908438..1425813c0f54 100644
--- a/chart2/source/model/template/ChartTypeManager.cxx
+++ b/chart2/source/model/template/ChartTypeManager.cxx
@@ -638,4 +638,11 @@ css::uno::Sequence< OUString > SAL_CALL ChartTypeManager::getSupportedServiceNam
} // namespace chart
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart_ChartTypeManager_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::ChartTypeManager(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/model/template/ColumnChartType.cxx b/chart2/source/model/template/ColumnChartType.cxx
index 6ad30b9b7c81..4f8734c236e6 100644
--- a/chart2/source/model/template/ColumnChartType.cxx
+++ b/chart2/source/model/template/ColumnChartType.cxx
@@ -220,4 +220,11 @@ css::uno::Sequence< OUString > SAL_CALL ColumnChartType::getSupportedServiceName
} // namespace chart
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart_ColumnChartType_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::ColumnChartType(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/model/template/FilledNetChartType.cxx b/chart2/source/model/template/FilledNetChartType.cxx
index c597f4280283..d62e9b00b493 100644
--- a/chart2/source/model/template/FilledNetChartType.cxx
+++ b/chart2/source/model/template/FilledNetChartType.cxx
@@ -103,4 +103,11 @@ css::uno::Sequence< OUString > SAL_CALL FilledNetChartType::getSupportedServiceN
} // namespace chart
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart_FilledNetChartType_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::FilledNetChartType(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/model/template/GL3DBarChartType.cxx b/chart2/source/model/template/GL3DBarChartType.cxx
index 69d8bfc4d53a..8eda8703fa18 100644
--- a/chart2/source/model/template/GL3DBarChartType.cxx
+++ b/chart2/source/model/template/GL3DBarChartType.cxx
@@ -176,4 +176,11 @@ css::uno::Reference<css::beans::XPropertySetInfo> GL3DBarChartType::getPropertyS
}
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart_GL3DBarChartType_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::GL3DBarChartType(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/model/template/LineChartType.cxx b/chart2/source/model/template/LineChartType.cxx
index 8225d68524b6..a565baab69c8 100644
--- a/chart2/source/model/template/LineChartType.cxx
+++ b/chart2/source/model/template/LineChartType.cxx
@@ -225,4 +225,11 @@ css::uno::Sequence< OUString > SAL_CALL LineChartType::getSupportedServiceNames(
} // namespace chart
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart_LineChartType_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::LineChartType(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/model/template/NetChartType.cxx b/chart2/source/model/template/NetChartType.cxx
index 0047d33478a9..fc745a6077a1 100644
--- a/chart2/source/model/template/NetChartType.cxx
+++ b/chart2/source/model/template/NetChartType.cxx
@@ -207,4 +207,11 @@ css::uno::Sequence< OUString > SAL_CALL NetChartType::getSupportedServiceNames()
} // namespace chart
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart_NetChartType_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::NetChartType(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/model/template/PieChartType.cxx b/chart2/source/model/template/PieChartType.cxx
index d858675bd72c..a3e9d0b34f67 100644
--- a/chart2/source/model/template/PieChartType.cxx
+++ b/chart2/source/model/template/PieChartType.cxx
@@ -265,4 +265,11 @@ css::uno::Sequence< OUString > SAL_CALL PieChartType::getSupportedServiceNames()
} // namespace chart
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart_PieChartType_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::PieChartType(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/model/template/ScatterChartType.cxx b/chart2/source/model/template/ScatterChartType.cxx
index a198ebe409b8..2e7b79cd8ff6 100644
--- a/chart2/source/model/template/ScatterChartType.cxx
+++ b/chart2/source/model/template/ScatterChartType.cxx
@@ -285,4 +285,11 @@ css::uno::Sequence< OUString > SAL_CALL ScatterChartType::getSupportedServiceNam
} // namespace chart
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart_ScatterChartType_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::ScatterChartType(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/model/template/_serviceregistration_charttypes.cxx b/chart2/source/model/template/_serviceregistration_charttypes.cxx
deleted file mode 100644
index 52b829b56f71..000000000000
--- a/chart2/source/model/template/_serviceregistration_charttypes.cxx
+++ /dev/null
@@ -1,137 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include "_serviceregistration_charttypes.hxx"
-
-#include "AreaChartType.hxx"
-#include "BarChartType.hxx"
-#include "CandleStickChartType.hxx"
-#include "ColumnChartType.hxx"
-#include "GL3DBarChartType.hxx"
-#include "LineChartType.hxx"
-#include "NetChartType.hxx"
-#include "FilledNetChartType.hxx"
-#include "PieChartType.hxx"
-#include "ScatterChartType.hxx"
-#include "BubbleChartType.hxx"
-
-namespace
-{
-static const struct ::cppu::ImplementationEntry g_entries_chart2_charttypes[] =
-{
- {
- ::chart::AreaChartType::create
- , ::chart::AreaChartType::getImplementationName_Static
- , ::chart::AreaChartType::getSupportedServiceNames_Static
- , ::cppu::createSingleComponentFactory
- , 0
- , 0
- }
- ,{
- ::chart::BarChartType::create
- , ::chart::BarChartType::getImplementationName_Static
- , ::chart::BarChartType::getSupportedServiceNames_Static
- , ::cppu::createSingleComponentFactory
- , 0
- , 0
- }
- ,{
- ::chart::CandleStickChartType::create
- , ::chart::CandleStickChartType::getImplementationName_Static
- , ::chart::CandleStickChartType::getSupportedServiceNames_Static
- , ::cppu::createSingleComponentFactory
- , 0
- , 0
- }
- ,{
- ::chart::ColumnChartType::create
- , ::chart::ColumnChartType::getImplementationName_Static
- , ::chart::ColumnChartType::getSupportedServiceNames_Static
- , ::cppu::createSingleComponentFactory
- , 0
- , 0
- }
- ,{
- ::chart::LineChartType::create
- , ::chart::LineChartType::getImplementationName_Static
- , ::chart::LineChartType::getSupportedServiceNames_Static
- , ::cppu::createSingleComponentFactory
- , 0
- , 0
- }
- ,{
- ::chart::NetChartType::create
- , ::chart::NetChartType::getImplementationName_Static
- , ::chart::NetChartType::getSupportedServiceNames_Static
- , ::cppu::createSingleComponentFactory
- , 0
- , 0
- }
- ,{
- ::chart::FilledNetChartType::create
- , ::chart::FilledNetChartType::getImplementationName_Static
- , ::chart::FilledNetChartType::getSupportedServiceNames_Static
- , ::cppu::createSingleComponentFactory
- , 0
- , 0
- }
- ,{
- ::chart::PieChartType::create
- , ::chart::PieChartType::getImplementationName_Static
- , ::chart::PieChartType::getSupportedServiceNames_Static
- , ::cppu::createSingleComponentFactory
- , 0
- , 0
- }
- ,{
- ::chart::ScatterChartType::create
- , ::chart::ScatterChartType::getImplementationName_Static
- , ::chart::ScatterChartType::getSupportedServiceNames_Static
- , ::cppu::createSingleComponentFactory
- , 0
- , 0
- }
- ,{
- ::chart::BubbleChartType::create
- , ::chart::BubbleChartType::getImplementationName_Static
- , ::chart::BubbleChartType::getSupportedServiceNames_Static
- , ::cppu::createSingleComponentFactory
- , 0
- , 0
- }
- ,{
- ::chart::GL3DBarChartType::create
- , ::chart::GL3DBarChartType::getImplementationName_Static
- , ::chart::GL3DBarChartType::getSupportedServiceNames_Static
- , ::cppu::createSingleComponentFactory
- , 0
- , 0
- }
- ,{ 0, 0, 0, 0, 0, 0 }
-};
-
-} // anonymous namespace
-
-const struct ::cppu::ImplementationEntry *
- ChartTypeEntriesForServiceRegistration::getImplementationEntries()
-{
- return g_entries_chart2_charttypes;
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */