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