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.idl76
-rw-r--r--udkapi/com/sun/star/script/AllListenerAdapter.idl51
-rw-r--r--udkapi/com/sun/star/script/ArrayWrapper.idl66
-rw-r--r--udkapi/com/sun/star/script/BasicErrorException.idl67
-rw-r--r--udkapi/com/sun/star/script/CannotConvertException.idl68
-rw-r--r--udkapi/com/sun/star/script/CannotCreateAdapterException.idl53
-rw-r--r--udkapi/com/sun/star/script/ContextInformation.idl99
-rw-r--r--udkapi/com/sun/star/script/Converter.idl102
-rw-r--r--udkapi/com/sun/star/script/Engine.idl58
-rw-r--r--udkapi/com/sun/star/script/FailReason.idl91
-rw-r--r--udkapi/com/sun/star/script/FinishEngineEvent.idl72
-rw-r--r--udkapi/com/sun/star/script/FinishReason.idl62
-rw-r--r--udkapi/com/sun/star/script/InterruptEngineEvent.idl114
-rw-r--r--udkapi/com/sun/star/script/InterruptReason.idl88
-rw-r--r--udkapi/com/sun/star/script/Invocation.idl59
-rw-r--r--udkapi/com/sun/star/script/InvocationAdapterFactory.idl73
-rw-r--r--udkapi/com/sun/star/script/InvocationInfo.idl89
-rw-r--r--udkapi/com/sun/star/script/JavaScript.idl54
-rw-r--r--udkapi/com/sun/star/script/MemberType.idl51
-rw-r--r--udkapi/com/sun/star/script/ScriptEvent.idl63
-rw-r--r--udkapi/com/sun/star/script/ScriptEventDescriptor.idl76
-rw-r--r--udkapi/com/sun/star/script/XAllListener.idl69
-rw-r--r--udkapi/com/sun/star/script/XAllListenerAdapterService.idl66
-rw-r--r--udkapi/com/sun/star/script/XAutomationInvocation.idl46
-rw-r--r--udkapi/com/sun/star/script/XDebugging.idl149
-rw-r--r--udkapi/com/sun/star/script/XDefaultMethod.idl60
-rw-r--r--udkapi/com/sun/star/script/XDefaultProperty.idl64
-rw-r--r--udkapi/com/sun/star/script/XDirectInvocation.idl72
-rw-r--r--udkapi/com/sun/star/script/XEngine.idl126
-rw-r--r--udkapi/com/sun/star/script/XEngineListener.idl75
-rw-r--r--udkapi/com/sun/star/script/XErrorQuery.idl23
-rw-r--r--udkapi/com/sun/star/script/XEventAttacher.idl109
-rw-r--r--udkapi/com/sun/star/script/XEventAttacherManager.idl222
-rw-r--r--udkapi/com/sun/star/script/XInvocation.idl145
-rw-r--r--udkapi/com/sun/star/script/XInvocation2.idl80
-rw-r--r--udkapi/com/sun/star/script/XInvocationAdapterFactory.idl68
-rw-r--r--udkapi/com/sun/star/script/XInvocationAdapterFactory2.idl64
-rw-r--r--udkapi/com/sun/star/script/XLibraryAccess.idl106
-rw-r--r--udkapi/com/sun/star/script/XScriptEventsAttacher.idl89
-rw-r--r--udkapi/com/sun/star/script/XScriptEventsSupplier.idl58
-rw-r--r--udkapi/com/sun/star/script/XScriptListener.idl65
-rw-r--r--udkapi/com/sun/star/script/XStarBasicAccess.idl96
-rw-r--r--udkapi/com/sun/star/script/XStarBasicDialogInfo.idl61
-rw-r--r--udkapi/com/sun/star/script/XStarBasicLibraryInfo.idl104
-rw-r--r--udkapi/com/sun/star/script/XStarBasicModuleInfo.idl68
-rw-r--r--udkapi/com/sun/star/script/XTypeConverter.idl99
-rw-r--r--udkapi/com/sun/star/script/makefile.mk91
47 files changed, 0 insertions, 3807 deletions
diff --git a/udkapi/com/sun/star/script/AllEventObject.idl b/udkapi/com/sun/star/script/AllEventObject.idl
deleted file mode 100644
index 6781365da..000000000
--- a/udkapi/com/sun/star/script/AllEventObject.idl
+++ /dev/null
@@ -1,76 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/lang/EventObject.idl>
-
-#include <com/sun/star/reflection/XIdlClass.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 76a2771b8..000000000
--- a/udkapi/com/sun/star/script/AllListenerAdapter.idl
+++ /dev/null
@@ -1,51 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/script/XAllListenerAdapterService.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 47193e1f5..000000000
--- a/udkapi/com/sun/star/script/ArrayWrapper.idl
+++ /dev/null
@@ -1,66 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-//=============================================================================
-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>
-*/
-
-published 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
deleted file mode 100644
index c9c368cc6..000000000
--- a/udkapi/com/sun/star/script/BasicErrorException.idl
+++ /dev/null
@@ -1,67 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/Exception.idl>
-
-
-//=============================================================================
-
-module com { module sun { module star { module script {
-
-//=============================================================================
-
-/** is thrown in order to transport an error to Basic.
-
- @since OOo 2.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
deleted file mode 100644
index e1af0431e..000000000
--- a/udkapi/com/sun/star/script/CannotConvertException.idl
+++ /dev/null
@@ -1,68 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/Exception.idl>
-
-#include <com/sun/star/uno/TypeClass.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 0a9c1769e..000000000
--- a/udkapi/com/sun/star/script/CannotCreateAdapterException.idl
+++ /dev/null
@@ -1,53 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/Exception.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 0fadbe8fb..000000000
--- a/udkapi/com/sun/star/script/ContextInformation.idl
+++ /dev/null
@@ -1,99 +0,0 @@
-/*************************************************************************
- *
- * 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
deleted file mode 100644
index f5513ec41..000000000
--- a/udkapi/com/sun/star/script/Converter.idl
+++ /dev/null
@@ -1,102 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/script/XTypeConverter.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 88423a1bf..000000000
--- a/udkapi/com/sun/star/script/Engine.idl
+++ /dev/null
@@ -1,58 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/script/XEngine.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 316076e26..000000000
--- a/udkapi/com/sun/star/script/FailReason.idl
+++ /dev/null
@@ -1,91 +0,0 @@
-/*************************************************************************
- *
- * 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
deleted file mode 100644
index b9332e97e..000000000
--- a/udkapi/com/sun/star/script/FinishEngineEvent.idl
+++ /dev/null
@@ -1,72 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/lang/EventObject.idl>
-
-#include <com/sun/star/script/FinishReason.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 628f7cc66..000000000
--- a/udkapi/com/sun/star/script/FinishReason.idl
+++ /dev/null
@@ -1,62 +0,0 @@
-/*************************************************************************
- *
- * 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
deleted file mode 100644
index f298d4b33..000000000
--- a/udkapi/com/sun/star/script/InterruptEngineEvent.idl
+++ /dev/null
@@ -1,114 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/lang/EventObject.idl>
-
-#include <com/sun/star/script/InterruptReason.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 6db2e60d7..000000000
--- a/udkapi/com/sun/star/script/InterruptReason.idl
+++ /dev/null
@@ -1,88 +0,0 @@
-/*************************************************************************
- *
- * 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
deleted file mode 100644
index f14e9faa7..000000000
--- a/udkapi/com/sun/star/script/Invocation.idl
+++ /dev/null
@@ -1,59 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/lang/XSingleServiceFactory.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 9f28cd110..000000000
--- a/udkapi/com/sun/star/script/InvocationAdapterFactory.idl
+++ /dev/null
@@ -1,73 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/script/XInvocationAdapterFactory.idl>
-#include <com/sun/star/script/XInvocationAdapterFactory2.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 85dc0687f..000000000
--- a/udkapi/com/sun/star/script/InvocationInfo.idl
+++ /dev/null
@@ -1,89 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/script/MemberType.idl>
-
-#include <com/sun/star/reflection/ParamMode.idl>
-
-//=============================================================================
-
- 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
deleted file mode 100644
index a209b7778..000000000
--- a/udkapi/com/sun/star/script/JavaScript.idl
+++ /dev/null
@@ -1,54 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/script/Engine.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 42d6f7219..000000000
--- a/udkapi/com/sun/star/script/MemberType.idl
+++ /dev/null
@@ -1,51 +0,0 @@
-/*************************************************************************
- *
- * 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
deleted file mode 100644
index c81e316e7..000000000
--- a/udkapi/com/sun/star/script/ScriptEvent.idl
+++ /dev/null
@@ -1,63 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/script/AllEventObject.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index c19077b77..000000000
--- a/udkapi/com/sun/star/script/ScriptEventDescriptor.idl
+++ /dev/null
@@ -1,76 +0,0 @@
-/*************************************************************************
- *
- * 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
deleted file mode 100644
index de88027e8..000000000
--- a/udkapi/com/sun/star/script/XAllListener.idl
+++ /dev/null
@@ -1,69 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/lang/XEventListener.idl>
-
-#include <com/sun/star/script/AllEventObject.idl>
-
-#include <com/sun/star/reflection/InvocationTargetException.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 1c79bca33..000000000
--- a/udkapi/com/sun/star/script/XAllListenerAdapterService.idl
+++ /dev/null
@@ -1,66 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-#include <com/sun/star/reflection/XIdlClass.idl>
-
-#include <com/sun/star/script/XAllListener.idl>
-
-
-//=============================================================================
-
- 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/XAutomationInvocation.idl b/udkapi/com/sun/star/script/XAutomationInvocation.idl
deleted file mode 100644
index 1d430f6ce..000000000
--- a/udkapi/com/sun/star/script/XAutomationInvocation.idl
+++ /dev/null
@@ -1,46 +0,0 @@
-/*************************************************************************
- *
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * Copyright 2008 by Sun Microsystems, Inc.
- *
- * 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_XAutomationInvocation_idl__
-#define __com_sun_star_script_XAutomationInvocation_idl__
-
-#include <com/sun/star/script/XInvocation.idl>
-
-
- module com { module sun { module star { module script {
-
-interface XAutomationInvocation: com::sun::star::script::XInvocation
-{
- any invokeGetProperty( [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 );
- any invokePutProperty( [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 );
-
-};
-
-//=============================================================================
-
-}; }; }; };
-
-#endif
diff --git a/udkapi/com/sun/star/script/XDebugging.idl b/udkapi/com/sun/star/script/XDebugging.idl
deleted file mode 100644
index 80dce4566..000000000
--- a/udkapi/com/sun/star/script/XDebugging.idl
+++ /dev/null
@@ -1,149 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-#include <com/sun/star/script/ContextInformation.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index e355cef5f..000000000
--- a/udkapi/com/sun/star/script/XDefaultMethod.idl
+++ /dev/null
@@ -1,60 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-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
deleted file mode 100644
index c9e903042..000000000
--- a/udkapi/com/sun/star/script/XDefaultProperty.idl
+++ /dev/null
@@ -1,64 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-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/XDirectInvocation.idl b/udkapi/com/sun/star/script/XDirectInvocation.idl
deleted file mode 100644
index 957954a5e..000000000
--- a/udkapi/com/sun/star/script/XDirectInvocation.idl
+++ /dev/null
@@ -1,72 +0,0 @@
-/*************************************************************************
- *
- * 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_XDirectInvocation_idl__
-#define __com_sun_star_script_XDirectInvocation_idl__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-#include <com/sun/star/lang/IllegalArgumentException.idl>
-
-#include <com/sun/star/script/CannotConvertException.idl>
-
-#include <com/sun/star/reflection/InvocationTargetException.idl>
-
-#include <com/sun/star/beans/UnknownPropertyException.idl>
-
-
-//=============================================================================
-
- module com { module sun { module star { module script {
-
-//=============================================================================
-/** provides access to an object's methods and properties.
- */
-published interface XDirectInvocation: com::sun::star::uno::XInterface
-{
- //-------------------------------------------------------------------------
- /** provides access to methods and properties exposed by an object.
-
- @param aParams all parameters, out parameters are not supported
- */
- any directInvoke( [in] string aName,
- [in] sequence<any> aParams )
- raises( com::sun::star::lang::IllegalArgumentException,
- com::sun::star::script::CannotConvertException,
- com::sun::star::reflection::InvocationTargetException );
-
- //-------------------------------------------------------------------------
- /** returns <TRUE/> if the method or property with the specified name exists, else <FALSE/>.
- */
- boolean hasMember( [in] string aName );
-};
-
-//=============================================================================
-
-}; }; }; };
-
-#endif
-
diff --git a/udkapi/com/sun/star/script/XEngine.idl b/udkapi/com/sun/star/script/XEngine.idl
deleted file mode 100644
index 275b8cc08..000000000
--- a/udkapi/com/sun/star/script/XEngine.idl
+++ /dev/null
@@ -1,126 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-#include <com/sun/star/script/XLibraryAccess.idl>
-
-#include <com/sun/star/script/XEngineListener.idl>
-
-
-//=============================================================================
-
-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
deleted file mode 100644
index 44ec1d030..000000000
--- a/udkapi/com/sun/star/script/XEngineListener.idl
+++ /dev/null
@@ -1,75 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/lang/XEventListener.idl>
-
-#include <com/sun/star/script/InterruptEngineEvent.idl>
-
-#include <com/sun/star/lang/EventObject.idl>
-
-#include <com/sun/star/script/FinishEngineEvent.idl>
-
-
-//=============================================================================
-
- 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/XErrorQuery.idl b/udkapi/com/sun/star/script/XErrorQuery.idl
deleted file mode 100644
index c1c881be6..000000000
--- a/udkapi/com/sun/star/script/XErrorQuery.idl
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef __com_sun_star_script_XErrorQuery_idl__
-#define __com_sun_star_script_XErrorQuery_idl__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-module com { module sun { module star { module script {
-//==============================================================================
-
-interface XErrorQuery : ::com::sun::star::uno::XInterface
-{
- //-----------------------------------------------------------------------
- /**
- Returns whether this object has an error
-
- @return
- <atom>boolean</atom> indicating an error or not
- */
- boolean hasError();
-
-};
-
-}; }; }; };
-#endif
diff --git a/udkapi/com/sun/star/script/XEventAttacher.idl b/udkapi/com/sun/star/script/XEventAttacher.idl
deleted file mode 100644
index 3690478cd..000000000
--- a/udkapi/com/sun/star/script/XEventAttacher.idl
+++ /dev/null
@@ -1,109 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-#include <com/sun/star/lang/XEventListener.idl>
-
-#include <com/sun/star/script/XAllListener.idl>
-
-#include <com/sun/star/lang/IllegalArgumentException.idl>
-
-#include <com/sun/star/beans/IntrospectionException.idl>
-
-#include <com/sun/star/script/CannotCreateAdapterException.idl>
-
-#include <com/sun/star/lang/ServiceNotRegisteredException.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 79365ef97..000000000
--- a/udkapi/com/sun/star/script/XEventAttacherManager.idl
+++ /dev/null
@@ -1,222 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-#include <com/sun/star/script/ScriptEventDescriptor.idl>
-
-#include <com/sun/star/lang/IllegalArgumentException.idl>
-
-#include <com/sun/star/lang/ServiceNotRegisteredException.idl>
-
-#include <com/sun/star/script/XScriptListener.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 0619fd8ca..000000000
--- a/udkapi/com/sun/star/script/XInvocation.idl
+++ /dev/null
@@ -1,145 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-#include <com/sun/star/beans/XIntrospectionAccess.idl>
-
-#include <com/sun/star/lang/IllegalArgumentException.idl>
-
-#include <com/sun/star/script/CannotConvertException.idl>
-
-#include <com/sun/star/reflection/InvocationTargetException.idl>
-
-#include <com/sun/star/beans/UnknownPropertyException.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 44851ef44..000000000
--- a/udkapi/com/sun/star/script/XInvocation2.idl
+++ /dev/null
@@ -1,80 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/script/XInvocation.idl>
-
-#include <com/sun/star/script/InvocationInfo.idl>
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 477e69b42..000000000
--- a/udkapi/com/sun/star/script/XInvocationAdapterFactory.idl
+++ /dev/null
@@ -1,68 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-#include <com/sun/star/script/XInvocation.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index e809de082..000000000
--- a/udkapi/com/sun/star/script/XInvocationAdapterFactory2.idl
+++ /dev/null
@@ -1,64 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-#include <com/sun/star/script/XInvocation.idl>
-
-
-//=============================================================================
-
-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
deleted file mode 100644
index 409425d0c..000000000
--- a/udkapi/com/sun/star/script/XLibraryAccess.idl
+++ /dev/null
@@ -1,106 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 08975e838..000000000
--- a/udkapi/com/sun/star/script/XScriptEventsAttacher.idl
+++ /dev/null
@@ -1,89 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/script/XScriptListener.idl>
-#include <com/sun/star/uno/XInterface.idl>
-
-#include <com/sun/star/lang/IllegalArgumentException.idl>
-
-#include <com/sun/star/beans/IntrospectionException.idl>
-
-#include <com/sun/star/script/CannotCreateAdapterException.idl>
-
-#include <com/sun/star/lang/ServiceNotRegisteredException.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 7b42bf388..000000000
--- a/udkapi/com/sun/star/script/XScriptEventsSupplier.idl
+++ /dev/null
@@ -1,58 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-#include <com/sun/star/container/XNameContainer.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index b345ce1cd..000000000
--- a/udkapi/com/sun/star/script/XScriptListener.idl
+++ /dev/null
@@ -1,65 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/lang/XEventListener.idl>
-
-#include <com/sun/star/script/ScriptEvent.idl>
-
-#include <com/sun/star/reflection/InvocationTargetException.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index b333e946d..000000000
--- a/udkapi/com/sun/star/script/XStarBasicAccess.idl
+++ /dev/null
@@ -1,96 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/container/XNameContainer.idl>
-
-//=============================================================================
-
- 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
deleted file mode 100644
index ae8bcd488..000000000
--- a/udkapi/com/sun/star/script/XStarBasicDialogInfo.idl
+++ /dev/null
@@ -1,61 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index f9b37bf69..000000000
--- a/udkapi/com/sun/star/script/XStarBasicLibraryInfo.idl
+++ /dev/null
@@ -1,104 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/container/XNameContainer.idl>
-
-//=============================================================================
-
- 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
deleted file mode 100644
index d839c9308..000000000
--- a/udkapi/com/sun/star/script/XStarBasicModuleInfo.idl
+++ /dev/null
@@ -1,68 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 6511dcbfd..000000000
--- a/udkapi/com/sun/star/script/XTypeConverter.idl
+++ /dev/null
@@ -1,99 +0,0 @@
-/*************************************************************************
- *
- * 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__
-
-#include <com/sun/star/uno/XInterface.idl>
-
-#include <com/sun/star/reflection/XIdlClass.idl>
-
-#include <com/sun/star/lang/IllegalArgumentException.idl>
-
-#include <com/sun/star/script/CannotConvertException.idl>
-
-#include <com/sun/star/uno/TypeClass.idl>
-
-
-//=============================================================================
-
- 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
deleted file mode 100644
index 0a16872f1..000000000
--- a/udkapi/com/sun/star/script/makefile.mk
+++ /dev/null
@@ -1,91 +0,0 @@
-#*************************************************************************
-#
-# 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\
- XDirectInvocation.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\
- XAutomationInvocation.idl\
- XErrorQuery.idl\
-
-# ------------------------------------------------------------------
-
-.INCLUDE : target.mk
-.INCLUDE : $(PRJ)$/util$/target.pmk