xref: /aoo41x/main/sc/inc/docuno.hxx (revision cdf0e10c)
1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir 
28*cdf0e10cSrcweir #ifndef SC_DOCUNO_HXX
29*cdf0e10cSrcweir #define SC_DOCUNO_HXX
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir #include "address.hxx"
32*cdf0e10cSrcweir #include <sfx2/sfxbasemodel.hxx>
33*cdf0e10cSrcweir #include <svl/lstner.hxx>
34*cdf0e10cSrcweir #include <svx/fmdmod.hxx>
35*cdf0e10cSrcweir #include <com/sun/star/view/XRenderable.hpp>
36*cdf0e10cSrcweir #include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
37*cdf0e10cSrcweir #include <com/sun/star/document/XActionLockable.hpp>
38*cdf0e10cSrcweir #include <com/sun/star/document/XLinkTargetSupplier.hpp>
39*cdf0e10cSrcweir #include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
40*cdf0e10cSrcweir #include <com/sun/star/drawing/XDrawPages.hpp>
41*cdf0e10cSrcweir #include <com/sun/star/sheet/XGoalSeek.hpp>
42*cdf0e10cSrcweir #include <com/sun/star/sheet/XCalculatable.hpp>
43*cdf0e10cSrcweir #include <com/sun/star/sheet/XScenarios.hpp>
44*cdf0e10cSrcweir #include <com/sun/star/sheet/XConsolidatable.hpp>
45*cdf0e10cSrcweir #include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
46*cdf0e10cSrcweir #include <com/sun/star/sheet/XDocumentAuditing.hpp>
47*cdf0e10cSrcweir #include <com/sun/star/lang/XServiceInfo.hpp>
48*cdf0e10cSrcweir #include <com/sun/star/util/XProtectable.hpp>
49*cdf0e10cSrcweir #include <com/sun/star/container/XEnumerationAccess.hpp>
50*cdf0e10cSrcweir #include <com/sun/star/table/XTableColumns.hpp>
51*cdf0e10cSrcweir #include <com/sun/star/table/XTableRows.hpp>
52*cdf0e10cSrcweir #include <com/sun/star/sheet/XSheetAnnotations.hpp>
53*cdf0e10cSrcweir #include <com/sun/star/beans/XPropertySet.hpp>
54*cdf0e10cSrcweir #include <com/sun/star/sheet/XCellRangesAccess.hpp>
55*cdf0e10cSrcweir #include <com/sun/star/util/XChangesNotifier.hpp>
56*cdf0e10cSrcweir #include <cppuhelper/implbase2.hxx>
57*cdf0e10cSrcweir #include <cppuhelper/implbase3.hxx>
58*cdf0e10cSrcweir #include <cppuhelper/implbase4.hxx>
59*cdf0e10cSrcweir #include <cppuhelper/implbase5.hxx>
60*cdf0e10cSrcweir #include <cppuhelper/interfacecontainer.h>
61*cdf0e10cSrcweir #include <svl/itemprop.hxx>
62*cdf0e10cSrcweir #include "drwlayer.hxx"
63*cdf0e10cSrcweir 
64*cdf0e10cSrcweir class ScDocShell;
65*cdf0e10cSrcweir class ScAnnotationObj;
66*cdf0e10cSrcweir class ScMarkData;
67*cdf0e10cSrcweir class ScPrintFuncCache;
68*cdf0e10cSrcweir class ScPrintSelectionStatus;
69*cdf0e10cSrcweir class ScTableColumnObj;
70*cdf0e10cSrcweir class ScTableRowObj;
71*cdf0e10cSrcweir class ScTableSheetObj;
72*cdf0e10cSrcweir class SvxFmDrawPage;
73*cdf0e10cSrcweir class SvxDrawPage;
74*cdf0e10cSrcweir class ScRangeList;
75*cdf0e10cSrcweir class ScPrintUIOptions;
76*cdf0e10cSrcweir class ScSheetSaveData;
77*cdf0e10cSrcweir 
78*cdf0e10cSrcweir class SC_DLLPUBLIC ScModelObj : public SfxBaseModel,
79*cdf0e10cSrcweir 					public com::sun::star::sheet::XSpreadsheetDocument,
80*cdf0e10cSrcweir 					public com::sun::star::document::XActionLockable,
81*cdf0e10cSrcweir 					public com::sun::star::sheet::XCalculatable,
82*cdf0e10cSrcweir 					public com::sun::star::util::XProtectable,
83*cdf0e10cSrcweir 					public com::sun::star::drawing::XDrawPagesSupplier,
84*cdf0e10cSrcweir 					public com::sun::star::sheet::XGoalSeek,
85*cdf0e10cSrcweir 					public com::sun::star::sheet::XConsolidatable,
86*cdf0e10cSrcweir 					public com::sun::star::sheet::XDocumentAuditing,
87*cdf0e10cSrcweir 					public com::sun::star::style::XStyleFamiliesSupplier,
88*cdf0e10cSrcweir 					public com::sun::star::view::XRenderable,
89*cdf0e10cSrcweir 					public com::sun::star::document::XLinkTargetSupplier,
90*cdf0e10cSrcweir 					public com::sun::star::beans::XPropertySet,
91*cdf0e10cSrcweir 					public SvxFmMSFactory,	// derived from XMultiServiceFactory
92*cdf0e10cSrcweir                     public com::sun::star::lang::XServiceInfo,
93*cdf0e10cSrcweir                     public ::com::sun::star::util::XChangesNotifier
94*cdf0e10cSrcweir {
95*cdf0e10cSrcweir private:
96*cdf0e10cSrcweir 	SfxItemPropertySet		aPropSet;
97*cdf0e10cSrcweir 	ScDocShell*				pDocShell;
98*cdf0e10cSrcweir 	ScPrintFuncCache*		pPrintFuncCache;
99*cdf0e10cSrcweir     ScPrintUIOptions*       pPrinterOptions;
100*cdf0e10cSrcweir 	com::sun::star::uno::Reference<com::sun::star::uno::XAggregation> xNumberAgg;
101*cdf0e10cSrcweir 	com::sun::star::uno::Reference<com::sun::star::uno::XInterface> xDrawGradTab;
102*cdf0e10cSrcweir 	com::sun::star::uno::Reference<com::sun::star::uno::XInterface> xDrawHatchTab;
103*cdf0e10cSrcweir 	com::sun::star::uno::Reference<com::sun::star::uno::XInterface> xDrawBitmapTab;
104*cdf0e10cSrcweir 	com::sun::star::uno::Reference<com::sun::star::uno::XInterface> xDrawTrGradTab;
105*cdf0e10cSrcweir 	com::sun::star::uno::Reference<com::sun::star::uno::XInterface> xDrawMarkerTab;
106*cdf0e10cSrcweir 	com::sun::star::uno::Reference<com::sun::star::uno::XInterface> xDrawDashTab;
107*cdf0e10cSrcweir     com::sun::star::uno::Reference<com::sun::star::uno::XInterface> xChartDataProv;
108*cdf0e10cSrcweir 	com::sun::star::uno::Reference<com::sun::star::uno::XInterface> xObjProvider;
109*cdf0e10cSrcweir 
110*cdf0e10cSrcweir     ::cppu::OInterfaceContainerHelper maChangesListeners;
111*cdf0e10cSrcweir 
112*cdf0e10cSrcweir 	sal_Bool					FillRenderMarkData( const com::sun::star::uno::Any& aSelection,
113*cdf0e10cSrcweir                                                 const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& rOptions,
114*cdf0e10cSrcweir                                                 ScMarkData& rMark, ScPrintSelectionStatus& rStatus, String& rPagesStr ) const;
115*cdf0e10cSrcweir     com::sun::star::uno::Reference<com::sun::star::uno::XAggregation> GetFormatter();
116*cdf0e10cSrcweir     void                    HandleCalculateEvents();
117*cdf0e10cSrcweir 
118*cdf0e10cSrcweir 	rtl::OUString			maBuildId;
119*cdf0e10cSrcweir protected:
120*cdf0e10cSrcweir     const SfxItemPropertySet&   GetPropertySet() const { return aPropSet; }
121*cdf0e10cSrcweir 
122*cdf0e10cSrcweir public:
123*cdf0e10cSrcweir 							ScModelObj(ScDocShell* pDocSh);
124*cdf0e10cSrcweir 	virtual					~ScModelObj();
125*cdf0e10cSrcweir 
126*cdf0e10cSrcweir 	//	create ScModelObj and set at pDocSh (SetBaseModel)
127*cdf0e10cSrcweir 	static void				CreateAndSet(ScDocShell* pDocSh);
128*cdf0e10cSrcweir 
129*cdf0e10cSrcweir 	ScDocument*				GetDocument() const;
130*cdf0e10cSrcweir     SfxObjectShell*         GetEmbeddedObject() const;
131*cdf0e10cSrcweir 
132*cdf0e10cSrcweir     void                    UpdateAllRowHeights( const ScMarkData* pTabMark = NULL, bool bCalcOutputFactor = false );
133*cdf0e10cSrcweir 
134*cdf0e10cSrcweir     void                    BeforeXMLLoading();
135*cdf0e10cSrcweir     void                    AfterXMLLoading(sal_Bool bRet);
136*cdf0e10cSrcweir     ScSheetSaveData*        GetSheetSaveData();
137*cdf0e10cSrcweir 
138*cdf0e10cSrcweir     void                    RepaintRange( const ScRange& rRange );
139*cdf0e10cSrcweir 
140*cdf0e10cSrcweir     bool                    HasChangesListeners() const;
141*cdf0e10cSrcweir 
142*cdf0e10cSrcweir     void                    NotifyChanges( const ::rtl::OUString& rOperation, const ScRangeList& rRanges,
143*cdf0e10cSrcweir                                            const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& rProperties =
144*cdf0e10cSrcweir                                                ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >() );
145*cdf0e10cSrcweir 
146*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(
147*cdf0e10cSrcweir 								const ::com::sun::star::uno::Type & rType )
148*cdf0e10cSrcweir 									throw(::com::sun::star::uno::RuntimeException);
149*cdf0e10cSrcweir 	virtual void SAL_CALL	acquire() throw();
150*cdf0e10cSrcweir 	virtual void SAL_CALL	release() throw();
151*cdf0e10cSrcweir 
152*cdf0e10cSrcweir //?	virtual UString			getClassName(void);
153*cdf0e10cSrcweir 
154*cdf0e10cSrcweir 	virtual void			Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
155*cdf0e10cSrcweir 
156*cdf0e10cSrcweir 							// XSpreadsheetDocument
157*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XSpreadsheets > SAL_CALL
158*cdf0e10cSrcweir 							getSheets() throw(::com::sun::star::uno::RuntimeException);
159*cdf0e10cSrcweir 
160*cdf0e10cSrcweir 								// XStyleFamiliesSupplier
161*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL
162*cdf0e10cSrcweir 							getStyleFamilies() throw(::com::sun::star::uno::RuntimeException);
163*cdf0e10cSrcweir 
164*cdf0e10cSrcweir 							// XRenderable
165*cdf0e10cSrcweir 	virtual sal_Int32 SAL_CALL getRendererCount( const ::com::sun::star::uno::Any& aSelection,
166*cdf0e10cSrcweir 									const ::com::sun::star::uno::Sequence<
167*cdf0e10cSrcweir 										::com::sun::star::beans::PropertyValue >& xOptions )
168*cdf0e10cSrcweir 								throw (::com::sun::star::lang::IllegalArgumentException,
169*cdf0e10cSrcweir 										::com::sun::star::uno::RuntimeException);
170*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL
171*cdf0e10cSrcweir 							getRenderer( sal_Int32 nRenderer, const ::com::sun::star::uno::Any& aSelection,
172*cdf0e10cSrcweir 									const ::com::sun::star::uno::Sequence<
173*cdf0e10cSrcweir 										::com::sun::star::beans::PropertyValue >& xOptions )
174*cdf0e10cSrcweir 								throw (::com::sun::star::lang::IllegalArgumentException,
175*cdf0e10cSrcweir 										::com::sun::star::uno::RuntimeException);
176*cdf0e10cSrcweir 	virtual void SAL_CALL	render( sal_Int32 nRenderer, const ::com::sun::star::uno::Any& aSelection,
177*cdf0e10cSrcweir 									const ::com::sun::star::uno::Sequence<
178*cdf0e10cSrcweir 										::com::sun::star::beans::PropertyValue >& xOptions )
179*cdf0e10cSrcweir 								throw (::com::sun::star::lang::IllegalArgumentException,
180*cdf0e10cSrcweir 										::com::sun::star::uno::RuntimeException);
181*cdf0e10cSrcweir 
182*cdf0e10cSrcweir 							// XLinkTargetSupplier
183*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL
184*cdf0e10cSrcweir 							getLinks() throw(::com::sun::star::uno::RuntimeException);
185*cdf0e10cSrcweir 
186*cdf0e10cSrcweir 							// XActionLockable
187*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL isActionLocked() throw(::com::sun::star::uno::RuntimeException);
188*cdf0e10cSrcweir 	virtual void SAL_CALL	addActionLock() throw(::com::sun::star::uno::RuntimeException);
189*cdf0e10cSrcweir 	virtual void SAL_CALL	removeActionLock() throw(::com::sun::star::uno::RuntimeException);
190*cdf0e10cSrcweir 	virtual void SAL_CALL	setActionLocks( sal_Int16 nLock )
191*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
192*cdf0e10cSrcweir 	virtual sal_Int16 SAL_CALL resetActionLocks() throw(::com::sun::star::uno::RuntimeException);
193*cdf0e10cSrcweir 
194*cdf0e10cSrcweir         virtual void SAL_CALL   lockControllers() throw (::com::sun::star::uno::RuntimeException);
195*cdf0e10cSrcweir         virtual void SAL_CALL   unlockControllers() throw (::com::sun::star::uno::RuntimeException);
196*cdf0e10cSrcweir 
197*cdf0e10cSrcweir 								// XCalculatable
198*cdf0e10cSrcweir 	virtual void SAL_CALL	calculate() throw(::com::sun::star::uno::RuntimeException);
199*cdf0e10cSrcweir 	virtual void SAL_CALL	calculateAll() throw(::com::sun::star::uno::RuntimeException);
200*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL isAutomaticCalculationEnabled()
201*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
202*cdf0e10cSrcweir 	virtual void SAL_CALL	enableAutomaticCalculation( sal_Bool bEnabled )
203*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
204*cdf0e10cSrcweir 
205*cdf0e10cSrcweir 							// XProtectable
206*cdf0e10cSrcweir 	virtual void SAL_CALL	protect( const ::rtl::OUString& aPassword )
207*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
208*cdf0e10cSrcweir 	virtual void SAL_CALL	unprotect( const ::rtl::OUString& aPassword )
209*cdf0e10cSrcweir 								throw(::com::sun::star::lang::IllegalArgumentException,
210*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
211*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL isProtected() throw(::com::sun::star::uno::RuntimeException);
212*cdf0e10cSrcweir 
213*cdf0e10cSrcweir 							//	XDrawPagesSupplier
214*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPages > SAL_CALL
215*cdf0e10cSrcweir 							getDrawPages() throw(::com::sun::star::uno::RuntimeException);
216*cdf0e10cSrcweir 
217*cdf0e10cSrcweir 	//!	XPrintable??
218*cdf0e10cSrcweir 
219*cdf0e10cSrcweir 							//	XGoalSeek
220*cdf0e10cSrcweir 	virtual ::com::sun::star::sheet::GoalResult SAL_CALL seekGoal(
221*cdf0e10cSrcweir 								const ::com::sun::star::table::CellAddress& aFormulaPosition,
222*cdf0e10cSrcweir 								const ::com::sun::star::table::CellAddress& aVariablePosition,
223*cdf0e10cSrcweir 								const ::rtl::OUString& aGoalValue )
224*cdf0e10cSrcweir 									throw(::com::sun::star::uno::RuntimeException);
225*cdf0e10cSrcweir 
226*cdf0e10cSrcweir 							//	XConsolidatable
227*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::sheet::XConsolidationDescriptor >
228*cdf0e10cSrcweir 							SAL_CALL createConsolidationDescriptor( sal_Bool bEmpty )
229*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
230*cdf0e10cSrcweir 	virtual void SAL_CALL consolidate( const ::com::sun::star::uno::Reference<
231*cdf0e10cSrcweir 								::com::sun::star::sheet::XConsolidationDescriptor >& xDescriptor )
232*cdf0e10cSrcweir 									throw(::com::sun::star::uno::RuntimeException);
233*cdf0e10cSrcweir 
234*cdf0e10cSrcweir 							//	XDocumentAuditing
235*cdf0e10cSrcweir 	virtual void SAL_CALL	refreshArrows() throw(::com::sun::star::uno::RuntimeException);
236*cdf0e10cSrcweir 
237*cdf0e10cSrcweir                             //  XViewDataSupplier
238*cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > SAL_CALL getViewData(  )
239*cdf0e10cSrcweir                                 throw (::com::sun::star::uno::RuntimeException);
240*cdf0e10cSrcweir 
241*cdf0e10cSrcweir                             // XPropertySet
242*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >
243*cdf0e10cSrcweir 							SAL_CALL getPropertySetInfo()
244*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
245*cdf0e10cSrcweir 	virtual void SAL_CALL	setPropertyValue( const ::rtl::OUString& aPropertyName,
246*cdf0e10cSrcweir 									const ::com::sun::star::uno::Any& aValue )
247*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
248*cdf0e10cSrcweir 									::com::sun::star::beans::PropertyVetoException,
249*cdf0e10cSrcweir 									::com::sun::star::lang::IllegalArgumentException,
250*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
251*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
252*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
253*cdf0e10cSrcweir 									const ::rtl::OUString& PropertyName )
254*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
255*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
256*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
257*cdf0e10cSrcweir 	virtual void SAL_CALL	addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
258*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
259*cdf0e10cSrcweir 										::com::sun::star::beans::XPropertyChangeListener >& xListener )
260*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
261*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
262*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
263*cdf0e10cSrcweir 	virtual void SAL_CALL	removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
264*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
265*cdf0e10cSrcweir 										::com::sun::star::beans::XPropertyChangeListener >& aListener )
266*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
267*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
268*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
269*cdf0e10cSrcweir 	virtual void SAL_CALL	addVetoableChangeListener( const ::rtl::OUString& PropertyName,
270*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
271*cdf0e10cSrcweir 										::com::sun::star::beans::XVetoableChangeListener >& aListener )
272*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
273*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
274*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
275*cdf0e10cSrcweir 	virtual void SAL_CALL	removeVetoableChangeListener( const ::rtl::OUString& PropertyName,
276*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
277*cdf0e10cSrcweir 										::com::sun::star::beans::XVetoableChangeListener >& aListener )
278*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
279*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
280*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
281*cdf0e10cSrcweir 
282*cdf0e10cSrcweir 							// XMultiServiceFactory
283*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL
284*cdf0e10cSrcweir 							createInstance( const ::rtl::OUString& aServiceSpecifier )
285*cdf0e10cSrcweir 								throw(::com::sun::star::uno::Exception,
286*cdf0e10cSrcweir 										::com::sun::star::uno::RuntimeException);
287*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL
288*cdf0e10cSrcweir 							createInstanceWithArguments( const ::rtl::OUString& ServiceSpecifier,
289*cdf0e10cSrcweir 								const ::com::sun::star::uno::Sequence<
290*cdf0e10cSrcweir 									::com::sun::star::uno::Any >& Arguments )
291*cdf0e10cSrcweir 								throw(::com::sun::star::uno::Exception,
292*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
293*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getAvailableServiceNames()
294*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
295*cdf0e10cSrcweir 
296*cdf0e10cSrcweir 							// XServiceInfo
297*cdf0e10cSrcweir 	virtual ::rtl::OUString SAL_CALL getImplementationName()
298*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
299*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
300*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
301*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
302*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
303*cdf0e10cSrcweir 
304*cdf0e10cSrcweir 							// XUnoTunnel
305*cdf0e10cSrcweir 	virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence<
306*cdf0e10cSrcweir 									sal_Int8 >& aIdentifier )
307*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
308*cdf0e10cSrcweir 
309*cdf0e10cSrcweir 	static const com::sun::star::uno::Sequence<sal_Int8>& getUnoTunnelId();
310*cdf0e10cSrcweir 	static ScModelObj* getImplementation( const com::sun::star::uno::Reference<
311*cdf0e10cSrcweir 									com::sun::star::uno::XInterface> xObj );
312*cdf0e10cSrcweir 
313*cdf0e10cSrcweir 							// XTypeProvider
314*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes()
315*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
316*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId()
317*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
318*cdf0e10cSrcweir 
319*cdf0e10cSrcweir                             // XChangesNotifier
320*cdf0e10cSrcweir     virtual void SAL_CALL addChangesListener( const ::com::sun::star::uno::Reference<
321*cdf0e10cSrcweir                                     ::com::sun::star::util::XChangesListener >& aListener )
322*cdf0e10cSrcweir                                 throw (::com::sun::star::uno::RuntimeException);
323*cdf0e10cSrcweir     virtual void SAL_CALL removeChangesListener( const ::com::sun::star::uno::Reference<
324*cdf0e10cSrcweir                                     ::com::sun::star::util::XChangesListener >& aListener )
325*cdf0e10cSrcweir                                 throw (::com::sun::star::uno::RuntimeException);
326*cdf0e10cSrcweir };
327*cdf0e10cSrcweir 
328*cdf0e10cSrcweir 
329*cdf0e10cSrcweir class ScDrawPagesObj : public cppu::WeakImplHelper2<
330*cdf0e10cSrcweir 								com::sun::star::drawing::XDrawPages,
331*cdf0e10cSrcweir 								com::sun::star::lang::XServiceInfo>,
332*cdf0e10cSrcweir 						public SfxListener
333*cdf0e10cSrcweir {
334*cdf0e10cSrcweir private:
335*cdf0e10cSrcweir 	ScDocShell*				pDocShell;
336*cdf0e10cSrcweir 
337*cdf0e10cSrcweir ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >
338*cdf0e10cSrcweir 							GetObjectByIndex_Impl(sal_Int32 nIndex) const;
339*cdf0e10cSrcweir 
340*cdf0e10cSrcweir public:
341*cdf0e10cSrcweir 							ScDrawPagesObj(ScDocShell* pDocSh);
342*cdf0e10cSrcweir 	virtual					~ScDrawPagesObj();
343*cdf0e10cSrcweir 
344*cdf0e10cSrcweir 	virtual void			Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
345*cdf0e10cSrcweir 
346*cdf0e10cSrcweir 							// XDrawPages
347*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage > SAL_CALL
348*cdf0e10cSrcweir 							insertNewByIndex( sal_Int32 nIndex )
349*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
350*cdf0e10cSrcweir 	virtual void SAL_CALL	remove( const ::com::sun::star::uno::Reference<
351*cdf0e10cSrcweir 								::com::sun::star::drawing::XDrawPage >& xPage )
352*cdf0e10cSrcweir 									throw(::com::sun::star::uno::RuntimeException);
353*cdf0e10cSrcweir 
354*cdf0e10cSrcweir 							// XIndexAccess
355*cdf0e10cSrcweir 	virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException);
356*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
357*cdf0e10cSrcweir 								throw(::com::sun::star::lang::IndexOutOfBoundsException,
358*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
359*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
360*cdf0e10cSrcweir 
361*cdf0e10cSrcweir 							// XElementAccess
362*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
363*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
364*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
365*cdf0e10cSrcweir 
366*cdf0e10cSrcweir 							// XServiceInfo
367*cdf0e10cSrcweir 	virtual ::rtl::OUString SAL_CALL getImplementationName()
368*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
369*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
370*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
371*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
372*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
373*cdf0e10cSrcweir };
374*cdf0e10cSrcweir 
375*cdf0e10cSrcweir 
376*cdf0e10cSrcweir class ScTableSheetsObj : public cppu::WeakImplHelper5<
377*cdf0e10cSrcweir 								com::sun::star::sheet::XSpreadsheets,
378*cdf0e10cSrcweir                                 com::sun::star::sheet::XCellRangesAccess,
379*cdf0e10cSrcweir 								com::sun::star::container::XEnumerationAccess,
380*cdf0e10cSrcweir 								com::sun::star::container::XIndexAccess,
381*cdf0e10cSrcweir 								com::sun::star::lang::XServiceInfo>,
382*cdf0e10cSrcweir 						 public SfxListener
383*cdf0e10cSrcweir {
384*cdf0e10cSrcweir private:
385*cdf0e10cSrcweir 	ScDocShell*				pDocShell;
386*cdf0e10cSrcweir 
387*cdf0e10cSrcweir 	ScTableSheetObj*		GetObjectByIndex_Impl(sal_Int32 nIndex) const;
388*cdf0e10cSrcweir 	ScTableSheetObj*		GetObjectByName_Impl(const ::rtl::OUString& aName) const;
389*cdf0e10cSrcweir 
390*cdf0e10cSrcweir public:
391*cdf0e10cSrcweir 							ScTableSheetsObj(ScDocShell* pDocSh);
392*cdf0e10cSrcweir 	virtual					~ScTableSheetsObj();
393*cdf0e10cSrcweir 
394*cdf0e10cSrcweir 	virtual void			Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
395*cdf0e10cSrcweir 
396*cdf0e10cSrcweir 							// XSpreadsheets
397*cdf0e10cSrcweir 	virtual void SAL_CALL	insertNewByName( const ::rtl::OUString& aName, sal_Int16 nPosition )
398*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
399*cdf0e10cSrcweir 	virtual void SAL_CALL	moveByName( const ::rtl::OUString& aName, sal_Int16 nDestination )
400*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
401*cdf0e10cSrcweir 	virtual void SAL_CALL	copyByName( const ::rtl::OUString& aName,
402*cdf0e10cSrcweir 								const ::rtl::OUString& aCopy, sal_Int16 nDestination )
403*cdf0e10cSrcweir 									throw(::com::sun::star::uno::RuntimeException);
404*cdf0e10cSrcweir 
405*cdf0e10cSrcweir                             // XCellRangesAccess
406*cdf0e10cSrcweir 
407*cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCell >
408*cdf0e10cSrcweir         SAL_CALL getCellByPosition( sal_Int32 nColumn, sal_Int32 nRow, sal_Int32 nSheet )
409*cdf0e10cSrcweir         throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
410*cdf0e10cSrcweir 
411*cdf0e10cSrcweir     virtual ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange >
412*cdf0e10cSrcweir         SAL_CALL getCellRangeByPosition( sal_Int32 nLeft, sal_Int32 nTop, sal_Int32 nRight, sal_Int32 nBottom, sal_Int32 nSheet )
413*cdf0e10cSrcweir         throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException);
414*cdf0e10cSrcweir 
415*cdf0e10cSrcweir     virtual ::com::sun::star::uno::Sequence < ::com::sun::star::uno::Reference< ::com::sun::star::table::XCellRange > >
416*cdf0e10cSrcweir         SAL_CALL getCellRangesByName( const ::rtl::OUString& aRange )
417*cdf0e10cSrcweir         throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
418*cdf0e10cSrcweir 
419*cdf0e10cSrcweir 							// XNameContainer
420*cdf0e10cSrcweir 	virtual void SAL_CALL	insertByName( const ::rtl::OUString& aName,
421*cdf0e10cSrcweir 								const ::com::sun::star::uno::Any& aElement )
422*cdf0e10cSrcweir 									throw(::com::sun::star::lang::IllegalArgumentException,
423*cdf0e10cSrcweir 										::com::sun::star::container::ElementExistException,
424*cdf0e10cSrcweir 										::com::sun::star::lang::WrappedTargetException,
425*cdf0e10cSrcweir 										::com::sun::star::uno::RuntimeException);
426*cdf0e10cSrcweir 	virtual void SAL_CALL	removeByName( const ::rtl::OUString& Name )
427*cdf0e10cSrcweir 								throw(::com::sun::star::container::NoSuchElementException,
428*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
429*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
430*cdf0e10cSrcweir 
431*cdf0e10cSrcweir 							// XNameReplace
432*cdf0e10cSrcweir 	virtual void SAL_CALL	replaceByName( const ::rtl::OUString& aName,
433*cdf0e10cSrcweir 								const ::com::sun::star::uno::Any& aElement )
434*cdf0e10cSrcweir 									throw(::com::sun::star::lang::IllegalArgumentException,
435*cdf0e10cSrcweir 										::com::sun::star::container::NoSuchElementException,
436*cdf0e10cSrcweir 										::com::sun::star::lang::WrappedTargetException,
437*cdf0e10cSrcweir 										::com::sun::star::uno::RuntimeException);
438*cdf0e10cSrcweir 
439*cdf0e10cSrcweir 							// XEnumerationAccess
440*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL
441*cdf0e10cSrcweir 							createEnumeration() throw(::com::sun::star::uno::RuntimeException);
442*cdf0e10cSrcweir 
443*cdf0e10cSrcweir 							// XElementAccess
444*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
445*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
446*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
447*cdf0e10cSrcweir 
448*cdf0e10cSrcweir 							// XIndexAccess
449*cdf0e10cSrcweir 	virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException);
450*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
451*cdf0e10cSrcweir 								throw(::com::sun::star::lang::IndexOutOfBoundsException,
452*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
453*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
454*cdf0e10cSrcweir 
455*cdf0e10cSrcweir 							// XNameAccess
456*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getByName( const ::rtl::OUString& aName )
457*cdf0e10cSrcweir 								throw(::com::sun::star::container::NoSuchElementException,
458*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
459*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
460*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames()
461*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
462*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName )
463*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
464*cdf0e10cSrcweir 
465*cdf0e10cSrcweir 							// XServiceInfo
466*cdf0e10cSrcweir 	virtual ::rtl::OUString SAL_CALL getImplementationName()
467*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
468*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
469*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
470*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
471*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
472*cdf0e10cSrcweir };
473*cdf0e10cSrcweir 
474*cdf0e10cSrcweir 
475*cdf0e10cSrcweir class ScTableColumnsObj : public cppu::WeakImplHelper5<
476*cdf0e10cSrcweir 								com::sun::star::table::XTableColumns,
477*cdf0e10cSrcweir 								com::sun::star::container::XEnumerationAccess,
478*cdf0e10cSrcweir 								com::sun::star::container::XNameAccess,
479*cdf0e10cSrcweir 								com::sun::star::beans::XPropertySet,
480*cdf0e10cSrcweir 								com::sun::star::lang::XServiceInfo>,
481*cdf0e10cSrcweir 						  public SfxListener
482*cdf0e10cSrcweir {
483*cdf0e10cSrcweir private:
484*cdf0e10cSrcweir 	ScDocShell*				pDocShell;
485*cdf0e10cSrcweir 	SCTAB					nTab;
486*cdf0e10cSrcweir 	SCCOL					nStartCol;
487*cdf0e10cSrcweir 	SCCOL					nEndCol;
488*cdf0e10cSrcweir 
489*cdf0e10cSrcweir 	ScTableColumnObj*		GetObjectByIndex_Impl(sal_Int32 nIndex) const;
490*cdf0e10cSrcweir 	ScTableColumnObj*		GetObjectByName_Impl(const ::rtl::OUString& aName) const;
491*cdf0e10cSrcweir 
492*cdf0e10cSrcweir public:
493*cdf0e10cSrcweir 							ScTableColumnsObj(ScDocShell* pDocSh, SCTAB nT,
494*cdf0e10cSrcweir 												SCCOL nSC, SCCOL nEC);
495*cdf0e10cSrcweir 	virtual					~ScTableColumnsObj();
496*cdf0e10cSrcweir 
497*cdf0e10cSrcweir 	virtual void			Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
498*cdf0e10cSrcweir 
499*cdf0e10cSrcweir 							// XTableColumns
500*cdf0e10cSrcweir 	virtual void SAL_CALL	insertByIndex( sal_Int32 nIndex, sal_Int32 nCount )
501*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
502*cdf0e10cSrcweir 	virtual void SAL_CALL	removeByIndex( sal_Int32 nIndex, sal_Int32 nCount )
503*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
504*cdf0e10cSrcweir 
505*cdf0e10cSrcweir 							// XNameAccess
506*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getByName( const ::rtl::OUString& aName )
507*cdf0e10cSrcweir 								throw(::com::sun::star::container::NoSuchElementException,
508*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
509*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
510*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames()
511*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
512*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName )
513*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
514*cdf0e10cSrcweir 
515*cdf0e10cSrcweir 							// XIndexAccess
516*cdf0e10cSrcweir 	virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException);
517*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
518*cdf0e10cSrcweir 								throw(::com::sun::star::lang::IndexOutOfBoundsException,
519*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
520*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
521*cdf0e10cSrcweir 
522*cdf0e10cSrcweir 							// XEnumerationAccess
523*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL
524*cdf0e10cSrcweir 							createEnumeration() throw(::com::sun::star::uno::RuntimeException);
525*cdf0e10cSrcweir 
526*cdf0e10cSrcweir 							// XElementAccess
527*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
528*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
529*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
530*cdf0e10cSrcweir 
531*cdf0e10cSrcweir 							// XPropertySet
532*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >
533*cdf0e10cSrcweir 							SAL_CALL getPropertySetInfo()
534*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
535*cdf0e10cSrcweir 	virtual void SAL_CALL	setPropertyValue( const ::rtl::OUString& aPropertyName,
536*cdf0e10cSrcweir 									const ::com::sun::star::uno::Any& aValue )
537*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
538*cdf0e10cSrcweir 									::com::sun::star::beans::PropertyVetoException,
539*cdf0e10cSrcweir 									::com::sun::star::lang::IllegalArgumentException,
540*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
541*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
542*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
543*cdf0e10cSrcweir 									const ::rtl::OUString& PropertyName )
544*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
545*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
546*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
547*cdf0e10cSrcweir 	virtual void SAL_CALL	addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
548*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
549*cdf0e10cSrcweir 										::com::sun::star::beans::XPropertyChangeListener >& xListener )
550*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
551*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
552*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
553*cdf0e10cSrcweir 	virtual void SAL_CALL	removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
554*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
555*cdf0e10cSrcweir 										::com::sun::star::beans::XPropertyChangeListener >& aListener )
556*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
557*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
558*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
559*cdf0e10cSrcweir 	virtual void SAL_CALL	addVetoableChangeListener( const ::rtl::OUString& PropertyName,
560*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
561*cdf0e10cSrcweir 										::com::sun::star::beans::XVetoableChangeListener >& aListener )
562*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
563*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
564*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
565*cdf0e10cSrcweir 	virtual void SAL_CALL	removeVetoableChangeListener( const ::rtl::OUString& PropertyName,
566*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
567*cdf0e10cSrcweir 										::com::sun::star::beans::XVetoableChangeListener >& aListener )
568*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
569*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
570*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
571*cdf0e10cSrcweir 
572*cdf0e10cSrcweir 							// XServiceInfo
573*cdf0e10cSrcweir 	virtual ::rtl::OUString SAL_CALL getImplementationName()
574*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
575*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
576*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
577*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
578*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
579*cdf0e10cSrcweir };
580*cdf0e10cSrcweir 
581*cdf0e10cSrcweir 
582*cdf0e10cSrcweir class ScTableRowsObj : public cppu::WeakImplHelper4<
583*cdf0e10cSrcweir 								com::sun::star::table::XTableRows,
584*cdf0e10cSrcweir 								com::sun::star::container::XEnumerationAccess,
585*cdf0e10cSrcweir 								com::sun::star::beans::XPropertySet,
586*cdf0e10cSrcweir 								com::sun::star::lang::XServiceInfo>,
587*cdf0e10cSrcweir 						  public SfxListener
588*cdf0e10cSrcweir {
589*cdf0e10cSrcweir private:
590*cdf0e10cSrcweir 	ScDocShell*				pDocShell;
591*cdf0e10cSrcweir 	SCTAB					nTab;
592*cdf0e10cSrcweir 	SCROW					nStartRow;
593*cdf0e10cSrcweir 	SCROW					nEndRow;
594*cdf0e10cSrcweir 
595*cdf0e10cSrcweir 	ScTableRowObj*			GetObjectByIndex_Impl(sal_Int32 nIndex) const;
596*cdf0e10cSrcweir 
597*cdf0e10cSrcweir public:
598*cdf0e10cSrcweir 							ScTableRowsObj(ScDocShell* pDocSh, SCTAB nT,
599*cdf0e10cSrcweir 												SCROW nSR, SCROW nER);
600*cdf0e10cSrcweir 	virtual					~ScTableRowsObj();
601*cdf0e10cSrcweir 
602*cdf0e10cSrcweir 	virtual void			Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
603*cdf0e10cSrcweir 
604*cdf0e10cSrcweir 							// XTableRows
605*cdf0e10cSrcweir 	virtual void SAL_CALL	insertByIndex( sal_Int32 nIndex, sal_Int32 nCount )
606*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
607*cdf0e10cSrcweir 	virtual void SAL_CALL	removeByIndex( sal_Int32 nIndex, sal_Int32 nCount )
608*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
609*cdf0e10cSrcweir 
610*cdf0e10cSrcweir 							// XIndexAccess
611*cdf0e10cSrcweir 	virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException);
612*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
613*cdf0e10cSrcweir 								throw(::com::sun::star::lang::IndexOutOfBoundsException,
614*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
615*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
616*cdf0e10cSrcweir 
617*cdf0e10cSrcweir 							// XEnumerationAccess
618*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL
619*cdf0e10cSrcweir 							createEnumeration() throw(::com::sun::star::uno::RuntimeException);
620*cdf0e10cSrcweir 
621*cdf0e10cSrcweir 							// XElementAccess
622*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
623*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
624*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
625*cdf0e10cSrcweir 
626*cdf0e10cSrcweir 							// XPropertySet
627*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >
628*cdf0e10cSrcweir 							SAL_CALL getPropertySetInfo()
629*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
630*cdf0e10cSrcweir 	virtual void SAL_CALL	setPropertyValue( const ::rtl::OUString& aPropertyName,
631*cdf0e10cSrcweir 									const ::com::sun::star::uno::Any& aValue )
632*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
633*cdf0e10cSrcweir 									::com::sun::star::beans::PropertyVetoException,
634*cdf0e10cSrcweir 									::com::sun::star::lang::IllegalArgumentException,
635*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
636*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
637*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
638*cdf0e10cSrcweir 									const ::rtl::OUString& PropertyName )
639*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
640*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
641*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
642*cdf0e10cSrcweir 	virtual void SAL_CALL	addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
643*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
644*cdf0e10cSrcweir 										::com::sun::star::beans::XPropertyChangeListener >& xListener )
645*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
646*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
647*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
648*cdf0e10cSrcweir 	virtual void SAL_CALL	removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
649*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
650*cdf0e10cSrcweir 										::com::sun::star::beans::XPropertyChangeListener >& aListener )
651*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
652*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
653*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
654*cdf0e10cSrcweir 	virtual void SAL_CALL	addVetoableChangeListener( const ::rtl::OUString& PropertyName,
655*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
656*cdf0e10cSrcweir 										::com::sun::star::beans::XVetoableChangeListener >& aListener )
657*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
658*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
659*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
660*cdf0e10cSrcweir 	virtual void SAL_CALL	removeVetoableChangeListener( const ::rtl::OUString& PropertyName,
661*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
662*cdf0e10cSrcweir 										::com::sun::star::beans::XVetoableChangeListener >& aListener )
663*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
664*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
665*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
666*cdf0e10cSrcweir 
667*cdf0e10cSrcweir 							// XServiceInfo
668*cdf0e10cSrcweir 	virtual ::rtl::OUString SAL_CALL getImplementationName()
669*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
670*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
671*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
672*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
673*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
674*cdf0e10cSrcweir };
675*cdf0e10cSrcweir 
676*cdf0e10cSrcweir 
677*cdf0e10cSrcweir class ScSpreadsheetSettingsObj : public cppu::WeakImplHelper2<
678*cdf0e10cSrcweir 									com::sun::star::beans::XPropertySet,
679*cdf0e10cSrcweir 									com::sun::star::lang::XServiceInfo>,
680*cdf0e10cSrcweir 								 public SfxListener
681*cdf0e10cSrcweir {
682*cdf0e10cSrcweir private:
683*cdf0e10cSrcweir 	ScDocShell*				pDocShell;
684*cdf0e10cSrcweir 
685*cdf0e10cSrcweir public:
686*cdf0e10cSrcweir //UNUSED2008-05             ScSpreadsheetSettingsObj(ScDocShell* pDocSh);
687*cdf0e10cSrcweir 	virtual					~ScSpreadsheetSettingsObj();
688*cdf0e10cSrcweir 
689*cdf0e10cSrcweir 	virtual void			Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
690*cdf0e10cSrcweir 
691*cdf0e10cSrcweir 							// XPropertySet
692*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >
693*cdf0e10cSrcweir 							SAL_CALL getPropertySetInfo()
694*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
695*cdf0e10cSrcweir 	virtual void SAL_CALL	setPropertyValue( const ::rtl::OUString& aPropertyName,
696*cdf0e10cSrcweir 									const ::com::sun::star::uno::Any& aValue )
697*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
698*cdf0e10cSrcweir 									::com::sun::star::beans::PropertyVetoException,
699*cdf0e10cSrcweir 									::com::sun::star::lang::IllegalArgumentException,
700*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
701*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
702*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
703*cdf0e10cSrcweir 									const ::rtl::OUString& PropertyName )
704*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
705*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
706*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
707*cdf0e10cSrcweir 	virtual void SAL_CALL	addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
708*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
709*cdf0e10cSrcweir 										::com::sun::star::beans::XPropertyChangeListener >& xListener )
710*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
711*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
712*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
713*cdf0e10cSrcweir 	virtual void SAL_CALL	removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
714*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
715*cdf0e10cSrcweir 										::com::sun::star::beans::XPropertyChangeListener >& aListener )
716*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
717*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
718*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
719*cdf0e10cSrcweir 	virtual void SAL_CALL	addVetoableChangeListener( const ::rtl::OUString& PropertyName,
720*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
721*cdf0e10cSrcweir 										::com::sun::star::beans::XVetoableChangeListener >& aListener )
722*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
723*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
724*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
725*cdf0e10cSrcweir 	virtual void SAL_CALL	removeVetoableChangeListener( const ::rtl::OUString& PropertyName,
726*cdf0e10cSrcweir 									const ::com::sun::star::uno::Reference<
727*cdf0e10cSrcweir 										::com::sun::star::beans::XVetoableChangeListener >& aListener )
728*cdf0e10cSrcweir 								throw(::com::sun::star::beans::UnknownPropertyException,
729*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
730*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
731*cdf0e10cSrcweir 
732*cdf0e10cSrcweir 							// XServiceInfo
733*cdf0e10cSrcweir 	virtual ::rtl::OUString SAL_CALL getImplementationName()
734*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
735*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
736*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
737*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
738*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
739*cdf0e10cSrcweir };
740*cdf0e10cSrcweir 
741*cdf0e10cSrcweir 
742*cdf0e10cSrcweir class ScAnnotationsObj : public cppu::WeakImplHelper3<
743*cdf0e10cSrcweir 								com::sun::star::sheet::XSheetAnnotations,
744*cdf0e10cSrcweir 								com::sun::star::container::XEnumerationAccess,
745*cdf0e10cSrcweir 								com::sun::star::lang::XServiceInfo>,
746*cdf0e10cSrcweir 						  public SfxListener
747*cdf0e10cSrcweir {
748*cdf0e10cSrcweir private:
749*cdf0e10cSrcweir 	ScDocShell*				pDocShell;
750*cdf0e10cSrcweir 	SCTAB					nTab;			// Collection haengt am Sheet
751*cdf0e10cSrcweir 
752*cdf0e10cSrcweir 	bool					GetAddressByIndex_Impl( sal_Int32 nIndex, ScAddress& rPos ) const;
753*cdf0e10cSrcweir 	ScAnnotationObj*		GetObjectByIndex_Impl( sal_Int32 nIndex ) const;
754*cdf0e10cSrcweir 
755*cdf0e10cSrcweir public:
756*cdf0e10cSrcweir 							ScAnnotationsObj(ScDocShell* pDocSh, SCTAB nT);
757*cdf0e10cSrcweir 	virtual					~ScAnnotationsObj();
758*cdf0e10cSrcweir 
759*cdf0e10cSrcweir 	virtual void			Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
760*cdf0e10cSrcweir 
761*cdf0e10cSrcweir 							// XSheetAnnotations
762*cdf0e10cSrcweir 	virtual void SAL_CALL	insertNew( const ::com::sun::star::table::CellAddress& aPosition,
763*cdf0e10cSrcweir 								const ::rtl::OUString& aText )
764*cdf0e10cSrcweir 									throw(::com::sun::star::uno::RuntimeException);
765*cdf0e10cSrcweir 	virtual void SAL_CALL	removeByIndex( sal_Int32 nIndex )
766*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
767*cdf0e10cSrcweir 
768*cdf0e10cSrcweir 							// XIndexAccess
769*cdf0e10cSrcweir 	virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException);
770*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
771*cdf0e10cSrcweir 								throw(::com::sun::star::lang::IndexOutOfBoundsException,
772*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
773*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
774*cdf0e10cSrcweir 
775*cdf0e10cSrcweir 							// XEnumerationAccess
776*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL
777*cdf0e10cSrcweir 							createEnumeration() throw(::com::sun::star::uno::RuntimeException);
778*cdf0e10cSrcweir 
779*cdf0e10cSrcweir 							// XElementAccess
780*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
781*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
782*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
783*cdf0e10cSrcweir 
784*cdf0e10cSrcweir 							// XServiceInfo
785*cdf0e10cSrcweir 	virtual ::rtl::OUString SAL_CALL getImplementationName()
786*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
787*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
788*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
789*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
790*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
791*cdf0e10cSrcweir };
792*cdf0e10cSrcweir 
793*cdf0e10cSrcweir 
794*cdf0e10cSrcweir class ScScenariosObj : public cppu::WeakImplHelper4<
795*cdf0e10cSrcweir 								com::sun::star::sheet::XScenarios,
796*cdf0e10cSrcweir 								com::sun::star::container::XEnumerationAccess,
797*cdf0e10cSrcweir 								com::sun::star::container::XIndexAccess,
798*cdf0e10cSrcweir 								com::sun::star::lang::XServiceInfo>,
799*cdf0e10cSrcweir 						  public SfxListener
800*cdf0e10cSrcweir {
801*cdf0e10cSrcweir private:
802*cdf0e10cSrcweir 	ScDocShell*				pDocShell;
803*cdf0e10cSrcweir 	SCTAB					nTab;
804*cdf0e10cSrcweir 
805*cdf0e10cSrcweir 	sal_Bool					GetScenarioIndex_Impl( const ::rtl::OUString& rName, SCTAB& rIndex );
806*cdf0e10cSrcweir 	ScTableSheetObj*		GetObjectByIndex_Impl(sal_Int32 nIndex);
807*cdf0e10cSrcweir 	ScTableSheetObj*		GetObjectByName_Impl(const ::rtl::OUString& aName);
808*cdf0e10cSrcweir 
809*cdf0e10cSrcweir public:
810*cdf0e10cSrcweir 							ScScenariosObj(ScDocShell* pDocSh, SCTAB nT);
811*cdf0e10cSrcweir 	virtual					~ScScenariosObj();
812*cdf0e10cSrcweir 
813*cdf0e10cSrcweir 	virtual void			Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
814*cdf0e10cSrcweir 
815*cdf0e10cSrcweir 							// XScenarios
816*cdf0e10cSrcweir 	virtual void SAL_CALL	addNewByName( const ::rtl::OUString& aName,
817*cdf0e10cSrcweir 								const ::com::sun::star::uno::Sequence<
818*cdf0e10cSrcweir 									::com::sun::star::table::CellRangeAddress >& aRanges,
819*cdf0e10cSrcweir 								const ::rtl::OUString& aComment )
820*cdf0e10cSrcweir 									throw(::com::sun::star::uno::RuntimeException);
821*cdf0e10cSrcweir 	virtual void SAL_CALL	removeByName( const ::rtl::OUString& aName )
822*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
823*cdf0e10cSrcweir 
824*cdf0e10cSrcweir 							// XNameAccess
825*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getByName( const ::rtl::OUString& aName )
826*cdf0e10cSrcweir 								throw(::com::sun::star::container::NoSuchElementException,
827*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
828*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
829*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames()
830*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
831*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL hasByName( const ::rtl::OUString& aName )
832*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
833*cdf0e10cSrcweir 
834*cdf0e10cSrcweir 							// XIndexAccess
835*cdf0e10cSrcweir 	virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException);
836*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
837*cdf0e10cSrcweir 								throw(::com::sun::star::lang::IndexOutOfBoundsException,
838*cdf0e10cSrcweir 									::com::sun::star::lang::WrappedTargetException,
839*cdf0e10cSrcweir 									::com::sun::star::uno::RuntimeException);
840*cdf0e10cSrcweir 
841*cdf0e10cSrcweir 							// XEnumerationAccess
842*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL
843*cdf0e10cSrcweir 							createEnumeration() throw(::com::sun::star::uno::RuntimeException);
844*cdf0e10cSrcweir 
845*cdf0e10cSrcweir 							// XElementAccess
846*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
847*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
848*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
849*cdf0e10cSrcweir 
850*cdf0e10cSrcweir 							// XServiceInfo
851*cdf0e10cSrcweir 	virtual ::rtl::OUString SAL_CALL getImplementationName()
852*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
853*cdf0e10cSrcweir 	virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName )
854*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
855*cdf0e10cSrcweir 	virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames()
856*cdf0e10cSrcweir 								throw(::com::sun::star::uno::RuntimeException);
857*cdf0e10cSrcweir };
858*cdf0e10cSrcweir 
859*cdf0e10cSrcweir 
860*cdf0e10cSrcweir 
861*cdf0e10cSrcweir 
862*cdf0e10cSrcweir #endif
863*cdf0e10cSrcweir 
864