diff options
author | Daniel Rentz <dr@openoffice.org> | 2010-07-15 14:30:44 +0200 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2010-07-15 14:30:44 +0200 |
commit | 5e171284bb76b6fc12478ceeb6ce7da243d795b6 (patch) | |
tree | b39442e3e01ea551fac8ff59d4497472567d670e /offapi/com/sun/star/script | |
parent | 9eaf48be9b8a9317459383caf11b98e68b038955 (diff) |
mib17: #i112634# do not use an UNO interface to handle VBA BeforeSave and BeforePrint events
Diffstat (limited to 'offapi/com/sun/star/script')
-rwxr-xr-x | offapi/com/sun/star/script/vba/XCoreEventProcessor.idl | 78 | ||||
-rwxr-xr-x | offapi/com/sun/star/script/vba/makefile.mk | 1 |
2 files changed, 0 insertions, 79 deletions
diff --git a/offapi/com/sun/star/script/vba/XCoreEventProcessor.idl b/offapi/com/sun/star/script/vba/XCoreEventProcessor.idl deleted file mode 100755 index 989b1f4039cb..000000000000 --- a/offapi/com/sun/star/script/vba/XCoreEventProcessor.idl +++ /dev/null @@ -1,78 +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_vba_XCoreEventProcessor_idl__ -#define __com_sun_star_script_vba_XCoreEventProcessor_idl__ - -#include <com/sun/star/lang/IllegalArgumentException.idl> -#include <com/sun/star/script/provider/ScriptFrameworkErrorException.idl> -#include <com/sun/star/util/VetoException.idl> - -//============================================================================= - -module com { module sun { module star { module script { module vba { - -//============================================================================= - -/** Executes VBA event handlers based on a specific core model event. - */ -interface XCoreEventProcessor -{ - //------------------------------------------------------------------------- - - /** Executes a VBA compatible event handler for a core event. - - @param nSlotId - The implementation defined identifier of the core event. - - @throws <type scope="::com::sun::star::lang">IllegalArgumentException</type> - if the passed slot identifier is not supported. - - @throws <type scope="::com::sun::star::script::provider">ScriptFrameworkErrorException</type> - if the VBA event handler could not be invoked. Reasons may be, that - handling of VBA events is not enabled, that the VBA event handler - macro has not been found, or that the execution of the macro has - been aborted with an error. - - @throws <type scope="::com::sun::star::util">VetoException</type> - if the VBA event handler has indicated to veto the event. - **/ - void processCoreVbaEvent( [in] long nSlotId ) - raises (::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::script::provider::ScriptFrameworkErrorException, - ::com::sun::star::util::VetoException); - - //------------------------------------------------------------------------- -}; - -//============================================================================= - -}; }; }; }; }; - -//============================================================================= - -#endif diff --git a/offapi/com/sun/star/script/vba/makefile.mk b/offapi/com/sun/star/script/vba/makefile.mk index 857df4f9bf63..2cb93401ae00 100755 --- a/offapi/com/sun/star/script/vba/makefile.mk +++ b/offapi/com/sun/star/script/vba/makefile.mk @@ -42,7 +42,6 @@ IDLFILES=\ VBAEventProcessor.idl \ VBASpreadsheetEventProcessor.idl \ VBATextEventProcessor.idl \ - XCoreEventProcessor.idl \ XVBAEventProcessor.idl # ------------------------------------------------------------------ |