merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / deployment / DependencyException.idl
blobbaf70d97afce4e800e57ae8435fff7cc90bc412e
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: DependencyException.idl,v $
10 * $Revision: 1.3 $
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 ************************************************************************/
31 #ifndef INCLUDED_COM_SUN_STAR_DEPLOYMENT_DEPENDENCYEXCEPTION_IDL
32 #define INCLUDED_COM_SUN_STAR_DEPLOYMENT_DEPENDENCYEXCEPTION_IDL
34 #include "com/sun/star/uno/Exception.idl"
36 module com { module sun { module star { module xml { module dom {
37 interface XElement;
38 }; }; }; }; };
40 module com { module sun { module star { module deployment {
42 /**
43 describes unsatisfied dependencies a deployment unit has on its target
44 environment.
46 <p>This exception is intended to be used with an
47 <type scope="com::sun::star::task">XInteractionHandler</type>.</p>
49 @since OOo 2.0.4
51 exception DependencyException: com::sun::star::uno::Exception {
52 /**
53 a sequence of dependencies represented by XML elements.
55 <p>The exact nature of those XML elements is deliberately left open, so
56 that new kinds of dependencies can be defined in the future.
57 OOo&nbsp;2.0.4 does not define any kinds of dependencies. Each such XML
58 element should have an attribute whose global name consists of the
59 namespace name
60 <code>http://openoffice.org/extensions/description/2006</code> and the
61 local part <code>name</code> and whose value is a human-readable
62 (english) description of the dependency. If an instance of OOo does not
63 know more about a specific kind of dependency, it should display the
64 value of that attribute to the user.</p>
66 <p>The sequence must not be emtpy, and none of the elements may be
67 <NULL/>.</p>
69 sequence< com::sun::star::xml::dom::XElement > UnsatisfiedDependencies;
72 }; }; }; };
74 #endif