+#include "charttoolsdllapi.hxx"
namespace chart
{
@@ -61,7 +62,7 @@ template< typename T >
In case no number can be generated from the Any, NaN (see
rtl::math::SetNAN()) is returned.
*/
-struct AnyToDouble : public ::std::unary_function< ::com::sun::star::uno::Any, double >
+struct OOO_DLLPUBLIC_CHARTTOOLS AnyToDouble : public ::std::unary_function< ::com::sun::star::uno::Any, double >
{
double operator() ( const ::com::sun::star::uno::Any & rAny )
{
@@ -92,7 +93,7 @@ struct AnyToDouble : public ::std::unary_function< ::com::sun::star::uno::Any, d
/** unary function to convert ::com::sun::star::uno::Any into an
::rtl::OUString.
*/
-struct AnyToString : public ::std::unary_function< ::com::sun::star::uno::Any, ::rtl::OUString >
+struct OOO_DLLPUBLIC_CHARTTOOLS AnyToString : public ::std::unary_function< ::com::sun::star::uno::Any, ::rtl::OUString >
{
::rtl::OUString operator() ( const ::com::sun::star::uno::Any & rAny )
{
@@ -120,7 +121,7 @@ struct AnyToString : public ::std::unary_function< ::com::sun::star::uno::Any,
For conversion rtl::math::StringToDouble is used.
*/
-struct OUStringToDouble : public ::std::unary_function< ::rtl::OUString, double >
+struct OOO_DLLPUBLIC_CHARTTOOLS OUStringToDouble : public ::std::unary_function< ::rtl::OUString, double >
{
double operator() ( const ::rtl::OUString & rStr )
{
@@ -138,7 +139,7 @@ struct OUStringToDouble : public ::std::unary_function< ::rtl::OUString, double
For conversion rtl::math::DoubleToOUString is used.
*/
-struct DoubleToOUString : public ::std::unary_function< double, ::rtl::OUString >
+struct OOO_DLLPUBLIC_CHARTTOOLS DoubleToOUString : public ::std::unary_function< double, ::rtl::OUString >
{
::rtl::OUString operator() ( double fNumber )
{
diff --git a/chart2/source/inc/ConfigColorScheme.hxx b/chart2/source/inc/ConfigColorScheme.hxx
index 78a0e839e65a..7a27f93f338c 100644
--- a/chart2/source/inc/ConfigColorScheme.hxx
+++ b/chart2/source/inc/ConfigColorScheme.hxx
@@ -32,6 +32,7 @@
#include "ServiceMacros.hxx"
#include "ConfigItemListener.hxx"
+#include "charttoolsdllapi.hxx"
#include
#include
#include
@@ -48,7 +49,7 @@ namespace impl
class ChartConfigItem;
}
-class ConfigColorScheme :
+class OOO_DLLPUBLIC_CHARTTOOLS ConfigColorScheme :
public ConfigItemListener,
public ::cppu::WeakImplHelper2<
::com::sun::star::chart2::XColorScheme,
diff --git a/chart2/source/inc/ConfigItemListener.hxx b/chart2/source/inc/ConfigItemListener.hxx
index 1d313ce99c6c..146cc1e596ad 100644
--- a/chart2/source/inc/ConfigItemListener.hxx
+++ b/chart2/source/inc/ConfigItemListener.hxx
@@ -31,11 +31,12 @@
#define CHART2_CONFIGITEMLISTENER_HXX
#include
+#include "charttoolsdllapi.hxx"
namespace chart
{
-class ConfigItemListener
+class OOO_DLLPUBLIC_CHARTTOOLS ConfigItemListener
{
public:
virtual void notify( const ::rtl::OUString & rPropertyName ) = 0;
diff --git a/chart2/source/inc/ControllerLockGuard.hxx b/chart2/source/inc/ControllerLockGuard.hxx
index 500df34757e1..b7bf17def1cb 100644
--- a/chart2/source/inc/ControllerLockGuard.hxx
+++ b/chart2/source/inc/ControllerLockGuard.hxx
@@ -31,6 +31,7 @@
#define CHART2_CONTROLLERLOCKGUARD_HXX
#include
+#include "charttoolsdllapi.hxx"
namespace chart
{
@@ -39,7 +40,7 @@ namespace chart
unlockControllers in the DTOR. Using this ensures that controllers do not
remain locked when leaving a function even in case an exception is thrown.
*/
-class ControllerLockGuard
+class OOO_DLLPUBLIC_CHARTTOOLS ControllerLockGuard
{
public:
explicit ControllerLockGuard(
@@ -58,7 +59,7 @@ private:
Use the ControllerLockHelperGuard to lock/unlock the model during a block of
instructions.
*/
-class ControllerLockHelper
+class OOO_DLLPUBLIC_CHARTTOOLS ControllerLockHelper
{
public:
explicit ControllerLockHelper(
@@ -79,7 +80,7 @@ private:
do not remain locked when leaving a function even in case an exception is
thrown.
*/
-class ControllerLockHelperGuard
+class OOO_DLLPUBLIC_CHARTTOOLS ControllerLockHelperGuard
{
public:
explicit ControllerLockHelperGuard( ControllerLockHelper & rHelper );
diff --git a/chart2/source/inc/DataSeriesHelper.hxx b/chart2/source/inc/DataSeriesHelper.hxx
index 3652a27a5059..d302674f4867 100644
--- a/chart2/source/inc/DataSeriesHelper.hxx
+++ b/chart2/source/inc/DataSeriesHelper.hxx
@@ -38,6 +38,7 @@
#include
#include "StackMode.hxx"
+#include "charttoolsdllapi.hxx"
#include
#include
@@ -48,7 +49,7 @@ namespace chart
namespace DataSeriesHelper
{
-::rtl::OUString GetRole(
+OOO_DLLPUBLIC_CHARTTOOLS ::rtl::OUString GetRole(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::data::XLabeledDataSequence >& xLabeledDataSequence );
@@ -62,7 +63,7 @@ namespace DataSeriesHelper
@param aRole
The role that is to be filtered out.
*/
-::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XLabeledDataSequence >
+OOO_DLLPUBLIC_CHARTTOOLS ::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XLabeledDataSequence >
getDataSequenceByRole( const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::data::XDataSource > & xSource,
::rtl::OUString aRole,
@@ -77,7 +78,7 @@ namespace DataSeriesHelper
@param aRole
The role that is to be filtered out.
*/
-::std::vector<
+OOO_DLLPUBLIC_CHARTTOOLS ::std::vector<
::com::sun::star::uno::Reference< ::com::sun::star::chart2::data::XLabeledDataSequence > >
getAllDataSequencesByRole( const ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Reference<
@@ -89,7 +90,7 @@ namespace DataSeriesHelper
into a data source. The order of sequences will match the order of the data
series.
*/
-::com::sun::star::uno::Reference<
+OOO_DLLPUBLIC_CHARTTOOLS ::com::sun::star::uno::Reference<
::com::sun::star::chart2::data::XDataSource >
getDataSource( const ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Reference<
@@ -102,71 +103,74 @@ namespace DataSeriesHelper
The data sequence contained in xSeries that has this role will be used
to take its label.
*/
-::rtl::OUString getDataSeriesLabel(
+OOO_DLLPUBLIC_CHARTTOOLS ::rtl::OUString getDataSeriesLabel(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries > & xSeries,
const ::rtl::OUString & rLabelSequenceRole );
/** Get the label of a labeled sequence including neccessary automatic generation
*/
-::rtl::OUString getLabelForLabeledDataSequence(
+OOO_DLLPUBLIC_CHARTTOOLS ::rtl::OUString getLabelForLabeledDataSequence(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::data::XLabeledDataSequence > & xLabeledSeq );
-void setStackModeAtSeries(
+OOO_DLLPUBLIC_CHARTTOOLS void setStackModeAtSeries(
const ::com::sun::star::uno::Sequence<
::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries > > & aSeries,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XCoordinateSystem > & xCorrespondingCoordinateSystem,
StackMode eStackMode );
-sal_Int32 getAttachedAxisIndex(
+OOO_DLLPUBLIC_CHARTTOOLS sal_Int32 getAttachedAxisIndex(
const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries > & xSeries );
/// @param nAxisIndex, if -1 it is determined by the given data series via getAttachedAxisIndex
-sal_Int32 getNumberFormatKeyFromAxis(
+OOO_DLLPUBLIC_CHARTTOOLS sal_Int32 getNumberFormatKeyFromAxis(
const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries > & xSeries,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XCoordinateSystem > & xCorrespondingCoordinateSystem,
sal_Int32 nDimensionIndex,
sal_Int32 nAxisIndex = -1 );
+OOO_DLLPUBLIC_CHARTTOOLS
::com::sun::star::uno::Reference< ::com::sun::star::chart2::XCoordinateSystem >
getCoordinateSystemOfSeries(
const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries > & xSeries,
const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDiagram > & xDiagram );
+OOO_DLLPUBLIC_CHARTTOOLS
::com::sun::star::uno::Reference< ::com::sun::star::chart2::XChartType >
getChartTypeOfSeries(
const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries > & xSeries,
const ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDiagram > & xDiagram );
-void deleteSeries(
+OOO_DLLPUBLIC_CHARTTOOLS void deleteSeries(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries > & xSeries,
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartType > & xChartType );
-void switchSymbolsOnOrOff(
+OOO_DLLPUBLIC_CHARTTOOLS void switchSymbolsOnOrOff(
const ::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertySet > & xSeriesProperties,
bool bSymbolsOn, sal_Int32 nSeriesIndex );
-void switchLinesOnOrOff(
+OOO_DLLPUBLIC_CHARTTOOLS void switchLinesOnOrOff(
const ::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertySet > & xSeriesProperties,
bool bLinesOn );
+OOO_DLLPUBLIC_CHARTTOOLS
void makeLinesThickOrThin( const ::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertySet > & xSeriesProperties, bool bThick );
-void setPropertyAlsoToAllAttributedDataPoints(
+OOO_DLLPUBLIC_CHARTTOOLS void setPropertyAlsoToAllAttributedDataPoints(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries >& xSeries,
const ::rtl::OUString& rPropertyName,
const ::com::sun::star::uno::Any& rPropertyValue );
-bool hasAttributedDataPointDifferentValue(
+OOO_DLLPUBLIC_CHARTTOOLS bool hasAttributedDataPointDifferentValue(
const ::com::sun::star::uno::Reference<
::com::sun::star::chart2::XDataSeries >& xSeries,
const ::rtl::OUString& rPropertyName,
diff --git a/chart2/source/inc/DataSource.hxx b/chart2/source/inc/DataSource.hxx
index 555bbad847c4..286e6b6116e1 100644
--- a/chart2/source/inc/DataSource.hxx
+++ b/chart2/source/inc/DataSource.hxx
@@ -37,11 +37,12 @@
#include
#include
#include "ServiceMacros.hxx"
+#include "charttoolsdllapi.hxx"
namespace chart
{
-class DataSource : public
+class OOO_DLLPUBLIC_CHARTTOOLS DataSource : public
::cppu::WeakImplHelper3<
::com::sun::star::lang::XServiceInfo,
::com::sun::star::chart2::data::XDataSource,
diff --git a/chart2/source/inc/DataSourceHelper.hxx b/chart2/source/inc/DataSourceHelper.hxx
index 289628efcecc..40b03034fcf7 100644
--- a/chart2/source/inc/DataSourceHelper.hxx
+++ b/chart2/source/inc/DataSourceHelper.hxx
@@ -39,6 +39,7 @@
#endif
#include
#include
+#include "charttoolsdllapi.hxx"
#include
@@ -51,7 +52,7 @@ namespace chart
/**
*/
-class DataSourceHelper
+class OOO_DLLPUBLIC_CHARTTOOLS DataSourceHelper
{
public:
static ::com::sun::star::uno::Sequence<
diff --git a/chart2/source/inc/DiagramHelper.hxx b/chart2/source/inc/DiagramHelper.hxx
index 95aa249e84c9..ae650e0a4898 100644
--- a/chart2/source/inc/DiagramHelper.hxx
+++ b/chart2/source/inc/DiagramHelper.hxx
@@ -31,6 +31,7 @@
#define CHART2_DIAGRAMHELPER_HXX
#include "StackMode.hxx"
+#include "charttoolsdllapi.hxx"
#include
#include
#include
@@ -48,7 +49,7 @@
namespace chart
{
-class DiagramHelper
+class OOO_DLLPUBLIC_CHARTTOOLS DiagramHelper
{
public:
typedef ::std::pair<
diff --git a/chart2/source/inc/ErrorBar.hxx b/chart2/source/inc/ErrorBar.hxx
index 4ab6901d89b8..041e4aa6a5ab 100644
--- a/chart2/source/inc/ErrorBar.hxx
+++ b/chart2/source/inc/ErrorBar.hxx
@@ -34,6 +34,7 @@
#include "OPropertySet.hxx"
#include "ServiceMacros.hxx"
#include "ModifyListenerHelper.hxx"
+#include "charttoolsdllapi.hxx"
#include
#include
@@ -61,7 +62,7 @@ typedef ::cppu::WeakImplHelper6<
ErrorBar_Base;
}
-class ErrorBar :
+class OOO_DLLPUBLIC_CHARTTOOLS ErrorBar :
public MutexContainer,
public impl::ErrorBar_Base,
public ::property::OPropertySet
diff --git a/chart2/source/inc/ExplicitCategoriesProvider.hxx b/chart2/source/inc/ExplicitCategoriesProvider.hxx
index 7f11410c1ae8..12a98e4fca47 100644
--- a/chart2/source/inc/ExplicitCategoriesProvider.hxx
+++ b/chart2/source/inc/ExplicitCategoriesProvider.hxx
@@ -36,11 +36,13 @@
#include
#include
#include
+#include "charttoolsdllapi.hxx"
namespace chart
{
-class ExplicitCategoriesProvider : public ::cppu::WeakImplHelper1<
+class OOO_DLLPUBLIC_CHARTTOOLS ExplicitCategoriesProvider :
+ public ::cppu::WeakImplHelper1<
::com::sun::star::chart2::data::XTextualDataSequence
>
{
diff --git a/chart2/source/inc/ExponentialRegressionCurveCalculator.hxx b/chart2/source/inc/ExponentialRegressionCurveCalculator.hxx
index 777758d9e83c..20c58c31b458 100644
--- a/chart2/source/inc/ExponentialRegressionCurveCalculator.hxx
+++ b/chart2/source/inc/ExponentialRegressionCurveCalculator.hxx
@@ -31,11 +31,13 @@
#define CHART2_EXPONENTIALREGRESSIONCURVECALCULATOR_HXX
#include "RegressionCurveCalculator.hxx"
+#include "charttoolsdllapi.hxx"
namespace chart
{
-class ExponentialRegressionCurveCalculator : public RegressionCurveCalculator
+class OOO_DLLPUBLIC_CHARTTOOLS ExponentialRegressionCurveCalculator :
+ public RegressionCurveCalculator
{
public:
ExponentialRegressionCurveCalculator();
diff --git a/chart2/source/inc/FillProperties.hxx b/chart2/source/inc/FillProperties.hxx
index 47d79e7561b8..95f8068c6c23 100644
--- a/chart2/source/inc/FillProperties.hxx
+++ b/chart2/source/inc/FillProperties.hxx
@@ -32,6 +32,7 @@
#include "PropertyHelper.hxx"
#include "FastPropertyIdRanges.hxx"
+#include "charttoolsdllapi.hxx"
#include
#include
@@ -40,7 +41,7 @@ namespace chart
{
// implements service FillProperties
-class FillProperties
+class OOO_DLLPUBLIC_CHARTTOOLS FillProperties
{
public:
// FastProperty Ids for properties
diff --git a/chart2/source/inc/FormattedStringHelper.hxx b/chart2/source/inc/FormattedStringHelper.hxx
index 23081fa7fd45..d867b69ff175 100644
--- a/chart2/source/inc/FormattedStringHelper.hxx
+++ b/chart2/source/inc/FormattedStringHelper.hxx
@@ -33,13 +33,14 @@
#include
#include
#include
+#include "charttoolsdllapi.hxx"
//.............................................................................
namespace chart
{
//.............................................................................
-class FormattedStringHelper
+class OOO_DLLPUBLIC_CHARTTOOLS FormattedStringHelper
{
public:
static ::com::sun::star::uno::Sequence<
diff --git a/chart2/source/inc/InternalDataProvider.hxx b/chart2/source/inc/InternalDataProvider.hxx
index 9bf598441b3a..5a7afc62c5fe 100644
--- a/chart2/source/inc/InternalDataProvider.hxx
+++ b/chart2/source/inc/InternalDataProvider.hxx
@@ -41,6 +41,7 @@
#include
#include
#include "ServiceMacros.hxx"
+#include "charttoolsdllapi.hxx"
#include "CachedDataSequence.hxx"
@@ -74,7 +75,7 @@ typedef ::cppu::WeakImplHelper6<
The format for a complete range is "all". (Do we need more than
that?)
*/
-class InternalDataProvider :
+class OOO_DLLPUBLIC_CHARTTOOLS InternalDataProvider :
public impl::InternalDataProvider_Base
{
public:
diff --git a/chart2/source/inc/LabeledDataSequence.hxx b/chart2/source/inc/LabeledDataSequence.hxx
index 3eba45bd2df9..23cfb7bb2743 100644
--- a/chart2/source/inc/LabeledDataSequence.hxx
+++ b/chart2/source/inc/LabeledDataSequence.hxx
@@ -31,6 +31,7 @@
#define CHART2_LABELEDDATASEQUENCE_HXX
#include "ServiceMacros.hxx"
#include "MutexContainer.hxx"
+#include "charttoolsdllapi.hxx"
#include
#include
@@ -55,7 +56,7 @@ typedef cppu::WeakImplHelper4<
LabeledDataSequence_Base;
}
-class LabeledDataSequence :
+class OOO_DLLPUBLIC_CHARTTOOLS LabeledDataSequence :
public MutexContainer,
public impl::LabeledDataSequence_Base
{
diff --git a/chart2/source/inc/LegendHelper.hxx b/chart2/source/inc/LegendHelper.hxx
index a1944b42a7c3..f6c792ab48f1 100644
--- a/chart2/source/inc/LegendHelper.hxx
+++ b/chart2/source/inc/LegendHelper.hxx
@@ -36,6 +36,7 @@
#include
#include
#include
+#include "charttoolsdllapi.hxx"
//.............................................................................
namespace chart
@@ -46,7 +47,7 @@ namespace chart
/**
*/
-class LegendHelper
+class OOO_DLLPUBLIC_CHARTTOOLS LegendHelper
{
public:
static ::com::sun::star::uno::Reference<
diff --git a/chart2/source/inc/LifeTime.hxx b/chart2/source/inc/LifeTime.hxx
index b363c03b3a7c..6b08c33b89da 100644
--- a/chart2/source/inc/LifeTime.hxx
+++ b/chart2/source/inc/LifeTime.hxx
@@ -40,12 +40,13 @@
#include
#include
#include
+#include "charttoolsdllapi.hxx"
namespace apphelper
{
class LifeTimeGuard;
-class LifeTimeManager
+class OOO_DLLPUBLIC_CHARTTOOLS LifeTimeManager
{
friend class LifeTimeGuard;
protected:
@@ -84,7 +85,7 @@ protected:
sal_Int32 volatile m_nLongLastingCallCount;
};
-class CloseableLifeTimeManager : public LifeTimeManager
+class OOO_DLLPUBLIC_CHARTTOOLS CloseableLifeTimeManager : public LifeTimeManager
{
protected:
::com::sun::star::util::XCloseable* m_pCloseable;
@@ -200,12 +201,12 @@ your XComponent::dispose method has to be implemented in the following way:
*/
//-----------------------------------------------------------------
-class LifeTimeGuard : public ::osl::ResettableMutexGuard
+class OOO_DLLPUBLIC_CHARTTOOLS LifeTimeGuard
{
public:
LifeTimeGuard( LifeTimeManager& rManager )
- : ::osl::ResettableGuard< ::osl::Mutex >( rManager.m_aAccessMutex )
+ : m_guard( rManager.m_aAccessMutex )
, m_rManager(rManager)
, m_bCallRegistered(sal_False)
, m_bLongLastingCallRegistered(sal_False)
@@ -213,9 +214,11 @@ public:
}
sal_Bool startApiCall(sal_Bool bLongLastingCall=sal_False);
- virtual ~LifeTimeGuard();
+ ~LifeTimeGuard();
+ void clear() { m_guard.clear(); }
private:
+ osl::ClearableMutexGuard m_guard;
LifeTimeManager& m_rManager;
sal_Bool m_bCallRegistered;
sal_Bool m_bLongLastingCallRegistered;
diff --git a/chart2/source/inc/LineProperties.hxx b/chart2/source/inc/LineProperties.hxx
index 608985bdd460..9a4a978c09ce 100644
--- a/chart2/source/inc/LineProperties.hxx
+++ b/chart2/source/inc/LineProperties.hxx
@@ -32,6 +32,7 @@
#include "PropertyHelper.hxx"
#include "FastPropertyIdRanges.hxx"
+#include "charttoolsdllapi.hxx"
#include
#include
@@ -40,7 +41,7 @@ namespace chart
{
// implements service LineProperties
-class LineProperties
+class OOO_DLLPUBLIC_CHARTTOOLS LineProperties
{
public:
// FastProperty Ids for properties
diff --git a/chart2/source/inc/LinearRegressionCurveCalculator.hxx b/chart2/source/inc/LinearRegressionCurveCalculator.hxx
index 21a7058d88d7..55147aa5874d 100644
--- a/chart2/source/inc/LinearRegressionCurveCalculator.hxx
+++ b/chart2/source/inc/LinearRegressionCurveCalculator.hxx
@@ -31,11 +31,13 @@
#define CHART2_LINEARREGRESSIONCURVECALCULATOR_HXX
#include "RegressionCurveCalculator.hxx"
+#include "charttoolsdllapi.hxx"
namespace chart
{
-class LinearRegressionCurveCalculator : public RegressionCurveCalculator
+class OOO_DLLPUBLIC_CHARTTOOLS LinearRegressionCurveCalculator :
+ public RegressionCurveCalculator
{
public:
LinearRegressionCurveCalculator();
diff --git a/chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx b/chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx
index 137491253377..2913d9401b98 100644
--- a/chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx
+++ b/chart2/source/inc/LogarithmicRegressionCurveCalculator.hxx
@@ -31,11 +31,13 @@
#define CHART2_LOGARITHMICREGRESSIONCURVECALCULATOR_HXX
#include "RegressionCurveCalculator.hxx"
+#include "charttoolsdllapi.hxx"
namespace chart
{
-class LogarithmicRegressionCurveCalculator : public RegressionCurveCalculator
+class OOO_DLLPUBLIC_CHARTTOOLS LogarithmicRegressionCurveCalculator :
+ public RegressionCurveCalculator
{
public:
LogarithmicRegressionCurveCalculator();
diff --git a/chart2/source/inc/MeanValueRegressionCurveCalculator.hxx b/chart2/source/inc/MeanValueRegressionCurveCalculator.hxx
index b15d723742d5..ea02d6a4fef5 100644
--- a/chart2/source/inc/MeanValueRegressionCurveCalculator.hxx
+++ b/chart2/source/inc/MeanValueRegressionCurveCalculator.hxx
@@ -31,11 +31,13 @@
#define CHART2_MEANVALUEREGRESSIONCURVECALCULATOR_HXX
#include "RegressionCurveCalculator.hxx"
+#include "charttoolsdllapi.hxx"
namespace chart
{
-class MeanValueRegressionCurveCalculator : public RegressionCurveCalculator
+class OOO_DLLPUBLIC_CHARTTOOLS MeanValueRegressionCurveCalculator :
+ public RegressionCurveCalculator
{
public:
MeanValueRegressionCurveCalculator();
diff --git a/chart2/source/inc/MediaDescriptorHelper.hxx b/chart2/source/inc/MediaDescriptorHelper.hxx
index 4b8698fc7fc4..403c842fa45b 100644
--- a/chart2/source/inc/MediaDescriptorHelper.hxx
+++ b/chart2/source/inc/MediaDescriptorHelper.hxx
@@ -38,6 +38,7 @@
#include
#include
#include
+#include "charttoolsdllapi.hxx"
/*
* This class helps to read and write the properties mentioned in the service description
@@ -53,7 +54,7 @@
namespace apphelper
{
-class MediaDescriptorHelper
+class OOO_DLLPUBLIC_CHARTTOOLS MediaDescriptorHelper
{
private:
//MediaDescriptorHelper(){};
diff --git a/chart2/source/inc/ModifyListenerCallBack.hxx b/chart2/source/inc/ModifyListenerCallBack.hxx
index 7ecdd2d2d04c..a664816930f8 100644
--- a/chart2/source/inc/ModifyListenerCallBack.hxx
+++ b/chart2/source/inc/ModifyListenerCallBack.hxx
@@ -35,6 +35,7 @@
#include
#include
#include
+#include "charttoolsdllapi.hxx"
namespace chart {
@@ -44,7 +45,7 @@ without becoming a XModifyListener yourself
class ModifyListenerCallBack_impl;
-class ModifyListenerCallBack
+class OOO_DLLPUBLIC_CHARTTOOLS ModifyListenerCallBack
{
public:
explicit ModifyListenerCallBack( const Link& rCallBack );
diff --git a/chart2/source/inc/ModifyListenerHelper.hxx b/chart2/source/inc/ModifyListenerHelper.hxx
index f5dbb370560b..7c02d0356299 100644
--- a/chart2/source/inc/ModifyListenerHelper.hxx
+++ b/chart2/source/inc/ModifyListenerHelper.hxx
@@ -40,6 +40,7 @@
#include
#include "MutexContainer.hxx"
+#include "charttoolsdllapi.hxx"
#include
#include
@@ -67,7 +68,7 @@ namespace ModifyListenerHelper
life time of the listeners is independent of the broadcaster's lifetime in
this case.
*/
-class ModifyEventForwarder :
+class OOO_DLLPUBLIC_CHARTTOOLS ModifyEventForwarder :
public MutexContainer,
public ::cppu::WeakComponentImplHelper2<
::com::sun::star::util::XModifyBroadcaster,
diff --git a/chart2/source/inc/MutexContainer.hxx b/chart2/source/inc/MutexContainer.hxx
index b8a46e04a963..68d7f9f74fd0 100644
--- a/chart2/source/inc/MutexContainer.hxx
+++ b/chart2/source/inc/MutexContainer.hxx
@@ -31,11 +31,12 @@
#define CHART_MUTEXCONTAINER_HXX
#include
+#include "charttoolsdllapi.hxx"
namespace chart
{
-class MutexContainer
+class OOO_DLLPUBLIC_CHARTTOOLS MutexContainer
{
public:
virtual ~MutexContainer();
diff --git a/chart2/source/inc/NameContainer.hxx b/chart2/source/inc/NameContainer.hxx
index bff3d3f3c516..104fd941f217 100644
--- a/chart2/source/inc/NameContainer.hxx
+++ b/chart2/source/inc/NameContainer.hxx
@@ -36,6 +36,7 @@
#include
#include
#include
+#include "charttoolsdllapi.hxx"
#include