From 4e199ec5f18546b77117e9613112d291c9b8354d Mon Sep 17 00:00:00 2001 From: Niklas Nebel Date: Thu, 11 Jan 2001 14:26:22 +0000 Subject: #82656# ScChartObj: XNamed --- sc/inc/chartuno.hxx | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'sc/inc/chartuno.hxx') diff --git a/sc/inc/chartuno.hxx b/sc/inc/chartuno.hxx index 6128ee196932..1dfbf72294f9 100644 --- a/sc/inc/chartuno.hxx +++ b/sc/inc/chartuno.hxx @@ -2,9 +2,9 @@ * * $RCSfile: chartuno.hxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 16:44:48 $ + * last change: $Author: nn $ $Date: 2001-01-11 15:26:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,6 +65,9 @@ #ifndef _SFXLSTNER_HXX //autogen #include #endif +#ifndef _STRING_HXX +#include +#endif #ifndef _COM_SUN_STAR_TABLE_XTABLECHART_HPP_ #include @@ -84,13 +87,13 @@ #ifndef _COM_SUN_STAR_CONTAINER_XINDEXACCESS_HPP_ #include #endif +#ifndef _COM_SUN_STAR_CONTAINER_XNAMED_HPP_ +#include +#endif #ifndef _CPPUHELPER_IMPLBASE4_HXX_ #include #endif -#ifndef _CPPUHELPER_IMPLBASE3_HXX_ -#include -#endif class ScDocShell; @@ -164,9 +167,10 @@ public: }; -class ScChartObj : public cppu::WeakImplHelper3< +class ScChartObj : public cppu::WeakImplHelper4< com::sun::star::table::XTableChart, com::sun::star::document::XEmbeddedObjectSupplier, + com::sun::star::container::XNamed, com::sun::star::lang::XServiceInfo >, public SfxListener { @@ -201,6 +205,11 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent > SAL_CALL getEmbeddedObject() throw(::com::sun::star::uno::RuntimeException); + // XNamed + virtual ::rtl::OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setName( const ::rtl::OUString& aName ) + throw(::com::sun::star::uno::RuntimeException); + // XServiceInfo virtual ::rtl::OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException); -- cgit