diff options
Diffstat (limited to 'offapi/com/sun/star/script/provider')
19 files changed, 0 insertions, 1170 deletions
diff --git a/offapi/com/sun/star/script/provider/LanguageScriptProvider.idl b/offapi/com/sun/star/script/provider/LanguageScriptProvider.idl deleted file mode 100644 index bf847f456..000000000 --- a/offapi/com/sun/star/script/provider/LanguageScriptProvider.idl +++ /dev/null @@ -1,50 +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_provider_LanguageScriptProvider_idl__ -#define __com_sun_star_script_provider_LanguageScriptProvider_idl__ - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/script/provider/ScriptProvider.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - This service provides a means of browsing and invoking scripts in - a single language. -*/ -service LanguageScriptProvider { - service ::com::sun::star::script::provider::ScriptProvider; -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/MasterScriptProvider.idl b/offapi/com/sun/star/script/provider/MasterScriptProvider.idl deleted file mode 100644 index 064ef890f..000000000 --- a/offapi/com/sun/star/script/provider/MasterScriptProvider.idl +++ /dev/null @@ -1,50 +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_provider_MasterScriptProvider_idl__ -#define __com_sun_star_script_provider_MasterScriptProvider_idl__ - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/script/provider/ScriptProvider.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - This service acts as a wrapper around the various language specific - ScriptProviders. -*/ -service MasterScriptProvider { - service ::com::sun::star::script::provider::ScriptProvider; -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/MasterScriptProviderFactory.idl b/offapi/com/sun/star/script/provider/MasterScriptProviderFactory.idl deleted file mode 100644 index ebb19b81f..000000000 --- a/offapi/com/sun/star/script/provider/MasterScriptProviderFactory.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_provider_MasterScriptProviderFactory_idl__ -#define __com_sun_star_script_provider_MasterScriptProviderFactory_idl__ - - -#include <com/sun/star/script/provider/XScriptProviderFactory.idl> - -module com { module sun { module star { module script { module provider { - -/** - This service is used to create MasterScriptProviders. - Note: You shouldn't ever instantiate the MasterScriptProvider - service directly, you should always use this service. -*/ -service MasterScriptProviderFactory -{ - interface XScriptProviderFactory; -}; - -/** - The one and only MasterScriptProviderFactory - - To get the singleton call getValueByName on the component context - <pre> - /singletons/com.sun.star.script.provider.theMasterScriptProviderFactory - </pre> - -*/ -singleton theMasterScriptProviderFactory -{ - service MasterScriptProviderFactory; -}; - -}; }; }; }; }; - -#endif diff --git a/offapi/com/sun/star/script/provider/ScriptErrorRaisedException.idl b/offapi/com/sun/star/script/provider/ScriptErrorRaisedException.idl deleted file mode 100644 index c0a35d9a4..000000000 --- a/offapi/com/sun/star/script/provider/ScriptErrorRaisedException.idl +++ /dev/null @@ -1,57 +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_provider_ScriptErrorRaisedException_idl__ -#define __com_sun_star_script_provider_ScriptErrorRaisedException_idl__ - -#include <com/sun/star/uno/Exception.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - is a checked exception that represents an error encountered - by a LanguageScriptProvider whilst executing a script -*/ -exception ScriptErrorRaisedException : com::sun::star::uno::Exception { - /** Name of script where error occurred - */ - string scriptName; - /** Scripting language of script that generated exception - */ - string language; - /** line number where error occurred. - */ - long lineNum; -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/ScriptExceptionRaisedException.idl b/offapi/com/sun/star/script/provider/ScriptExceptionRaisedException.idl deleted file mode 100644 index 185b88659..000000000 --- a/offapi/com/sun/star/script/provider/ScriptExceptionRaisedException.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_provider_ScriptExceptionRaisedException_idl__ -#define __com_sun_star_script_provider_ScriptExceptionRaisedException_idl__ - -#include <com/sun/star/script/provider/ScriptErrorRaisedException.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - is a checked exception that represents the detail of an exception - thrown by a LanguageScriptProvider whilst executing a script -*/ -exception ScriptExceptionRaisedException : ::com::sun::star::script::provider::ScriptErrorRaisedException { - /** Name of script where error occurred - */ - string exceptionType; -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/ScriptFrameworkErrorException.idl b/offapi/com/sun/star/script/provider/ScriptFrameworkErrorException.idl deleted file mode 100644 index b7ee2569e..000000000 --- a/offapi/com/sun/star/script/provider/ScriptFrameworkErrorException.idl +++ /dev/null @@ -1,57 +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_provider_ScriptFrameworkErrorException_idl__ -#define __com_sun_star_script_provider_ScriptFrameworkErrorException_idl__ - -#include <com/sun/star/uno/Exception.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - is a checked exception that represents an error encountered - by the Scripting Framework whilst executing a script -*/ -exception ScriptFrameworkErrorException : com::sun::star::uno::Exception { - /** Name of script where error occurred - */ - string scriptName; - /** Scripting language of script that generated exception - */ - string language; - /** error type <type scope="::com::sun::star::script::provider">ScriptFrameworkErrorType</type> - */ - long errorType; -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/ScriptFrameworkErrorType.idl b/offapi/com/sun/star/script/provider/ScriptFrameworkErrorType.idl deleted file mode 100644 index 117a95a68..000000000 --- a/offapi/com/sun/star/script/provider/ScriptFrameworkErrorType.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_provider_ScriptFrameworkErrorType_idl__ -#define __com_sun_star_script_provider_ScriptFrameworkErrorType_idl__ - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - is a checked exception that represents an error encountered - by the Scripting Framework whilst executing a script -*/ -constants ScriptFrameworkErrorType -{ - /** Unknown - */ - const long UNKNOWN = 0; - - /** ProviderNotSupported - */ - const long NOTSUPPORTED = 1; - - /** the requested method, and/or with the requested signature, does not exist - */ - const long NO_SUCH_SCRIPT = 2; - - /** the requested method, with the requested signature, does not exist - */ - const long MALFORMED_URL = 3; -}; - -//=========================================================================== -}; }; }; }; }; // com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/ScriptProvider.idl b/offapi/com/sun/star/script/provider/ScriptProvider.idl deleted file mode 100644 index bcf5d759f..000000000 --- a/offapi/com/sun/star/script/provider/ScriptProvider.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_provider_ScriptProvider_idl__ -#define __com_sun_star_script_provider_ScriptProvider_idl__ - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/script/provider/XScriptProvider.idl> -#include <com/sun/star/script/browse/BrowseNode.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - This service providers a means to browse and execute scripts. -*/ -service ScriptProvider { - service ::com::sun::star::script::browse::BrowseNode; - - interface ::com::sun::star::script::provider::XScriptProvider; - -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/ScriptProviderForBasic.idl b/offapi/com/sun/star/script/provider/ScriptProviderForBasic.idl deleted file mode 100644 index 4ed9c57ed..000000000 --- a/offapi/com/sun/star/script/provider/ScriptProviderForBasic.idl +++ /dev/null @@ -1,49 +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_provider_ScriptProviderForBasic_idl__ -#define __com_sun_star_script_provider_ScriptProviderForBasic_idl__ - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/script/provider/LanguageScriptProvider.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - This service is a Basic-specific LanguageScriptProvider. -*/ -service ScriptProviderForBasic { - service ::com::sun::star::script::provider::LanguageScriptProvider; -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/ScriptProviderForBeanShell.idl b/offapi/com/sun/star/script/provider/ScriptProviderForBeanShell.idl deleted file mode 100644 index 29e831691..000000000 --- a/offapi/com/sun/star/script/provider/ScriptProviderForBeanShell.idl +++ /dev/null @@ -1,49 +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_provider_ScriptProviderForBeanShell_idl__ -#define __com_sun_star_script_provider_ScriptProviderForBeanShell_idl__ - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/script/provider/LanguageScriptProvider.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - This service is a BeanShell-specific LanguageScriptProvider. -*/ -service ScriptProviderForBeanShell { - service ::com::sun::star::script::provider::LanguageScriptProvider; -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/ScriptProviderForJava.idl b/offapi/com/sun/star/script/provider/ScriptProviderForJava.idl deleted file mode 100644 index 7ef640fcf..000000000 --- a/offapi/com/sun/star/script/provider/ScriptProviderForJava.idl +++ /dev/null @@ -1,49 +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_provider_ScriptProviderForJava_idl__ -#define __com_sun_star_script_provider_ScriptProviderForJava_idl__ - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/script/provider/LanguageScriptProvider.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - This service is a Java-specific LanguageScriptProvider. -*/ -service ScriptProviderForJava { - service ::com::sun::star::script::provider::LanguageScriptProvider; -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/ScriptProviderForJavaScript.idl b/offapi/com/sun/star/script/provider/ScriptProviderForJavaScript.idl deleted file mode 100644 index 8c5c9936d..000000000 --- a/offapi/com/sun/star/script/provider/ScriptProviderForJavaScript.idl +++ /dev/null @@ -1,49 +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_provider_ScriptProviderForJavaScript_idl__ -#define __com_sun_star_script_provider_ScriptProviderForJavaScript_idl__ - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/script/provider/LanguageScriptProvider.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - This service is a Java-specific LanguageScriptProvider. -*/ -service ScriptProviderForJavaScript { - service ::com::sun::star::script::provider::LanguageScriptProvider; -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/ScriptURIHelper.idl b/offapi/com/sun/star/script/provider/ScriptURIHelper.idl deleted file mode 100644 index 4a25c6ae6..000000000 --- a/offapi/com/sun/star/script/provider/ScriptURIHelper.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_provider_ScriptURIHelper_idl__ -#define __com_sun_star_script_provider_ScriptURIHelper_idl__ - -#include <com/sun/star/script/provider/XScriptURIHelper.idl> -#include <com/sun/star/lang/IllegalArgumentException.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - This service is used to help transform Scripting Framework storage - locations to Scripting Framework script URIs and vice versa. -*/ -service ScriptURIHelper : XScriptURIHelper { - - /** - create a new ScriptURIHelper - - @param language - The name of the scripting language for which this ScriptURIHelper - is being created. It should be the same as the language name - used for the service that inherits from the LanguageScriptProvider - service - - @param location - This location which was passed to the LanguageScriptProvider - by the Scripting Framework on its creation - - @throws - <type scope="::com::sun::star::lang">IllegalArgumentException</type> - */ - create( [in] string language, [in] string location ) - raises ( ::com::sun::star::lang::IllegalArgumentException ); -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/XScript.idl b/offapi/com/sun/star/script/provider/XScript.idl deleted file mode 100644 index 2a0db03bc..000000000 --- a/offapi/com/sun/star/script/provider/XScript.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_provider_XScript_idl__ -#define __com_sun_star_script_provider_XScript_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/script/provider/ScriptFrameworkErrorException.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - This interface represents an invokable script or UNO function. -*/ -interface XScript : ::com::sun::star::uno::XInterface { - - //---------------------------------------------------------------------- - /** - invoke the script or function represented by the implementing - object - - @param aParams - all parameters; pure, out parameters are undefined in sequence, - i.e., the value has to be ignored by the callee - @param aOutParamIndex - out indices, indicating the position of the out or inout - parameters in the list of arguments to the script - @param aOutParam - out parameters<p> - For example, if the script had the signature<br> - <code>long foo( [inout] string a, [in] string b, [out] string c )</code> - <br> the call would look like<br> - <code>bar.invoke( {"foo", "foo2", "this-is-ignored" }, aOutParamIndex, aOutParam);</code> - <br> and after the call the out sequences would contain<br> - <listing> - aOutParamIndex={0,2}; - aOutParam={"string from a", "string from c"}; - </listing> - - @returns - the value returned from the function being invoked - - @throws ::com::sun::star::reflection::InvocationTargetException - if and error occurs while attempting to invoke a script the information is captured. If the error or exception is generated by the script itself it is wrapped as either ScriptErrorRaisedException or ScriptExceptionRaisedException or ScriptFrameworkErrorException are wrapped as ScriptFrameworkErrorExceptions. - */ - any invoke( - [in] sequence<any> aParams, - [out] sequence<short> aOutParamIndex, - [out] sequence<any> aOutParam ) raises( - ::com::sun::star::script::provider::ScriptFrameworkErrorException , - ::com::sun::star::reflection::InvocationTargetException); - -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/XScriptContext.idl b/offapi/com/sun/star/script/provider/XScriptContext.idl deleted file mode 100644 index 0e65f9755..000000000 --- a/offapi/com/sun/star/script/provider/XScriptContext.idl +++ /dev/null @@ -1,103 +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_provider_XScriptContext_idl__ -#define __com_sun_star_script_provider_XScriptContext_idl__ - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/frame/XDesktop.idl> -#include <com/sun/star/frame/XModel.idl> -#include <com/sun/star/uno/XComponentContext.idl> - - -module com { module sun { module star { module document { - interface XScriptInvocationContext; -}; }; }; }; - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - This interface is provided to scripts, and provides a means of access to - the various interfaces which they might need to perform some action on - a document. It is required to be passed as the first argument for any - Java scripts. -*/ -interface XScriptContext : ::com::sun::star::uno::XInterface { - - //---------------------------------------------------------------------- - /** - Obtain the document reference on which the script can operate - - @returns - <type scope="com::sun::star::frame">XModel</type> interface - */ - ::com::sun::star::frame::XModel getDocument(); - - /** provides access to the context where the script was invoked - - <p>In some cases, it is possible that scripts, embedded in a document, - are executed from within a context which is <em>not</em> the document - itself. In this case, the <code>getInvocationContext</code> member allows - to access this context.</p> - - <p>Note that the returned context is allowed to be <NULL/>, in this case, - the document as returned by <code>getDocument</code> is the invocation context.</p> - - <p>If the returned context is not <NULL/>, its <code>ScriptContainer</code> attribute - equals the document as returned by <code>XScriptContext::getDocument</code>.</p> - - @since OOo 3.0 - */ - ::com::sun::star::document::XScriptInvocationContext getInvocationContext(); - - /** - Obtain the desktop reference on which the script can operate - - @returns - <type scope="com::sun::star::frame">XDesktop</type> interface - */ - ::com::sun::star::frame::XDesktop getDesktop(); - - /** - Obtain the component context which the script can use to create - other uno components - - @returns - <type scope="com::sun::star::uno">XComponentContext</type> interface - */ - ::com::sun::star::uno::XComponentContext getComponentContext(); - - -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/XScriptProvider.idl b/offapi/com/sun/star/script/provider/XScriptProvider.idl deleted file mode 100644 index 666ec1cb6..000000000 --- a/offapi/com/sun/star/script/provider/XScriptProvider.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_provider_XScriptProvider_idl__ -#define __com_sun_star_script_provider_XScriptProvider_idl__ - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/script/provider/XScript.idl> -#include <com/sun/star/script/provider/ScriptFrameworkErrorException.idl> -#include <com/sun/star/lang/IllegalArgumentException.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - This interface provides a factory for obtaining objects implementing the - XScript interface. -*/ -interface XScriptProvider : ::com::sun::star::uno::XInterface { - - //---------------------------------------------------------------------- - /** a factory method for the creation of XScript - implementations. - - @param sScriptURI - is the logical or language-dependent script URI - - @returns - an object implementing <type scope="::com::sun::star::script::provider">XScript</type> representing the script - - @throws ::com::sun::star::provider::ScriptFrameworkErrorException - Framework error getting script for URI. - */ - XScript getScript( [in] string sScriptURI ) raises ( ::com::sun::star::script::provider::ScriptFrameworkErrorException ); -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/XScriptProviderFactory.idl b/offapi/com/sun/star/script/provider/XScriptProviderFactory.idl deleted file mode 100644 index e35b24406..000000000 --- a/offapi/com/sun/star/script/provider/XScriptProviderFactory.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_provider_XScriptProviderFactory_idl__ -#define __com_sun_star_script_provider_XScriptProviderFactory_idl__ - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/script/provider/XScriptProvider.idl> -#include <com/sun/star/lang/IllegalArgumentException.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - This interface provides a factory for obtaining objects implementing the - XScriptProvider interface. -*/ -interface XScriptProviderFactory : ::com::sun::star::uno::XInterface { - - //---------------------------------------------------------------------- - /** a factory method for the creation of XScriptProviders - implementations. - - @param sContext - is context for which the ScriptProvider is to be created for - - @returns - an object implementing <type scope="::com::sun::star::script::provider">XScriptProvider</type> - - @throws ::com::sun::star::lang::IllegalArgumentException - if illegal or unknown context is passed - */ - XScriptProvider createScriptProvider( [in] any context ) raises ( - ::com::sun::star::lang::IllegalArgumentException ); -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif diff --git a/offapi/com/sun/star/script/provider/XScriptProviderSupplier.idl b/offapi/com/sun/star/script/provider/XScriptProviderSupplier.idl deleted file mode 100644 index 1a36a22f9..000000000 --- a/offapi/com/sun/star/script/provider/XScriptProviderSupplier.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_provider_XScriptProviderSupplier_idl__ -#define __com_sun_star_script_provider_XScriptProviderSupplier_idl__ - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/script/provider/XScriptProvider.idl> -#include <com/sun/star/lang/IllegalArgumentException.idl> - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - This interface allows to get the scripting provider related to the object. -*/ -interface XScriptProviderSupplier : ::com::sun::star::uno::XInterface { - - //---------------------------------------------------------------------- - /** returns scripting provider related to the object. - - @returns - an object implementing <type scope="::com::sun::star::script::provider">XScriptProvider</type> representing the script provider - */ - XScriptProvider getScriptProvider(); -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif - diff --git a/offapi/com/sun/star/script/provider/XScriptURIHelper.idl b/offapi/com/sun/star/script/provider/XScriptURIHelper.idl deleted file mode 100644 index e5b7ae728..000000000 --- a/offapi/com/sun/star/script/provider/XScriptURIHelper.idl +++ /dev/null @@ -1,83 +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_provider_XScriptURIHelper_idl__ -#define __com_sun_star_script_provider_XScriptURIHelper_idl__ - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/lang/IllegalArgumentException.idl> - - -//=========================================================================== - -module com { module sun { module star { module script { module provider { - -//=========================================================================== -/** - This interface is used to help transform Scripting Framework storage - locations to Scripting Framework script URIs and vice versa. -*/ -interface XScriptURIHelper : ::com::sun::star::uno::XInterface { - - //---------------------------------------------------------------------- - /** - Obtain the root storage URI for this ScriptURIHelper. The - resulting string can be used to access the storage for this - using the Universal Content Broker - - @returns a URI to the storage as a <atom>string</atom> - */ - string getRootStorageURI(); - - /** - Obtain the storage URI for a specific Scripting Framework - script URI. - - @returns a URI to the storage as a <atom>string</atom> - - @throws <type scope="::com::sun::star::lang">IllegalArgumentException</type> - if the storageURI is not a valid - */ - string getStorageURI( [in] string scriptURI ) raises - ( ::com::sun::star::lang::IllegalArgumentException ); - - /** - Obtain the Scripting Framework script URI for a specific UCB URI - - @returns the URI as a <atom>string</atom> - - @throws <type scope="::com::sun::star::lang">IllegalArgumentException</type> - if the storageURI is not a valid - */ - string getScriptURI( [in] string storageURI ) raises - ( ::com::sun::star::lang::IllegalArgumentException ); -}; - -//=========================================================================== -}; }; }; }; }; // ::com::sun::star::script::provider - -#endif |