diff options
author | Rüdiger Timm <rt@openoffice.org> | 2006-02-09 12:44:47 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2006-02-09 12:44:47 +0000 |
commit | e883ecd702791867d9a4cb62832aa30f09dcff1d (patch) | |
tree | 687b08ce6b449f6987f9a473066134e27223d31f /offapi/com | |
parent | d87ede68521e1a792f4e6e5575ba093c80eb05e1 (diff) |
INTEGRATION: CWS fwk32 (1.1.2); FILE ADDED
2006/01/30 11:16:58 mav 1.1.2.1: #120410#,#i59437# allow to lock a document from closing without exceptions support, allow to close document frame correctly
Diffstat (limited to 'offapi/com')
-rw-r--r-- | offapi/com/sun/star/embed/XActionsApproval.idl | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/offapi/com/sun/star/embed/XActionsApproval.idl b/offapi/com/sun/star/embed/XActionsApproval.idl new file mode 100644 index 000000000000..13a7fe5d4355 --- /dev/null +++ b/offapi/com/sun/star/embed/XActionsApproval.idl @@ -0,0 +1,78 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: XActionsApproval.idl,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: rt $ $Date: 2006-02-09 13:44:47 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library 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 for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ +#ifndef __com_sun_star_embed_XActionsApproval_idl__ +#define __com_sun_star_embed_XActionsApproval_idl__ + +#ifndef __com_sun_star_uno_XInterface_idl__ +#include <com/sun/star/uno/XInterface.idl> +#endif + +//============================================================================ + + module com { module sun { module star { module embed { + +//============================================================================ +/** allows to request an approval for an action. + + <p> + An implementation of this interface is usually provided to another object + to allow this object to request an approval for actions. The list of + possible actions must be documented in documentation of the object. + </p> + */ +interface XActionsApproval: com::sun::star::uno::XInterface +{ + //------------------------------------------------------------------------ + /** requests an approval for the specified action. + + @param nAction + a value specifying the action that should be approved. Could take + values from <type>Actions</type> constants set. The explicit set + of the actions should be documented by the object that is going + to use this interface for approval as for example + <type>InstanceLocker</type> does. + + @return + returns <TRUE/> in case the specified action is approved. + */ + boolean approveAction( [in] long nAction ); +}; + +//============================================================================ + +}; }; }; }; + +#endif + |