summaryrefslogtreecommitdiff
path: root/udkapi/com/sun/star/script
diff options
context:
space:
mode:
Diffstat (limited to 'udkapi/com/sun/star/script')
-rw-r--r--udkapi/com/sun/star/script/AllEventObject.idl80
-rw-r--r--udkapi/com/sun/star/script/AllListenerAdapter.idl53
-rw-r--r--udkapi/com/sun/star/script/ArrayWrapper.idl68
-rw-r--r--udkapi/com/sun/star/script/BasicErrorException.idl69
-rw-r--r--udkapi/com/sun/star/script/CannotConvertException.idl72
-rw-r--r--udkapi/com/sun/star/script/CannotCreateAdapterException.idl55
-rw-r--r--udkapi/com/sun/star/script/ContextInformation.idl99
-rw-r--r--udkapi/com/sun/star/script/Converter.idl104
-rw-r--r--udkapi/com/sun/star/script/Engine.idl60
-rw-r--r--udkapi/com/sun/star/script/FailReason.idl91
-rw-r--r--udkapi/com/sun/star/script/FinishEngineEvent.idl76
-rw-r--r--udkapi/com/sun/star/script/FinishReason.idl62
-rw-r--r--udkapi/com/sun/star/script/InterruptEngineEvent.idl118
-rw-r--r--udkapi/com/sun/star/script/InterruptReason.idl88
-rw-r--r--udkapi/com/sun/star/script/Invocation.idl61
-rw-r--r--udkapi/com/sun/star/script/InvocationAdapterFactory.idl77
-rw-r--r--udkapi/com/sun/star/script/InvocationInfo.idl93
-rw-r--r--udkapi/com/sun/star/script/JavaScript.idl56
-rw-r--r--udkapi/com/sun/star/script/MemberType.idl51
-rw-r--r--udkapi/com/sun/star/script/ScriptEvent.idl65
-rw-r--r--udkapi/com/sun/star/script/ScriptEventDescriptor.idl76
-rw-r--r--udkapi/com/sun/star/script/XAllListener.idl75
-rw-r--r--udkapi/com/sun/star/script/XAllListenerAdapterService.idl72
-rw-r--r--udkapi/com/sun/star/script/XDebugging.idl153
-rw-r--r--udkapi/com/sun/star/script/XDefaultMethod.idl62
-rw-r--r--udkapi/com/sun/star/script/XDefaultProperty.idl66
-rw-r--r--udkapi/com/sun/star/script/XEngine.idl132
-rw-r--r--udkapi/com/sun/star/script/XEngineListener.idl83
-rw-r--r--udkapi/com/sun/star/script/XEventAttacher.idl123
-rw-r--r--udkapi/com/sun/star/script/XEventAttacherManager.idl232
-rw-r--r--udkapi/com/sun/star/script/XInvocation.idl157
-rw-r--r--udkapi/com/sun/star/script/XInvocation2.idl84
-rw-r--r--udkapi/com/sun/star/script/XInvocationAdapterFactory.idl72
-rw-r--r--udkapi/com/sun/star/script/XInvocationAdapterFactory2.idl68
-rw-r--r--udkapi/com/sun/star/script/XLibraryAccess.idl108
-rw-r--r--udkapi/com/sun/star/script/XScriptEventsAttacher.idl101
-rw-r--r--udkapi/com/sun/star/script/XScriptEventsSupplier.idl62
-rw-r--r--udkapi/com/sun/star/script/XScriptListener.idl71
-rw-r--r--udkapi/com/sun/star/script/XStarBasicAccess.idl98
-rw-r--r--udkapi/com/sun/star/script/XStarBasicDialogInfo.idl63
-rw-r--r--udkapi/com/sun/star/script/XStarBasicLibraryInfo.idl106
-rw-r--r--udkapi/com/sun/star/script/XStarBasicModuleInfo.idl70
-rw-r--r--udkapi/com/sun/star/script/XTypeConverter.idl109
-rw-r--r--udkapi/com/sun/star/script/makefile.mk88
44 files changed, 3829 insertions, 0 deletions
diff --git a/udkapi/com/sun/star/script/AllEventObject.idl b/udkapi/com/sun/star/script/AllEventObject.idl
new file mode 100644
index 000000000000..3ecaf84896ff
--- /dev/null
+++ b/udkapi/com/sun/star/script/AllEventObject.idl
@@ -0,0 +1,80 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_AllEventObject_idl__
+#define __com_sun_star_script_AllEventObject_idl__
+
+#ifndef __com_sun_star_lang_EventObject_idl__
+#include <com/sun/star/lang/EventObject.idl>
+#endif
+
+#ifndef __com_sun_star_reflection_XIdlClass_idl__
+#include <com/sun/star/reflection/XIdlClass.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** This event is a wrapper for an original event in a forwarding event.
+
+ <p> Usually the original event is the first argument in the
+ array of arguments. </p>
+ */
+published struct AllEventObject: com::sun::star::lang::EventObject
+{
+ //-------------------------------------------------------------------------
+ /** A helper value for the implementation that can be used arbitrarily.
+
+ <p>This field reflects the third parameter of the method
+ <member>XAllListenerAdapterService::createAllListerAdapter</member>.
+ </p>
+ */
+ any Helper;
+
+ //-------------------------------------------------------------------------
+ /** contains the type of the original listener.
+ */
+ type ListenerType;
+
+ //-------------------------------------------------------------------------
+ /** The original method name on which the event was fired.
+ */
+ string MethodName;
+
+ //-------------------------------------------------------------------------
+ /** The arguments of the original method.
+ */
+ sequence<any> Arguments;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/AllListenerAdapter.idl b/udkapi/com/sun/star/script/AllListenerAdapter.idl
new file mode 100644
index 000000000000..49e466108e53
--- /dev/null
+++ b/udkapi/com/sun/star/script/AllListenerAdapter.idl
@@ -0,0 +1,53 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_AllListenerAdapter_idl__
+#define __com_sun_star_script_AllListenerAdapter_idl__
+
+#ifndef __com_sun_star_script_XAllListenerAdapterService_idl__
+#include <com/sun/star/script/XAllListenerAdapterService.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** makes it possible to generate the adapters from specific
+ interfaces to the interface <type>XAllListener</type>.
+ */
+published service AllListenerAdapter
+{
+ /// interface to create adapters for listener types
+ interface com::sun::star::script::XAllListenerAdapterService;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/ArrayWrapper.idl b/udkapi/com/sun/star/script/ArrayWrapper.idl
new file mode 100644
index 000000000000..8f60780229c7
--- /dev/null
+++ b/udkapi/com/sun/star/script/ArrayWrapper.idl
@@ -0,0 +1,68 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_script_XArrayWrapper_idl__
+#define __com_sun_star_script_XArrayWrapper_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+//=============================================================================
+module com { module sun { module star { module script {
+
+//=============================================================================
+/** Allows an UNO sequence that is passed between different language
+ boundries to indicate it prefers to be represented as a multidimensional
+ array with 0 or 1 based indices. UNO does not natively represent
+ Multi-Dimensional arrays, instead a sequence can have elements that are
+ themselves sequences (an array of arrays ). <p>Some languages ( example
+ BASIC ) can natively represent both Multi-Dimentional arrays and array of
+ arrays.
+ Those languages could represent a sequence of sequences as either a
+ Multi-Dimentional array or array of arrays. This structure allows a
+ preference for a Multi-Dimensional array representation to be specified.</p>
+*/
+
+struct ArrayWrapper
+{
+ /** Indicates whether the Array should be have 1 or 0 based indexing.
+ */
+ boolean IsZeroIndex;
+ /** Contains the Array to be passed.
+ <p> Multi-dimensional arrays can only be represented as a sequence where the elements of the sequence are themselves sequences. N-Levels of indirection are possible, where N is the number of dimensions. Note: its perfectly legal to use this structure with a single dimensioned array just to indicate the array indexing.</p>
+ */
+ any Array;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
+
diff --git a/udkapi/com/sun/star/script/BasicErrorException.idl b/udkapi/com/sun/star/script/BasicErrorException.idl
new file mode 100644
index 000000000000..63a91b8e6373
--- /dev/null
+++ b/udkapi/com/sun/star/script/BasicErrorException.idl
@@ -0,0 +1,69 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_BasicErrorException_idl__
+#define __com_sun_star_script_BasicErrorException_idl__
+
+#ifndef __com_sun_star_uno_Exception_idl__
+#include <com/sun/star/uno/Exception.idl>
+#endif
+
+
+//=============================================================================
+
+module com { module sun { module star { module script {
+
+//=============================================================================
+
+/** is thrown in order to transport an error to Basic.
+
+ @since OOo 2.0.0
+ */
+published exception BasicErrorException: com::sun::star::uno::Exception
+{
+ //-------------------------------------------------------------------------
+
+ /** The error code.
+ */
+ long ErrorCode;
+
+ //-------------------------------------------------------------------------
+
+ /** Specifies the argument which is used in the localized error message for
+ the placeholder.
+ */
+ string ErrorMessageArgument;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/udkapi/com/sun/star/script/CannotConvertException.idl b/udkapi/com/sun/star/script/CannotConvertException.idl
new file mode 100644
index 000000000000..1d2ba4e2c910
--- /dev/null
+++ b/udkapi/com/sun/star/script/CannotConvertException.idl
@@ -0,0 +1,72 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_CannotConvertException_idl__
+#define __com_sun_star_script_CannotConvertException_idl__
+
+#ifndef __com_sun_star_uno_Exception_idl__
+#include <com/sun/star/uno/Exception.idl>
+#endif
+
+#ifndef __com_sun_star_uno_TypeClass_idl__
+#include <com/sun/star/uno/TypeClass.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+/** This exception is thrown to indicate that a type conversion can not be performed.
+*/
+published exception CannotConvertException: com::sun::star::uno::Exception
+{
+ /** This member contains the class of the type to which the value should be
+ converted.
+ */
+ com::sun::star::uno::TypeClass DestinationTypeClass;
+
+ /** This member contains the reason that the conversion failed.
+ Have a look at <type>FailReason</type>.
+ */
+ long Reason;
+
+ /** If the conversion of a method argument fails, this is the index
+ of the value in the "IN" argument list. [optional]
+ */
+ long ArgumentIndex;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/udkapi/com/sun/star/script/CannotCreateAdapterException.idl b/udkapi/com/sun/star/script/CannotCreateAdapterException.idl
new file mode 100644
index 000000000000..6b7d33d1873e
--- /dev/null
+++ b/udkapi/com/sun/star/script/CannotCreateAdapterException.idl
@@ -0,0 +1,55 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_CannotCreateAdapterException_idl__
+#define __com_sun_star_script_CannotCreateAdapterException_idl__
+
+#ifndef __com_sun_star_uno_Exception_idl__
+#include <com/sun/star/uno/Exception.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** is thrown by an attacher if an adapter service cannot create the
+ appropriate adapter.
+
+ @see com::sun::star::script::XAllListenerAdapterService
+ @see com::sun::star::script::XEventAttacher
+ @see com::sun::star::script::XEventAttacherManager
+ */
+published exception CannotCreateAdapterException: com::sun::star::uno::Exception
+{
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/ContextInformation.idl b/udkapi/com/sun/star/script/ContextInformation.idl
new file mode 100644
index 000000000000..9863017b90a2
--- /dev/null
+++ b/udkapi/com/sun/star/script/ContextInformation.idl
@@ -0,0 +1,99 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_ContextInformation_idl__
+#define __com_sun_star_script_ContextInformation_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** provides information about a certain stack frame.
+
+ @deprecated
+ */
+published struct ContextInformation
+{
+ /** Full qualified name to adress the module or function associated with the context.
+ If the module or function can't be adressed by name, e.g., in case that a runtime
+ generated eval-module is executed, this string is empty
+ */
+ string Name;
+
+ //-------------------------------------------------------------------------
+ /** Source code of the Module, that is associated with the context. If the source can
+ be accessed using the ModuleName or if the source is unknown (executing compiled
+ code) this string can be empty.
+ */
+ string SourceCode;
+
+ //-------------------------------------------------------------------------
+ /** contains the first line in the module's source code associated with
+ the context.
+
+ <p>If "name" addresses a function, all line and column values
+ are nevertheless given relative to the module's source. If
+ source code is not available, this value addresses a binary
+ position in the compiled code. </p>
+
+ @see XLibraryAccess::getModuleCode
+ @see XLibraryAccess::getFunctionCode
+ */
+ long StartLine;
+
+ //-------------------------------------------------------------------------
+ /** contains the first column in the <var>StartLine</var> associated with
+ the context.
+ */
+ long StartColumn;
+
+ //-------------------------------------------------------------------------
+
+ /** contains the last line in the module's source code associated with
+ the context.
+ */
+ long EndLine;
+
+ //-------------------------------------------------------------------------
+ /** contains the first column in the <var>EndLine</var> that is NOT
+ associated with the context.
+ */
+ long EndColumn;
+
+ //-------------------------------------------------------------------------
+ /** Get all names of the local variable in this context.
+ */
+ sequence<string> LocalVariableNames;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/Converter.idl b/udkapi/com/sun/star/script/Converter.idl
new file mode 100644
index 000000000000..f0a9167ab074
--- /dev/null
+++ b/udkapi/com/sun/star/script/Converter.idl
@@ -0,0 +1,104 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_Converter_idl__
+#define __com_sun_star_script_Converter_idl__
+
+#ifndef __com_sun_star_script_XTypeConverter_idl__
+#include <com/sun/star/script/XTypeConverter.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+/** This service provides a widening converter converting from one type to another,
+ if possible.
+
+ <p>What is possible?
+ <ul>
+ <li>byte: byte, (short *1), (long *1), (hyper *1), (float *1), (double *1), (enum *2), (any *3), boolean, (char *4), (string *5)</li>
+ <li>short: byte, short, (long *1), (hyper *1), (float *7), (double *7), (enum *2), (any *3), boolean, char, (string *5)</li>
+ <li>long: byte, short, long, (hyper *1), (float *7), (double *7), enum, (any *3), boolean, char, (string *5)</li>
+ <li>hyper: byte, short, long, hyper, (float *7), (double *7), enum, (any *3), boolean, char, (string *5)</li>
+ <li>float: byte, short, long, hyper, float, (double *7), (enum *8), (any *3), boolean, char, (string *5)</li>
+ <li>double: byte, short, long, hyper, float, double, enum, (any *3), boolean, char, (string *5)</li>
+ <li>enum: (byte *9), (short *9), (long *9), (hyper *9), (float *9), (double *9), (enum *10), (any *3), (string *11)</li>
+ <li>void: ok for all types</li>
+ <li>any: ok for all types</li>
+ <li>boolean: byte, short, long, hyper, float, double, (any *3), boolean, char, (string *12). 0 => false, != 0 => true</li>
+ <li>char: byte, short, (long *1), (hyper *1), (float *7), (double *7), enum, (any *3), boolean, char, (string *13)</li>
+ <li>string: byte, short, long, hyper, float, double, enum, (any *3), boolean, char, string</li>
+ <li>struct: (any *3), (struct *14)</li>
+ <li>interface: (any *3), (struct *14)</li>
+ <li>exception: (any *3), (exception *14)</li>
+ <li>union: (any *3), (union *14)</li>
+ <li>sequence: (any *3), (sequence *15)</li>
+ </ul>
+ rules:
+ <ul>
+ <li>1: only converts if the value is in the range of the target type.</li>
+ <li>2: only converts if the value, not the position, of the enum is in the range of the target type.</li>
+ <li>3: get value until it is not an any. Then convert it with the other rules.</li>
+ <li>4: only converts if the value of the character is between 0 - 255.</li>
+ <li>5: only converts if the value represents a decimal, hexadecimal (0x...) or a floating point number.
+ Examples: 10, 0x10, 10.045, 10,555, +10, +10.6e10, -10.6e-10, .16.</li>
+ <li>7: only converts if the value is in the range of the target type.
+ The value is rounded to an integer.</li>
+ <li>8: only converts if the float can be converted back to the same enum value.</li>
+ <li>9: only converts if the number is one of the enumeration type values. Normally you need
+ reflection information of the enum type.</li>
+ <li>10: only converts if it is the same enumeration type.</li>
+ <li>11: only converts if the string contains the name of an enumeration type value. Normally you need
+ core reflection information of the enum type.</li>
+ <li>12: only converts if the value of the string is "1", "true" or "0", "false". The comparision
+ is case insensitive.</li>
+ <li>13: only converts if the length of the string is 1 or 0.</li>
+ <li>14: only converts if the types are equal or the source type is derived from the destination
+ type.</li>
+ <li>15: only converts if each element of the source sequence can be converted to an element
+ of the destination sequence.</li>
+ </ul>
+*/
+published service Converter
+{
+ /** Conversion interface.
+ */
+ interface com::sun::star::script::XTypeConverter;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/udkapi/com/sun/star/script/Engine.idl b/udkapi/com/sun/star/script/Engine.idl
new file mode 100644
index 000000000000..5e193a7fe679
--- /dev/null
+++ b/udkapi/com/sun/star/script/Engine.idl
@@ -0,0 +1,60 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_Engine_idl__
+#define __com_sun_star_script_Engine_idl__
+
+#ifndef __com_sun_star_script_XEngine_idl__
+#include <com/sun/star/script/XEngine.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+// DocMerge from xml: service com::sun::star::script::Engine
+/** service that any scripting engine must implement.
+
+ <p>The implementation of this
+ interface should supply the interfaces com.sun.star.script.XDebugging2 and
+ interface com.sun.star.script.XInvocation.</p>
+ @deprecated
+ */
+published service Engine
+{
+ /// The only interface of this service
+ interface com::sun::star::script::XEngine;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/FailReason.idl b/udkapi/com/sun/star/script/FailReason.idl
new file mode 100644
index 000000000000..a8f02fe3a19a
--- /dev/null
+++ b/udkapi/com/sun/star/script/FailReason.idl
@@ -0,0 +1,91 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_FailReason_idl__
+#define __com_sun_star_script_FailReason_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+/** These values specify the reason why a type conversion failed.
+*/
+published constants FailReason
+{
+ /** The given value does not fit in the range of the destination type.
+ */
+ const long OUT_OF_RANGE = 1;
+
+ /** The given value cannot be converted to a number.
+ */
+ const long IS_NOT_NUMBER = 2;
+
+ /** The given value cannot be converted to an enumeration.
+ */
+ const long IS_NOT_ENUM = 3;
+
+ /** The given value cannot be converted to a boolean.
+ */
+ const long IS_NOT_BOOL = 4;
+
+ /** The given value is not an interface or cannot queried to the right interface.
+ */
+ const long NO_SUCH_INTERFACE = 5;
+
+ /** The given value cannot be converted to right structure or exception type.
+ */
+ const long SOURCE_IS_NO_DERIVED_TYPE = 6;
+
+ /** The type class of the given value is not supported.
+ */
+ const long TYPE_NOT_SUPPORTED = 7;
+
+ /** The given value cannot be converted and none of the other reasons match.
+ */
+ const long INVALID = 8;
+
+ /** This value is deprecated. Do not use.
+ @deprecated
+ */
+ const long NO_DEFAULT_AVAILABLE = 9;
+
+ /** This value is deprecated. Do not use.
+ @deprecated
+ */
+ const long UNKNOWN = 10;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/udkapi/com/sun/star/script/FinishEngineEvent.idl b/udkapi/com/sun/star/script/FinishEngineEvent.idl
new file mode 100644
index 000000000000..7ec3d6818657
--- /dev/null
+++ b/udkapi/com/sun/star/script/FinishEngineEvent.idl
@@ -0,0 +1,76 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_FinishEngineEvent_idl__
+#define __com_sun_star_script_FinishEngineEvent_idl__
+
+#ifndef __com_sun_star_lang_EventObject_idl__
+#include <com/sun/star/lang/EventObject.idl>
+#endif
+
+#ifndef __com_sun_star_script_FinishReason_idl__
+#include <com/sun/star/script/FinishReason.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** event contains the reasons and the data for the
+ <member>XEngineListener::finished()</member> method.
+ @deprecated
+ */
+published struct FinishEngineEvent: com::sun::star::lang::EventObject
+{
+ //-------------------------------------------------------------------------
+ /** specifies why the script terminates.
+ */
+ com::sun::star::script::FinishReason Finish;
+
+ //-------------------------------------------------------------------------
+ /** error message.
+
+ <p>Only valid if Reason is RuntimeError or CompileError.</p>
+ */
+ string ErrorMessage;
+
+ //-------------------------------------------------------------------------
+ /** contains the return value.
+
+ <p>This field is only valid if <member>FinishEngineEvent::Finish</member> is
+ <const>FinishReason::OK</const>.</p>
+ */
+ any Return;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/FinishReason.idl b/udkapi/com/sun/star/script/FinishReason.idl
new file mode 100644
index 000000000000..068769e59130
--- /dev/null
+++ b/udkapi/com/sun/star/script/FinishReason.idl
@@ -0,0 +1,62 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_FinishReason_idl__
+#define __com_sun_star_script_FinishReason_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** contains the response for a scripting engine termination.
+ @deprecated
+ */
+published enum FinishReason
+{
+ //-------------------------------------------------------------------------
+ /** script in the engine terminated normally.
+ */
+ OK,
+
+ //-------------------------------------------------------------------------
+ /** script in the engine was cancelled.
+ */
+ Cancel,
+
+ //-------------------------------------------------------------------------
+ /** error occurred during script execution or compiling.
+ */
+ Error
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/InterruptEngineEvent.idl b/udkapi/com/sun/star/script/InterruptEngineEvent.idl
new file mode 100644
index 000000000000..b89fcf74503d
--- /dev/null
+++ b/udkapi/com/sun/star/script/InterruptEngineEvent.idl
@@ -0,0 +1,118 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_InterruptEngineEvent_idl__
+#define __com_sun_star_script_InterruptEngineEvent_idl__
+
+#ifndef __com_sun_star_lang_EventObject_idl__
+#include <com/sun/star/lang/EventObject.idl>
+#endif
+
+#ifndef __com_sun_star_script_InterruptReason_idl__
+#include <com/sun/star/script/InterruptReason.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** describes an interrupt which occurs in the scripting engine.
+ @deprecated
+ */
+published struct InterruptEngineEvent: com::sun::star::lang::EventObject
+{
+ //-------------------------------------------------------------------------
+ /** fully qualified name to address the module or function affected by the event that
+ took place.
+
+ <p>If the module or function can't be addressed by name (for example, in case
+ that a runtime-generated eval-module is executed), this string is empty.</p>
+ */
+ string Name;
+
+ //-------------------------------------------------------------------------
+ /** source code of the Module affected by the event that took place.
+
+ <p>If the source can
+ be accessed using the ModuleName, or if the source is unknown (executing compiled
+ code), this string can be empty.</p>
+ */
+ string SourceCode;
+
+ //-------------------------------------------------------------------------
+ /** contains the first line in the module's source code that is affected
+ by the event that took place.
+
+
+
+ <p>If "name" addresses a function, all line and column values
+ are nevertheless given relative to the module's source. If
+ source code is not available, this value addresses a binary
+ position in the compiled code. </p>
+
+ @see XLibraryAccess::getModuleCode
+ @see XLibraryAccess::getFunctionCode
+ */
+ long StartLine;
+
+ //-------------------------------------------------------------------------
+ /** contains the first column in the "StartLine" that is affected by the
+ event that took place.
+ */
+ long StartColumn;
+
+ //-------------------------------------------------------------------------
+ /** contains the last line in the module's source code that is affected
+ by the event that took place.
+ */
+ long EndLine;
+
+ //-------------------------------------------------------------------------
+ /** contains the first column in the "EndLine" which is NOT affected by
+ the event that took place.
+ */
+ long EndColumn;
+
+ //-------------------------------------------------------------------------
+ /** error message.
+ <p>Only valid if Reason is RuntimeError or CompileError.</p>
+ */
+ string ErrorMessage;
+
+ //-------------------------------------------------------------------------
+ /** contains the interrupt reason.
+ */
+ com::sun::star::script::InterruptReason Reason;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/InterruptReason.idl b/udkapi/com/sun/star/script/InterruptReason.idl
new file mode 100644
index 000000000000..c0e46a2b7f8d
--- /dev/null
+++ b/udkapi/com/sun/star/script/InterruptReason.idl
@@ -0,0 +1,88 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_InterruptReason_idl__
+#define __com_sun_star_script_InterruptReason_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** values used to specify the response for a scripting engine
+ interrupt.
+ @deprecated
+ */
+published enum InterruptReason
+{
+ //-------------------------------------------------------------------------
+ /** script execution was cancelled.
+ */
+ Cancel,
+
+ //-------------------------------------------------------------------------
+ /** runtime error occurred during script execution.
+ */
+ RuntimeError,
+
+ //-------------------------------------------------------------------------
+ /** script has invalid syntax.
+ */
+ CompileError,
+
+ //-------------------------------------------------------------------------
+ /** script stopped at a breakpoint.
+ */
+ BreakPoint,
+
+ //-------------------------------------------------------------------------
+ /** script stops because only one scripting engine command was executed.
+ */
+ Step,
+
+ //-------------------------------------------------------------------------
+ /** script stops because one step was executed.
+ */
+ StepOver,
+
+ //-------------------------------------------------------------------------
+ /** script stops because it leaves a function.
+ */
+ StepOut,
+
+ //-------------------------------------------------------------------------
+ /** script stop because one step was executed.
+ */
+ StepStatement
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/Invocation.idl b/udkapi/com/sun/star/script/Invocation.idl
new file mode 100644
index 000000000000..83eb11a37078
--- /dev/null
+++ b/udkapi/com/sun/star/script/Invocation.idl
@@ -0,0 +1,61 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_Invocation_idl__
+#define __com_sun_star_script_Invocation_idl__
+
+#ifndef __com_sun_star_lang_XSingleServiceFactory_idl__
+#include <com/sun/star/lang/XSingleServiceFactory.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** factory service that allows construction of Invocation objects.
+
+ <p>Invoke createInstanceWithArguments() of XSingleServiceFactory
+ to create an Invocation adapter for the passed object (Invoking
+ createInstance() will fail).</p>
+ <p>
+ The adapter has to support <type scope="com::sun::star::script">XInvocation</type>.
+ The adapter may also support <type scope="com::sun::star::script">XInvocation2</type>.
+ </p>
+ */
+published service Invocation
+{
+ /// Interface to specify the object to be mapped by the invocation service.
+ interface com::sun::star::lang::XSingleServiceFactory;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/InvocationAdapterFactory.idl b/udkapi/com/sun/star/script/InvocationAdapterFactory.idl
new file mode 100644
index 000000000000..9363de749d6a
--- /dev/null
+++ b/udkapi/com/sun/star/script/InvocationAdapterFactory.idl
@@ -0,0 +1,77 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_InvocationAdapterFactory_idl__
+#define __com_sun_star_script_InvocationAdapterFactory_idl__
+
+#ifndef __com_sun_star_script_XInvocationAdapterFactory_idl__
+#include <com/sun/star/script/XInvocationAdapterFactory.idl>
+#endif
+#ifndef __com_sun_star_script_XInvocationAdapterFactory2_idl__
+#include <com/sun/star/script/XInvocationAdapterFactory2.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** Provides functionality to create an adapter that supports (a)
+ special interface type(s) and maps calls to the interface's
+ methods to an invocation interface.
+
+ <p>
+ An adapter like this allows generic dispatch interfaces to
+ meet interface requirements, e.g. if a specific listener
+ interface has to be passed to an add...Listener method.
+ </p>
+
+ <p>
+ The adapter has to support
+ <type scope="com::sun::star::script">XInvocationAdapterFactory</type>.
+ The adapter may also support
+ <type scope="com::sun::star::script">XInvocationAdapterFactory2</type>.
+ </p>
+ */
+published service InvocationAdapterFactory
+{
+ /** Interface for creating adapter objects.
+ This interface is deprecated. Use <type>XInvocationAdapterFactory2</type>.
+ @deprecated
+ */
+ interface com::sun::star::script::XInvocationAdapterFactory;
+
+ /** Interface for creating adapter objects.
+ */
+ interface com::sun::star::script::XInvocationAdapterFactory2;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/InvocationInfo.idl b/udkapi/com/sun/star/script/InvocationInfo.idl
new file mode 100644
index 000000000000..ba619e00461b
--- /dev/null
+++ b/udkapi/com/sun/star/script/InvocationInfo.idl
@@ -0,0 +1,93 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_InvocationInfo_idl__
+#define __com_sun_star_script_InvocationInfo_idl__
+
+#ifndef __com_sun_star_script_MemberType_idl__
+#include <com/sun/star/script/MemberType.idl>
+#endif
+
+#ifndef __com_sun_star_reflection_ParamMode_idl__
+#include <com/sun/star/reflection/ParamMode.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+/**
+ This struct is used to specify information about object members
+ (methods or properties) accessed via XInvocation, such as names,
+ types, or parameters.
+ </p>
+ */
+published struct InvocationInfo
+{
+
+ /** Name of the method or property.
+ */
+ string aName;
+
+ /** Kind of the member (method or property).
+ */
+ MemberType eMemberType;
+
+ /** Only for property members:
+ This field may contain zero or more constants of the
+ <type scope="com::sun::star::beans">PropertyAttribute</type>
+ constants group. It is not guaranteed that all necessary
+ constants are set to describe the property completely,
+ but a flag will only be set, if the corresponding charac-
+ teristic really exists. Example: If the READONLY flag
+ is set, the property is readonly. If it isn't set, the
+ property nevertheless can be readonly.
+
+ For methods this field is irrelevant and is set to 0.
+ */
+ short PropertyAttribute;
+
+ /** Type of the member, for methods the return type
+ */
+ type aType;
+
+ /** Types method parameters, for properties this sequence is empty
+ */
+ sequence< type > aParamTypes;
+
+ /** Mode of method parameters (IN, OUT, INOUT),
+ for properties this sequence is empty.
+ */
+ sequence< com::sun::star::reflection::ParamMode > aParamModes;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/JavaScript.idl b/udkapi/com/sun/star/script/JavaScript.idl
new file mode 100644
index 000000000000..1134ed10c2f4
--- /dev/null
+++ b/udkapi/com/sun/star/script/JavaScript.idl
@@ -0,0 +1,56 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_JavaScript_idl__
+#define __com_sun_star_script_JavaScript_idl__
+
+#ifndef __com_sun_star_script_Engine_idl__
+#include <com/sun/star/script/Engine.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** service is implementation of a JavaScript interpreter.
+
+ <p>The interpreter should be similar to JavaScript 1.1. The exact
+ behavior will be specified in future.</p>
+ @deprecated
+ */
+published service JavaScript
+{
+ /// Parent service
+ service com::sun::star::script::Engine;
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/MemberType.idl b/udkapi/com/sun/star/script/MemberType.idl
new file mode 100644
index 000000000000..fcb2eb43d76a
--- /dev/null
+++ b/udkapi/com/sun/star/script/MemberType.idl
@@ -0,0 +1,51 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_MemberType_idl__
+#define __com_sun_star_script_MemberType_idl__
+
+//=============================================================================
+
+module com { module sun { module star { module script {
+
+//=============================================================================
+/** These values are used to specify a member accessible by
+ <type>XInvocation</type>.
+*/
+published enum MemberType
+{
+ METHOD,
+ PROPERTY,
+ UNKNOWN
+};
+
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
diff --git a/udkapi/com/sun/star/script/ScriptEvent.idl b/udkapi/com/sun/star/script/ScriptEvent.idl
new file mode 100644
index 000000000000..040124dbafd0
--- /dev/null
+++ b/udkapi/com/sun/star/script/ScriptEvent.idl
@@ -0,0 +1,65 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_ScriptEvent_idl__
+#define __com_sun_star_script_ScriptEvent_idl__
+
+#ifndef __com_sun_star_script_AllEventObject_idl__
+#include <com/sun/star/script/AllEventObject.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** script event that gets delivered whenever a script event takes place.
+ <p>For that to happen, a "ScriptEventDescriptor" must be registered at
+ and attached to an object by an <type>XEventAttacherManager</type>.</p>
+ */
+published struct ScriptEvent: com::sun::star::script::AllEventObject
+{
+ //-------------------------------------------------------------------------
+ /** type of the script language as string; for example, "Basic" or "StarScript".
+ */
+ string ScriptType;
+
+ //-------------------------------------------------------------------------
+ /** script code as string.
+
+ <p>The code has to correspond with the language
+ defined by ScriptType.</p>
+ */
+ string ScriptCode;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/ScriptEventDescriptor.idl b/udkapi/com/sun/star/script/ScriptEventDescriptor.idl
new file mode 100644
index 000000000000..4cc7f85bda8e
--- /dev/null
+++ b/udkapi/com/sun/star/script/ScriptEventDescriptor.idl
@@ -0,0 +1,76 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_ScriptEventDescriptor_idl__
+#define __com_sun_star_script_ScriptEventDescriptor_idl__
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** describes an effect, especially a script to be executed,
+ for a certain event given by the listener type and the name of the
+ event method.
+ */
+published struct ScriptEventDescriptor
+{
+ /** listener type as string, same as listener-XIdlClass.getName().
+ */
+ string ListenerType;
+
+ //-------------------------------------------------------------------------
+ /** event method as string.
+ */
+ string EventMethod;
+
+ //-------------------------------------------------------------------------
+ /** data to be used if the addListener method needs an additional
+ parameter.
+ <p>If the type of this parameter is different from string,
+ it will be converted, when added.</p>
+ */
+ string AddListenerParam;
+
+ //-------------------------------------------------------------------------
+ /** type of the script language as string; for example, "Basic" or "StarScript".
+ */
+ string ScriptType;
+
+ //-------------------------------------------------------------------------
+ /** script code as string (the code has to correspond with the language
+ defined by ScriptType).
+ */
+ string ScriptCode;
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XAllListener.idl b/udkapi/com/sun/star/script/XAllListener.idl
new file mode 100644
index 000000000000..d234edd05262
--- /dev/null
+++ b/udkapi/com/sun/star/script/XAllListener.idl
@@ -0,0 +1,75 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XAllListener_idl__
+#define __com_sun_star_script_XAllListener_idl__
+
+#ifndef __com_sun_star_lang_XEventListener_idl__
+#include <com/sun/star/lang/XEventListener.idl>
+#endif
+
+#ifndef __com_sun_star_script_AllEventObject_idl__
+#include <com/sun/star/script/AllEventObject.idl>
+#endif
+
+#ifndef __com_sun_star_reflection_InvocationTargetException_idl__
+#include <com/sun/star/reflection/InvocationTargetException.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** specifies a listener combining all methods
+ of a listener interface in a single generic call.
+
+ <p>Without any output parameters, it is possible to adapt any interface
+ if the <type>XAllListenerAdapterService</type> can generate an adapter.</p>
+ */
+published interface XAllListener: com::sun::star::lang::XEventListener
+{
+ //-------------------------------------------------------------------------
+ /** gets called when an event occurs at the object.
+ */
+ [oneway] void firing( [in] com::sun::star::script::AllEventObject iaEvent );
+
+ //-------------------------------------------------------------------------
+ /** gets called when a "vetoable event" occurs at the object.
+
+ <p>That happens when the listener method raises an exception,
+ has a return value declared, or is not "oneway".</p>
+ */
+ any approveFiring( [in] com::sun::star::script::AllEventObject aEvent )
+ raises( com::sun::star::reflection::InvocationTargetException );
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XAllListenerAdapterService.idl b/udkapi/com/sun/star/script/XAllListenerAdapterService.idl
new file mode 100644
index 000000000000..d779be5a45b3
--- /dev/null
+++ b/udkapi/com/sun/star/script/XAllListenerAdapterService.idl
@@ -0,0 +1,72 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XAllListenerAdapterService_idl__
+#define __com_sun_star_script_XAllListenerAdapterService_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_reflection_XIdlClass_idl__
+#include <com/sun/star/reflection/XIdlClass.idl>
+#endif
+
+#ifndef __com_sun_star_script_XAllListener_idl__
+#include <com/sun/star/script/XAllListener.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** allows the generation of adapters from specific
+ interfaces to the <type>XAllListener</type> interface.
+ */
+published interface XAllListenerAdapterService: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+ /** creates a wrapper from the listener of type
+ <var>xListenerType</var> to the <type>XAllListener</type>
+ listener.
+
+ To get the correct listener interface the returned
+ <type scope="com::sun::star::uno">XInterface</type> has to
+ be queried for it.
+ */
+ com::sun::star::uno::XInterface createAllListerAdapter( [in] type xListenerType,
+ [in] com::sun::star::script::XAllListener xListener,
+ [in] any aHelper );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XDebugging.idl b/udkapi/com/sun/star/script/XDebugging.idl
new file mode 100644
index 000000000000..55335e5c07eb
--- /dev/null
+++ b/udkapi/com/sun/star/script/XDebugging.idl
@@ -0,0 +1,153 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XDebugging_idl__
+#define __com_sun_star_script_XDebugging_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_script_ContextInformation_idl__
+#include <com/sun/star/script/ContextInformation.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+// DocMerge from xml: interface com::sun::star::script::XDebugging
+/** makes it possible to set breakpoints in an interpreter.
+ @deprecated
+ */
+published interface XDebugging: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+ /** returns the source code line where the breakpoint was set.
+
+ <p>The value can differ from the parameter
+ <var>nSourceCodeLine</var> when this is not a valid line to
+ place it. -1 indicates that the breakpoint cannot be set at
+ this position.
+ */
+ long setBreakPoint( [in] string aModuleName,
+ [in] long nSourceCodeLine,
+ [in] boolean bOn );
+
+ //-------------------------------------------------------------------------
+ /** clears all breakpoints in the module set by "setBreakPoint".
+ */
+ void clearAllBreakPoints( [in] string aModuleName );
+
+ //-------------------------------------------------------------------------
+ /** Evaluates an expression.
+
+ @returns the value of the expression as string.
+
+ @param CallStackPos Position in the call stack for which the expression
+ should be evaluated. 0 is the top/actual position in the call
+ in the call stack, 1 the next and so on.
+ */
+ string eval( [in] string aSourceCode,
+ [in] short nCallStackPos );
+
+ //-------------------------------------------------------------------------
+ /** Returns the engine's stack trace of the current execute position. Line break is the delimiter.
+ */
+ sequence<string> getStackTrace();
+
+ //-------------------------------------------------------------------------
+ /** returns more detailed information about a specified stack frame.
+
+ @param nCallStackPos
+ specifies the position in the call stack for the
+ variables that should be delivered.
+ */
+ com::sun::star::script::ContextInformation getContextInformation( [in] short nCallStackPos );
+
+ //-------------------------------------------------------------------------
+ /** returns the value of the variable at the given stack position.
+ */
+ string dumpVariable( [in] string aVariableName,
+ [in] short nCallStackPos );
+
+ //-------------------------------------------------------------------------
+ /** sets the value of the specified variable within the specified
+ stack frame.
+ */
+ void setVariable( [in] string aVariableName,
+ [in] string aValue,
+ [in] short nCallStackPos );
+
+ //-------------------------------------------------------------------------
+ /** returns whether the given variable exists within the specified stack frame.
+ */
+ boolean isVariable( [in] string aVariableName,
+ [in] short nCallStackPos );
+
+ //-------------------------------------------------------------------------
+ /** stops the execution of the interpreter.
+
+ <p>To continue with the execution, call <method>XDebugging::doContinue</method>.
+ */
+ void stop();
+
+ //-------------------------------------------------------------------------
+ /** executes the next and only the next statement.
+
+ <p>If the next statement is a function call, the function is
+ executed completely.</p>
+ */
+ void stepOver();
+
+ //-------------------------------------------------------------------------
+ /** executes the next and only the next statement.
+
+ <p>If the next statement is a function call, only the function
+ entered.</p>
+ */
+ void stepIn();
+
+ //-------------------------------------------------------------------------
+ /** executes the program until the next return from this stack frame.
+ */
+ void stepOut();
+
+ //-------------------------------------------------------------------------
+ /** continues the program execution.
+ */
+ void doContinue();
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XDefaultMethod.idl b/udkapi/com/sun/star/script/XDefaultMethod.idl
new file mode 100644
index 000000000000..5a2409145e28
--- /dev/null
+++ b/udkapi/com/sun/star/script/XDefaultMethod.idl
@@ -0,0 +1,62 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_script_XDefaultMethod_idl__
+#define __com_sun_star_script_XDefaultMethod_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+module com { module sun { module star { module script {
+//==============================================================================
+/**
+ An object supporting this interface indicates to interested
+ parties or clients the name of the default method for
+ this object.
+ <p>For example where ExampleObject is an instance of an Object that
+ supports this interface which returns the default method name
+ "defaultMethod".A scripting engine could use this information to support
+ syntax like <p>"ExampleObject( Param1 .... ParamN )"</p>
+ which would be equivalent to writing
+ <p>"ExampleObject.defaultMethod( Param1 ... ParamN )"</p>
+*/
+interface XDefaultMethod : ::com::sun::star::uno::XInterface
+{
+ //-----------------------------------------------------------------------
+ /**
+ Returns the name of the default method
+
+ @return
+ The <atom>string</atom> name of default method
+ */
+ string getDefaultMethodName();
+
+};
+
+}; }; }; };
+#endif
diff --git a/udkapi/com/sun/star/script/XDefaultProperty.idl b/udkapi/com/sun/star/script/XDefaultProperty.idl
new file mode 100644
index 000000000000..61bee2515eb4
--- /dev/null
+++ b/udkapi/com/sun/star/script/XDefaultProperty.idl
@@ -0,0 +1,66 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+
+#ifndef __com_sun_star_script_XDefaultProperty_idl__
+#define __com_sun_star_script_XDefaultProperty_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+module com { module sun { module star { module script {
+//==============================================================================
+/**
+ An object supporting this interface indicates to interested
+ parties or clients the name of the default propery for
+ this object.
+ <p>For example where ExampleObject is an instance of an Object that
+ supports this interface which returns the default property name
+ "Value".A scripting engine could use this information to support
+ syntax like <p>ExampleObject = "foo"</p>
+ which would be equivalent to writing
+ <p>ExampleObject.Value = "foo"</p>
+ or
+ <p>bar = ExampleObject</p>
+ which would be equivalent to writing
+ <p>bar = ExampleObject.Value</p>
+*/
+interface XDefaultProperty : ::com::sun::star::uno::XInterface
+{
+ //-----------------------------------------------------------------------
+ /**
+ Returns the name of the default property
+
+ @return
+ The <atom>string</atom> name of default property
+ */
+ string getDefaultPropertyName();
+
+};
+
+}; }; }; };
+#endif
diff --git a/udkapi/com/sun/star/script/XEngine.idl b/udkapi/com/sun/star/script/XEngine.idl
new file mode 100644
index 000000000000..17cfbe4b7426
--- /dev/null
+++ b/udkapi/com/sun/star/script/XEngine.idl
@@ -0,0 +1,132 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XEngine_idl__
+#define __com_sun_star_script_XEngine_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_script_XLibraryAccess_idl__
+#include <com/sun/star/script/XLibraryAccess.idl>
+#endif
+
+#ifndef __com_sun_star_script_XEngineListener_idl__
+#include <com/sun/star/script/XEngineListener.idl>
+#endif
+
+
+//=============================================================================
+
+module com { module sun { module star { module script {
+
+//=============================================================================
+/** makes it possible to control a scripting engine.
+ @deprecated
+ */
+published interface XEngine: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+ /** sets an interface to an object as a scripting root.
+
+ <p>If the root object implements the XInvocation interface,
+ then the engine uses this interface to set/get properties and
+ call methods.
+ </p>
+ */
+ void setRoot( [in] com::sun::star::uno::XInterface xRoot );
+
+ //-------------------------------------------------------------------------
+ /** gets an interface to the object which is the scripting root.
+ */
+ com::sun::star::uno::XInterface getRoot();
+
+ //-------------------------------------------------------------------------
+ /** sets an access object to get external functions.
+ */
+ void setLibraryAccess( [in] com::sun::star::script::XLibraryAccess Library );
+
+ //-------------------------------------------------------------------------
+ /** compiles a script module in the scope of the root object.
+ */
+ boolean compile( [in] string ModuleName,
+ [in] string Script,
+ [in] boolean CreateDebugInfo );
+
+ //-------------------------------------------------------------------------
+ /** runs a script specified by a string.
+
+ <p>The arguments given in <var>aArgs</var> can be ignored by
+ the engine. The Script is executed synchronously.</p>
+ */
+ any run( [in] string aScript,
+ [in] com::sun::star::uno::XInterface xThis,
+ [in] sequence<any> aArgs );
+
+ //-------------------------------------------------------------------------
+ /** runs the script specified by a string and makes callbacks.
+
+ <p>The arguments given in <var>aArgs</var> can be ignored by
+ the engine. The script is executed asynchronously.
+
+ </p>
+ */
+ void runAsync( [in] string acript,
+ [in] com::sun::star::uno::XInterface xThis,
+ [in] sequence<any> args,
+ [in] com::sun::star::script::XEngineListener xCallback );
+
+ //-------------------------------------------------------------------------
+ /** terminates the execution of the running script.
+
+ <p>The waiting queue is cleared too.</p>
+ */
+ void cancel();
+
+ //-------------------------------------------------------------------------
+ /** adds an engine listener.
+
+ <p>It is suggested to allow multiple registration of the same listener,
+ thus for each time a listener is added, it has to be removed.
+ */
+ void addEngineListener( [in] com::sun::star::script::XEngineListener Listener );
+
+ //-------------------------------------------------------------------------
+ /** removes an engine listener.
+
+ <p>It is suggested to allow multiple registration of the same listener,
+ thus for each time a listener is added, it has to be removed.
+ */
+ void removeEngineListener( [in] com::sun::star::script::XEngineListener Listener );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XEngineListener.idl b/udkapi/com/sun/star/script/XEngineListener.idl
new file mode 100644
index 000000000000..0ba2b2fe0d70
--- /dev/null
+++ b/udkapi/com/sun/star/script/XEngineListener.idl
@@ -0,0 +1,83 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XEngineListener_idl__
+#define __com_sun_star_script_XEngineListener_idl__
+
+#ifndef __com_sun_star_lang_XEventListener_idl__
+#include <com/sun/star/lang/XEventListener.idl>
+#endif
+
+#ifndef __com_sun_star_script_InterruptEngineEvent_idl__
+#include <com/sun/star/script/InterruptEngineEvent.idl>
+#endif
+
+#ifndef __com_sun_star_lang_EventObject_idl__
+#include <com/sun/star/lang/EventObject.idl>
+#endif
+
+#ifndef __com_sun_star_script_FinishEngineEvent_idl__
+#include <com/sun/star/script/FinishEngineEvent.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** makes it possible to receive events from a scripting engine.
+ @deprecated
+ */
+published interface XEngineListener: com::sun::star::lang::XEventListener
+{
+ //-------------------------------------------------------------------------
+ /** gets fired when an interrupt occurs during the script execution.
+
+ <p>If you call the method, the execution stops. So in this situation,
+ the stack and variable values are still available by using the
+ appropriate <type>XDebugging</type> methods.
+ </p>
+ */
+ void interrupt( [in] com::sun::star::script::InterruptEngineEvent Evt );
+
+ //-------------------------------------------------------------------------
+ /** gets fired when the script gets into execution state.
+ */
+ void running( [in] com::sun::star::lang::EventObject Evt );
+
+ //-------------------------------------------------------------------------
+ /** gets fired when the script execution has finished.
+ */
+ void finished( [in] com::sun::star::script::FinishEngineEvent Evt );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XEventAttacher.idl b/udkapi/com/sun/star/script/XEventAttacher.idl
new file mode 100644
index 000000000000..7acc672af968
--- /dev/null
+++ b/udkapi/com/sun/star/script/XEventAttacher.idl
@@ -0,0 +1,123 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XEventAttacher_idl__
+#define __com_sun_star_script_XEventAttacher_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_lang_XEventListener_idl__
+#include <com/sun/star/lang/XEventListener.idl>
+#endif
+
+#ifndef __com_sun_star_script_XAllListener_idl__
+#include <com/sun/star/script/XAllListener.idl>
+#endif
+
+#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+#endif
+
+#ifndef __com_sun_star_beans_IntrospectionException_idl__
+#include <com/sun/star/beans/IntrospectionException.idl>
+#endif
+
+#ifndef __com_sun_star_script_CannotCreateAdapterException_idl__
+#include <com/sun/star/script/CannotCreateAdapterException.idl>
+#endif
+
+#ifndef __com_sun_star_lang_ServiceNotRegisteredException_idl__
+#include <com/sun/star/lang/ServiceNotRegisteredException.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** makes it possible to attach script events given by a sequence of
+ <type>ScriptEventDescriptor</type> structures to a given interface.
+ */
+published interface XEventAttacher: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+ /** registers the given "AllListener" object as a listener at the
+ given interface by creating a suitable listener adapter and
+ calling the "addListener" method corresponding to the
+ "ListenerType".
+ */
+ com::sun::star::lang::XEventListener attachListener( [in] com::sun::star::uno::XInterface xTarget,
+ [in] com::sun::star::script::XAllListener xAllListener,
+ [in] any aHelper,
+ [in] string aListenerType,
+ [in] string aAddListenerParam )
+ raises( com::sun::star::lang::IllegalArgumentException,
+ com::sun::star::beans::IntrospectionException,
+ com::sun::star::script::CannotCreateAdapterException,
+ com::sun::star::lang::ServiceNotRegisteredException );
+
+ //-------------------------------------------------------------------------
+ /** registers an object as a listener at the given interface by
+ creating a suitable listener adapter and calling the method
+ which corresponds to the listener type.
+
+ <p>Only the event corresponding to the given event method
+ will be delegated to <var>xAllListener</var>.</p>
+ */
+ com::sun::star::lang::XEventListener attachSingleEventListener( [in] com::sun::star::uno::XInterface xTarget,
+ [in] com::sun::star::script::XAllListener xAllListener,
+ [in] any aHelper,
+ [in] string aListenerType,
+ [in] string aAddListenerParam,
+ [in] string aEventMethod )
+ raises( com::sun::star::lang::IllegalArgumentException,
+ com::sun::star::beans::IntrospectionException,
+ com::sun::star::script::CannotCreateAdapterException,
+ com::sun::star::lang::ServiceNotRegisteredException );
+
+ //-------------------------------------------------------------------------
+ /** removes a listener object as a listener from the given interface.
+
+ <p> This method can and should be used as a contrary method
+ to the two attach methods.</p>
+ */
+ void removeListener( [in] com::sun::star::uno::XInterface xTarget,
+ [in] string aListenerType,
+ [in] string aRemoveListenerParam,
+ [in] com::sun::star::lang::XEventListener xToRemoveListener )
+ raises( com::sun::star::lang::IllegalArgumentException,
+ com::sun::star::beans::IntrospectionException );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XEventAttacherManager.idl b/udkapi/com/sun/star/script/XEventAttacherManager.idl
new file mode 100644
index 000000000000..16f209d876a5
--- /dev/null
+++ b/udkapi/com/sun/star/script/XEventAttacherManager.idl
@@ -0,0 +1,232 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XEventAttacherManager_idl__
+#define __com_sun_star_script_XEventAttacherManager_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_script_ScriptEventDescriptor_idl__
+#include <com/sun/star/script/ScriptEventDescriptor.idl>
+#endif
+
+#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+#endif
+
+#ifndef __com_sun_star_lang_ServiceNotRegisteredException_idl__
+#include <com/sun/star/lang/ServiceNotRegisteredException.idl>
+#endif
+
+#ifndef __com_sun_star_script_XScriptListener_idl__
+#include <com/sun/star/script/XScriptListener.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** registers listeners for specified events.
+ */
+published interface XEventAttacherManager: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+ /** registers one event for an object identified by its index.
+
+ <p>If any object is attached under this index, then this
+ event is attached automatically.</p>
+ <p>Exceptions of type
+ <type scope="com::sun::star::beans">IntrospectionException</type> and
+ <type scope="com::sun::star::script">CannotCreateAdapterException</type>
+ that can be thrown by methods of <type>XEventAttacher</type> are caught
+ and ignored.</p>
+ */
+ void registerScriptEvent( [in] long nIndex,
+ [in] com::sun::star::script::ScriptEventDescriptor aScriptEvent )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+ //-------------------------------------------------------------------------
+ /** registers several events for an object identified by its index.
+
+ <p>The result is the same as if the method <member>registerScriptEvent
+ </member> was called once for each <type>ScriptEventDescriptor</type>
+ in the sequence.</p>
+
+ <p>If any object is attached under this index, then this
+ event is attached automatically (see <member>attach</member>)</p>
+
+ <p>Exceptions of type
+ <type scope="com::sun::star::beans">IntrospectionException</type> and
+ <type scope="com::sun::star::script">CannotCreateAdapterException</type>
+ that can be thrown by methods of <type>XEventAttacher</type> are caught
+ and ignored.</p>
+
+ @see registerScriptEvent
+ @see attach
+ */
+ void registerScriptEvents( [in] long nIndex,
+ [in] sequence<com::sun::star::script::ScriptEventDescriptor> aScriptEvents )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+ //-------------------------------------------------------------------------
+ /** revokes the registration of an event.
+
+ <p>The parameters <var>ListenerType</var> and
+ <var>EventMethod</var> are equivalent to the first two
+ members of the <type>ScriptEventDescriptor</type>
+ used to register events. If this event at this index has
+ been attached to any object, it is detached automatically
+ (see <member>attach</member>).</p>
+
+ <p>Exceptions of type
+ <type scope="com::sun::star::beans">IntrospectionException</type> and
+ <type scope="com::sun::star::script">CannotCreateAdapterException</type>
+ that can be thrown by methods of <type>XEventAttacher</type> are caught
+ and ignored.</p>
+
+ @see attach
+ */
+ void revokeScriptEvent( [in] long nIndex,
+ [in] string aListenerType,
+ [in] string aEventMethod,
+ [in] string aRemoveListenerParam )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+ //-------------------------------------------------------------------------
+ /** revokes all events which are registered for the given index.
+
+ <p>If the events at this index have been attached to any
+ object, they are detached automatically.
+ (see <member>attach</member>).</p>
+
+ @see attach
+ */
+ void revokeScriptEvents( [in] long nIndex )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+ //-------------------------------------------------------------------------
+ /** creates an empty entry at the given position.
+
+ <p>The index <var>n</var> of all entries with <code>n &amp;gt;=
+ nIndex</code> will be increased by one.</p>
+ */
+ void insertEntry( [in] long nIndex )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+ //-------------------------------------------------------------------------
+ /** removes the entry at the given position.
+
+ <p>If any events are registered at this index, they will
+ be revoked, too. So if the events at this index have been
+ attached to any object they are detached automatically.
+ (see <member>attach</member>).</p>
+
+ @see attach
+ */
+ void removeEntry( [in] long nIndex )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+ //-------------------------------------------------------------------------
+ /** @eturns
+ all events registered for the given object index.
+
+ @param Index
+ an index previously inserted with the method insertEntry.
+
+ @throws IllegalArgumentException
+ if Index is not valid.
+ */
+ sequence<com::sun::star::script::ScriptEventDescriptor> getScriptEvents( [in] long Index )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+ //-------------------------------------------------------------------------
+ /** attaches all the <type>ScriptEvent</type>s which are registered
+ for the given index to the given object.
+
+ <p>Exceptions of type
+ <type scope="com::sun::star::beans">IntrospectionException</type> and
+ <type scope="com::sun::star::script">CannotCreateAdapterException</type>
+ that can be thrown by methods of <type>XEventAttacher</type> are caught
+ and ignored.</p>
+ */
+ void attach( [in] long nIndex,
+ [in] com::sun::star::uno::XInterface xObject,
+ [in] any aHelper )
+ raises( com::sun::star::lang::IllegalArgumentException,
+ com::sun::star::lang::ServiceNotRegisteredException );
+
+ //-------------------------------------------------------------------------
+ /** detaches all the <type>ScriptEvent</type>s from the given object
+ which are registered at this object for the given index.
+
+ <p>Exceptions of type
+ <type scope="com::sun::star::beans">IntrospectionException</type> and
+ <type scope="com::sun::star::script">CannotCreateAdapterException</type>
+ that can be thrown by methods of <type>XEventAttacher</type> are caught
+ and ignored.</p>
+ */
+ void detach( [in] long nIndex,
+ [in] com::sun::star::uno::XInterface xObject )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+ //-------------------------------------------------------------------------
+ /** adds an <type>XScriptListener</type> that will be notified when an
+ event takes place. For that a
+ <type>ScriptEventDescriptor</type> is registered at and
+ attached to an object by an <type>XEventAttacherManager</type>.
+
+ <p>It is suggested to allow multiple registration of the same listener,
+ thus for each time a listener is added, it has to be removed.
+
+ @see removeScriptListener
+ */
+ void addScriptListener( [in] com::sun::star::script::XScriptListener xListener )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+ //-------------------------------------------------------------------------
+ /** removes a <type>XScriptListener</type> from the listener list.
+
+ <p>Nothing happens if the listener is not registered.
+
+ <p>It is suggested to allow multiple registration of the same listener,
+ thus for each time a listener is added, it has to be removed.
+
+ @see addScriptListener
+ */
+ void removeScriptListener( [in] com::sun::star::script::XScriptListener Listener )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XInvocation.idl b/udkapi/com/sun/star/script/XInvocation.idl
new file mode 100644
index 000000000000..9299dc8f8802
--- /dev/null
+++ b/udkapi/com/sun/star/script/XInvocation.idl
@@ -0,0 +1,157 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XInvocation_idl__
+#define __com_sun_star_script_XInvocation_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_beans_XIntrospectionAccess_idl__
+#include <com/sun/star/beans/XIntrospectionAccess.idl>
+#endif
+
+#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+#endif
+
+#ifndef __com_sun_star_script_CannotConvertException_idl__
+#include <com/sun/star/script/CannotConvertException.idl>
+#endif
+
+#ifndef __com_sun_star_reflection_InvocationTargetException_idl__
+#include <com/sun/star/reflection/InvocationTargetException.idl>
+#endif
+
+#ifndef __com_sun_star_beans_UnknownPropertyException_idl__
+#include <com/sun/star/beans/UnknownPropertyException.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** gives access to an object's methods and properties.
+ Container access is available through
+ <type scope="com::sun::star::container">XIndexContainer</type>,
+ <type scope="com::sun::star::container">XNameContainer</type> and
+ <type scope="com::sun::star::container">XEnumerationAccess</type>.
+ </p>
+ */
+published interface XInvocation: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+ /** returns the introspection from this object or <NULL/>
+ if the object does not provide this information.
+ */
+ com::sun::star::beans::XIntrospectionAccess getIntrospection();
+
+ //-------------------------------------------------------------------------
+ /** provides access to methods exposed by an object.
+
+ @param aParams all parameters; pure out params are undefined in sequence,
+ the value has to be ignored by the callee
+ @param aOutParamIndex This sequence contains the indices of all parameters
+ that are specified as out or inout.
+ @param aOutParam This sequence contains the values of all parameters that
+ are specified as out or inout and corresponds with the
+ indices provided by the aOutParamIndex sequence.
+
+ Example: aOutParamIndex == { 1, 4 } means that
+ aOutParam[0] contains the out value of the aParams[1]
+ parameter and aOutParam[1] contains the out value of
+ the aParams[4] parameter.
+ */
+ any invoke( [in] string aFunctionName,
+ [in] sequence<any> aParams,
+ [out] sequence<short> aOutParamIndex,
+ [out] sequence<any> aOutParam )
+ raises( com::sun::star::lang::IllegalArgumentException,
+ com::sun::star::script::CannotConvertException,
+ com::sun::star::reflection::InvocationTargetException );
+
+ //-------------------------------------------------------------------------
+ /** sets a value to the property with the specified name.
+
+ <p> If the underlying object implements an
+ <type scope="com::sun::star::container">XNameContainer</type>,
+ then this method will insert the value if there is no such
+ <var>aPropertyName</var>.
+
+ </p>
+ */
+ void setValue( [in] string aPropertyName,
+ [in] any aValue )
+ raises( com::sun::star::beans::UnknownPropertyException,
+ com::sun::star::script::CannotConvertException,
+ com::sun::star::reflection::InvocationTargetException );
+
+ //-------------------------------------------------------------------------
+ /** returns the value of the property with the specified name.
+
+ @param aPropertyName
+ specifies the name of the property.
+ */
+ any getValue( [in] string aPropertyName )
+ raises( com::sun::star::beans::UnknownPropertyException );
+
+ //-------------------------------------------------------------------------
+ /** returns <TRUE/> if the method with the specified name exists, else <FALSE/>.
+
+ <p>This optimizes the calling sequence
+ ( <member>XInvocation::hasMethod</member>,
+ <member>XInvocation::invoke</member> )!</p>
+
+ @param aName
+ specifies the name of the method.
+ */
+ boolean hasMethod( [in] string aName );
+
+ //-------------------------------------------------------------------------
+ /** returns <TRUE/> if the property with the specified name exists, else <FALSE/>.
+
+ <p>This optimizes the calling sequence
+ ( <member>XInvocation::hasProperty</member>,
+ <member>XInvocation::getValue</member> ) or
+
+ ( <member>XInvocation::hasProperty</member>,
+ <member>XInvocation::setValue</member> )!
+
+ @param aName
+ specifies the name of the property.
+ */
+ boolean hasProperty( [in] string aName );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XInvocation2.idl b/udkapi/com/sun/star/script/XInvocation2.idl
new file mode 100644
index 000000000000..5cc24aa3bd38
--- /dev/null
+++ b/udkapi/com/sun/star/script/XInvocation2.idl
@@ -0,0 +1,84 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XInvocation2_idl__
+#define __com_sun_star_script_XInvocation2_idl__
+
+#ifndef __com_sun_star_script_XInvocation_idl__
+#include <com/sun/star/script/XInvocation.idl>
+#endif
+
+#ifndef __com_sun_star_script_InvocationInfo_idl__
+#include <com/sun/star/script/InvocationInfo.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+/**
+ Extension of XInvocation to provide additional information
+ about the methods and properties that are accessable via
+ XInvocation.
+ </p>
+ */
+published interface XInvocation2: com::sun::star::script::XInvocation
+{
+ /** returns the names of all methods and properties accessable via XInvocation.
+ */
+ sequence< string > getMemberNames();
+
+ /** returns information items for all methods and properties accessable via XInvocation.
+
+ @see com::sun::star::script::Invocation
+ */
+ sequence< InvocationInfo > getInfo();
+
+ /** returns information item for the method or property defined by aName
+
+ @param aName
+ specifies the name of the method or property
+
+ @param bExact
+ specifies the name of the method or property
+
+ @throws IllegalArgumentException
+ if aName is not the name of a supported method or property
+
+ @see com::sun::star::script::Invocation
+ */
+ InvocationInfo getInfoForName( [in] string aName, [in] boolean bExact )
+ raises( com::sun::star::lang::IllegalArgumentException );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XInvocationAdapterFactory.idl b/udkapi/com/sun/star/script/XInvocationAdapterFactory.idl
new file mode 100644
index 000000000000..6584bebbcb5f
--- /dev/null
+++ b/udkapi/com/sun/star/script/XInvocationAdapterFactory.idl
@@ -0,0 +1,72 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XInvocationAdapterFactory_idl__
+#define __com_sun_star_script_XInvocationAdapterFactory_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_script_XInvocation_idl__
+#include <com/sun/star/script/XInvocation.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+/** Interface to create adapter objects giving a type to be supported and a
+ an invocation interface incoming calls are delegated to.
+
+ This interface is deprecated. Use <type>XInvocationAdapterFactory2</type>.
+ @deprecated
+*/
+published interface XInvocationAdapterFactory: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+ /** Creates an adapter interface of given type for calling the given
+ <type>XInvocation</type> interface.
+
+ @param Invocation
+ invocation interface being called on incoming adapter calls
+ @param aType
+ supported type of adapter
+
+ @returns
+ adapter interface; this interface can be queried for
+ XInterface and given type
+ */
+ com::sun::star::uno::XInterface createAdapter( [in]XInvocation Invocation, [in]type aType );
+};
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XInvocationAdapterFactory2.idl b/udkapi/com/sun/star/script/XInvocationAdapterFactory2.idl
new file mode 100644
index 000000000000..90c2e57fc5a7
--- /dev/null
+++ b/udkapi/com/sun/star/script/XInvocationAdapterFactory2.idl
@@ -0,0 +1,68 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XInvocationAdapterFactory2_idl__
+#define __com_sun_star_script_XInvocationAdapterFactory2_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_script_XInvocation_idl__
+#include <com/sun/star/script/XInvocation.idl>
+#endif
+
+
+//=============================================================================
+
+module com { module sun { module star { module script {
+
+/** Interface to create adapter objects giving types to be supported and a
+ an invocation interface incoming calls are delegated to.
+*/
+published interface XInvocationAdapterFactory2 : com::sun::star::uno::XInterface
+{
+ /** Creates an adapter interface of given types for calling the given
+ <type>XInvocation</type> interface.
+
+ @param Invocation
+ invocation interface being called on incoming adapter calls
+ @param aType
+ supported types of adapter
+
+ @returns
+ adapter interface; this interface can be queried for
+ XInterface and given types
+ */
+ com::sun::star::uno::XInterface createAdapter(
+ [in] XInvocation Invocation,
+ [in] sequence< type > aTypes );
+};
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XLibraryAccess.idl b/udkapi/com/sun/star/script/XLibraryAccess.idl
new file mode 100644
index 000000000000..8bb54f02a2dd
--- /dev/null
+++ b/udkapi/com/sun/star/script/XLibraryAccess.idl
@@ -0,0 +1,108 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XLibraryAccess_idl__
+#define __com_sun_star_script_XLibraryAccess_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** provides access to additional scripting code.
+
+ <p>This code is organized in modules and these modules contain
+ the functions. It is possible to get just the code from a function,
+ but you can also get the whole code of a module with all functions in it.</p>
+ @deprecated
+ */
+published interface XLibraryAccess: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+ /** returns <TRUE/>, if the function is accessible through this library;
+ otherwise it returns <FALSE/>.
+
+ @param aFunctionName
+ the fully qualified name of a funtion.
+ (e.g., "UtilLibrary.ModuleDate.FunctionCurrentDate")
+ */
+ boolean isFunction( [in] string aFunctionName );
+
+ //-------------------------------------------------------------------------
+ /** returns <TRUE/> if a fully qualified function name begins with this name.
+
+ @param aPathName
+ a part of a function name (e.g., "UtilLibrary").
+ */
+ boolean isValidPath( [in] string aPathName );
+
+ //-------------------------------------------------------------------------
+ /** Return all module names which contain code.
+ e.g., { "UtilLibrary.ModuleDate", "UtilLibrary.Output", ... }
+ */
+ sequence<string> getModuleNames();
+
+ //-------------------------------------------------------------------------
+ /** get the source code of a module.
+ */
+ string getModuleSource( [in] string aModulName );
+
+ //-------------------------------------------------------------------------
+ /** Get the hole compiled code of a module.
+
+ @param ModuleName the full qualified name of a module.
+ (e.g., "UtilLibrary.ModuleDate")
+ @return an empty sequence, if this module is not found or the
+ code is not compiled.
+ */
+ sequence<byte> getModuleCode( [in] string aModuleName );
+
+ //-------------------------------------------------------------------------
+ /** get the source code of a function.
+ */
+ string getFunctionSource( [in] string aFunctionName );
+
+ //-------------------------------------------------------------------------
+ /** Get the compiled code of a function.
+
+ @param FunctionName the full qualified name of a function.
+ (e.g., "UtilLibrary.ModuleDate.Function.CurrentDate")
+ @return an empty sequence, if this function is not found.
+ */
+ sequence<byte> getFunctionCode( [in] string FunctionName );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XScriptEventsAttacher.idl b/udkapi/com/sun/star/script/XScriptEventsAttacher.idl
new file mode 100644
index 000000000000..d60a593fcf52
--- /dev/null
+++ b/udkapi/com/sun/star/script/XScriptEventsAttacher.idl
@@ -0,0 +1,101 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XScriptEventsAttacher_idl__
+#define __com_sun_star_script_XScriptEventsAttacher_idl__
+
+#ifndef __com_sun_star_script_XScriptListener_idl__
+#include <com/sun/star/script/XScriptListener.idl>
+#endif
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+#endif
+
+#ifndef __com_sun_star_beans_IntrospectionException_idl__
+#include <com/sun/star/beans/IntrospectionException.idl>
+#endif
+
+#ifndef __com_sun_star_script_CannotCreateAdapterException_idl__
+#include <com/sun/star/script/CannotCreateAdapterException.idl>
+#endif
+
+#ifndef __com_sun_star_lang_ServiceNotRegisteredException_idl__
+#include <com/sun/star/lang/ServiceNotRegisteredException.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+/**
+ This interface can be used to attach script events to a number of
+ objects that give access to the definition of events that should
+ be attached to them, e.g., by supporting XEventsSupplier
+*/
+published interface XScriptEventsAttacher: com::sun::star::uno::XInterface
+{
+ /**
+ Attaches the events defined by XScriptEventsSupplier to the
+ corresponding object implementing XScriptEventsSupplier.
+
+ @param Objects
+ Sequence of all objects. Usually the objects should directly
+ support <type>XScriptEventsAttacher</type> to define the events
+ but this is not strictly required. It's also possible that
+ the object implementing <type>XScriptEventsAttacher</type>
+ knows how to get the necessary information for the objects.
+ @param xListener
+ All events (if defined by XScriptEventsSupplier) that are fired
+ by one of the objects are mapped into a <type>ScriptEvent</type>
+ and passed to the methods of this XScriptListener.
+ @param Helper
+ Helper object for the implementation. This value will be
+ passed to the XScriptListener as Helper property in the
+ <type>ScriptEvent</type>.
+ */
+ void attachEvents( [in] sequence< com::sun::star::uno::XInterface > Objects,
+ [in] com::sun::star::script::XScriptListener xListener,
+ [in] any Helper )
+ raises( com::sun::star::lang::IllegalArgumentException,
+ com::sun::star::beans::IntrospectionException,
+ com::sun::star::script::CannotCreateAdapterException,
+ com::sun::star::lang::ServiceNotRegisteredException );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
+
diff --git a/udkapi/com/sun/star/script/XScriptEventsSupplier.idl b/udkapi/com/sun/star/script/XScriptEventsSupplier.idl
new file mode 100644
index 000000000000..3355b7dd83ae
--- /dev/null
+++ b/udkapi/com/sun/star/script/XScriptEventsSupplier.idl
@@ -0,0 +1,62 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XScriptEventsSupplier_idl__
+#define __com_sun_star_script_XScriptEventsSupplier_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_container_XNameContainer_idl__
+#include <com/sun/star/container/XNameContainer.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+/**
+ Gives access to an event container represented by an
+ XNameContainer containing ScriptEventDescriptor instances.
+ */
+published interface XScriptEventsSupplier: com::sun::star::uno::XInterface
+{
+ /**
+ Returns an XNameContainer containing instances
+ of <type>ScriptEventDescriptor</type>
+ */
+ com::sun::star::container::XNameContainer getEvents();
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XScriptListener.idl b/udkapi/com/sun/star/script/XScriptListener.idl
new file mode 100644
index 000000000000..f4404d39d645
--- /dev/null
+++ b/udkapi/com/sun/star/script/XScriptListener.idl
@@ -0,0 +1,71 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XScriptListener_idl__
+#define __com_sun_star_script_XScriptListener_idl__
+
+#ifndef __com_sun_star_lang_XEventListener_idl__
+#include <com/sun/star/lang/XEventListener.idl>
+#endif
+
+#ifndef __com_sun_star_script_ScriptEvent_idl__
+#include <com/sun/star/script/ScriptEvent.idl>
+#endif
+
+#ifndef __com_sun_star_reflection_InvocationTargetException_idl__
+#include <com/sun/star/reflection/InvocationTargetException.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+/** makes it possible to receive <type>ScriptEvent</type>s.
+ */
+published interface XScriptListener: com::sun::star::lang::XEventListener
+{
+ //-------------------------------------------------------------------------
+ /** gets called when an event takes place. For that a
+ <type>ScriptEventDescriptor</type> is registered at and
+ attached to an object by an <type>XEventAttacherManager</type>.
+ */
+ void firing( [in] com::sun::star::script::ScriptEvent aEvent );
+
+ //-------------------------------------------------------------------------
+ /** gets called when a "vetoable event" occurs at the object.
+ */
+ any approveFiring( [in] com::sun::star::script::ScriptEvent aEvent )
+ raises( com::sun::star::reflection::InvocationTargetException );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XStarBasicAccess.idl b/udkapi/com/sun/star/script/XStarBasicAccess.idl
new file mode 100644
index 000000000000..97a7bfd08da7
--- /dev/null
+++ b/udkapi/com/sun/star/script/XStarBasicAccess.idl
@@ -0,0 +1,98 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XStarBasicAccess_idl__
+#define __com_sun_star_script_XStarBasicAccess_idl__
+
+#ifndef __com_sun_star_container_XNameContainer_idl__
+#include <com/sun/star/container/XNameContainer.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+/** Interface representing a library and provides access to its modules
+
+ @deprecated
+ */
+published interface XStarBasicAccess: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+ /** returns
+ the library container giving access to the libraries stored in a document
+ or basic library file.
+ */
+ com::sun::star::container::XNameContainer getLibraryContainer();
+
+ //-------------------------------------------------------------------------
+ /**
+ Creates an empty library. This method can be called alternatively to
+ accessing directly the NameContainer returned by getLibraryContainer.
+ By using this method together with addModule and addStarBasicDialog
+ the caller does not have to implement XStarBasicLibraryInfo, XModuleInfo,
+ and XStarBasicDialogInfo
+ */
+ void createLibrary( [in] string LibName, [in] string Password,
+ [in] string ExternalSourceURL, [in] string LinkTargetURL )
+ raises( com::sun::star::container::ElementExistException );
+
+ //-------------------------------------------------------------------------
+ /**
+ Adds a module to an existing (e.g., created by createLibrary) library.
+ By using this method together with createLibrary the caller does not have
+ to implement XStarBasicLibraryInfo and XModuleInfo.
+
+ @throws NoSuchElementException
+ if the library doesn't exist.
+ */
+ void addModule( [in] string LibraryName, [in] string ModuleName,
+ [in] string Language, [in] string Source )
+ raises( com::sun::star::container::NoSuchElementException );
+
+ //-------------------------------------------------------------------------
+ /**
+ Adds an old style basic dialog (SI controls) to an existing (e.g., created
+ by createLibrary) library.
+ By using this method together with createLibrary the caller does not have
+ to implement XStarBasicLibraryInfo and XStarBasicDialogInfo
+
+ @throws NoSuchElementException
+ if the library doesn't exist.
+ */
+ void addDialog( [in] string LibraryName, [in] string DialogName,
+ [in] sequence< byte > Data )
+ raises( com::sun::star::container::NoSuchElementException );
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XStarBasicDialogInfo.idl b/udkapi/com/sun/star/script/XStarBasicDialogInfo.idl
new file mode 100644
index 000000000000..ddcf583f2777
--- /dev/null
+++ b/udkapi/com/sun/star/script/XStarBasicDialogInfo.idl
@@ -0,0 +1,63 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XStarBasicDialogInfo_idl__
+#define __com_sun_star_script_XStarBasicDialogInfo_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+/** Interface describing old style basic dialog (SI controls) in binary data
+
+ @deprecated
+ */
+published interface XStarBasicDialogInfo: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+ /** returns the name of the dialog
+ */
+ string getName();
+
+ //-------------------------------------------------------------------------
+ /** returns binary data describing the SIDialog in SBX stream format
+ */
+ sequence< byte > getData();
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XStarBasicLibraryInfo.idl b/udkapi/com/sun/star/script/XStarBasicLibraryInfo.idl
new file mode 100644
index 000000000000..4b7337a0b33c
--- /dev/null
+++ b/udkapi/com/sun/star/script/XStarBasicLibraryInfo.idl
@@ -0,0 +1,106 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XStarBasicLibraryInfo_idl__
+#define __com_sun_star_script_XStarBasicLibraryInfo_idl__
+
+#ifndef __com_sun_star_container_XNameContainer_idl__
+#include <com/sun/star/container/XNameContainer.idl>
+#endif
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+/** Interface representing a library and provides access to its modules
+
+ @deprecated
+ */
+published interface XStarBasicLibraryInfo: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+ /** returns the library's name
+ */
+ string getName();
+
+ //-------------------------------------------------------------------------
+ /** returns
+ the module container giving access to the modules stored in the library.
+ The container has to be returned in any case, no matter if the library is
+ stored embedded, external, or linked.
+
+ @see getExternalSourceURL
+ @see getLinkTargetURL
+ */
+ com::sun::star::container::XNameContainer getModuleContainer();
+
+ //-------------------------------------------------------------------------
+ /** returns
+ the dialog container giving access to the dialogs stored in the library.
+ The container has to be returned in any case, no matter if the library is
+ stored embedded, external, or linked.
+
+ @see getExternalSourceURL
+ @see getLinkTargetURL
+ */
+ com::sun::star::container::XNameContainer getDialogContainer();
+
+ //-------------------------------------------------------------------------
+ /** returns
+ the password, if the library is protected with one,
+ an empty string otherwise.
+ */
+ string getPassword();
+
+ //-------------------------------------------------------------------------
+ /** returns an
+ URL describing the location where the library is stored if the library
+ is stored seperately (for example not in the main XML file but in a
+ special library format file), an empty string otherwise.
+ This information can be useful to optimize the access to the library,
+ e.g., for loading on demand.
+ */
+ string getExternalSourceURL();
+
+ //-------------------------------------------------------------------------
+ /** returns an
+ URL describing the location of the library linked to.
+
+ <p>HINT: This method can be removed when there is a generic interface
+ for linking. Then the implementation will simply support this
+ "XLinked" interface and it can be checked by queryInterface().</p>
+ */
+ string getLinkTargetURL();
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XStarBasicModuleInfo.idl b/udkapi/com/sun/star/script/XStarBasicModuleInfo.idl
new file mode 100644
index 000000000000..93421c3b9d6d
--- /dev/null
+++ b/udkapi/com/sun/star/script/XStarBasicModuleInfo.idl
@@ -0,0 +1,70 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XStarBasicModuleInfo_idl__
+#define __com_sun_star_script_XStarBasicModuleInfo_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+/** Script Module containing some scripting code in a certain scripting language
+ @deprecated
+ */
+published interface XStarBasicModuleInfo: com::sun::star::uno::XInterface
+{
+ //-------------------------------------------------------------------------
+ /** returns the name of the module
+ */
+ string getName();
+
+ //-------------------------------------------------------------------------
+ /** returns the type of the script language as string, for example, "StarBasic" or "JavaScript".
+ */
+ string getLanguage();
+
+ //-------------------------------------------------------------------------
+ /** returns the script source code as string.
+
+ <p>The code has to correspond with the language
+ defined by Language.</p>
+ */
+ string getSource();
+
+};
+
+//=============================================================================
+
+}; }; }; };
+
+#endif
diff --git a/udkapi/com/sun/star/script/XTypeConverter.idl b/udkapi/com/sun/star/script/XTypeConverter.idl
new file mode 100644
index 000000000000..df854bed1e9f
--- /dev/null
+++ b/udkapi/com/sun/star/script/XTypeConverter.idl
@@ -0,0 +1,109 @@
+/*************************************************************************
+ *
+ * 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
+ *
+ * This file is part of OpenOffice.org.
+ *
+ * OpenOffice.org is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License version 3
+ * only, as published by the Free Software Foundation.
+ *
+ * OpenOffice.org 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 version 3 for more details
+ * (a copy is included in the LICENSE file that accompanied this code).
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * version 3 along with OpenOffice.org. If not, see
+ * <http://www.openoffice.org/license.html>
+ * for a copy of the LGPLv3 License.
+ *
+ ************************************************************************/
+#ifndef __com_sun_star_script_XTypeConverter_idl__
+#define __com_sun_star_script_XTypeConverter_idl__
+
+#ifndef __com_sun_star_uno_XInterface_idl__
+#include <com/sun/star/uno/XInterface.idl>
+#endif
+
+#ifndef __com_sun_star_reflection_XIdlClass_idl__
+#include <com/sun/star/reflection/XIdlClass.idl>
+#endif
+
+#ifndef __com_sun_star_lang_IllegalArgumentException_idl__
+#include <com/sun/star/lang/IllegalArgumentException.idl>
+#endif
+
+#ifndef __com_sun_star_script_CannotConvertException_idl__
+#include <com/sun/star/script/CannotConvertException.idl>
+#endif
+
+#ifndef __com_sun_star_uno_TypeClass_idl__
+#include <com/sun/star/uno/TypeClass.idl>
+#endif
+
+
+//=============================================================================
+
+ module com { module sun { module star { module script {
+
+//=============================================================================
+
+/** Interface to provide standard type conversions.
+
+ @see Converter
+*/
+published interface XTypeConverter: com::sun::star::uno::XInterface
+{
+ /** Converts the value <code>aFrom</code> to the specified type
+ <code>xDestinationType</code>.
+ Throws an <type>CannotConvertException</type> if the conversion
+ failed.
+ @param aFrom
+ source value
+ @param xDestinationType
+ destination type
+ @return
+ converted value (any carrying value of type <code>xDestinationType</code>
+ */
+ any convertTo(
+ [in] any aFrom,
+ [in] type xDestinationType )
+ raises( com::sun::star::lang::IllegalArgumentException,
+ com::sun::star::script::CannotConvertException );
+
+ /** Converts the value <code>aFrom</code> to the specified simple type
+ <code>aDestinationType</code>.
+ Throws an <type>CannotConvertException</type> if the conversion
+ failed and an <type scope="com::sun::star::lang">IllegalArgumentException</type>
+ if the destination
+ <type scope="com::sun::star::uno">TypeClass</type> is not simple,
+ e.g. not long or byte.
+
+ @param aFrom
+ source value
+ @param aDestinationType
+ destination type class
+ @return
+ converted value (any carrying value of type <code>aDestinationType</code>
+ */
+ any convertToSimpleType(
+ [in] any aFrom,
+ [in] com::sun::star::uno::TypeClass aDestinationType )
+ raises( com::sun::star::lang::IllegalArgumentException,
+ com::sun::star::script::CannotConvertException );
+};
+
+//=============================================================================
+
+}; }; }; };
+
+/*=============================================================================
+
+=============================================================================*/
+#endif
diff --git a/udkapi/com/sun/star/script/makefile.mk b/udkapi/com/sun/star/script/makefile.mk
new file mode 100644
index 000000000000..32aa58fefa6d
--- /dev/null
+++ b/udkapi/com/sun/star/script/makefile.mk
@@ -0,0 +1,88 @@
+#*************************************************************************
+#
+# 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
+#
+# This file is part of OpenOffice.org.
+#
+# OpenOffice.org is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License version 3
+# only, as published by the Free Software Foundation.
+#
+# OpenOffice.org 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 version 3 for more details
+# (a copy is included in the LICENSE file that accompanied this code).
+#
+# You should have received a copy of the GNU Lesser General Public License
+# version 3 along with OpenOffice.org. If not, see
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+PRJ=..$/..$/..$/..
+
+PRJNAME=api
+
+TARGET=cssscript
+PACKAGE=com$/sun$/star$/script
+
+# --- Settings -----------------------------------------------------
+.INCLUDE : $(PRJ)$/util$/makefile.pmk
+
+# ------------------------------------------------------------------------
+
+IDLFILES=\
+ AllEventObject.idl\
+ AllListenerAdapter.idl\
+ BasicErrorException.idl\
+ CannotConvertException.idl\
+ CannotCreateAdapterException.idl\
+ ContextInformation.idl\
+ Converter.idl\
+ Engine.idl\
+ FailReason.idl\
+ FinishEngineEvent.idl\
+ FinishReason.idl\
+ InterruptEngineEvent.idl\
+ InterruptReason.idl\
+ Invocation.idl\
+ InvocationAdapterFactory.idl\
+ JavaScript.idl\
+ ScriptEvent.idl\
+ ScriptEventDescriptor.idl\
+ ArrayWrapper.idl\
+ XAllListener.idl\
+ XAllListenerAdapterService.idl\
+ XDebugging.idl\
+ XEngine.idl\
+ XEngineListener.idl\
+ XEventAttacher.idl\
+ XEventAttacherManager.idl\
+ XInvocationAdapterFactory.idl\
+ XInvocationAdapterFactory2.idl\
+ XInvocation.idl\
+ XInvocation2.idl\
+ InvocationInfo.idl\
+ MemberType.idl\
+ XLibraryAccess.idl\
+ XScriptListener.idl\
+ XTypeConverter.idl\
+ XStarBasicAccess.idl\
+ XStarBasicModuleInfo.idl\
+ XStarBasicDialogInfo.idl\
+ XStarBasicLibraryInfo.idl\
+ XScriptEventsSupplier.idl\
+ XScriptEventsAttacher.idl\
+ XDefaultMethod.idl\
+ XDefaultProperty.idl\
+
+# ------------------------------------------------------------------
+
+.INCLUDE : target.mk
+.INCLUDE : $(PRJ)$/util$/target.pmk