summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbaseriescollection.hxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-12-07 10:04:48 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-12-07 10:04:48 +0000
commit28a72d9abdfc73ce8329903efde26ae2d456c15e (patch)
treeeb8e8a7e50cd640d2677972d0d0698d3b3193016 /sc/source/ui/vba/vbaseriescollection.hxx
parentcb4008156438a18b5abe766c7f97c49ce91bad8f (diff)
INTEGRATION: CWS npower8 (1.2.4); FILE MERGED
2007/07/18 13:46:47 npower 1.2.4.2: #i77189# sync ooo-build and this module 2007/05/10 11:23:10 npower 1.2.4.1: -m#i77189#
Diffstat (limited to 'sc/source/ui/vba/vbaseriescollection.hxx')
-rw-r--r--sc/source/ui/vba/vbaseriescollection.hxx37
1 files changed, 16 insertions, 21 deletions
diff --git a/sc/source/ui/vba/vbaseriescollection.hxx b/sc/source/ui/vba/vbaseriescollection.hxx
index 947d9e42dc91..937374390878 100644
--- a/sc/source/ui/vba/vbaseriescollection.hxx
+++ b/sc/source/ui/vba/vbaseriescollection.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: vbaseriescollection.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2007-04-25 16:11:17 $
+ * last change: $Author: vg $ $Date: 2007-12-07 11:01:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -34,34 +34,29 @@
************************************************************************/
#ifndef SC_VBA_SERIESCOLLECTION_HXX
#define SC_VBA_SERIESCOLLECTION_HXX
-#include <org/openoffice/excel/XSeriesCollection.hpp>
-#include <cppuhelper/implbase2.hxx>
-#include <com/sun/star/uno/XComponentContext.hpp>
-#include <com/sun/star/container/XEnumerationAccess.hpp>
+#include <org/openoffice/excel/XSeriesCollection.hpp>
+#include "vbahelperinterface.hxx"
+#include "vbacollectionimpl.hxx"
#include "vbahelper.hxx"
-typedef ::cppu::WeakImplHelper2<oo::excel::XSeriesCollection,
-css::container::XEnumerationAccess > SeriesCollectionImpl_BASE;
-class ScVbaSeriesCollection : public SeriesCollectionImpl_BASE
-{
+typedef CollTestImplHelper< oo::excel::XSeriesCollection > SeriesCollection_BASE;
+class ScVbaSeriesCollection : public SeriesCollection_BASE
+{
css::uno::Reference< css::uno::XComponentContext > m_xContext;
-public:
- ScVbaSeriesCollection( const css::uno::Reference< css::uno::XComponentContext >& xContext ) : m_xContext(xContext) {}
- //XCollection
- virtual ::sal_Int32 SAL_CALL getCount() throw (css::uno::RuntimeException);
- virtual css::uno::Any SAL_CALL getParent() throw (css::uno::RuntimeException);
- virtual ::sal_Int32 SAL_CALL getCreator() throw (css::uno::RuntimeException);
- virtual css::uno::Reference< oo::excel::XApplication > SAL_CALL getApplication() throw (css::uno::RuntimeException);
- virtual css::uno::Any SAL_CALL Item( const css::uno::Any& Index ) throw (css::uno::RuntimeException);
+public:
+ ScVbaSeriesCollection( const css::uno::Reference< oo::vba::XHelperInterface >& xParent, const css::uno::Reference< css::uno::XComponentContext >& xContext );
// XEnumerationAccess
- virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() throw (css::uno::RuntimeException);
- // XElementAccess
virtual css::uno::Type SAL_CALL getElementType() throw (css::uno::RuntimeException);
- virtual ::sal_Bool SAL_CALL hasElements() throw (css::uno::RuntimeException);
+ virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration() throw (css::uno::RuntimeException);
+
+ // SeriesCollection_BASE
+ virtual css::uno::Any createCollectionObject( const css::uno::Any& aSource );
+ virtual rtl::OUString& getServiceImplName();
+ virtual css::uno::Sequence<rtl::OUString> getServiceNames();
};
#endif //SC_VBA_WINDOW_HXX