Bump version to 4.3-4
[LibreOffice.git] / sc / inc / appluno.hxx
blob49fbd8d5af1d65a6c63cad913c8ca2bc82094bcd
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_SC_INC_APPLUNO_HXX
21 #define INCLUDED_SC_INC_APPLUNO_HXX
23 #include <svl/itemprop.hxx>
24 #include <com/sun/star/lang/XServiceInfo.hpp>
25 #include <com/sun/star/beans/XPropertySet.hpp>
26 #include <com/sun/star/sheet/XRecentFunctions.hpp>
27 #include <com/sun/star/sheet/XFunctionDescriptions.hpp>
28 #include <com/sun/star/sheet/XGlobalSheetSettings.hpp>
29 #include <com/sun/star/container/XEnumerationAccess.hpp>
30 #include <com/sun/star/container/XNameAccess.hpp>
31 #include <cppuhelper/implbase2.hxx>
32 #include <cppuhelper/implbase3.hxx>
33 #include <cppuhelper/implbase4.hxx>
34 #include <rtl/ustring.hxx>
36 com::sun::star::uno::Reference<com::sun::star::uno::XInterface> SAL_CALL
37 ScSpreadsheetSettings_CreateInstance(
38 const com::sun::star::uno::Reference<
39 com::sun::star::lang::XMultiServiceFactory>& rSMgr );
40 com::sun::star::uno::Reference<com::sun::star::uno::XInterface> SAL_CALL
41 ScRecentFunctionsObj_CreateInstance(
42 const com::sun::star::uno::Reference<
43 com::sun::star::lang::XMultiServiceFactory>& rSMgr );
44 com::sun::star::uno::Reference<com::sun::star::uno::XInterface> SAL_CALL
45 ScFunctionListObj_CreateInstance(
46 const com::sun::star::uno::Reference<
47 com::sun::star::lang::XMultiServiceFactory>& rSMgr );
49 // Calc document
50 css::uno::Sequence< OUString > SAL_CALL ScDocument_getSupportedServiceNames() throw();
51 OUString SAL_CALL ScDocument_getImplementationName() throw();
52 css::uno::Reference< css::uno::XInterface > SAL_CALL ScDocument_createInstance(
53 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr, const sal_uInt64 _nCreationFlags ) throw( css::uno::Exception );
55 // Calc XML import
56 css::uno::Sequence< OUString > SAL_CALL ScXMLImport_getSupportedServiceNames() throw();
57 OUString SAL_CALL ScXMLImport_getImplementationName() throw();
58 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_createInstance(
59 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception );
60 css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Meta_getSupportedServiceNames() throw();
61 OUString SAL_CALL ScXMLImport_Meta_getImplementationName() throw();
62 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Meta_createInstance(
63 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception );
64 css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Styles_getSupportedServiceNames() throw();
65 OUString SAL_CALL ScXMLImport_Styles_getImplementationName() throw();
66 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Styles_createInstance(
67 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception );
68 css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Content_getSupportedServiceNames() throw();
69 OUString SAL_CALL ScXMLImport_Content_getImplementationName() throw();
70 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Content_createInstance(
71 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception );
72 css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Settings_getSupportedServiceNames() throw();
73 OUString SAL_CALL ScXMLImport_Settings_getImplementationName() throw();
74 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Settings_createInstance(
75 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception );
77 // Calc XML export
78 css::uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_getSupportedServiceNames() throw();
79 OUString SAL_CALL ScXMLOOoExport_getImplementationName() throw();
80 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOOoExport_createInstance(
81 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
82 throw (css::uno::Exception, std::exception);
83 css::uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Meta_getSupportedServiceNames() throw();
84 OUString SAL_CALL ScXMLOOoExport_Meta_getImplementationName() throw();
85 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOOoExport_Meta_createInstance(
86 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
87 throw (css::uno::Exception, std::exception);
88 css::uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Styles_getSupportedServiceNames() throw();
89 OUString SAL_CALL ScXMLOOoExport_Styles_getImplementationName() throw();
90 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOOoExport_Styles_createInstance(
91 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
92 throw (css::uno::Exception, std::exception);
93 css::uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Content_getSupportedServiceNames() throw();
94 OUString SAL_CALL ScXMLOOoExport_Content_getImplementationName() throw();
95 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOOoExport_Content_createInstance(
96 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
97 throw (css::uno::Exception, std::exception);
98 css::uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Settings_getSupportedServiceNames() throw();
99 OUString SAL_CALL ScXMLOOoExport_Settings_getImplementationName() throw();
100 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOOoExport_Settings_createInstance(
101 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
102 throw( css::uno::Exception, std::exception );
104 // Calc XML Oasis export
105 css::uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_getSupportedServiceNames() throw();
106 OUString SAL_CALL ScXMLOasisExport_getImplementationName() throw();
107 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOasisExport_createInstance(
108 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
109 throw (css::uno::Exception, std::exception);
110 css::uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Meta_getSupportedServiceNames() throw();
111 OUString SAL_CALL ScXMLOasisExport_Meta_getImplementationName() throw();
112 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOasisExport_Meta_createInstance(
113 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
114 throw (css::uno::Exception, std::exception);
115 css::uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Styles_getSupportedServiceNames() throw();
116 OUString SAL_CALL ScXMLOasisExport_Styles_getImplementationName() throw();
117 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOasisExport_Styles_createInstance(
118 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
119 throw( css::uno::Exception, std::exception );
120 css::uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Content_getSupportedServiceNames() throw();
121 OUString SAL_CALL ScXMLOasisExport_Content_getImplementationName() throw();
122 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOasisExport_Content_createInstance(
123 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
124 throw (css::uno::Exception, std::exception);
125 css::uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Settings_getSupportedServiceNames() throw();
126 OUString SAL_CALL ScXMLOasisExport_Settings_getImplementationName() throw();
127 css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOasisExport_Settings_createInstance(
128 const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
129 throw (css::uno::Exception, std::exception);
131 class ScSpreadsheetSettings : public cppu::WeakImplHelper3<
132 com::sun::star::sheet::XGlobalSheetSettings,
133 com::sun::star::beans::XPropertySet,
134 com::sun::star::lang::XServiceInfo>
136 private:
137 SfxItemPropertySet aPropSet;
140 bool getPropertyBool(const OUString& aPropertyName) throw (css::uno::RuntimeException);
141 sal_Int16 getPropertyInt16(const OUString& aPropertyName) throw (css::uno::RuntimeException);
142 void setProperty(const OUString& aPropertyName, bool p1) throw (css::uno::RuntimeException)
143 { setPropertyValue( aPropertyName, css::uno::Any(p1) ); }
144 void setProperty(const OUString& aPropertyName, sal_Int16 p1) throw (css::uno::RuntimeException)
145 { setPropertyValue( aPropertyName, css::uno::Any(p1) ); }
146 public:
147 ScSpreadsheetSettings();
148 virtual ~ScSpreadsheetSettings();
150 static OUString getImplementationName_Static();
151 static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static();
153 // XGlobalSheetSettings
154 virtual sal_Bool SAL_CALL getMoveSelection() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
155 { return getPropertyBool("MoveSelection"); }
156 virtual void SAL_CALL setMoveSelection(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
157 { setProperty("MoveSelection", (bool)p1); }
158 virtual sal_Int16 SAL_CALL getMoveDirection() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
159 { return getPropertyInt16("MoveDirection"); }
160 virtual void SAL_CALL setMoveDirection(sal_Int16 p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
161 { setProperty("MoveDirection", p1); }
162 virtual sal_Bool SAL_CALL getEnterEdit() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
163 { return getPropertyBool("EnterEdit"); }
164 virtual void SAL_CALL setEnterEdit(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
165 { setProperty("EnterEdit", (bool)p1); }
166 virtual sal_Bool SAL_CALL getExtendFormat() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
167 { return getPropertyBool("ExtendFormat"); }
168 virtual void SAL_CALL setExtendFormat(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
169 { setProperty("ExtendFormat", (bool)p1); }
170 virtual sal_Bool SAL_CALL getRangeFinder() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
171 { return getPropertyBool("RangeFinder"); }
172 virtual void SAL_CALL setRangeFinder(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
173 { setProperty("RangeFinder", (bool)p1); }
174 virtual sal_Bool SAL_CALL getExpandReferences() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
175 { return getPropertyBool("ExpandReferences"); }
176 virtual void SAL_CALL setExpandReferences(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
177 { setProperty("ExpandReferences", (bool)p1); }
178 virtual sal_Bool SAL_CALL getMarkHeader() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
179 { return getPropertyBool("MarkHeader"); }
180 virtual void SAL_CALL setMarkHeader(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
181 { setProperty("MarkHeader", (bool)p1); }
182 virtual sal_Bool SAL_CALL getUseTabCol() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
183 { return getPropertyBool("UseTabCol"); }
184 virtual void SAL_CALL setUseTabCol(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
185 { setProperty("UseTabCol", (bool)p1); }
186 virtual sal_Int16 SAL_CALL getMetric() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
187 { return getPropertyInt16("Metric"); }
188 virtual void SAL_CALL setMetric(sal_Int16 p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
189 { setProperty("Metric", p1); }
190 virtual sal_Int16 SAL_CALL getScale() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
191 { return getPropertyInt16("Scale"); }
192 virtual void SAL_CALL setScale(sal_Int16 p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
193 { setProperty("Scale", p1); }
194 virtual sal_Bool SAL_CALL getDoAutoComplete() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
195 { return getPropertyBool("DoAutoComplete"); }
196 virtual void SAL_CALL setDoAutoComplete(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
197 { setProperty("DoAutoComplete", (bool)p1); }
198 virtual sal_Int16 SAL_CALL getStatusBarFunction() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
199 { return getPropertyInt16("StatusBarFunction"); }
200 virtual void SAL_CALL setStatusBarFunction(sal_Int16 p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
201 { setProperty("StatusBarFunction", p1); }
202 virtual css::uno::Sequence<OUString> SAL_CALL getUserLists() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
204 css::uno::Any any = getPropertyValue("UserLists");
205 css::uno::Sequence<OUString> b;
206 any >>= b;
207 return b;
209 virtual void SAL_CALL setUserLists(const css::uno::Sequence<OUString>& p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
210 { setPropertyValue( "UserLists", css::uno::Any(p1) ); }
211 virtual sal_Int16 SAL_CALL getLinkUpdateMode() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
212 { return getPropertyInt16("LinkUpdateMode"); }
213 virtual void SAL_CALL setLinkUpdateMode(sal_Int16 p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
214 { setProperty("LinkUpdateMode", p1); }
215 virtual sal_Bool SAL_CALL getPrintAllSheets() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
216 { return getPropertyBool("PrintAllSheets"); }
217 virtual void SAL_CALL setPrintAllSheets(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
218 { setProperty("PrintAllSheets", (bool)p1); }
219 virtual sal_Bool SAL_CALL getPrintEmptyPages() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
220 { return getPropertyBool("PrintEmptyPages"); }
221 virtual void SAL_CALL setPrintEmptyPages(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
222 { setProperty("PrintEmptyPages", (bool)p1); }
223 virtual sal_Bool SAL_CALL getUsePrinterMetrics() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
224 { return getPropertyBool("UsePrinterMetrics"); }
225 virtual void SAL_CALL setUsePrinterMetrics(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
226 { setProperty("UsePrinterMetrics", (bool)p1); }
227 virtual sal_Bool SAL_CALL getReplaceCellsWarning() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
228 { return getPropertyBool("ReplaceCellsWarning"); }
229 virtual void SAL_CALL setReplaceCellsWarning(sal_Bool p1) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE
230 { setProperty("ReplaceCellsWarning", (bool)p1); }
232 // XPropertySet
233 virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >
234 SAL_CALL getPropertySetInfo()
235 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
236 virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName,
237 const ::com::sun::star::uno::Any& aValue )
238 throw (::com::sun::star::beans::UnknownPropertyException,
239 ::com::sun::star::beans::PropertyVetoException,
240 ::com::sun::star::lang::IllegalArgumentException,
241 ::com::sun::star::lang::WrappedTargetException,
242 ::com::sun::star::uno::RuntimeException,
243 std::exception) SAL_OVERRIDE;
244 virtual ::com::sun::star::uno::Any SAL_CALL getPropertyValue(
245 const OUString& PropertyName )
246 throw (::com::sun::star::beans::UnknownPropertyException,
247 ::com::sun::star::lang::WrappedTargetException,
248 ::com::sun::star::uno::RuntimeException,
249 std::exception) SAL_OVERRIDE;
250 virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName,
251 const ::com::sun::star::uno::Reference<
252 ::com::sun::star::beans::XPropertyChangeListener >& xListener )
253 throw(::com::sun::star::beans::UnknownPropertyException,
254 ::com::sun::star::lang::WrappedTargetException,
255 ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
256 virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName,
257 const ::com::sun::star::uno::Reference<
258 ::com::sun::star::beans::XPropertyChangeListener >& aListener )
259 throw(::com::sun::star::beans::UnknownPropertyException,
260 ::com::sun::star::lang::WrappedTargetException,
261 ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
262 virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName,
263 const ::com::sun::star::uno::Reference<
264 ::com::sun::star::beans::XVetoableChangeListener >& aListener )
265 throw(::com::sun::star::beans::UnknownPropertyException,
266 ::com::sun::star::lang::WrappedTargetException,
267 ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
268 virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName,
269 const ::com::sun::star::uno::Reference<
270 ::com::sun::star::beans::XVetoableChangeListener >& aListener )
271 throw(::com::sun::star::beans::UnknownPropertyException,
272 ::com::sun::star::lang::WrappedTargetException,
273 ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
275 // XServiceInfo
276 virtual OUString SAL_CALL getImplementationName()
277 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
278 virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
279 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
280 virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
281 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
285 class ScRecentFunctionsObj : public cppu::WeakImplHelper2<
286 com::sun::star::sheet::XRecentFunctions,
287 com::sun::star::lang::XServiceInfo>
289 public:
290 ScRecentFunctionsObj();
291 virtual ~ScRecentFunctionsObj();
293 static OUString getImplementationName_Static();
294 static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static();
296 // XRecentFunctions
297 virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL getRecentFunctionIds()
298 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
299 virtual void SAL_CALL setRecentFunctionIds( const ::com::sun::star::uno::Sequence<
300 sal_Int32 >& aRecentFunctionIds )
301 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
302 virtual sal_Int32 SAL_CALL getMaxRecentFunctions()
303 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
305 // XServiceInfo
306 virtual OUString SAL_CALL getImplementationName()
307 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
308 virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
309 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
310 virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
311 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
315 class ScFunctionListObj : public cppu::WeakImplHelper4<
316 com::sun::star::sheet::XFunctionDescriptions,
317 com::sun::star::container::XEnumerationAccess,
318 com::sun::star::container::XNameAccess,
319 com::sun::star::lang::XServiceInfo>
321 public:
322 ScFunctionListObj();
323 virtual ~ScFunctionListObj();
325 static OUString getImplementationName_Static();
326 static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static();
328 // XFunctionDescriptions
329 virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL
330 getById( sal_Int32 nId )
331 throw(::com::sun::star::lang::IllegalArgumentException,
332 ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
334 // XNameAccess
335 virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName )
336 throw(::com::sun::star::container::NoSuchElementException,
337 ::com::sun::star::lang::WrappedTargetException,
338 ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
339 virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames()
340 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
341 virtual sal_Bool SAL_CALL hasByName( const OUString& aName )
342 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
344 // XIndexAccess
345 virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
346 virtual ::com::sun::star::uno::Any SAL_CALL getByIndex( sal_Int32 Index )
347 throw(::com::sun::star::lang::IndexOutOfBoundsException,
348 ::com::sun::star::lang::WrappedTargetException,
349 ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
351 // XEnumerationAccess
352 virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration > SAL_CALL
353 createEnumeration() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
355 // XElementAccess
356 virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
357 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
358 virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
360 // XServiceInfo
361 virtual OUString SAL_CALL getImplementationName()
362 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
363 virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
364 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
365 virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
366 throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
369 #endif
371 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */