| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | /*************************************************************************
 | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  $RCSfile: fmctrler.hxx,v $ | 
					
						
							|  |  |  |  * | 
					
						
							| 
									
										
										
										
											2003-05-19 11:52:10 +00:00
										 |  |  |  *  $Revision: 1.10 $ | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2003-05-19 11:52:10 +00:00
										 |  |  |  *  last change: $Author: vg $ $Date: 2003-05-19 12:52:10 $ | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  |  * | 
					
						
							|  |  |  |  *  The Contents of this file are made available subject to the terms of | 
					
						
							|  |  |  |  *  either of the following licenses | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *         - GNU Lesser General Public License Version 2.1 | 
					
						
							|  |  |  |  *         - Sun Industry Standards Source License Version 1.1 | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  Sun Microsystems Inc., October, 2000 | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  GNU Lesser General Public License Version 2.1 | 
					
						
							|  |  |  |  *  ============================================= | 
					
						
							|  |  |  |  *  Copyright 2000 by Sun Microsystems, Inc. | 
					
						
							|  |  |  |  *  901 San Antonio Road, Palo Alto, CA 94303, USA | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  This library is free software; you can redistribute it and/or | 
					
						
							|  |  |  |  *  modify it under the terms of the GNU Lesser General Public | 
					
						
							|  |  |  |  *  License version 2.1, as published by the Free Software Foundation. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  This library is distributed in the hope that it will be useful, | 
					
						
							|  |  |  |  *  but WITHOUT ANY WARRANTY; without even the implied warranty of | 
					
						
							|  |  |  |  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
					
						
							|  |  |  |  *  Lesser General Public License for more details. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  You should have received a copy of the GNU Lesser General Public | 
					
						
							|  |  |  |  *  License along with this library; if not, write to the Free Software | 
					
						
							|  |  |  |  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, | 
					
						
							|  |  |  |  *  MA  02111-1307  USA | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  Sun Industry Standards Source License Version 1.1 | 
					
						
							|  |  |  |  *  ================================================= | 
					
						
							|  |  |  |  *  The contents of this file are subject to the Sun Industry Standards | 
					
						
							|  |  |  |  *  Source License Version 1.1 (the "License"); You may not use this file | 
					
						
							|  |  |  |  *  except in compliance with the License. You may obtain a copy of the | 
					
						
							|  |  |  |  *  License at http://www.openoffice.org/license.html.
 | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  Software provided under this License is provided on an "AS IS" basis, | 
					
						
							|  |  |  |  *  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, | 
					
						
							|  |  |  |  *  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS, | 
					
						
							|  |  |  |  *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. | 
					
						
							|  |  |  |  *  See the License for the specific provisions governing your rights and | 
					
						
							|  |  |  |  *  obligations concerning the Software. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  The Initial Developer of the Original Code is: Sun Microsystems, Inc. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  Copyright: 2000 by Sun Microsystems, Inc. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  All Rights Reserved. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  *  Contributor(s): _______________________________________ | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  ************************************************************************/ | 
					
						
							|  |  |  | #ifndef _SVX_FMCTRLER_HXX
 | 
					
						
							|  |  |  | #define _SVX_FMCTRLER_HXX
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-10-20 13:13:45 +00:00
										 |  |  | #ifndef _COMPHELPER_STLTYPES_HXX_
 | 
					
						
							|  |  |  | #include <comphelper/stl_types.hxx>
 | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_SDB_XSQLERRORBROADCASTER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/sdb/XSQLErrorBroadcaster.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_SDB_XSQLERRORLISTENER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/sdb/XSQLErrorListener.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_SDB_XSQLQUERYCOMPOSERFACTORY_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/sdb/XSQLQueryComposerFactory.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_SDB_XROWSETAPPROVEBROADCASTER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/sdb/XRowSetApproveBroadcaster.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_SDB_XROWSETAPPROVELISTENER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/sdb/XRowSetApproveListener.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_SDBC_XROWSETLISTENER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/sdbc/XRowSetListener.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FORM_XRESETLISTENER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/form/XResetListener.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FRAME_XMODEL_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/frame/XModel.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_CONTAINER_XINDEXCONTAINER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/container/XIndexContainer.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_CONTAINER_CONTAINEREVENT_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/container/ContainerEvent.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #include <com/sun/star/container/XEnumerationAccess.hpp>
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_CONTAINER_XCONTAINER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/container/XContainer.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_CONTAINER_XCHILD_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/container/XChild.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_CONTAINER_XCONTAINERLISTENER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/container/XContainerListener.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_AWT_XFOCUSLISTENER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/awt/XFocusListener.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_AWT_FOCUSEVENT_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/awt/FocusEvent.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FORM_XCONFIRMDELETEBROADCASTER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/form/XConfirmDeleteBroadcaster.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FORM_DATABASEPARAMETEREVENT_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/form/DatabaseParameterEvent.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FORM_DATABASEDELETEEVENT_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/form/DatabaseDeleteEvent.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FORM_XDATABASEPARAMETERLISTENER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/form/XDatabaseParameterListener.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FORM_XLOADLISTENER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/form/XLoadListener.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FORM_XCONFIRMDELETELISTENER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/form/XConfirmDeleteListener.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FORM_ERROREVENT_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/form/ErrorEvent.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FORM_XDATABASEPARAMETERBROADCASTER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/form/XDatabaseParameterBroadcaster.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FORM_XFORMCONTROLLER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/form/XFormController.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FORM_XFORMCONTROLLERLISTENER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/form/XFormControllerListener.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FRAME_XDISPATCHPROVIDERINTERCEPTOR_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/frame/XDispatchProviderInterceptor.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FRAME_XDISPATCH_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/frame/XDispatch.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FRAME_XDISPATCHPROVIDER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/frame/XDispatchProvider.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FRAME_XDISPATCHPROVIDERINTERCEPTION_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/frame/XDispatchProviderInterception.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_FRAME_DISPATCHDESCRIPTOR_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/frame/DispatchDescriptor.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_UTIL_XMODESELECTOR_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/util/XModeSelector.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_UTIL_XMODIFYLISTENER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/util/XModifyListener.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_UTIL_XMODIFYBROADCASTER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/util/XModifyBroadcaster.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_LANG_XSERVICEINFO_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/lang/XServiceInfo.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  | #ifndef _COM_SUN_STAR_LANG_XMULTISERVICEFACTORY_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/lang/XMultiServiceFactory.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | #ifndef _COM_SUN_STAR_BEANS_XPROPERTYSET_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/beans/XPropertySet.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_BEANS_PROPERTYVALUE_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/beans/PropertyValue.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_BEANS_XPROPERTYSETINFO_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/beans/XPropertySetInfo.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_BEANS_XPROPERTYCHANGELISTENER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/beans/XPropertyChangeListener.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_BEANS_PROPERTYCHANGEEVENT_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/beans/PropertyChangeEvent.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_SCRIPT_XEVENTATTACHERMANAGER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/script/XEventAttacherManager.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_AWT_XTEXTLISTENER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/awt/XTextListener.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_AWT_XITEMLISTENER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/awt/XItemListener.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_AWT_XTEXTCOMPONENT_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/awt/XTextComponent.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_AWT_XTABCONTROLLERMODEL_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/awt/XTabControllerModel.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_AWT_XCONTROLMODEL_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/awt/XControlModel.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_AWT_XCONTROLCONTAINER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/awt/XControlContainer.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_AWT_XTABCONTROLLER_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/awt/XTabController.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_AWT_XCONTROL_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/awt/XControl.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COM_SUN_STAR_LANG_XUNOTUNNEL_HPP_
 | 
					
						
							|  |  |  | #include <com/sun/star/lang/XUnoTunnel.hpp>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef _SV_TIMER_HXX //autogen
 | 
					
						
							|  |  |  | #include <vcl/timer.hxx>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef _SVX_FMTOOLS_HXX
 | 
					
						
							|  |  |  | #include "fmtools.hxx"
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2001-07-25 12:44:28 +00:00
										 |  |  | #ifndef SVX_SQLPARSERCLIENT_HXX
 | 
					
						
							|  |  |  | #include "sqlparserclient.hxx"
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  | #ifndef _CPPUHELPER_IMPLBASE1_HXX_
 | 
					
						
							| 
									
										
										
										
											2001-06-15 10:11:14 +00:00
										 |  |  | #include <cppuhelper/implbase2.hxx>
 | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _CPPUHELPER_IMPLBASE12_HXX_
 | 
					
						
							|  |  |  | #include <cppuhelper/implbase12.hxx>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _CPPUHELPER_COMPBASE12_HXX_
 | 
					
						
							|  |  |  | #include <cppuhelper/compbase12.hxx>
 | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _CPPUHELPER_PROPSHLP_HXX
 | 
					
						
							|  |  |  | #include <cppuhelper/propshlp.hxx>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _FM_IMPLEMENTATION_IDS_HXX_
 | 
					
						
							|  |  |  | #include <fmimplids.hxx>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2000-10-20 13:13:45 +00:00
										 |  |  | #ifndef _COMPHELPER_PROPERTY_ARRAY_HELPER_HXX_
 | 
					
						
							|  |  |  | #include <comphelper/proparrhlp.hxx>
 | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _TOOLS_DEBUG_HXX
 | 
					
						
							|  |  |  | #include <tools/debug.hxx>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  | #ifndef _CONNECTIVITY_SQLPARSE_HXX
 | 
					
						
							|  |  |  | #include <connectivity/sqlparse.hxx>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | #ifndef _COMPHELPER_BROADCASTHELPER_HXX_
 | 
					
						
							|  |  |  | #include <comphelper/broadcasthelper.hxx>
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | struct FmXTextComponentLess : public binary_function< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextComponent >, ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextComponent> , sal_Bool> | 
					
						
							|  |  |  | { | 
					
						
							|  |  |  |     sal_Bool operator() (const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextComponent >& x, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextComponent >& y) const | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         return reinterpret_cast<sal_Int64>(x.get()) < reinterpret_cast<sal_Int64>(y.get()); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | typedef map< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextComponent >, ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >, FmXTextComponentLess> FmFilterControls; | 
					
						
							|  |  |  | typedef map< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTextComponent >, ::rtl::OUString, FmXTextComponentLess> FmFilterRow; | 
					
						
							|  |  |  | typedef vector< FmFilterRow > FmFilterRows; | 
					
						
							|  |  |  | typedef vector< ::com::sun::star::uno::Reference< ::com::sun::star::form::XFormController > > FmFormControllers; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | struct FmFieldInfo; | 
					
						
							|  |  |  | class FmXFormController; | 
					
						
							|  |  |  | class FmFormView; | 
					
						
							|  |  |  | class Window; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  | typedef ::cppu::WeakAggComponentImplHelper12<   ::com::sun::star::form::XFormController | 
					
						
							|  |  |  |                                             ,::com::sun::star::container::XChild | 
					
						
							|  |  |  |                                             ,::com::sun::star::container::XIndexAccess      //  access of child contoller
 | 
					
						
							|  |  |  |                                             ,::com::sun::star::container::XEnumerationAccess | 
					
						
							|  |  |  |                                             ,::com::sun::star::awt::XFocusListener | 
					
						
							|  |  |  |                                             ,::com::sun::star::form::XLoadListener | 
					
						
							|  |  |  |                                             ,::com::sun::star::beans::XPropertyChangeListener | 
					
						
							|  |  |  |                                             ,::com::sun::star::awt::XTextListener | 
					
						
							|  |  |  |                                             ,::com::sun::star::awt::XItemListener | 
					
						
							|  |  |  |                                             ,::com::sun::star::container::XContainerListener | 
					
						
							|  |  |  |                                             ,::com::sun::star::util::XModifyListener | 
					
						
							|  |  |  |                                             ,::com::sun::star::util::XModifyBroadcaster> FmXFormController_BASE1; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | typedef ::cppu::ImplHelper12<               ::com::sun::star::util::XModeSelector | 
					
						
							|  |  |  |                                             ,::com::sun::star::form::XConfirmDeleteListener | 
					
						
							|  |  |  |                                             ,::com::sun::star::form::XConfirmDeleteBroadcaster | 
					
						
							|  |  |  |                                             ,::com::sun::star::sdb::XSQLErrorListener | 
					
						
							|  |  |  |                                             ,::com::sun::star::sdb::XSQLErrorBroadcaster | 
					
						
							|  |  |  |                                             ,::com::sun::star::sdbc::XRowSetListener | 
					
						
							|  |  |  |                                             ,::com::sun::star::sdb::XRowSetApproveListener | 
					
						
							|  |  |  |                                             ,::com::sun::star::sdb::XRowSetApproveBroadcaster | 
					
						
							|  |  |  |                                             ,::com::sun::star::form::XDatabaseParameterListener | 
					
						
							|  |  |  |                                             ,::com::sun::star::form::XDatabaseParameterBroadcaster | 
					
						
							|  |  |  |                                             ,::com::sun::star::lang::XServiceInfo | 
					
						
							|  |  |  |                                             ,::com::sun::star::form::XResetListener> FmXFormController_BASE2; | 
					
						
							| 
									
										
										
										
											2001-06-15 10:11:14 +00:00
										 |  |  | typedef ::cppu::ImplHelper2                 <   ::com::sun::star::lang::XUnoTunnel | 
					
						
							|  |  |  |                                             ,   ::com::sun::star::frame::XDispatch | 
					
						
							|  |  |  |                                             >   FmXFormController_BASE3; | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | //==================================================================
 | 
					
						
							|  |  |  | // FmXFormController
 | 
					
						
							|  |  |  | //==================================================================
 | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  | class FmXFormController     : public ::comphelper::OBaseMutex | 
					
						
							|  |  |  |                             ,public FmXFormController_BASE1 | 
					
						
							|  |  |  |                             ,public FmXFormController_BASE2 | 
					
						
							|  |  |  |                             ,public FmXFormController_BASE3 | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  |                             ,public ::cppu::OPropertySetHelper | 
					
						
							|  |  |  |                             ,public FmDispatchInterceptor | 
					
						
							| 
									
										
										
										
											2000-10-20 13:13:45 +00:00
										 |  |  |                             ,public ::comphelper::OAggregationArrayUsageHelper< FmXFormController> | 
					
						
							| 
									
										
										
										
											2001-07-25 12:44:28 +00:00
										 |  |  |                             ,public ::svxform::OSQLParserClient | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | { | 
					
						
							|  |  |  |     friend class FmXPageViewWinRec; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  |     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation>              m_xAggregate; | 
					
						
							|  |  |  |     ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabController>            m_xTabController, m_xNavigationController; | 
					
						
							|  |  |  |     ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl>                  m_xActiveControl, m_xCurrentControl; | 
					
						
							|  |  |  |     ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess>        m_xModelAsIndex; | 
					
						
							|  |  |  |     ::com::sun::star::uno::Reference< ::com::sun::star::script::XEventAttacherManager>  m_xModelAsManager; | 
					
						
							|  |  |  |     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>                m_xParent; | 
					
						
							|  |  |  |     ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >    m_xORB; | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  |     // Composer used for checking filter conditions
 | 
					
						
							|  |  |  |     ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSQLQueryComposer> m_xComposer; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl> >   m_aControls; | 
					
						
							|  |  |  |     ::cppu::OInterfaceContainerHelper | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  |                                 m_aActivateListeners, | 
					
						
							|  |  |  |                                 m_aModifyListeners, | 
					
						
							|  |  |  |                                 m_aErrorListeners, | 
					
						
							|  |  |  |                                 m_aDeleteListeners, | 
					
						
							|  |  |  |                                 m_aRowSetApproveListeners, | 
					
						
							|  |  |  |                                 m_aParameterListeners; | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  |     FmFormControllers           m_aChilds; | 
					
						
							|  |  |  |     FmFilterControls            m_aFilterControls; | 
					
						
							|  |  |  |     FmFilterRows                m_aFilters; | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  |     ::form::OImplementationIdsRef   m_aHoldImplIdHelper; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  |     Timer                       m_aInsertTimer; | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  |     FmFormView*                 m_pView; | 
					
						
							|  |  |  |     Window*                     m_pWindow; | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  |     ::rtl::OUString             m_aMode; | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |     sal_uInt32                  m_nLoadEvent; | 
					
						
							|  |  |  |     sal_uInt32                  m_nUpdateDispatcherEvent; | 
					
						
							|  |  |  |     sal_uInt32                  m_nToggleEvent; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     sal_Int32                   m_nCurrentFilterPosition;   // current level for filtering (or-criteria)
 | 
					
						
							|  |  |  |     ::rtl::OUString                 m_sDispatchPrefix; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     sal_Bool                    m_bCurrentRecordModified : 1; | 
					
						
							|  |  |  |     sal_Bool                    m_bCurrentRecordNew : 1; | 
					
						
							|  |  |  |     sal_Bool                    m_bLocked           : 1; | 
					
						
							|  |  |  |     sal_Bool                    m_bDBConnection  : 1;   // Focuslistener nur fuer Datenbankformulare
 | 
					
						
							|  |  |  |     sal_Bool                    m_bCycle             : 1; | 
					
						
							|  |  |  |     sal_Bool                    m_bCanInsert         : 1; | 
					
						
							|  |  |  |     sal_Bool                    m_bCanUpdate         : 1; | 
					
						
							|  |  |  |     sal_Bool                    m_bCommitLock    : 1;   // lock the committing of controls see focusGained
 | 
					
						
							|  |  |  |     sal_Bool                    m_bModified      : 1;   // ist der Inhalt eines Controls modifiziert ?
 | 
					
						
							|  |  |  |     sal_Bool                    m_bControlsSorted : 1; | 
					
						
							|  |  |  |     sal_Bool                    m_bFiltering : 1; | 
					
						
							|  |  |  |     sal_Bool                    m_bAttachEvents : 1; | 
					
						
							|  |  |  |     sal_Bool                    m_bDetachEvents : 1; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     // as we want to intercept dispatches of _all_ controls we're responsible for, and an object implementing
 | 
					
						
							|  |  |  |     // the ::com::sun::star::frame::XDispatchProviderInterceptor interface can intercept only _one_ objects dispatches, we need a helper class
 | 
					
						
							|  |  |  |     DECLARE_STL_VECTOR(FmXDispatchInterceptorImpl*, Interceptors); | 
					
						
							|  |  |  |     Interceptors    m_aControlDispatchInterceptors; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | public: | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  |     FmXFormController(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & _rxORB, | 
					
						
							|  |  |  |                       FmFormView* _pView = NULL, Window* _pWindow = NULL, const UniString& _sDispatchPrefix = UniString()); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  |     ~FmXFormController(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     // UNO Anbindung
 | 
					
						
							|  |  |  |     virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& type) throw ( ::com::sun::star::uno::RuntimeException ) | 
					
						
							| 
									
										
										
										
											2000-11-03 13:56:25 +00:00
										 |  |  |             { return FmXFormController_BASE1::queryInterface( type ); } | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  |     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException); | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual void SAL_CALL acquire() throw (); | 
					
						
							|  |  |  |     virtual void SAL_CALL release() throw (); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // XTypeProvider
 | 
					
						
							|  |  |  |     virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException) | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         return ::form::OImplementationIds::getImplementationId(getTypes()); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  |     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes(  ) throw(::com::sun::star::uno::RuntimeException); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // XUnoTunnel
 | 
					
						
							|  |  |  |     virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException); | 
					
						
							|  |  |  |     static ::com::sun::star::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-06-15 10:11:14 +00:00
										 |  |  | // XDispatch
 | 
					
						
							|  |  |  |     virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& _rURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _rArgs ) throw (::com::sun::star::uno::RuntimeException); | 
					
						
							|  |  |  |     virtual void SAL_CALL addStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& _rxListener, const ::com::sun::star::util::URL& _rURL ) throw (::com::sun::star::uno::RuntimeException); | 
					
						
							|  |  |  |     virtual void SAL_CALL removeStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& _rxListener, const ::com::sun::star::util::URL& _rURL ) throw (::com::sun::star::uno::RuntimeException); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // ::com::sun::star::container::XChild
 | 
					
						
							|  |  |  |     virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> SAL_CALL getParent(void) throw( ::com::sun::star::uno::RuntimeException ) {return m_xParent;} | 
					
						
							|  |  |  |     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 ) | 
					
						
							|  |  |  |     {m_xParent = Parent;} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // ::com::sun::star::lang::XEventListener
 | 
					
						
							|  |  |  |     virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // OComponentHelper
 | 
					
						
							|  |  |  |     virtual void SAL_CALL disposing(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // OPropertySetHelper
 | 
					
						
							|  |  |  |     virtual sal_Bool SAL_CALL convertFastPropertyValue( ::com::sun::star::uno::Any & rConvertedValue, ::com::sun::star::uno::Any & rOldValue, | 
					
						
							|  |  |  |                                             sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) | 
					
						
							|  |  |  |                 throw( ::com::sun::star::lang::IllegalArgumentException ); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue ) throw( ::com::sun::star::uno::Exception ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  |     virtual void SAL_CALL getFastPropertyValue( ::com::sun::star::uno::Any& rValue, sal_Int32 nHandle ) const; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  |     virtual ::cppu::IPropertyArrayHelper & SAL_CALL getInfoHelper(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // XElementAccess
 | 
					
						
							|  |  |  |     virtual ::com::sun::star::uno::Type SAL_CALL getElementType(void) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual sal_Bool SAL_CALL hasElements(void) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // ::com::sun::star::container::XEnumerationAccess
 | 
					
						
							|  |  |  |     virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration> SAL_CALL createEnumeration(void) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // ::com::sun::star::container::XContainerListener
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual void SAL_CALL elementInserted(const ::com::sun::star::container::ContainerEvent& rEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL elementReplaced(const ::com::sun::star::container::ContainerEvent& rEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL elementRemoved(const ::com::sun::star::container::ContainerEvent& rEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // XLoadListener
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual void SAL_CALL loaded(const ::com::sun::star::lang::EventObject& rEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL unloaded(const ::com::sun::star::lang::EventObject& rEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  |     virtual void SAL_CALL unloading(const ::com::sun::star::lang::EventObject& aEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL reloading(const ::com::sun::star::lang::EventObject& aEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL reloaded(const ::com::sun::star::lang::EventObject& aEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // XModeSelector
 | 
					
						
							|  |  |  |     virtual void SAL_CALL setMode(const ::rtl::OUString& Mode) throw( ::com::sun::star::lang::NoSupportException, ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual ::rtl::OUString SAL_CALL getMode(void) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedModes(void) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual sal_Bool SAL_CALL supportsMode(const ::rtl::OUString& Mode) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // ::com::sun::star::container::XIndexAccess
 | 
					
						
							|  |  |  |     virtual sal_Int32 SAL_CALL getCount(void) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual ::com::sun::star::uno::Any SAL_CALL getByIndex(sal_Int32 Index) throw( ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // XModifyBroadcaster
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual void SAL_CALL addModifyListener(const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyListener>& l) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL removeModifyListener(const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyListener>& l) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // XFocusListener
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual void SAL_CALL focusGained(const  ::com::sun::star::awt::FocusEvent& e) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL focusLost(const  ::com::sun::star::awt::FocusEvent& e) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // ::com::sun::star::beans::XPropertyChangeListener -> aenderung der stati
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual void SAL_CALL propertyChange(const  ::com::sun::star::beans::PropertyChangeEvent& evt) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // XTextListener           -> modify setzen
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual void SAL_CALL textChanged(const  ::com::sun::star::awt::TextEvent& rEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // XItemListener            -> modify setzen
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual void SAL_CALL itemStateChanged(const  ::com::sun::star::awt::ItemEvent& rEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // XModifyListener   -> modify setzen
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual void SAL_CALL modified(const ::com::sun::star::lang::EventObject& rEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // XFormController
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl> SAL_CALL getCurrentControl(void) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL addActivateListener(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XFormControllerListener>& l) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL removeActivateListener(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XFormControllerListener>& l) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // XTabController
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl> > SAL_CALL getControls(void) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual void SAL_CALL setModel(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabControllerModel>& Model) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XTabControllerModel> SAL_CALL getModel() throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual void SAL_CALL setContainer(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer>& Container) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlContainer> SAL_CALL getContainer() throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual void SAL_CALL autoTabOrder() throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL activateTabOrder() throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-09-12 16:14:22 +00:00
										 |  |  |     virtual void SAL_CALL activateFirst() throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL activateLast() throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | // com::sun::star::sdbc::XRowSetListener
 | 
					
						
							|  |  |  |     virtual void SAL_CALL cursorMoved(const ::com::sun::star::lang::EventObject& event) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL rowChanged(const ::com::sun::star::lang::EventObject& event) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL rowSetChanged(const ::com::sun::star::lang::EventObject& event) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // XRowSetApproveListener
 | 
					
						
							|  |  |  |     virtual sal_Bool SAL_CALL approveCursorMove(const ::com::sun::star::lang::EventObject& event) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual sal_Bool SAL_CALL approveRowChange(const  ::com::sun::star::sdb::RowChangeEvent& event) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual sal_Bool SAL_CALL approveRowSetChange(const ::com::sun::star::lang::EventObject& event) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // XRowSetApproveBroadcaster
 | 
					
						
							|  |  |  |     virtual void SAL_CALL addRowSetApproveListener(const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XRowSetApproveListener>& listener) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL removeRowSetApproveListener(const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XRowSetApproveListener>& listener) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // XSQLErrorBroadcaster
 | 
					
						
							|  |  |  |     virtual void SAL_CALL errorOccured(const ::com::sun::star::sdb::SQLErrorEvent& aEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // XSQLErrorListener
 | 
					
						
							|  |  |  |     virtual void SAL_CALL addSQLErrorListener(const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSQLErrorListener>& _rListener) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL removeSQLErrorListener(const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XSQLErrorListener>& _rListener) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // XDatabaseParameterBroadcaster
 | 
					
						
							|  |  |  |     virtual void SAL_CALL addParameterListener(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XDatabaseParameterListener>& aListener) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL removeParameterListener(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XDatabaseParameterListener>& aListener) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // XDatabaseParameterListener
 | 
					
						
							|  |  |  |     virtual sal_Bool SAL_CALL approveParameter(const ::com::sun::star::form::DatabaseParameterEvent& aEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // XConfirmDeleteBroadcaster
 | 
					
						
							|  |  |  |     virtual void SAL_CALL addConfirmDeleteListener(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XConfirmDeleteListener>& aListener) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL removeConfirmDeleteListener(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XConfirmDeleteListener>& aListener) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // XConfirmDeleteListener
 | 
					
						
							|  |  |  |     virtual sal_Bool SAL_CALL confirmDelete(const  ::com::sun::star::sdb::RowChangeEvent& aEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // XServiceInfo
 | 
					
						
							|  |  |  |     virtual sal_Bool SAL_CALL supportsService(const ::rtl::OUString& ServiceName) throw(::com::sun::star::uno::RuntimeException); | 
					
						
							|  |  |  |     virtual ::rtl::OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException); | 
					
						
							|  |  |  |     virtual ::com::sun::star::uno::Sequence< ::rtl::OUString >  SAL_CALL getSupportedServiceNames(void) throw(::com::sun::star::uno::RuntimeException); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // XResetListener
 | 
					
						
							|  |  |  |     virtual sal_Bool SAL_CALL approveReset(const ::com::sun::star::lang::EventObject& rEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  |     virtual void SAL_CALL resetted(const ::com::sun::star::lang::EventObject& rEvent) throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // method for registration
 | 
					
						
							|  |  |  |     static  ::com::sun::star::uno::Sequence< ::rtl::OUString >  static_getSupportedServiceNames(void); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2000-10-20 13:13:45 +00:00
										 |  |  |     // comphelper::OPropertyArrayUsageHelper
 | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  |     virtual void fillProperties( | 
					
						
							|  |  |  |         ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& /* [out] */ _rProps, | 
					
						
							|  |  |  |         ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& /* [out] */ _rAggregateProps | 
					
						
							|  |  |  |         ) const; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // access to the controls for filtering
 | 
					
						
							|  |  |  |     const FmFilterControls& getFilterControls() const {return m_aFilterControls;} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // access to the current filter rows
 | 
					
						
							|  |  |  |     const FmFilterRows& getFilterRows() const {return m_aFilters;} | 
					
						
							|  |  |  |     FmFilterRows& getFilterRows() {return m_aFilters;} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     // just decr. the positions no notifications for the view
 | 
					
						
							|  |  |  |     void decrementCurrentFilterPosition() | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         DBG_ASSERT(m_nCurrentFilterPosition, "Invalid Position"); | 
					
						
							|  |  |  |         --m_nCurrentFilterPosition; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     void setCurrentFilterPosition(sal_Int32 nPos); | 
					
						
							|  |  |  |     sal_Int32 getCurrentFilterPosition() const {return m_nCurrentFilterPosition;} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | protected: | 
					
						
							|  |  |  |     // FmDispatchInterceptor
 | 
					
						
							|  |  |  |     virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch> | 
					
						
							|  |  |  |     interceptedQueryDispatch(sal_uInt16 _nId,const ::com::sun::star::util::URL& aURL, | 
					
						
							|  |  |  |                             const ::rtl::OUString& aTargetFrameName, sal_Int32 nSearchFlags) | 
					
						
							|  |  |  |                             throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     virtual ::osl::Mutex* getInterceptorMutex() { return &m_aMutex; } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     void startFiltering(); | 
					
						
							|  |  |  |     void stopFiltering(); | 
					
						
							|  |  |  |     void setFilter(vector<FmFieldInfo>&); | 
					
						
							|  |  |  |     void startListening(); | 
					
						
							|  |  |  |     void stopListening(); | 
					
						
							|  |  |  |     void startControlListening(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl>& xControl); | 
					
						
							|  |  |  |     void stopControlListening(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl>& xControl); | 
					
						
							|  |  |  |     void setLocks(); | 
					
						
							|  |  |  |     void setControlLock(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl>& xControl); | 
					
						
							|  |  |  |     void addToEventAttacher(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl>& xControl); | 
					
						
							|  |  |  |     void removeFromEventAttacher(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl>& xControl); | 
					
						
							|  |  |  |     void toggleAutoFields(sal_Bool bAutoFields); | 
					
						
							|  |  |  |     void unload() throw( ::com::sun::star::uno::RuntimeException ); | 
					
						
							| 
									
										
										
										
											2003-05-19 11:52:10 +00:00
										 |  |  |     void removeBoundFieldListener(); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2002-12-05 08:58:04 +00:00
										 |  |  |     void startFormListening( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxForm, sal_Bool _bPropertiesOnly  ); | 
					
						
							|  |  |  |     void stopFormListening( const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxForm, sal_Bool _bPropertiesOnly ); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2003-05-19 11:52:10 +00:00
										 |  |  |     ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl> findControl(::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl> >& rCtrls, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel>& rxCtrlModel ,sal_Bool _bRemove = sal_True,sal_Bool _bOverWrite=sal_True) const; | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  |     void insertControl(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl>& xControl); | 
					
						
							|  |  |  |     void removeControl(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl>& xControl); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2001-05-29 13:00:30 +00:00
										 |  |  |     void onModify( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxControl ); | 
					
						
							| 
									
										
										
										
											2000-09-18 16:07:07 +00:00
										 |  |  |     void onActivate(); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     sal_Bool isLocked() const {return m_bLocked;} | 
					
						
							|  |  |  |     sal_Bool determineLockState() const; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     Window* getDialogParentWindow(); | 
					
						
							|  |  |  |         // returns m_pWindow or - if m_pWindow is NULL - the window of the currently set container
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterceptor>    createInterceptor(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterception>& _xInterception); | 
					
						
							|  |  |  |         // create a new interceptor, register it on the given object
 | 
					
						
							|  |  |  |     void                            deleteInterceptor(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterception>& _xInterception); | 
					
						
							|  |  |  |         // if createInterceptor was called for the given object the according interceptor will be removed
 | 
					
						
							|  |  |  |         // from the objects interceptor chain and released
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     // in filter mode we do not listen for changes
 | 
					
						
							|  |  |  |     sal_Bool isListeningForChanges() const {return m_bDBConnection && !m_bFiltering && !isLocked();} | 
					
						
							|  |  |  |     void addChild(FmXFormController* pChild); | 
					
						
							|  |  |  |     ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl> isInList(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer>& xPeer) const; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     DECL_LINK( OnTimeout, void* ); | 
					
						
							|  |  |  |     DECL_LINK( OnLoad, void* ); | 
					
						
							|  |  |  |     DECL_LINK( OnToggleAutoFields, void* ); | 
					
						
							|  |  |  |     DECL_LINK( OnUpdateDispatchers, void* ); | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #endif  // _SVX_FMCTRLER_HXX
 | 
					
						
							|  |  |  | 
 |