diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2007-05-22 17:50:11 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2007-05-22 17:50:11 +0000 |
commit | 565ca8191a68580334d9b6db3e4a0d6a8b6d2897 (patch) | |
tree | f6f8872e1c95772ccb06551141269d4870a0a491 /chart2 | |
parent | 24ae5197a979b06d00ec96a4f29e84cae0cb54f2 (diff) |
INTEGRATION: CWS chart2mst3 (1.1.4); FILE MERGED
2005/10/13 17:39:03 iha 1.1.4.7: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/07 12:04:12 bm 1.1.4.6: RESYNC: (1.1-1.2); FILE MERGED
2005/03/30 16:31:12 bm 1.1.4.5: make model cloneable (+first undo implementation)
2004/09/16 14:42:47 bm 1.1.4.4: API simplification
2004/09/15 17:32:06 bm 1.1.4.3: API simplification
2004/04/01 10:53:10 bm 1.1.4.2: XChartType: may return a coordinate system now
2004/03/03 14:57:30 bm 1.1.4.1: support LegendSymbolStyle property
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/model/template/NetChartType.hxx | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/chart2/source/model/template/NetChartType.hxx b/chart2/source/model/template/NetChartType.hxx index fb1b4e36411e..742069a3b496 100644 --- a/chart2/source/model/template/NetChartType.hxx +++ b/chart2/source/model/template/NetChartType.hxx @@ -4,9 +4,9 @@ * * $RCSfile: NetChartType.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2005-09-08 01:22:13 $ + * last change: $Author: vg $ $Date: 2007-05-22 18:50:11 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -36,6 +36,7 @@ #define CHART_NETCHARTTYPE_HXX #include "ChartType.hxx" +#include "ServiceMacros.hxx" namespace chart { @@ -43,13 +44,41 @@ namespace chart class NetChartType : public ChartType { public: - NetChartType(); + NetChartType( ::com::sun::star::uno::Reference< + ::com::sun::star::uno::XComponentContext > const & xContext ); virtual ~NetChartType(); + APPHELPER_XSERVICEINFO_DECL() + + /// establish methods for factory instatiation + APPHELPER_SERVICE_FACTORY_HELPER( NetChartType ) + protected: + explicit NetChartType( const NetChartType & rOther ); + // ____ XChartType ____ virtual ::rtl::OUString SAL_CALL getChartType() throw (::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XCoordinateSystem > SAL_CALL + createCoordinateSystem( ::sal_Int32 DimensionCount ) + throw (::com::sun::star::lang::IllegalArgumentException, + ::com::sun::star::uno::RuntimeException); + + // ____ OPropertySet ____ + virtual ::com::sun::star::uno::Any GetDefaultValue( sal_Int32 nHandle ) const + throw(::com::sun::star::beans::UnknownPropertyException); + + // ____ OPropertySet ____ + 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); + + // ____ XCloneable ____ + virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloneable > SAL_CALL createClone() + throw (::com::sun::star::uno::RuntimeException); }; } // namespace chart |