1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/lang/XMultiServiceFactory.hpp>
26 #include <com/sun/star/beans/XPropertySet.hpp>
27 #include <com/sun/star/sheet/XRecentFunctions.hpp>
28 #include <com/sun/star/sheet/XFunctionDescriptions.hpp>
29 #include <com/sun/star/sheet/XGlobalSheetSettings.hpp>
30 #include <com/sun/star/container/XEnumerationAccess.hpp>
31 #include <com/sun/star/container/XNameAccess.hpp>
32 #include <cppuhelper/implbase2.hxx>
33 #include <cppuhelper/implbase3.hxx>
34 #include <cppuhelper/implbase4.hxx>
35 #include <rtl/ustring.hxx>
36 #include <sfx2/sfxmodelfactory.hxx>
38 com::sun::star::uno::Reference
<com::sun::star::uno::XInterface
> SAL_CALL
39 ScSpreadsheetSettings_CreateInstance(
40 const com::sun::star::uno::Reference
<
41 com::sun::star::lang::XMultiServiceFactory
>& rSMgr
);
42 com::sun::star::uno::Reference
<com::sun::star::uno::XInterface
> SAL_CALL
43 ScRecentFunctionsObj_CreateInstance(
44 const com::sun::star::uno::Reference
<
45 com::sun::star::lang::XMultiServiceFactory
>& rSMgr
);
46 com::sun::star::uno::Reference
<com::sun::star::uno::XInterface
> SAL_CALL
47 ScFunctionListObj_CreateInstance(
48 const com::sun::star::uno::Reference
<
49 com::sun::star::lang::XMultiServiceFactory
>& rSMgr
);
52 css::uno::Sequence
< OUString
> SAL_CALL
ScDocument_getSupportedServiceNames() throw();
53 OUString SAL_CALL
ScDocument_getImplementationName() throw();
54 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScDocument_createInstance(
55 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
, SfxModelFlags _nCreationFlags
) throw( css::uno::Exception
, std::exception
);
58 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLImport_getSupportedServiceNames() throw();
59 OUString SAL_CALL
ScXMLImport_getImplementationName() throw();
60 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLImport_createInstance(
61 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
) throw( css::uno::Exception
);
62 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLImport_Meta_getSupportedServiceNames() throw();
63 OUString SAL_CALL
ScXMLImport_Meta_getImplementationName() throw();
64 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLImport_Meta_createInstance(
65 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
) throw( css::uno::Exception
);
66 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLImport_Styles_getSupportedServiceNames() throw();
67 OUString SAL_CALL
ScXMLImport_Styles_getImplementationName() throw();
68 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLImport_Styles_createInstance(
69 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
) throw( css::uno::Exception
);
70 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLImport_Content_getSupportedServiceNames() throw();
71 OUString SAL_CALL
ScXMLImport_Content_getImplementationName() throw();
72 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLImport_Content_createInstance(
73 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
) throw( css::uno::Exception
);
74 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLImport_Settings_getSupportedServiceNames() throw();
75 OUString SAL_CALL
ScXMLImport_Settings_getImplementationName() throw();
76 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLImport_Settings_createInstance(
77 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
) throw( css::uno::Exception
);
80 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLOOoExport_getSupportedServiceNames() throw();
81 OUString SAL_CALL
ScXMLOOoExport_getImplementationName() throw();
82 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLOOoExport_createInstance(
83 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
)
84 throw (css::uno::Exception
, std::exception
);
85 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLOOoExport_Meta_getSupportedServiceNames() throw();
86 OUString SAL_CALL
ScXMLOOoExport_Meta_getImplementationName() throw();
87 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLOOoExport_Meta_createInstance(
88 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
)
89 throw (css::uno::Exception
, std::exception
);
90 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLOOoExport_Styles_getSupportedServiceNames() throw();
91 OUString SAL_CALL
ScXMLOOoExport_Styles_getImplementationName() throw();
92 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLOOoExport_Styles_createInstance(
93 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
)
94 throw (css::uno::Exception
, std::exception
);
95 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLOOoExport_Content_getSupportedServiceNames() throw();
96 OUString SAL_CALL
ScXMLOOoExport_Content_getImplementationName() throw();
97 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLOOoExport_Content_createInstance(
98 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
)
99 throw (css::uno::Exception
, std::exception
);
100 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLOOoExport_Settings_getSupportedServiceNames() throw();
101 OUString SAL_CALL
ScXMLOOoExport_Settings_getImplementationName() throw();
102 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLOOoExport_Settings_createInstance(
103 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
)
104 throw( css::uno::Exception
, std::exception
);
106 // Calc XML Oasis export
107 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLOasisExport_getSupportedServiceNames() throw();
108 OUString SAL_CALL
ScXMLOasisExport_getImplementationName() throw();
109 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLOasisExport_createInstance(
110 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
)
111 throw (css::uno::Exception
, std::exception
);
112 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLOasisExport_Meta_getSupportedServiceNames() throw();
113 OUString SAL_CALL
ScXMLOasisExport_Meta_getImplementationName() throw();
114 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLOasisExport_Meta_createInstance(
115 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
)
116 throw (css::uno::Exception
, std::exception
);
117 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLOasisExport_Styles_getSupportedServiceNames() throw();
118 OUString SAL_CALL
ScXMLOasisExport_Styles_getImplementationName() throw();
119 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLOasisExport_Styles_createInstance(
120 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
)
121 throw( css::uno::Exception
, std::exception
);
122 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLOasisExport_Content_getSupportedServiceNames() throw();
123 OUString SAL_CALL
ScXMLOasisExport_Content_getImplementationName() throw();
124 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLOasisExport_Content_createInstance(
125 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
)
126 throw (css::uno::Exception
, std::exception
);
127 css::uno::Sequence
< OUString
> SAL_CALL
ScXMLOasisExport_Settings_getSupportedServiceNames() throw();
128 OUString SAL_CALL
ScXMLOasisExport_Settings_getImplementationName() throw();
129 css::uno::Reference
< css::uno::XInterface
> SAL_CALL
ScXMLOasisExport_Settings_createInstance(
130 const css::uno::Reference
< css::lang::XMultiServiceFactory
> & rSMgr
)
131 throw (css::uno::Exception
, std::exception
);
133 class ScSpreadsheetSettings
: public cppu::WeakImplHelper3
<
134 com::sun::star::sheet::XGlobalSheetSettings
,
135 com::sun::star::beans::XPropertySet
,
136 com::sun::star::lang::XServiceInfo
>
139 SfxItemPropertySet aPropSet
;
141 bool getPropertyBool(const OUString
& aPropertyName
) throw (css::uno::RuntimeException
);
142 sal_Int16
getPropertyInt16(const OUString
& aPropertyName
) throw (css::uno::RuntimeException
);
143 void setProperty(const OUString
& aPropertyName
, bool p1
) throw (css::uno::RuntimeException
)
144 { setPropertyValue( aPropertyName
, css::uno::Any(p1
) ); }
145 void setProperty(const OUString
& aPropertyName
, sal_Int16 p1
) throw (css::uno::RuntimeException
)
146 { setPropertyValue( aPropertyName
, css::uno::Any(p1
) ); }
148 ScSpreadsheetSettings();
149 virtual ~ScSpreadsheetSettings();
151 static OUString
getImplementationName_Static();
152 static ::com::sun::star::uno::Sequence
< OUString
> getSupportedServiceNames_Static();
154 // XGlobalSheetSettings
155 virtual sal_Bool SAL_CALL
getMoveSelection() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
156 { return getPropertyBool("MoveSelection"); }
157 virtual void SAL_CALL
setMoveSelection(sal_Bool p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
158 { setProperty("MoveSelection", (bool)p1
); }
159 virtual sal_Int16 SAL_CALL
getMoveDirection() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
160 { return getPropertyInt16("MoveDirection"); }
161 virtual void SAL_CALL
setMoveDirection(sal_Int16 p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
162 { setProperty("MoveDirection", p1
); }
163 virtual sal_Bool SAL_CALL
getEnterEdit() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
164 { return getPropertyBool("EnterEdit"); }
165 virtual void SAL_CALL
setEnterEdit(sal_Bool p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
166 { setProperty("EnterEdit", (bool)p1
); }
167 virtual sal_Bool SAL_CALL
getExtendFormat() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
168 { return getPropertyBool("ExtendFormat"); }
169 virtual void SAL_CALL
setExtendFormat(sal_Bool p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
170 { setProperty("ExtendFormat", (bool)p1
); }
171 virtual sal_Bool SAL_CALL
getRangeFinder() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
172 { return getPropertyBool("RangeFinder"); }
173 virtual void SAL_CALL
setRangeFinder(sal_Bool p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
174 { setProperty("RangeFinder", (bool)p1
); }
175 virtual sal_Bool SAL_CALL
getExpandReferences() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
176 { return getPropertyBool("ExpandReferences"); }
177 virtual void SAL_CALL
setExpandReferences(sal_Bool p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
178 { setProperty("ExpandReferences", (bool)p1
); }
179 virtual sal_Bool SAL_CALL
getMarkHeader() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
180 { return getPropertyBool("MarkHeader"); }
181 virtual void SAL_CALL
setMarkHeader(sal_Bool p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
182 { setProperty("MarkHeader", (bool)p1
); }
183 virtual sal_Bool SAL_CALL
getUseTabCol() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
184 { return getPropertyBool("UseTabCol"); }
185 virtual void SAL_CALL
setUseTabCol(sal_Bool p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
186 { setProperty("UseTabCol", (bool)p1
); }
187 virtual sal_Int16 SAL_CALL
getMetric() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
188 { return getPropertyInt16("Metric"); }
189 virtual void SAL_CALL
setMetric(sal_Int16 p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
190 { setProperty("Metric", p1
); }
191 virtual sal_Int16 SAL_CALL
getScale() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
192 { return getPropertyInt16("Scale"); }
193 virtual void SAL_CALL
setScale(sal_Int16 p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
194 { setProperty("Scale", p1
); }
195 virtual sal_Bool SAL_CALL
getDoAutoComplete() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
196 { return getPropertyBool("DoAutoComplete"); }
197 virtual void SAL_CALL
setDoAutoComplete(sal_Bool p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
198 { setProperty("DoAutoComplete", (bool)p1
); }
199 virtual sal_Int16 SAL_CALL
getStatusBarFunction() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
200 { return getPropertyInt16("StatusBarFunction"); }
201 virtual void SAL_CALL
setStatusBarFunction(sal_Int16 p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
202 { setProperty("StatusBarFunction", p1
); }
203 virtual css::uno::Sequence
<OUString
> SAL_CALL
getUserLists() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
205 css::uno::Any any
= getPropertyValue("UserLists");
206 css::uno::Sequence
<OUString
> b
;
210 virtual void SAL_CALL
setUserLists(const css::uno::Sequence
<OUString
>& p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
211 { setPropertyValue( "UserLists", css::uno::Any(p1
) ); }
212 virtual sal_Int16 SAL_CALL
getLinkUpdateMode() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
213 { return getPropertyInt16("LinkUpdateMode"); }
214 virtual void SAL_CALL
setLinkUpdateMode(sal_Int16 p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
215 { setProperty("LinkUpdateMode", p1
); }
216 virtual sal_Bool SAL_CALL
getPrintAllSheets() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
217 { return getPropertyBool("PrintAllSheets"); }
218 virtual void SAL_CALL
setPrintAllSheets(sal_Bool p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
219 { setProperty("PrintAllSheets", (bool)p1
); }
220 virtual sal_Bool SAL_CALL
getPrintEmptyPages() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
221 { return getPropertyBool("PrintEmptyPages"); }
222 virtual void SAL_CALL
setPrintEmptyPages(sal_Bool p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
223 { setProperty("PrintEmptyPages", (bool)p1
); }
224 virtual sal_Bool SAL_CALL
getUsePrinterMetrics() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
225 { return getPropertyBool("UsePrinterMetrics"); }
226 virtual void SAL_CALL
setUsePrinterMetrics(sal_Bool p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
227 { setProperty("UsePrinterMetrics", (bool)p1
); }
228 virtual sal_Bool SAL_CALL
getReplaceCellsWarning() throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
229 { return getPropertyBool("ReplaceCellsWarning"); }
230 virtual void SAL_CALL
setReplaceCellsWarning(sal_Bool p1
) throw (css::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
231 { setProperty("ReplaceCellsWarning", (bool)p1
); }
234 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertySetInfo
>
235 SAL_CALL
getPropertySetInfo()
236 throw(::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
237 virtual void SAL_CALL
setPropertyValue( const OUString
& aPropertyName
,
238 const ::com::sun::star::uno::Any
& aValue
)
239 throw (::com::sun::star::beans::UnknownPropertyException
,
240 ::com::sun::star::beans::PropertyVetoException
,
241 ::com::sun::star::lang::IllegalArgumentException
,
242 ::com::sun::star::lang::WrappedTargetException
,
243 ::com::sun::star::uno::RuntimeException
,
244 std::exception
) SAL_OVERRIDE
;
245 virtual ::com::sun::star::uno::Any SAL_CALL
getPropertyValue(
246 const OUString
& PropertyName
)
247 throw (::com::sun::star::beans::UnknownPropertyException
,
248 ::com::sun::star::lang::WrappedTargetException
,
249 ::com::sun::star::uno::RuntimeException
,
250 std::exception
) SAL_OVERRIDE
;
251 virtual void SAL_CALL
addPropertyChangeListener( const OUString
& aPropertyName
,
252 const ::com::sun::star::uno::Reference
<
253 ::com::sun::star::beans::XPropertyChangeListener
>& xListener
)
254 throw(::com::sun::star::beans::UnknownPropertyException
,
255 ::com::sun::star::lang::WrappedTargetException
,
256 ::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
257 virtual void SAL_CALL
removePropertyChangeListener( const OUString
& aPropertyName
,
258 const ::com::sun::star::uno::Reference
<
259 ::com::sun::star::beans::XPropertyChangeListener
>& aListener
)
260 throw(::com::sun::star::beans::UnknownPropertyException
,
261 ::com::sun::star::lang::WrappedTargetException
,
262 ::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
263 virtual void SAL_CALL
addVetoableChangeListener( const OUString
& PropertyName
,
264 const ::com::sun::star::uno::Reference
<
265 ::com::sun::star::beans::XVetoableChangeListener
>& aListener
)
266 throw(::com::sun::star::beans::UnknownPropertyException
,
267 ::com::sun::star::lang::WrappedTargetException
,
268 ::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
269 virtual void SAL_CALL
removeVetoableChangeListener( const OUString
& PropertyName
,
270 const ::com::sun::star::uno::Reference
<
271 ::com::sun::star::beans::XVetoableChangeListener
>& aListener
)
272 throw(::com::sun::star::beans::UnknownPropertyException
,
273 ::com::sun::star::lang::WrappedTargetException
,
274 ::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
277 virtual OUString SAL_CALL
getImplementationName()
278 throw(::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
279 virtual sal_Bool SAL_CALL
supportsService( const OUString
& ServiceName
)
280 throw(::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
281 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getSupportedServiceNames()
282 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
>
290 ScRecentFunctionsObj();
291 virtual ~ScRecentFunctionsObj();
293 static OUString
getImplementationName_Static();
294 static ::com::sun::star::uno::Sequence
< OUString
> getSupportedServiceNames_Static();
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
;
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
;
314 class ScFunctionListObj
: public cppu::WeakImplHelper4
<
315 com::sun::star::sheet::XFunctionDescriptions
,
316 com::sun::star::container::XEnumerationAccess
,
317 com::sun::star::container::XNameAccess
,
318 com::sun::star::lang::XServiceInfo
>
322 virtual ~ScFunctionListObj();
324 static OUString
getImplementationName_Static();
325 static ::com::sun::star::uno::Sequence
< OUString
> getSupportedServiceNames_Static();
327 // XFunctionDescriptions
328 virtual ::com::sun::star::uno::Sequence
< ::com::sun::star::beans::PropertyValue
> SAL_CALL
329 getById( sal_Int32 nId
)
330 throw(::com::sun::star::lang::IllegalArgumentException
,
331 ::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
334 virtual ::com::sun::star::uno::Any SAL_CALL
getByName( const OUString
& aName
)
335 throw(::com::sun::star::container::NoSuchElementException
,
336 ::com::sun::star::lang::WrappedTargetException
,
337 ::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
338 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getElementNames()
339 throw(::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
340 virtual sal_Bool SAL_CALL
hasByName( const OUString
& aName
)
341 throw(::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
344 virtual sal_Int32 SAL_CALL
getCount() throw(::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
345 virtual ::com::sun::star::uno::Any SAL_CALL
getByIndex( sal_Int32 Index
)
346 throw(::com::sun::star::lang::IndexOutOfBoundsException
,
347 ::com::sun::star::lang::WrappedTargetException
,
348 ::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
350 // XEnumerationAccess
351 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::container::XEnumeration
> SAL_CALL
352 createEnumeration() throw(::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
355 virtual ::com::sun::star::uno::Type SAL_CALL
getElementType()
356 throw(::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
357 virtual sal_Bool SAL_CALL
hasElements() throw(::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
360 virtual OUString SAL_CALL
getImplementationName()
361 throw(::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
362 virtual sal_Bool SAL_CALL
supportsService( const OUString
& ServiceName
)
363 throw(::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
364 virtual ::com::sun::star::uno::Sequence
< OUString
> SAL_CALL
getSupportedServiceNames()
365 throw(::com::sun::star::uno::RuntimeException
, std::exception
) SAL_OVERRIDE
;
370 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */