summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/AreaChartTypeTemplate.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/template/AreaChartTypeTemplate.hxx')
-rw-r--r--chart2/source/model/template/AreaChartTypeTemplate.hxx39
1 files changed, 33 insertions, 6 deletions
diff --git a/chart2/source/model/template/AreaChartTypeTemplate.hxx b/chart2/source/model/template/AreaChartTypeTemplate.hxx
index 4c0dbdc1f09c..5c5b806110ea 100644
--- a/chart2/source/model/template/AreaChartTypeTemplate.hxx
+++ b/chart2/source/model/template/AreaChartTypeTemplate.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: AreaChartTypeTemplate.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: bm $ $Date: 2003-10-06 09:58:31 $
+ * last change: $Author: bm $ $Date: 2003-11-04 12:37:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -63,6 +63,13 @@
#include "ChartTypeTemplate.hxx"
+#include "OPropertySet.hxx"
+#include "MutexContainer.hxx"
+
+#ifndef _COMPHELPER_UNO3_HXX_
+#include <comphelper/uno3.hxx>
+#endif
+
#ifndef _DRAFTS_COM_SUN_STAR_CHART2_STACKMODE_HPP_
#include <drafts/com/sun/star/chart2/StackMode.hpp>
#endif
@@ -70,24 +77,44 @@
namespace chart
{
-class AreaChartTypeTemplate : public ChartTypeTemplate
+class AreaChartTypeTemplate :
+ public helper::MutexContainer,
+ public ChartTypeTemplate,
+ public ::property::OPropertySet
{
public:
explicit AreaChartTypeTemplate(
::com::sun::star::uno::Reference<
::com::sun::star::uno::XComponentContext > const & xContext,
+ const ::rtl::OUString & rServiceName,
::drafts::com::sun::star::chart2::StackMode eStackMode,
sal_Int32 nDim = 2 );
virtual ~AreaChartTypeTemplate();
+ /// XServiceInfo declarations
+ APPHELPER_XSERVICEINFO_DECL()
+
+ /// merge XInterface implementations
+ DECLARE_XINTERFACE()
+ /// merge XTypeProvider implementations
+ DECLARE_XTYPEPROVIDER()
+
protected:
+ // ____ OPropertySet ____
+ virtual ::com::sun::star::uno::Any GetDefaultValue( sal_Int32 nHandle ) const
+ throw(::com::sun::star::beans::UnknownPropertyException);
+ virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper();
+
+ // ____ XPropertySet ____
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL
+ getPropertySetInfo()
+ throw (::com::sun::star::uno::RuntimeException);
+
// ____ ChartTypeTemplate ____
virtual sal_Int32 getDimension() const;
virtual ::drafts::com::sun::star::chart2::StackMode getStackMode() const;
-
- // ____ XChartTypeTemplate ____
virtual ::com::sun::star::uno::Reference<
- ::drafts::com::sun::star::chart2::XChartType > SAL_CALL getChartTypeForAdditionalSeries()
+ ::drafts::com::sun::star::chart2::XChartType > getDefaultChartType()
throw (::com::sun::star::uno::RuntimeException);
private: