1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: Binding.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_xforms_Binding_idl__
31 #define __com_sun_star_xforms_Binding_idl__
33 #ifndef __com_sun_star_uno_XInterface_idl__
34 #include
<com
/sun
/star
/uno
/XInterface.idl
>
37 #ifndef __com_sun_star_form_binding_ValueBinding_idl__
38 #include
<com
/sun
/star
/form
/binding
/ValueBinding.idl
>
41 #ifndef __com_sun_star_form_binding_ListEntrySource_idl__
42 #include
<com
/sun
/star
/form
/binding
/ListEntrySource.idl
>
45 #ifndef __com_sun_star_form_validation_XValidator_idl__
46 #include
<com
/sun
/star
/form
/validation
/XValidator.idl
>
49 //=============================================================================
51 module com
{ module sun
{ module star
{ module xforms
{
53 interface XSubmission
;
55 //=============================================================================
57 /** represent a binding to one or more nodes in the DOM tree of an <type>XModel</type>.
61 /** allows the binding to act as value supplier for a form component
63 @see com::sun::star::form::binding::BindableControlModel
65 service com
::sun
::star
::form
::binding
::ValueBinding
;
67 /** allows external instances to observe the value represented by the binding
69 <p>This interface is an optional part of the
70 <type scope="com::sun::star::form::binding">ValueBinding</type> servce, but loses
71 its optionality here.</p>
73 interface com
::sun
::star
::util
::XModifyBroadcaster
;
75 /** allows the binding to act as source for list entries of form controls
77 <p>If a binding is associated with more than one node in a DOM tree, it
78 does not represent a single value, but a list of values. Using this interface,
79 this list can be displayed in form control list and combo boxes.</p>
81 service com
::sun
::star
::form
::binding
::ListEntrySource
;
83 /** allows the binding to act as validator for a form component
85 @see com::sun::star::form::binding::ValidatableControlModel
87 interface com
::sun
::star
::form
::validation
::XValidator
;
90 //=============================================================================
94 /*=============================================================================
96 =============================================================================*/