Kaydet (Commit) 5e171284 authored tarafından Daniel Rentz's avatar Daniel Rentz

mib17: #i112634# do not use an UNO interface to handle VBA BeforeSave and BeforePrint events

üst 9eaf48be
/*************************************************************************
*
* 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
...@@ -42,7 +42,6 @@ IDLFILES=\ ...@@ -42,7 +42,6 @@ IDLFILES=\
VBAEventProcessor.idl \ VBAEventProcessor.idl \
VBASpreadsheetEventProcessor.idl \ VBASpreadsheetEventProcessor.idl \
VBATextEventProcessor.idl \ VBATextEventProcessor.idl \
XCoreEventProcessor.idl \
XVBAEventProcessor.idl XVBAEventProcessor.idl
# ------------------------------------------------------------------ # ------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment