summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/form/XUpdateListener.idl
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/form/XUpdateListener.idl')
-rw-r--r--offapi/com/sun/star/form/XUpdateListener.idl80
1 files changed, 40 insertions, 40 deletions
diff --git a/offapi/com/sun/star/form/XUpdateListener.idl b/offapi/com/sun/star/form/XUpdateListener.idl
index 172a3593c87f..a497ba782c13 100644
--- a/offapi/com/sun/star/form/XUpdateListener.idl
+++ b/offapi/com/sun/star/form/XUpdateListener.idl
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -24,34 +24,34 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef __com_sun_star_form_XUpdateListener_idl__
-#define __com_sun_star_form_XUpdateListener_idl__
-
-#ifndef __com_sun_star_lang_XEventListener_idl__
-#include <com/sun/star/lang/XEventListener.idl>
-#endif
-
-#ifndef __com_sun_star_lang_EventObject_idl__
-#include <com/sun/star/lang/EventObject.idl>
-#endif
-
-
-//=============================================================================
-
- module com { module sun { module star { module form {
-
-//=============================================================================
-
+#ifndef __com_sun_star_form_XUpdateListener_idl__
+#define __com_sun_star_form_XUpdateListener_idl__
+
+#ifndef __com_sun_star_lang_XEventListener_idl__
+#include <com/sun/star/lang/XEventListener.idl>
+#endif
+
+#ifndef __com_sun_star_lang_EventObject_idl__
+#include <com/sun/star/lang/EventObject.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module form {
+
+//=============================================================================
+
/** used to listen on objects which allow updating their data.
<p>In addition to just get notified when an data update happened, the listener
has a chance to veto updates <em>before</em> they happen.</p>
-
+
@see XUpdateBroadcaster
*/
published interface XUpdateListener: com::sun::star::lang::XEventListener
-{
- //-------------------------------------------------------------------------
-
+{
+ //-------------------------------------------------------------------------
+
/** is invoked to check the current data.
<p>For a given update process, if one of the <type>XUpdateListener</type>s
@@ -60,28 +60,28 @@ published interface XUpdateListener: com::sun::star::lang::XEventListener
@param aEvent
An event dedscriptor specifying the broadcaster of the change.
- @returns
+ @returns
<TRUE/> when the update was approved, otherwise <FALSE/>.
*/
- boolean approveUpdate( [in] com::sun::star::lang::EventObject aEvent );
-
- //-------------------------------------------------------------------------
-
+ boolean approveUpdate( [in] com::sun::star::lang::EventObject aEvent );
+
+ //-------------------------------------------------------------------------
+
/** is invoked when an object has finished processing the updates and
the data has been successfully written.
@param aEvent
A event dedscriptor specifying the broadcaster of the change.
*/
- void updated( [in] com::sun::star::lang::EventObject aEvent );
-
-};
-
-//=============================================================================
-
-}; }; }; };
-
-/*=============================================================================
-
-=============================================================================*/
-#endif
+ void updated( [in] com::sun::star::lang::EventObject aEvent );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif