1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir 
28*cdf0e10cSrcweir #ifndef _SBA_FORMADAPTER_HXX
29*cdf0e10cSrcweir #define _SBA_FORMADAPTER_HXX
30*cdf0e10cSrcweir 
31*cdf0e10cSrcweir #ifndef _SBA_MULTIPLEX_HXX
32*cdf0e10cSrcweir #include "sbamultiplex.hxx"
33*cdf0e10cSrcweir #endif
34*cdf0e10cSrcweir 
35*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XROW_HPP_
36*cdf0e10cSrcweir #include <com/sun/star/sdbc/XRow.hpp>
37*cdf0e10cSrcweir #endif
38*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XPARAMETERS_HPP_
39*cdf0e10cSrcweir #include <com/sun/star/sdbc/XParameters.hpp>
40*cdf0e10cSrcweir #endif
41*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XCOLUMNLOCATE_HPP_
42*cdf0e10cSrcweir #include <com/sun/star/sdbc/XColumnLocate.hpp>
43*cdf0e10cSrcweir #endif
44*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XCLOSEABLE_HPP_
45*cdf0e10cSrcweir #include <com/sun/star/sdbc/XCloseable.hpp>
46*cdf0e10cSrcweir #endif
47*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBCX_XROWLOCATE_HPP_
48*cdf0e10cSrcweir #include <com/sun/star/sdbcx/XRowLocate.hpp>
49*cdf0e10cSrcweir #endif
50*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XROWUPDATE_HPP_
51*cdf0e10cSrcweir #include <com/sun/star/sdbc/XRowUpdate.hpp>
52*cdf0e10cSrcweir #endif
53*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XRESULTSETUPDATE_HPP_
54*cdf0e10cSrcweir #include <com/sun/star/sdbc/XResultSetUpdate.hpp>
55*cdf0e10cSrcweir #endif
56*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XROWSET_HPP_
57*cdf0e10cSrcweir #include <com/sun/star/sdbc/XRowSet.hpp>
58*cdf0e10cSrcweir #endif
59*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBCX_XDELETEROWS_HPP_
60*cdf0e10cSrcweir #include <com/sun/star/sdbcx/XDeleteRows.hpp>
61*cdf0e10cSrcweir #endif
62*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XRESULTSETMETADATASUPPLIER_HPP_
63*cdf0e10cSrcweir #include <com/sun/star/sdbc/XResultSetMetaDataSupplier.hpp>
64*cdf0e10cSrcweir #endif
65*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XWARNINGSSUPPLIER_HPP_
66*cdf0e10cSrcweir #include <com/sun/star/sdbc/XWarningsSupplier.hpp>
67*cdf0e10cSrcweir #endif
68*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBCX_XCOLUMNSSUPPLIER_HPP_
69*cdf0e10cSrcweir #include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
70*cdf0e10cSrcweir #endif
71*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDBC_XSQLERRORBROADCASTER_HPP_
72*cdf0e10cSrcweir #include <com/sun/star/sdb/XSQLErrorBroadcaster.hpp>
73*cdf0e10cSrcweir #endif
74*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDB_XROWSETAPPROVEBROADCASTER_HPP_
75*cdf0e10cSrcweir #include <com/sun/star/sdb/XRowSetApproveBroadcaster.hpp>
76*cdf0e10cSrcweir #endif
77*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_FORM_XLOADABLE_HPP_
78*cdf0e10cSrcweir #include <com/sun/star/form/XLoadable.hpp>
79*cdf0e10cSrcweir #endif
80*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_SDB_XRESULTSETACCESS_HPP_
81*cdf0e10cSrcweir #include <com/sun/star/sdb/XResultSetAccess.hpp>
82*cdf0e10cSrcweir #endif
83*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_
84*cdf0e10cSrcweir #include <com/sun/star/beans/XPropertySet.hpp>
85*cdf0e10cSrcweir #endif
86*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_CONTAINER_XNAMECONTAINER_HPP_
87*cdf0e10cSrcweir #include <com/sun/star/container/XNameContainer.hpp>
88*cdf0e10cSrcweir #endif
89*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_FORM_XFORM_HPP_
90*cdf0e10cSrcweir #include <com/sun/star/form/XForm.hpp>
91*cdf0e10cSrcweir #endif
92*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_BEANS_XMULTIPROPERTYSET_HPP_
93*cdf0e10cSrcweir #include <com/sun/star/beans/XMultiPropertySet.hpp>
94*cdf0e10cSrcweir #endif
95*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_BEANS_XFASTPROPERTYSET_HPP_
96*cdf0e10cSrcweir #include <com/sun/star/beans/XFastPropertySet.hpp>
97*cdf0e10cSrcweir #endif
98*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_CONTAINER_XINDEXCONTAINER_HPP_
99*cdf0e10cSrcweir #include <com/sun/star/container/XIndexContainer.hpp>
100*cdf0e10cSrcweir #endif
101*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_CONTAINER_XCONTAINER_HPP_
102*cdf0e10cSrcweir #include <com/sun/star/container/XContainer.hpp>
103*cdf0e10cSrcweir #endif
104*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_FORM_XRESET_HPP_
105*cdf0e10cSrcweir #include <com/sun/star/form/XReset.hpp>
106*cdf0e10cSrcweir #endif
107*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_FORM_XSUBMIT_HPP_
108*cdf0e10cSrcweir #include <com/sun/star/form/XSubmit.hpp>
109*cdf0e10cSrcweir #endif
110*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_FORM_XDATABASEPARAMETERBROADCASTER_HPP_
111*cdf0e10cSrcweir #include <com/sun/star/form/XDatabaseParameterBroadcaster.hpp>
112*cdf0e10cSrcweir #endif
113*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_CONTAINER_XENUMERATIONACCESS_HPP_
114*cdf0e10cSrcweir #include <com/sun/star/container/XEnumerationAccess.hpp>
115*cdf0e10cSrcweir #endif
116*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_BEANS_XPROPERTYSTATE_HPP_
117*cdf0e10cSrcweir #include <com/sun/star/beans/XPropertyState.hpp>
118*cdf0e10cSrcweir #endif
119*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_AWT_XTABCONTROLLERMODEL_HPP_
120*cdf0e10cSrcweir #include <com/sun/star/awt/XTabControllerModel.hpp>
121*cdf0e10cSrcweir #endif
122*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_IO_XPERSISTOBJECT_HPP_
123*cdf0e10cSrcweir #include <com/sun/star/io/XPersistObject.hpp>
124*cdf0e10cSrcweir #endif
125*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_CONTAINER_XNAMED_HPP_
126*cdf0e10cSrcweir #include <com/sun/star/container/XNamed.hpp>
127*cdf0e10cSrcweir #endif
128*cdf0e10cSrcweir #ifndef _COM_SUN_STAR_UTIL_XCANCELLABLE_HPP_
129*cdf0e10cSrcweir #include <com/sun/star/util/XCancellable.hpp>
130*cdf0e10cSrcweir #endif
131*cdf0e10cSrcweir #ifndef _COMPHELPER_STLTYPES_HXX_
132*cdf0e10cSrcweir #include <comphelper/stl_types.hxx>
133*cdf0e10cSrcweir #endif
134*cdf0e10cSrcweir #ifndef _COMPHELPER_UNO3_HXX_
135*cdf0e10cSrcweir #include <comphelper/uno3.hxx>
136*cdf0e10cSrcweir #endif
137*cdf0e10cSrcweir #ifndef _CPPUHELPER_IMPLBASE12_HXX_
138*cdf0e10cSrcweir #include <cppuhelper/implbase12.hxx>
139*cdf0e10cSrcweir #endif
140*cdf0e10cSrcweir #ifndef _CPPUHELPER_IMPLBASE10_HXX_
141*cdf0e10cSrcweir #include <cppuhelper/implbase10.hxx>
142*cdf0e10cSrcweir #endif
143*cdf0e10cSrcweir #ifndef _DBAUI_MODULE_DBU_HXX_
144*cdf0e10cSrcweir #include "moduledbu.hxx"
145*cdf0e10cSrcweir #endif
146*cdf0e10cSrcweir 
147*cdf0e10cSrcweir namespace dbaui
148*cdf0e10cSrcweir {
149*cdf0e10cSrcweir 	//==================================================================
150*cdf0e10cSrcweir 	// SbaXFormAdapter
151*cdf0e10cSrcweir 	//==================================================================
152*cdf0e10cSrcweir 
153*cdf0e10cSrcweir 	typedef ::cppu::WeakImplHelper12<	::com::sun::star::sdbc::XResultSetMetaDataSupplier
154*cdf0e10cSrcweir 									,	::com::sun::star::sdb::XResultSetAccess
155*cdf0e10cSrcweir 									,	::com::sun::star::sdbc::XResultSetUpdate
156*cdf0e10cSrcweir 									,	::com::sun::star::sdbc::XRowSet
157*cdf0e10cSrcweir 									,	::com::sun::star::sdb::XRowSetApproveBroadcaster
158*cdf0e10cSrcweir 									,	::com::sun::star::sdbcx::XRowLocate
159*cdf0e10cSrcweir 									,	::com::sun::star::sdbc::XRowUpdate
160*cdf0e10cSrcweir 									,	::com::sun::star::sdbc::XRow
161*cdf0e10cSrcweir 									,	::com::sun::star::sdbcx::XColumnsSupplier
162*cdf0e10cSrcweir 									,	::com::sun::star::sdbc::XColumnLocate
163*cdf0e10cSrcweir 									// --- stardiv::one::form::component::DatabaseForm ---
164*cdf0e10cSrcweir 									,	::com::sun::star::sdbc::XParameters
165*cdf0e10cSrcweir 									,	::com::sun::star::sdbcx::XDeleteRows
166*cdf0e10cSrcweir 									>	SbaXFormAdapter_BASE1;
167*cdf0e10cSrcweir 	typedef ::cppu::ImplHelper12	<	::com::sun::star::sdbc::XWarningsSupplier
168*cdf0e10cSrcweir 									,	::com::sun::star::sdbc::XCloseable
169*cdf0e10cSrcweir 									,	::com::sun::star::form::XLoadable
170*cdf0e10cSrcweir 									,	::com::sun::star::sdb::XSQLErrorBroadcaster
171*cdf0e10cSrcweir 									,	::com::sun::star::form::XDatabaseParameterBroadcaster
172*cdf0e10cSrcweir 										// --- stardiv::one::form::component::Form ---
173*cdf0e10cSrcweir 									,		::com::sun::star::form::XForm
174*cdf0e10cSrcweir 									,		::com::sun::star::form::XSubmit
175*cdf0e10cSrcweir 									,		::com::sun::star::awt::XTabControllerModel
176*cdf0e10cSrcweir 											// --- stardiv::one::form::FormComponent ---
177*cdf0e10cSrcweir 									,			::com::sun::star::lang::XComponent
178*cdf0e10cSrcweir 									,			::com::sun::star::beans::XFastPropertySet
179*cdf0e10cSrcweir 											// already present : ::com::sun::star::form::XFormComponent (base of ::com::sun::star::form::XForm)
180*cdf0e10cSrcweir 									,			::com::sun::star::beans::XMultiPropertySet
181*cdf0e10cSrcweir 									,			::com::sun::star::container::XNamed
182*cdf0e10cSrcweir 									>	SbaXFormAdapter_BASE2;
183*cdf0e10cSrcweir 	typedef ::cppu::ImplHelper10	<			::com::sun::star::io::XPersistObject
184*cdf0e10cSrcweir 									,			::com::sun::star::beans::XPropertySet
185*cdf0e10cSrcweir 										// --- stardiv::one::data::DatabaseCursor ---
186*cdf0e10cSrcweir 									,		::com::sun::star::util::XCancellable
187*cdf0e10cSrcweir 										// already present : ::com::sun::star::beans::XPropertySet
188*cdf0e10cSrcweir 											// --- stardiv::one::data::DatabaseComponent ---
189*cdf0e10cSrcweir 											// already present : ::com::sun::star::lang::XComponent
190*cdf0e10cSrcweir 											// already present : ::com::sun::star::container::XChild (base of ::com::sun::star::form::XForm)
191*cdf0e10cSrcweir 									// interfaces I don't know the service which they belong to ;)
192*cdf0e10cSrcweir 									// (they are supported by FmXDatabaseForm, se we support it, too)
193*cdf0e10cSrcweir 									,	::com::sun::star::beans::XPropertyState
194*cdf0e10cSrcweir 									,	::com::sun::star::form::XReset
195*cdf0e10cSrcweir 									,	::com::sun::star::container::XNameContainer
196*cdf0e10cSrcweir 									,	::com::sun::star::container::XIndexContainer
197*cdf0e10cSrcweir 									,	::com::sun::star::container::XContainer
198*cdf0e10cSrcweir 									,	::com::sun::star::container::XEnumerationAccess
199*cdf0e10cSrcweir 									// interfaces we need because of other reasons
200*cdf0e10cSrcweir 									,	::com::sun::star::beans::XPropertyChangeListener
201*cdf0e10cSrcweir 									>	SbaXFormAdapter_BASE3;
202*cdf0e10cSrcweir 
203*cdf0e10cSrcweir 	class SbaXFormAdapter
204*cdf0e10cSrcweir 		:public SbaXFormAdapter_BASE1
205*cdf0e10cSrcweir 		,public SbaXFormAdapter_BASE2
206*cdf0e10cSrcweir 		,public SbaXFormAdapter_BASE3
207*cdf0e10cSrcweir 	{
208*cdf0e10cSrcweir 	private:
209*cdf0e10cSrcweir         OModuleClient                m_aModuleClient;
210*cdf0e10cSrcweir 		::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet > 							m_xMainForm;
211*cdf0e10cSrcweir 		::osl::Mutex						m_aMutex;
212*cdf0e10cSrcweir 
213*cdf0e10cSrcweir 		SbaXLoadMultiplexer					m_aLoadListeners;
214*cdf0e10cSrcweir 		SbaXRowSetMultiplexer				m_aRowSetListeners;
215*cdf0e10cSrcweir 		SbaXRowSetApproveMultiplexer		m_aRowSetApproveListeners;
216*cdf0e10cSrcweir 		SbaXSQLErrorMultiplexer				m_aErrorListeners;
217*cdf0e10cSrcweir 		SbaXParameterMultiplexer			m_aParameterListeners;
218*cdf0e10cSrcweir 		SbaXSubmitMultiplexer				m_aSubmitListeners;
219*cdf0e10cSrcweir 		SbaXResetMultiplexer				m_aResetListeners;
220*cdf0e10cSrcweir 
221*cdf0e10cSrcweir 		SbaXPropertyChangeMultiplexer		m_aPropertyChangeListeners;
222*cdf0e10cSrcweir 		SbaXVetoableChangeMultiplexer		m_aVetoablePropertyChangeListeners;
223*cdf0e10cSrcweir 		SbaXPropertiesChangeMultiplexer		m_aPropertiesChangeListeners;
224*cdf0e10cSrcweir 
225*cdf0e10cSrcweir 		::cppu::OInterfaceContainerHelper	m_aDisposeListeners;
226*cdf0e10cSrcweir 		::cppu::OInterfaceContainerHelper	m_aContainerListeners;
227*cdf0e10cSrcweir 
228*cdf0e10cSrcweir 		// hierarchy administration
229*cdf0e10cSrcweir 		::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > 						m_xParent;
230*cdf0e10cSrcweir 		::std::vector<	::com::sun::star::uno::Reference< ::com::sun::star::form::XFormComponent > >	m_aChildren;
231*cdf0e10cSrcweir 		::std::vector< ::rtl::OUString >																m_aChildNames;
232*cdf0e10cSrcweir 
233*cdf0e10cSrcweir 		// properties
234*cdf0e10cSrcweir 		::rtl::OUString					m_sName;
235*cdf0e10cSrcweir 		sal_Int32						m_nNamePropHandle;
236*cdf0e10cSrcweir 
237*cdf0e10cSrcweir 	public:
238*cdf0e10cSrcweir 		::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet >  getAttachedForm() const { return m_xMainForm; }
239*cdf0e10cSrcweir 
240*cdf0e10cSrcweir 	public:
241*cdf0e10cSrcweir 		SbaXFormAdapter();
242*cdf0e10cSrcweir 		~SbaXFormAdapter();
243*cdf0e10cSrcweir 
244*cdf0e10cSrcweir 	//	::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass >  getIdlClass();
245*cdf0e10cSrcweir 	//	::com::sun::star::uno::Sequence<::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > > getIdlClasses();
246*cdf0e10cSrcweir 
247*cdf0e10cSrcweir 		void AttachForm(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet >& xNewMaster);
248*cdf0e10cSrcweir 
249*cdf0e10cSrcweir 		// UNO
250*cdf0e10cSrcweir 		DECLARE_UNO3_DEFAULTS(SbaXFormAdapter, SbaXFormAdapter_BASE1);
251*cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Any	SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException);
252*cdf0e10cSrcweir 
253*cdf0e10cSrcweir 		// XTypeProvider
254*cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes(  ) throw (::com::sun::star::uno::RuntimeException);
255*cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId(  ) throw (::com::sun::star::uno::RuntimeException);
256*cdf0e10cSrcweir 
257*cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XCloseable
258*cdf0e10cSrcweir 		virtual void SAL_CALL close() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
259*cdf0e10cSrcweir 
260*cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XResultSetMetaDataSupplier
261*cdf0e10cSrcweir 		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);
262*cdf0e10cSrcweir 
263*cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XColumnLocate
264*cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL findColumn(const ::rtl::OUString& columnName) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
265*cdf0e10cSrcweir 
266*cdf0e10cSrcweir 	// ::com::sun::star::sdbcx::XColumnsSupplier
267*cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getColumns() throw(::com::sun::star::uno::RuntimeException);
268*cdf0e10cSrcweir 
269*cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XRow
270*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL wasNull() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
271*cdf0e10cSrcweir 		virtual ::rtl::OUString SAL_CALL getString(sal_Int32 columnIndex) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
272*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL getBoolean(sal_Int32 columnIndex) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
273*cdf0e10cSrcweir 		virtual sal_Int8 SAL_CALL getByte(sal_Int32 columnIndex) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
274*cdf0e10cSrcweir 		virtual sal_Int16 SAL_CALL getShort(sal_Int32 columnIndex) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
275*cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getInt(sal_Int32 columnIndex) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
276*cdf0e10cSrcweir 		virtual sal_Int64 SAL_CALL getLong(sal_Int32 columnIndex) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
277*cdf0e10cSrcweir 		virtual float SAL_CALL getFloat(sal_Int32 columnIndex) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
278*cdf0e10cSrcweir 		virtual double SAL_CALL getDouble(sal_Int32 columnIndex) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
279*cdf0e10cSrcweir 		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);
280*cdf0e10cSrcweir 		virtual ::com::sun::star::util::Date SAL_CALL getDate(sal_Int32 columnIndex) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
281*cdf0e10cSrcweir 		virtual ::com::sun::star::util::Time SAL_CALL getTime(sal_Int32 columnIndex) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
282*cdf0e10cSrcweir 		virtual ::com::sun::star::util::DateTime SAL_CALL getTimestamp(sal_Int32 columnIndex) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
283*cdf0e10cSrcweir 		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);
284*cdf0e10cSrcweir 		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);
285*cdf0e10cSrcweir 		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);
286*cdf0e10cSrcweir 		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);
287*cdf0e10cSrcweir 		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);
288*cdf0e10cSrcweir 		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);
289*cdf0e10cSrcweir 		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);
290*cdf0e10cSrcweir 
291*cdf0e10cSrcweir 	// ::com::sun::star::sdbcx::XRowLocate
292*cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Any SAL_CALL getBookmark() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
293*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL moveToBookmark(const ::com::sun::star::uno::Any& bookmark) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
294*cdf0e10cSrcweir 		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);
295*cdf0e10cSrcweir 		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);
296*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL hasOrderedBookmarks() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
297*cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL hashBookmark(const ::com::sun::star::uno::Any& bookmark) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
298*cdf0e10cSrcweir 
299*cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XRowUpdate
300*cdf0e10cSrcweir 		virtual void SAL_CALL updateNull(sal_Int32 columnIndex) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
301*cdf0e10cSrcweir 		virtual void SAL_CALL updateBoolean(sal_Int32 columnIndex, sal_Bool x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
302*cdf0e10cSrcweir 		virtual void SAL_CALL updateByte(sal_Int32 columnIndex, sal_Int8 x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
303*cdf0e10cSrcweir 		virtual void SAL_CALL updateShort(sal_Int32 columnIndex, sal_Int16 x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
304*cdf0e10cSrcweir 		virtual void SAL_CALL updateInt(sal_Int32 columnIndex, sal_Int32 x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
305*cdf0e10cSrcweir 		virtual void SAL_CALL updateLong(sal_Int32 columnIndex, sal_Int64 x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
306*cdf0e10cSrcweir 		virtual void SAL_CALL updateFloat(sal_Int32 columnIndex, float x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
307*cdf0e10cSrcweir 		virtual void SAL_CALL updateDouble(sal_Int32 columnIndex, double x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
308*cdf0e10cSrcweir 		virtual void SAL_CALL updateString(sal_Int32 columnIndex, const ::rtl::OUString& x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
309*cdf0e10cSrcweir 		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);
310*cdf0e10cSrcweir 		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);
311*cdf0e10cSrcweir 		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);
312*cdf0e10cSrcweir 		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);
313*cdf0e10cSrcweir 		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);
314*cdf0e10cSrcweir 		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);
315*cdf0e10cSrcweir 		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);
316*cdf0e10cSrcweir 		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);
317*cdf0e10cSrcweir 
318*cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XResultSet
319*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL next() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
320*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL isBeforeFirst() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
321*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL isAfterLast() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
322*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL isFirst() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
323*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL isLast() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
324*cdf0e10cSrcweir 		virtual void SAL_CALL beforeFirst() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
325*cdf0e10cSrcweir 		virtual void SAL_CALL afterLast() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
326*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL first() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
327*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL last() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
328*cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getRow() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
329*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL absolute(sal_Int32 row) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
330*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL relative(sal_Int32 rows) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
331*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL previous() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
332*cdf0e10cSrcweir 		virtual void SAL_CALL refreshRow() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
333*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL rowUpdated() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
334*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL rowInserted() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
335*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL rowDeleted() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
336*cdf0e10cSrcweir 		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);
337*cdf0e10cSrcweir 
338*cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XResultSetUpdate
339*cdf0e10cSrcweir 		virtual void SAL_CALL insertRow() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
340*cdf0e10cSrcweir 		virtual void SAL_CALL updateRow() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
341*cdf0e10cSrcweir 		virtual void SAL_CALL deleteRow() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
342*cdf0e10cSrcweir 		virtual void SAL_CALL cancelRowUpdates() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
343*cdf0e10cSrcweir 		virtual void SAL_CALL moveToInsertRow() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
344*cdf0e10cSrcweir 		virtual void SAL_CALL moveToCurrentRow() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
345*cdf0e10cSrcweir 
346*cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XRowSet
347*cdf0e10cSrcweir 		virtual void SAL_CALL execute() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
348*cdf0e10cSrcweir 		virtual void SAL_CALL addRowSetListener(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSetListener >& listener) throw(::com::sun::star::uno::RuntimeException);
349*cdf0e10cSrcweir 		virtual void SAL_CALL removeRowSetListener(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSetListener >& listener) throw(::com::sun::star::uno::RuntimeException);
350*cdf0e10cSrcweir 
351*cdf0e10cSrcweir 	// ::com::sun::star::sdbcx::XDeleteRows
352*cdf0e10cSrcweir 		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);
353*cdf0e10cSrcweir 
354*cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XWarningsSupplier
355*cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Any SAL_CALL getWarnings() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
356*cdf0e10cSrcweir 		virtual void SAL_CALL clearWarnings() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
357*cdf0e10cSrcweir 
358*cdf0e10cSrcweir 	// ::com::sun::star::sdb::XRowSetApproveBroadcaster
359*cdf0e10cSrcweir 		virtual void SAL_CALL addRowSetApproveListener(const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XRowSetApproveListener >& listener) throw(::com::sun::star::uno::RuntimeException);
360*cdf0e10cSrcweir 		virtual void SAL_CALL removeRowSetApproveListener(const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XRowSetApproveListener >& listener) throw(::com::sun::star::uno::RuntimeException);
361*cdf0e10cSrcweir 
362*cdf0e10cSrcweir 	// com::sun::star::sdbc::XSQLErrorBroadcaster
363*cdf0e10cSrcweir 		virtual void SAL_CALL addSQLErrorListener(const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSQLErrorListener >& _rListener) throw(::com::sun::star::uno::RuntimeException);
364*cdf0e10cSrcweir 		virtual void SAL_CALL removeSQLErrorListener(const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSQLErrorListener >& _rListener) throw(::com::sun::star::uno::RuntimeException);
365*cdf0e10cSrcweir 
366*cdf0e10cSrcweir 	// ::com::sun::star::sdb::XResultSetAccess
367*cdf0e10cSrcweir 		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);
368*cdf0e10cSrcweir 
369*cdf0e10cSrcweir 	// com::sun::star::form::XLoadable
370*cdf0e10cSrcweir 		virtual void SAL_CALL load() throw(::com::sun::star::uno::RuntimeException);
371*cdf0e10cSrcweir 		virtual void SAL_CALL unload() throw(::com::sun::star::uno::RuntimeException);
372*cdf0e10cSrcweir 		virtual void SAL_CALL reload() throw(::com::sun::star::uno::RuntimeException);
373*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL isLoaded() throw(::com::sun::star::uno::RuntimeException);
374*cdf0e10cSrcweir 		virtual void SAL_CALL addLoadListener(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XLoadListener >& aListener) throw(::com::sun::star::uno::RuntimeException);
375*cdf0e10cSrcweir 		virtual void SAL_CALL removeLoadListener(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XLoadListener >& aListener) throw(::com::sun::star::uno::RuntimeException);
376*cdf0e10cSrcweir 
377*cdf0e10cSrcweir 	// ::com::sun::star::sdbc::XParameters
378*cdf0e10cSrcweir 		virtual void SAL_CALL setNull(sal_Int32 parameterIndex, sal_Int32 sqlType) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
379*cdf0e10cSrcweir 		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);
380*cdf0e10cSrcweir 		virtual void SAL_CALL setBoolean(sal_Int32 parameterIndex, sal_Bool x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
381*cdf0e10cSrcweir 		virtual void SAL_CALL setByte(sal_Int32 parameterIndex, sal_Int8 x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
382*cdf0e10cSrcweir 		virtual void SAL_CALL setShort(sal_Int32 parameterIndex, sal_Int16 x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
383*cdf0e10cSrcweir 		virtual void SAL_CALL setInt(sal_Int32 parameterIndex, sal_Int32 x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
384*cdf0e10cSrcweir 		virtual void SAL_CALL setLong(sal_Int32 parameterIndex, sal_Int64 x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
385*cdf0e10cSrcweir 		virtual void SAL_CALL setFloat(sal_Int32 parameterIndex, float x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
386*cdf0e10cSrcweir 		virtual void SAL_CALL setDouble(sal_Int32 parameterIndex, double x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
387*cdf0e10cSrcweir 		virtual void SAL_CALL setString(sal_Int32 parameterIndex, const ::rtl::OUString& x) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
388*cdf0e10cSrcweir 		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);
389*cdf0e10cSrcweir 		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);
390*cdf0e10cSrcweir 		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);
391*cdf0e10cSrcweir 		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);
392*cdf0e10cSrcweir 		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);
393*cdf0e10cSrcweir 		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);
394*cdf0e10cSrcweir 		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);
395*cdf0e10cSrcweir 		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);
396*cdf0e10cSrcweir 		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);
397*cdf0e10cSrcweir 		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);
398*cdf0e10cSrcweir 		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);
399*cdf0e10cSrcweir 		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);
400*cdf0e10cSrcweir 		virtual void SAL_CALL clearParameters() throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException);
401*cdf0e10cSrcweir 
402*cdf0e10cSrcweir 		// ::com::sun::star::form::XDatabaseParameterBroadcaster
403*cdf0e10cSrcweir 		virtual void SAL_CALL addParameterListener(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XDatabaseParameterListener >& aListener) throw(::com::sun::star::uno::RuntimeException);
404*cdf0e10cSrcweir 		virtual void SAL_CALL removeParameterListener(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XDatabaseParameterListener >& aListener) throw(::com::sun::star::uno::RuntimeException);
405*cdf0e10cSrcweir 
406*cdf0e10cSrcweir 		// ::com::sun::star::container::XChild
407*cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getParent() throw(::com::sun::star::uno::RuntimeException);
408*cdf0e10cSrcweir 		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);
409*cdf0e10cSrcweir 
410*cdf0e10cSrcweir 		// ::com::sun::star::form::XSubmit
411*cdf0e10cSrcweir 		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);
412*cdf0e10cSrcweir 		virtual void SAL_CALL addSubmitListener(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XSubmitListener >& aListener) throw(::com::sun::star::uno::RuntimeException);
413*cdf0e10cSrcweir 		virtual void SAL_CALL removeSubmitListener(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XSubmitListener >& aListener) throw(::com::sun::star::uno::RuntimeException);
414*cdf0e10cSrcweir 
415*cdf0e10cSrcweir 		// ::com::sun::star::awt::XTabControllerModel
416*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL getGroupControl() throw(::com::sun::star::uno::RuntimeException);
417*cdf0e10cSrcweir 		virtual void SAL_CALL setGroupControl(sal_Bool GroupControl) throw(::com::sun::star::uno::RuntimeException);
418*cdf0e10cSrcweir 		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);
419*cdf0e10cSrcweir 		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);
420*cdf0e10cSrcweir 		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);
421*cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getGroupCount() throw(::com::sun::star::uno::RuntimeException);
422*cdf0e10cSrcweir 		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);
423*cdf0e10cSrcweir 		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);
424*cdf0e10cSrcweir 
425*cdf0e10cSrcweir 		// ::com::sun::star::lang::XComponent
426*cdf0e10cSrcweir 		virtual void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException);
427*cdf0e10cSrcweir 		virtual void SAL_CALL addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener) throw(::com::sun::star::uno::RuntimeException);
428*cdf0e10cSrcweir 		virtual void SAL_CALL removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener) throw(::com::sun::star::uno::RuntimeException);
429*cdf0e10cSrcweir 
430*cdf0e10cSrcweir 		// ::com::sun::star::beans::XFastPropertySet
431*cdf0e10cSrcweir 		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);
432*cdf0e10cSrcweir 		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);
433*cdf0e10cSrcweir 
434*cdf0e10cSrcweir 		// ::com::sun::star::container::XNamed
435*cdf0e10cSrcweir 		virtual ::rtl::OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException);
436*cdf0e10cSrcweir 		virtual void SAL_CALL setName(const ::rtl::OUString& aName) throw(::com::sun::star::uno::RuntimeException);
437*cdf0e10cSrcweir 
438*cdf0e10cSrcweir 		// ::com::sun::star::io::XPersistObject
439*cdf0e10cSrcweir 		virtual ::rtl::OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException);
440*cdf0e10cSrcweir 		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);
441*cdf0e10cSrcweir 		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);
442*cdf0e10cSrcweir 
443*cdf0e10cSrcweir 		// ::com::sun::star::beans::XMultiPropertySet
444*cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >  SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException);
445*cdf0e10cSrcweir 		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);
446*cdf0e10cSrcweir 		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);
447*cdf0e10cSrcweir 		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);
448*cdf0e10cSrcweir 		virtual void SAL_CALL removePropertiesChangeListener(const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertiesChangeListener >& Listener) throw(::com::sun::star::uno::RuntimeException);
449*cdf0e10cSrcweir 		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);
450*cdf0e10cSrcweir 
451*cdf0e10cSrcweir 		// ::com::sun::star::beans::XPropertySet
452*cdf0e10cSrcweir 		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);
453*cdf0e10cSrcweir 		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);
454*cdf0e10cSrcweir 		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);
455*cdf0e10cSrcweir 		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);
456*cdf0e10cSrcweir 		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);
457*cdf0e10cSrcweir 		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);
458*cdf0e10cSrcweir 
459*cdf0e10cSrcweir 		// ::com::sun::star::util::XCancellable
460*cdf0e10cSrcweir 		virtual void SAL_CALL cancel() throw(::com::sun::star::uno::RuntimeException);
461*cdf0e10cSrcweir 
462*cdf0e10cSrcweir 		// ::com::sun::star::beans::XPropertyState
463*cdf0e10cSrcweir 		virtual ::com::sun::star::beans::PropertyState SAL_CALL getPropertyState(const ::rtl::OUString& PropertyName) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
464*cdf0e10cSrcweir 		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);
465*cdf0e10cSrcweir 		virtual void SAL_CALL setPropertyToDefault(const ::rtl::OUString& PropertyName) throw(::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::uno::RuntimeException);
466*cdf0e10cSrcweir 		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);
467*cdf0e10cSrcweir 
468*cdf0e10cSrcweir 		// ::com::sun::star::form::XReset
469*cdf0e10cSrcweir 		virtual void SAL_CALL reset() throw(::com::sun::star::uno::RuntimeException);
470*cdf0e10cSrcweir 		virtual void SAL_CALL addResetListener(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XResetListener >& aListener) throw(::com::sun::star::uno::RuntimeException);
471*cdf0e10cSrcweir 		virtual void SAL_CALL removeResetListener(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XResetListener >& aListener) throw(::com::sun::star::uno::RuntimeException);
472*cdf0e10cSrcweir 
473*cdf0e10cSrcweir 		// ::com::sun::star::container::XNameContainer
474*cdf0e10cSrcweir 		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);
475*cdf0e10cSrcweir 		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);
476*cdf0e10cSrcweir 
477*cdf0e10cSrcweir 		// ::com::sun::star::container::XNameReplace
478*cdf0e10cSrcweir 		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);
479*cdf0e10cSrcweir 
480*cdf0e10cSrcweir 		// ::com::sun::star::container::XNameAccess
481*cdf0e10cSrcweir 		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);
482*cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getElementNames() throw(::com::sun::star::uno::RuntimeException);
483*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL hasByName(const ::rtl::OUString& aName) throw(::com::sun::star::uno::RuntimeException);
484*cdf0e10cSrcweir 
485*cdf0e10cSrcweir 		// ::com::sun::star::container::XElementAccess
486*cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Type SAL_CALL getElementType() throw(::com::sun::star::uno::RuntimeException) ;
487*cdf0e10cSrcweir 		virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException);
488*cdf0e10cSrcweir 
489*cdf0e10cSrcweir 		// ::com::sun::star::container::XIndexContainer
490*cdf0e10cSrcweir 		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);
491*cdf0e10cSrcweir 		virtual void SAL_CALL removeByIndex(sal_Int32 _rIndex) throw(::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException);
492*cdf0e10cSrcweir 
493*cdf0e10cSrcweir 		// ::com::sun::star::container::XIndexReplace
494*cdf0e10cSrcweir 		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);
495*cdf0e10cSrcweir 
496*cdf0e10cSrcweir 		// ::com::sun::star::container::XIndexAccess
497*cdf0e10cSrcweir 		virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException);
498*cdf0e10cSrcweir 		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);
499*cdf0e10cSrcweir 
500*cdf0e10cSrcweir 		// ::com::sun::star::container::XContainer
501*cdf0e10cSrcweir 		virtual void SAL_CALL addContainerListener(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerListener >& xListener) throw(::com::sun::star::uno::RuntimeException);
502*cdf0e10cSrcweir 		virtual void SAL_CALL removeContainerListener(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerListener >& xListener) throw(::com::sun::star::uno::RuntimeException);
503*cdf0e10cSrcweir 
504*cdf0e10cSrcweir 		// ::com::sun::star::container::XEnumerationAccess
505*cdf0e10cSrcweir 		virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration >  SAL_CALL createEnumeration() throw(::com::sun::star::uno::RuntimeException);
506*cdf0e10cSrcweir 
507*cdf0e10cSrcweir 		// ::com::sun::star::lang::XEventListener
508*cdf0e10cSrcweir 		virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw(::com::sun::star::uno::RuntimeException);
509*cdf0e10cSrcweir 
510*cdf0e10cSrcweir 		// ::com::sun::star::beans::XPropertyChangeListener
511*cdf0e10cSrcweir 		virtual void SAL_CALL propertyChange(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw(::com::sun::star::uno::RuntimeException);
512*cdf0e10cSrcweir 
513*cdf0e10cSrcweir 	protected:
514*cdf0e10cSrcweir 		// container handling
515*cdf0e10cSrcweir 		void implInsert(const ::com::sun::star::uno::Any& aElement, sal_Int32 nIndex, const ::rtl::OUString* pNewElName = NULL) throw(::com::sun::star::lang::IllegalArgumentException);
516*cdf0e10cSrcweir 		sal_Int32 implGetPos(const ::rtl::OUString& rName);
517*cdf0e10cSrcweir 
518*cdf0e10cSrcweir 		void StopListening();
519*cdf0e10cSrcweir 		void StartListening();
520*cdf0e10cSrcweir 	};
521*cdf0e10cSrcweir }
522*cdf0e10cSrcweir #endif // _SBA_FORMADAPTER_HXX
523*cdf0e10cSrcweir 
524