1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: formadapter.hxx,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _SBA_FORMADAPTER_HXX
32 #define _SBA_FORMADAPTER_HXX
34 #ifndef _SBA_MULTIPLEX_HXX
35 #include "sbamultiplex.hxx"
38 #ifndef _COM_SUN_STAR_SDBC_XROW_HPP_
39 #include <com/sun/star/sdbc/XRow.hpp>
41 #ifndef _COM_SUN_STAR_SDBC_XPARAMETERS_HPP_
42 #include <com/sun/star/sdbc/XParameters.hpp>
44 #ifndef _COM_SUN_STAR_SDBC_XCOLUMNLOCATE_HPP_
45 #include <com/sun/star/sdbc/XColumnLocate.hpp>
47 #ifndef _COM_SUN_STAR_SDBC_XCLOSEABLE_HPP_
48 #include <com/sun/star/sdbc/XCloseable.hpp>
50 #ifndef _COM_SUN_STAR_SDBCX_XROWLOCATE_HPP_
51 #include <com/sun/star/sdbcx/XRowLocate.hpp>
53 #ifndef _COM_SUN_STAR_SDBC_XROWUPDATE_HPP_
54 #include <com/sun/star/sdbc/XRowUpdate.hpp>
56 #ifndef _COM_SUN_STAR_SDBC_XRESULTSETUPDATE_HPP_
57 #include <com/sun/star/sdbc/XResultSetUpdate.hpp>
59 #ifndef _COM_SUN_STAR_SDBC_XROWSET_HPP_
60 #include <com/sun/star/sdbc/XRowSet.hpp>
62 #ifndef _COM_SUN_STAR_SDBCX_XDELETEROWS_HPP_
63 #include <com/sun/star/sdbcx/XDeleteRows.hpp>
65 #ifndef _COM_SUN_STAR_SDBC_XRESULTSETMETADATASUPPLIER_HPP_
66 #include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
68 #ifndef _COM_SUN_STAR_SDBC_XWARNINGSSUPPLIER_HPP_
69 #include <com/sun/star/sdbc/XWarningsSupplier.hpp>
71 #ifndef _COM_SUN_STAR_SDBCX_XCOLUMNSSUPPLIER_HPP_
72 #include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
74 #ifndef _COM_SUN_STAR_SDBC_XSQLERRORBROADCASTER_HPP_
75 #include <com/sun/star/sdb/XSQLErrorBroadcaster.hpp>
77 #ifndef _COM_SUN_STAR_SDB_XROWSETAPPROVEBROADCASTER_HPP_
78 #include <com/sun/star/sdb/XRowSetApproveBroadcaster.hpp>
80 #ifndef _COM_SUN_STAR_FORM_XLOADABLE_HPP_
81 #include <com/sun/star/form/XLoadable.hpp>
83 #ifndef _COM_SUN_STAR_SDB_XRESULTSETACCESS_HPP_
84 #include <com/sun/star/sdb/XResultSetAccess.hpp>
86 #ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_
87 #include <com/sun/star/beans/XPropertySet.hpp>
89 #ifndef _COM_SUN_STAR_CONTAINER_XNAMECONTAINER_HPP_
90 #include <com/sun/star/container/XNameContainer.hpp>
92 #ifndef _COM_SUN_STAR_FORM_XFORM_HPP_
93 #include <com/sun/star/form/XForm.hpp>
95 #ifndef _COM_SUN_STAR_BEANS_XMULTIPROPERTYSET_HPP_
96 #include <com/sun/star/beans/XMultiPropertySet.hpp>
98 #ifndef _COM_SUN_STAR_BEANS_XFASTPROPERTYSET_HPP_
99 #include <com/sun/star/beans/XFastPropertySet.hpp>
101 #ifndef _COM_SUN_STAR_CONTAINER_XINDEXCONTAINER_HPP_
102 #include <com/sun/star/container/XIndexContainer.hpp>
104 #ifndef _COM_SUN_STAR_CONTAINER_XCONTAINER_HPP_
105 #include <com/sun/star/container/XContainer.hpp>
107 #ifndef _COM_SUN_STAR_FORM_XRESET_HPP_
108 #include <com/sun/star/form/XReset.hpp>
110 #ifndef _COM_SUN_STAR_FORM_XSUBMIT_HPP_
111 #include <com/sun/star/form/XSubmit.hpp>
113 #ifndef _COM_SUN_STAR_FORM_XDATABASEPARAMETERBROADCASTER_HPP_
114 #include <com/sun/star/form/XDatabaseParameterBroadcaster.hpp>
116 #ifndef _COM_SUN_STAR_CONTAINER_XENUMERATIONACCESS_HPP_
117 #include <com/sun/star/container/XEnumerationAccess.hpp>
119 #ifndef _COM_SUN_STAR_BEANS_XPROPERTYSTATE_HPP_
120 #include <com/sun/star/beans/XPropertyState.hpp>
122 #ifndef _COM_SUN_STAR_AWT_XTABCONTROLLERMODEL_HPP_
123 #include <com/sun/star/awt/XTabControllerModel.hpp>
125 #ifndef _COM_SUN_STAR_IO_XPERSISTOBJECT_HPP_
126 #include <com/sun/star/io/XPersistObject.hpp>
128 #ifndef _COM_SUN_STAR_CONTAINER_XNAMED_HPP_
129 #include <com/sun/star/container/XNamed.hpp>
131 #ifndef _COM_SUN_STAR_UTIL_XCANCELLABLE_HPP_
132 #include <com/sun/star/util/XCancellable.hpp>
134 #ifndef _COMPHELPER_STLTYPES_HXX_
135 #include <comphelper/stl_types.hxx>
137 #ifndef _COMPHELPER_UNO3_HXX_
138 #include <comphelper/uno3.hxx>
140 #ifndef _CPPUHELPER_IMPLBASE12_HXX_
141 #include <cppuhelper/implbase12.hxx>
143 #ifndef _CPPUHELPER_IMPLBASE10_HXX_
144 #include <cppuhelper/implbase10.hxx>
146 #ifndef _DBAUI_MODULE_DBU_HXX_
147 #include "moduledbu.hxx"
152 //==================================================================
154 //==================================================================
156 typedef ::cppu::WeakImplHelper12
< ::com::sun::star::sdbc::XResultSetMetaDataSupplier
157 , ::com::sun::star::sdb::XResultSetAccess
158 , ::com::sun::star::sdbc::XResultSetUpdate
159 , ::com::sun::star::sdbc::XRowSet
160 , ::com::sun::star::sdb::XRowSetApproveBroadcaster
161 , ::com::sun::star::sdbcx::XRowLocate
162 , ::com::sun::star::sdbc::XRowUpdate
163 , ::com::sun::star::sdbc::XRow
164 , ::com::sun::star::sdbcx::XColumnsSupplier
165 , ::com::sun::star::sdbc::XColumnLocate
166 // --- stardiv::one::form::component::DatabaseForm ---
167 , ::com::sun::star::sdbc::XParameters
168 , ::com::sun::star::sdbcx::XDeleteRows
169 > SbaXFormAdapter_BASE1
;
170 typedef ::cppu::ImplHelper12
< ::com::sun::star::sdbc::XWarningsSupplier
171 , ::com::sun::star::sdbc::XCloseable
172 , ::com::sun::star::form::XLoadable
173 , ::com::sun::star::sdb::XSQLErrorBroadcaster
174 , ::com::sun::star::form::XDatabaseParameterBroadcaster
175 // --- stardiv::one::form::component::Form ---
176 , ::com::sun::star::form::XForm
177 , ::com::sun::star::form::XSubmit
178 , ::com::sun::star::awt::XTabControllerModel
179 // --- stardiv::one::form::FormComponent ---
180 , ::com::sun::star::lang::XComponent
181 , ::com::sun::star::beans::XFastPropertySet
182 // already present : ::com::sun::star::form::XFormComponent (base of ::com::sun::star::form::XForm)
183 , ::com::sun::star::beans::XMultiPropertySet
184 , ::com::sun::star::container::XNamed
185 > SbaXFormAdapter_BASE2
;
186 typedef ::cppu::ImplHelper10
< ::com::sun::star::io::XPersistObject
187 , ::com::sun::star::beans::XPropertySet
188 // --- stardiv::one::data::DatabaseCursor ---
189 , ::com::sun::star::util::XCancellable
190 // already present : ::com::sun::star::beans::XPropertySet
191 // --- stardiv::one::data::DatabaseComponent ---
192 // already present : ::com::sun::star::lang::XComponent
193 // already present : ::com::sun::star::container::XChild (base of ::com::sun::star::form::XForm)
194 // interfaces I don't know the service which they belong to ;)
195 // (they are supported by FmXDatabaseForm, se we support it, too)
196 , ::com::sun::star::beans::XPropertyState
197 , ::com::sun::star::form::XReset
198 , ::com::sun::star::container::XNameContainer
199 , ::com::sun::star::container::XIndexContainer
200 , ::com::sun::star::container::XContainer
201 , ::com::sun::star::container::XEnumerationAccess
202 // interfaces we need because of other reasons
203 , ::com::sun::star::beans::XPropertyChangeListener
204 > SbaXFormAdapter_BASE3
;
206 class SbaXFormAdapter
207 :public SbaXFormAdapter_BASE1
208 ,public SbaXFormAdapter_BASE2
209 ,public SbaXFormAdapter_BASE3
212 OModuleClient m_aModuleClient
;
213 ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XRowSet
> m_xMainForm
;
214 ::osl::Mutex m_aMutex
;
216 SbaXLoadMultiplexer m_aLoadListeners
;
217 SbaXRowSetMultiplexer m_aRowSetListeners
;
218 SbaXRowSetApproveMultiplexer m_aRowSetApproveListeners
;
219 SbaXSQLErrorMultiplexer m_aErrorListeners
;
220 SbaXParameterMultiplexer m_aParameterListeners
;
221 SbaXSubmitMultiplexer m_aSubmitListeners
;
222 SbaXResetMultiplexer m_aResetListeners
;
224 SbaXPropertyChangeMultiplexer m_aPropertyChangeListeners
;
225 SbaXVetoableChangeMultiplexer m_aVetoablePropertyChangeListeners
;
226 SbaXPropertiesChangeMultiplexer m_aPropertiesChangeListeners
;
228 ::cppu::OInterfaceContainerHelper m_aDisposeListeners
;
229 ::cppu::OInterfaceContainerHelper m_aContainerListeners
;
231 // hierarchy administration
232 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> m_xParent
;
233 ::std::vector
< ::com::sun::star::uno::Reference
< ::com::sun::star::form::XFormComponent
> > m_aChildren
;
234 ::std::vector
< ::rtl::OUString
> m_aChildNames
;
237 ::rtl::OUString m_sName
;
238 sal_Int32 m_nNamePropHandle
;
241 ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XRowSet
> getAttachedForm() const { return m_xMainForm
; }
247 // ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > getIdlClass();
248 // ::com::sun::star::uno::Sequence<::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > > getIdlClasses();
250 void AttachForm(const ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XRowSet
>& xNewMaster
);
253 DECLARE_UNO3_DEFAULTS(SbaXFormAdapter
, SbaXFormAdapter_BASE1
);
254 virtual ::com::sun::star::uno::Any SAL_CALL
queryInterface(const ::com::sun::star::uno::Type
& _rType
) throw (::com::sun::star::uno::RuntimeException
);
257 virtual ::com::sun::star::uno::Sequence
< ::com::sun::star::uno::Type
> SAL_CALL
getTypes( ) throw (::com::sun::star::uno::RuntimeException
);
258 virtual ::com::sun::star::uno::Sequence
< sal_Int8
> SAL_CALL
getImplementationId( ) throw (::com::sun::star::uno::RuntimeException
);
260 // ::com::sun::star::sdbc::XCloseable
261 virtual void SAL_CALL
close() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
263 // ::com::sun::star::sdbc::XResultSetMetaDataSupplier
264 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XResultSetMetaData
> SAL_CALL
getMetaData() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
266 // ::com::sun::star::sdbc::XColumnLocate
267 virtual sal_Int32 SAL_CALL
findColumn(const ::rtl::OUString
& columnName
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
269 // ::com::sun::star::sdbcx::XColumnsSupplier
270 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::container::XNameAccess
> SAL_CALL
getColumns() throw(::com::sun::star::uno::RuntimeException
);
272 // ::com::sun::star::sdbc::XRow
273 virtual sal_Bool SAL_CALL
wasNull() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
274 virtual ::rtl::OUString SAL_CALL
getString(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
275 virtual sal_Bool SAL_CALL
getBoolean(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
276 virtual sal_Int8 SAL_CALL
getByte(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
277 virtual sal_Int16 SAL_CALL
getShort(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
278 virtual sal_Int32 SAL_CALL
getInt(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
279 virtual sal_Int64 SAL_CALL
getLong(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
280 virtual float SAL_CALL
getFloat(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
281 virtual double SAL_CALL
getDouble(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
282 virtual ::com::sun::star::uno::Sequence
< sal_Int8
> SAL_CALL
getBytes(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
283 virtual ::com::sun::star::util::Date SAL_CALL
getDate(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
284 virtual ::com::sun::star::util::Time SAL_CALL
getTime(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
285 virtual ::com::sun::star::util::DateTime SAL_CALL
getTimestamp(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
286 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::io::XInputStream
> SAL_CALL
getBinaryStream(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
287 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::io::XInputStream
> SAL_CALL
getCharacterStream(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
288 virtual ::com::sun::star::uno::Any SAL_CALL
getObject(sal_Int32 columnIndex
, const ::com::sun::star::uno::Reference
< ::com::sun::star::container::XNameAccess
>& typeMap
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
289 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XRef
> SAL_CALL
getRef(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
290 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XBlob
> SAL_CALL
getBlob(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
291 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XClob
> SAL_CALL
getClob(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
292 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XArray
> SAL_CALL
getArray(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
294 // ::com::sun::star::sdbcx::XRowLocate
295 virtual ::com::sun::star::uno::Any SAL_CALL
getBookmark() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
296 virtual sal_Bool SAL_CALL
moveToBookmark(const ::com::sun::star::uno::Any
& bookmark
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
297 virtual sal_Bool SAL_CALL
moveRelativeToBookmark(const ::com::sun::star::uno::Any
& bookmark
, sal_Int32 rows
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
298 virtual sal_Int32 SAL_CALL
compareBookmarks(const ::com::sun::star::uno::Any
& first
, const ::com::sun::star::uno::Any
& second
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
299 virtual sal_Bool SAL_CALL
hasOrderedBookmarks() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
300 virtual sal_Int32 SAL_CALL
hashBookmark(const ::com::sun::star::uno::Any
& bookmark
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
302 // ::com::sun::star::sdbc::XRowUpdate
303 virtual void SAL_CALL
updateNull(sal_Int32 columnIndex
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
304 virtual void SAL_CALL
updateBoolean(sal_Int32 columnIndex
, sal_Bool x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
305 virtual void SAL_CALL
updateByte(sal_Int32 columnIndex
, sal_Int8 x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
306 virtual void SAL_CALL
updateShort(sal_Int32 columnIndex
, sal_Int16 x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
307 virtual void SAL_CALL
updateInt(sal_Int32 columnIndex
, sal_Int32 x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
308 virtual void SAL_CALL
updateLong(sal_Int32 columnIndex
, sal_Int64 x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
309 virtual void SAL_CALL
updateFloat(sal_Int32 columnIndex
, float x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
310 virtual void SAL_CALL
updateDouble(sal_Int32 columnIndex
, double x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
311 virtual void SAL_CALL
updateString(sal_Int32 columnIndex
, const ::rtl::OUString
& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
312 virtual void SAL_CALL
updateBytes(sal_Int32 columnIndex
, const ::com::sun::star::uno::Sequence
< sal_Int8
>& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
313 virtual void SAL_CALL
updateDate(sal_Int32 columnIndex
, const ::com::sun::star::util::Date
& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
314 virtual void SAL_CALL
updateTime(sal_Int32 columnIndex
, const ::com::sun::star::util::Time
& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
315 virtual void SAL_CALL
updateTimestamp(sal_Int32 columnIndex
, const ::com::sun::star::util::DateTime
& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
316 virtual void SAL_CALL
updateBinaryStream(sal_Int32 columnIndex
, const ::com::sun::star::uno::Reference
< ::com::sun::star::io::XInputStream
>& x
, sal_Int32 length
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
317 virtual void SAL_CALL
updateCharacterStream(sal_Int32 columnIndex
, const ::com::sun::star::uno::Reference
< ::com::sun::star::io::XInputStream
>& x
, sal_Int32 length
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
318 virtual void SAL_CALL
updateObject(sal_Int32 columnIndex
, const ::com::sun::star::uno::Any
& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
319 virtual void SAL_CALL
updateNumericObject(sal_Int32 columnIndex
, const ::com::sun::star::uno::Any
& x
, sal_Int32 scale
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
321 // ::com::sun::star::sdbc::XResultSet
322 virtual sal_Bool SAL_CALL
next() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
323 virtual sal_Bool SAL_CALL
isBeforeFirst() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
324 virtual sal_Bool SAL_CALL
isAfterLast() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
325 virtual sal_Bool SAL_CALL
isFirst() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
326 virtual sal_Bool SAL_CALL
isLast() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
327 virtual void SAL_CALL
beforeFirst() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
328 virtual void SAL_CALL
afterLast() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
329 virtual sal_Bool SAL_CALL
first() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
330 virtual sal_Bool SAL_CALL
last() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
331 virtual sal_Int32 SAL_CALL
getRow() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
332 virtual sal_Bool SAL_CALL
absolute(sal_Int32 row
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
333 virtual sal_Bool SAL_CALL
relative(sal_Int32 rows
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
334 virtual sal_Bool SAL_CALL
previous() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
335 virtual void SAL_CALL
refreshRow() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
336 virtual sal_Bool SAL_CALL
rowUpdated() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
337 virtual sal_Bool SAL_CALL
rowInserted() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
338 virtual sal_Bool SAL_CALL
rowDeleted() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
339 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> SAL_CALL
getStatement() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
341 // ::com::sun::star::sdbc::XResultSetUpdate
342 virtual void SAL_CALL
insertRow() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
343 virtual void SAL_CALL
updateRow() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
344 virtual void SAL_CALL
deleteRow() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
345 virtual void SAL_CALL
cancelRowUpdates() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
346 virtual void SAL_CALL
moveToInsertRow() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
347 virtual void SAL_CALL
moveToCurrentRow() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
349 // ::com::sun::star::sdbc::XRowSet
350 virtual void SAL_CALL
execute() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
351 virtual void SAL_CALL
addRowSetListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XRowSetListener
>& listener
) throw(::com::sun::star::uno::RuntimeException
);
352 virtual void SAL_CALL
removeRowSetListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XRowSetListener
>& listener
) throw(::com::sun::star::uno::RuntimeException
);
354 // ::com::sun::star::sdbcx::XDeleteRows
355 virtual ::com::sun::star::uno::Sequence
<sal_Int32
> SAL_CALL
deleteRows(const ::com::sun::star::uno::Sequence
< ::com::sun::star::uno::Any
>& rows
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
357 // ::com::sun::star::sdbc::XWarningsSupplier
358 virtual ::com::sun::star::uno::Any SAL_CALL
getWarnings() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
359 virtual void SAL_CALL
clearWarnings() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
361 // ::com::sun::star::sdb::XRowSetApproveBroadcaster
362 virtual void SAL_CALL
addRowSetApproveListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::sdb::XRowSetApproveListener
>& listener
) throw(::com::sun::star::uno::RuntimeException
);
363 virtual void SAL_CALL
removeRowSetApproveListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::sdb::XRowSetApproveListener
>& listener
) throw(::com::sun::star::uno::RuntimeException
);
365 // com::sun::star::sdbc::XSQLErrorBroadcaster
366 virtual void SAL_CALL
addSQLErrorListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::sdb::XSQLErrorListener
>& _rListener
) throw(::com::sun::star::uno::RuntimeException
);
367 virtual void SAL_CALL
removeSQLErrorListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::sdb::XSQLErrorListener
>& _rListener
) throw(::com::sun::star::uno::RuntimeException
);
369 // ::com::sun::star::sdb::XResultSetAccess
370 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XResultSet
> SAL_CALL
createResultSet() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
372 // com::sun::star::form::XLoadable
373 virtual void SAL_CALL
load() throw(::com::sun::star::uno::RuntimeException
);
374 virtual void SAL_CALL
unload() throw(::com::sun::star::uno::RuntimeException
);
375 virtual void SAL_CALL
reload() throw(::com::sun::star::uno::RuntimeException
);
376 virtual sal_Bool SAL_CALL
isLoaded() throw(::com::sun::star::uno::RuntimeException
);
377 virtual void SAL_CALL
addLoadListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::form::XLoadListener
>& aListener
) throw(::com::sun::star::uno::RuntimeException
);
378 virtual void SAL_CALL
removeLoadListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::form::XLoadListener
>& aListener
) throw(::com::sun::star::uno::RuntimeException
);
380 // ::com::sun::star::sdbc::XParameters
381 virtual void SAL_CALL
setNull(sal_Int32 parameterIndex
, sal_Int32 sqlType
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
382 virtual void SAL_CALL
setObjectNull(sal_Int32 parameterIndex
, sal_Int32 sqlType
, const ::rtl::OUString
& typeName
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
383 virtual void SAL_CALL
setBoolean(sal_Int32 parameterIndex
, sal_Bool x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
384 virtual void SAL_CALL
setByte(sal_Int32 parameterIndex
, sal_Int8 x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
385 virtual void SAL_CALL
setShort(sal_Int32 parameterIndex
, sal_Int16 x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
386 virtual void SAL_CALL
setInt(sal_Int32 parameterIndex
, sal_Int32 x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
387 virtual void SAL_CALL
setLong(sal_Int32 parameterIndex
, sal_Int64 x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
388 virtual void SAL_CALL
setFloat(sal_Int32 parameterIndex
, float x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
389 virtual void SAL_CALL
setDouble(sal_Int32 parameterIndex
, double x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
390 virtual void SAL_CALL
setString(sal_Int32 parameterIndex
, const ::rtl::OUString
& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
391 virtual void SAL_CALL
setBytes(sal_Int32 parameterIndex
, const ::com::sun::star::uno::Sequence
< sal_Int8
>& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
392 virtual void SAL_CALL
setDate(sal_Int32 parameterIndex
, const ::com::sun::star::util::Date
& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
393 virtual void SAL_CALL
setTime(sal_Int32 parameterIndex
, const ::com::sun::star::util::Time
& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
394 virtual void SAL_CALL
setTimestamp(sal_Int32 parameterIndex
, const ::com::sun::star::util::DateTime
& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
395 virtual void SAL_CALL
setBinaryStream(sal_Int32 parameterIndex
, const ::com::sun::star::uno::Reference
< ::com::sun::star::io::XInputStream
>& x
, sal_Int32 length
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
396 virtual void SAL_CALL
setCharacterStream(sal_Int32 parameterIndex
, const ::com::sun::star::uno::Reference
< ::com::sun::star::io::XInputStream
>& x
, sal_Int32 length
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
397 virtual void SAL_CALL
setObject(sal_Int32 parameterIndex
, const ::com::sun::star::uno::Any
& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
398 virtual void SAL_CALL
setObjectWithInfo(sal_Int32 parameterIndex
, const ::com::sun::star::uno::Any
& x
, sal_Int32 targetSqlType
, sal_Int32 scale
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
399 virtual void SAL_CALL
setRef(sal_Int32 parameterIndex
, const ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XRef
>& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
400 virtual void SAL_CALL
setBlob(sal_Int32 parameterIndex
, const ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XBlob
>& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
401 virtual void SAL_CALL
setClob(sal_Int32 parameterIndex
, const ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XClob
>& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
402 virtual void SAL_CALL
setArray(sal_Int32 parameterIndex
, const ::com::sun::star::uno::Reference
< ::com::sun::star::sdbc::XArray
>& x
) throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
403 virtual void SAL_CALL
clearParameters() throw(::com::sun::star::sdbc::SQLException
, ::com::sun::star::uno::RuntimeException
);
405 // ::com::sun::star::form::XDatabaseParameterBroadcaster
406 virtual void SAL_CALL
addParameterListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::form::XDatabaseParameterListener
>& aListener
) throw(::com::sun::star::uno::RuntimeException
);
407 virtual void SAL_CALL
removeParameterListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::form::XDatabaseParameterListener
>& aListener
) throw(::com::sun::star::uno::RuntimeException
);
409 // ::com::sun::star::container::XChild
410 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> SAL_CALL
getParent() throw(::com::sun::star::uno::RuntimeException
);
411 virtual void SAL_CALL
setParent(const ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
>& Parent
) throw(::com::sun::star::lang::NoSupportException
, ::com::sun::star::uno::RuntimeException
);
413 // ::com::sun::star::form::XSubmit
414 virtual void SAL_CALL
submit(const ::com::sun::star::uno::Reference
< ::com::sun::star::awt::XControl
>& aControl
, const ::com::sun::star::awt::MouseEvent
& aMouseEvt
) throw(::com::sun::star::uno::RuntimeException
);
415 virtual void SAL_CALL
addSubmitListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::form::XSubmitListener
>& aListener
) throw(::com::sun::star::uno::RuntimeException
);
416 virtual void SAL_CALL
removeSubmitListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::form::XSubmitListener
>& aListener
) throw(::com::sun::star::uno::RuntimeException
);
418 // ::com::sun::star::awt::XTabControllerModel
419 virtual sal_Bool SAL_CALL
getGroupControl() throw(::com::sun::star::uno::RuntimeException
);
420 virtual void SAL_CALL
setGroupControl(sal_Bool GroupControl
) throw(::com::sun::star::uno::RuntimeException
);
421 virtual void SAL_CALL
setControlModels(const ::com::sun::star::uno::Sequence
< ::com::sun::star::uno::Reference
< ::com::sun::star::awt::XControlModel
> >& Controls
) throw(::com::sun::star::uno::RuntimeException
);
422 virtual ::com::sun::star::uno::Sequence
< ::com::sun::star::uno::Reference
< ::com::sun::star::awt::XControlModel
> > SAL_CALL
getControlModels() throw(::com::sun::star::uno::RuntimeException
);
423 virtual void SAL_CALL
setGroup(const ::com::sun::star::uno::Sequence
< ::com::sun::star::uno::Reference
< ::com::sun::star::awt::XControlModel
> >& _rGroup
, const ::rtl::OUString
& GroupName
) throw(::com::sun::star::uno::RuntimeException
);
424 virtual sal_Int32 SAL_CALL
getGroupCount() throw(::com::sun::star::uno::RuntimeException
);
425 virtual void SAL_CALL
getGroup(sal_Int32 nGroup
, ::com::sun::star::uno::Sequence
< ::com::sun::star::uno::Reference
< ::com::sun::star::awt::XControlModel
> >& _rGroup
, ::rtl::OUString
& Name
) throw(::com::sun::star::uno::RuntimeException
);
426 virtual void SAL_CALL
getGroupByName(const ::rtl::OUString
& Name
, ::com::sun::star::uno::Sequence
< ::com::sun::star::uno::Reference
< ::com::sun::star::awt::XControlModel
> >& _rGroup
) throw(::com::sun::star::uno::RuntimeException
);
428 // ::com::sun::star::lang::XComponent
429 virtual void SAL_CALL
dispose() throw(::com::sun::star::uno::RuntimeException
);
430 virtual void SAL_CALL
addEventListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XEventListener
>& xListener
) throw(::com::sun::star::uno::RuntimeException
);
431 virtual void SAL_CALL
removeEventListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XEventListener
>& aListener
) throw(::com::sun::star::uno::RuntimeException
);
433 // ::com::sun::star::beans::XFastPropertySet
434 virtual void SAL_CALL
setFastPropertyValue(sal_Int32 nHandle
, const ::com::sun::star::uno::Any
& aValue
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::beans::PropertyVetoException
, ::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
435 virtual ::com::sun::star::uno::Any SAL_CALL
getFastPropertyValue(sal_Int32 nHandle
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
437 // ::com::sun::star::container::XNamed
438 virtual ::rtl::OUString SAL_CALL
getName() throw(::com::sun::star::uno::RuntimeException
);
439 virtual void SAL_CALL
setName(const ::rtl::OUString
& aName
) throw(::com::sun::star::uno::RuntimeException
);
441 // ::com::sun::star::io::XPersistObject
442 virtual ::rtl::OUString SAL_CALL
getServiceName() throw(::com::sun::star::uno::RuntimeException
);
443 virtual void SAL_CALL
write(const ::com::sun::star::uno::Reference
< ::com::sun::star::io::XObjectOutputStream
>& _rxOutStream
) throw(::com::sun::star::io::IOException
, ::com::sun::star::uno::RuntimeException
);
444 virtual void SAL_CALL
read(const ::com::sun::star::uno::Reference
< ::com::sun::star::io::XObjectInputStream
>& _rxInStream
) throw(::com::sun::star::io::IOException
, ::com::sun::star::uno::RuntimeException
);
446 // ::com::sun::star::beans::XMultiPropertySet
447 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertySetInfo
> SAL_CALL
getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException
);
448 virtual void SAL_CALL
setPropertyValues(const ::com::sun::star::uno::Sequence
< ::rtl::OUString
>& PropertyNames
, const ::com::sun::star::uno::Sequence
< ::com::sun::star::uno::Any
>& Values
) throw(::com::sun::star::beans::PropertyVetoException
, ::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
449 virtual ::com::sun::star::uno::Sequence
< ::com::sun::star::uno::Any
> SAL_CALL
getPropertyValues(const ::com::sun::star::uno::Sequence
< ::rtl::OUString
>& aPropertyNames
) throw(::com::sun::star::uno::RuntimeException
);
450 virtual void SAL_CALL
addPropertiesChangeListener(const ::com::sun::star::uno::Sequence
< ::rtl::OUString
>& aPropertyNames
, const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertiesChangeListener
>& xListener
) throw(::com::sun::star::uno::RuntimeException
);
451 virtual void SAL_CALL
removePropertiesChangeListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertiesChangeListener
>& Listener
) throw(::com::sun::star::uno::RuntimeException
);
452 virtual void SAL_CALL
firePropertiesChangeEvent(const ::com::sun::star::uno::Sequence
< ::rtl::OUString
>& aPropertyNames
, const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertiesChangeListener
>& xListener
) throw(::com::sun::star::uno::RuntimeException
);
454 // ::com::sun::star::beans::XPropertySet
455 virtual void SAL_CALL
setPropertyValue(const ::rtl::OUString
& aPropertyName
, const ::com::sun::star::uno::Any
& aValue
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::beans::PropertyVetoException
, ::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
456 virtual ::com::sun::star::uno::Any SAL_CALL
getPropertyValue(const ::rtl::OUString
& PropertyName
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
457 virtual void SAL_CALL
addPropertyChangeListener(const ::rtl::OUString
& aPropertyName
, const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertyChangeListener
>& xListener
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
458 virtual void SAL_CALL
removePropertyChangeListener(const ::rtl::OUString
& aPropertyName
, const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XPropertyChangeListener
>& aListener
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
459 virtual void SAL_CALL
addVetoableChangeListener(const ::rtl::OUString
& PropertyName
, const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XVetoableChangeListener
>& aListener
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
460 virtual void SAL_CALL
removeVetoableChangeListener(const ::rtl::OUString
& PropertyName
, const ::com::sun::star::uno::Reference
< ::com::sun::star::beans::XVetoableChangeListener
>& aListener
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
462 // ::com::sun::star::util::XCancellable
463 virtual void SAL_CALL
cancel() throw(::com::sun::star::uno::RuntimeException
);
465 // ::com::sun::star::beans::XPropertyState
466 virtual ::com::sun::star::beans::PropertyState SAL_CALL
getPropertyState(const ::rtl::OUString
& PropertyName
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::uno::RuntimeException
);
467 virtual ::com::sun::star::uno::Sequence
< ::com::sun::star::beans::PropertyState
> SAL_CALL
getPropertyStates(const ::com::sun::star::uno::Sequence
< ::rtl::OUString
>& aPropertyName
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::uno::RuntimeException
);
468 virtual void SAL_CALL
setPropertyToDefault(const ::rtl::OUString
& PropertyName
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::uno::RuntimeException
);
469 virtual ::com::sun::star::uno::Any SAL_CALL
getPropertyDefault(const ::rtl::OUString
& aPropertyName
) throw(::com::sun::star::beans::UnknownPropertyException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
471 // ::com::sun::star::form::XReset
472 virtual void SAL_CALL
reset() throw(::com::sun::star::uno::RuntimeException
);
473 virtual void SAL_CALL
addResetListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::form::XResetListener
>& aListener
) throw(::com::sun::star::uno::RuntimeException
);
474 virtual void SAL_CALL
removeResetListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::form::XResetListener
>& aListener
) throw(::com::sun::star::uno::RuntimeException
);
476 // ::com::sun::star::container::XNameContainer
477 virtual void SAL_CALL
insertByName(const ::rtl::OUString
& aName
, const ::com::sun::star::uno::Any
& aElement
) throw(::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::container::ElementExistException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
478 virtual void SAL_CALL
removeByName(const ::rtl::OUString
& Name
) throw(::com::sun::star::container::NoSuchElementException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
480 // ::com::sun::star::container::XNameReplace
481 virtual void SAL_CALL
replaceByName(const ::rtl::OUString
& aName
, const ::com::sun::star::uno::Any
& aElement
) throw(::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::container::NoSuchElementException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
483 // ::com::sun::star::container::XNameAccess
484 virtual ::com::sun::star::uno::Any SAL_CALL
getByName(const ::rtl::OUString
& aName
) throw(::com::sun::star::container::NoSuchElementException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
485 virtual ::com::sun::star::uno::Sequence
< ::rtl::OUString
> SAL_CALL
getElementNames() throw(::com::sun::star::uno::RuntimeException
);
486 virtual sal_Bool SAL_CALL
hasByName(const ::rtl::OUString
& aName
) throw(::com::sun::star::uno::RuntimeException
);
488 // ::com::sun::star::container::XElementAccess
489 virtual ::com::sun::star::uno::Type SAL_CALL
getElementType() throw(::com::sun::star::uno::RuntimeException
) ;
490 virtual sal_Bool SAL_CALL
hasElements() throw(::com::sun::star::uno::RuntimeException
);
492 // ::com::sun::star::container::XIndexContainer
493 virtual void SAL_CALL
insertByIndex(sal_Int32 _rIndex
, const ::com::sun::star::uno::Any
& Element
) throw(::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::lang::IndexOutOfBoundsException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
494 virtual void SAL_CALL
removeByIndex(sal_Int32 _rIndex
) throw(::com::sun::star::lang::IndexOutOfBoundsException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
496 // ::com::sun::star::container::XIndexReplace
497 virtual void SAL_CALL
replaceByIndex(sal_Int32 _rIndex
, const ::com::sun::star::uno::Any
& Element
) throw(::com::sun::star::lang::IllegalArgumentException
, ::com::sun::star::lang::IndexOutOfBoundsException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
499 // ::com::sun::star::container::XIndexAccess
500 virtual sal_Int32 SAL_CALL
getCount() throw(::com::sun::star::uno::RuntimeException
);
501 virtual ::com::sun::star::uno::Any SAL_CALL
getByIndex(sal_Int32 _rIndex
) throw(::com::sun::star::lang::IndexOutOfBoundsException
, ::com::sun::star::lang::WrappedTargetException
, ::com::sun::star::uno::RuntimeException
);
503 // ::com::sun::star::container::XContainer
504 virtual void SAL_CALL
addContainerListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::container::XContainerListener
>& xListener
) throw(::com::sun::star::uno::RuntimeException
);
505 virtual void SAL_CALL
removeContainerListener(const ::com::sun::star::uno::Reference
< ::com::sun::star::container::XContainerListener
>& xListener
) throw(::com::sun::star::uno::RuntimeException
);
507 // ::com::sun::star::container::XEnumerationAccess
508 virtual ::com::sun::star::uno::Reference
< ::com::sun::star::container::XEnumeration
> SAL_CALL
createEnumeration() throw(::com::sun::star::uno::RuntimeException
);
510 // ::com::sun::star::lang::XEventListener
511 virtual void SAL_CALL
disposing(const ::com::sun::star::lang::EventObject
& Source
) throw(::com::sun::star::uno::RuntimeException
);
513 // ::com::sun::star::beans::XPropertyChangeListener
514 virtual void SAL_CALL
propertyChange(const ::com::sun::star::beans::PropertyChangeEvent
& evt
) throw(::com::sun::star::uno::RuntimeException
);
517 // container handling
518 void implInsert(const ::com::sun::star::uno::Any
& aElement
, sal_Int32 nIndex
, const ::rtl::OUString
* pNewElName
= NULL
) throw(::com::sun::star::lang::IllegalArgumentException
);
519 sal_Int32
implGetPos(const ::rtl::OUString
& rName
);
521 void StopListening();
522 void StartListening();
525 #endif // _SBA_FORMADAPTER_HXX