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