1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright IBM Corporation 2009.
6 * Copyright 2009 by Sun Microsystems, Inc.
7 *
8 * OpenOffice.org - a multi-platform office productivity suite
9 *
10 * $RCSfile: DocumentMSPasswordRequest.idl,v $
11 * $Revision: 1.0 $
12 *
13 * This file is part of OpenOffice.org.
14 *
15 * OpenOffice.org is free software: you can redistribute it and/or modify
16 * it under the terms of the GNU Lesser General Public License version 3
17 * only, as published by the Free Software Foundation.
18 *
19 * OpenOffice.org is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22 * GNU Lesser General Public License version 3 for more details
23 * (a copy is included in the LICENSE file that accompanied this code).
24 *
25 * You should have received a copy of the GNU Lesser General Public License
26 * version 3 along with OpenOffice.org.  If not, see
27 * <http://www.openoffice.org/license.html>
28 * for a copy of the LGPLv3 License.
29 *
30 ************************************************************************/
31#ifndef __com_sun_star_task_DocumentMSPasswordRequest2_idl__
32#define __com_sun_star_task_DocumentMSPasswordRequest2_idl__
33
34#include <com/sun/star/task/DocumentMSPasswordRequest.idl>
35
36
37//=============================================================================
38
39module com { module sun { module star { module task {
40
41//=============================================================================
42/** this request specifies if a password for opening or modifying of an encrypted Microsoft Office document is requested.
43
44	<P>
45	It is supported by <type>InteractionHandler</type> service, and can
46	be used to interact for a document password. Continuations for using with
47	the mentioned service are Abort and Approve.
48	</P>
49
50    @see com::sun::star::task::PasswordRequest
51    @see com::sun::star::task::DocumentMSPasswordRequest
52
53    @since OOo 3.3
54*/
55exception DocumentMSPasswordRequest2 : DocumentMSPasswordRequest
56{
57    //-------------------------------------------------------------------------
58    /** specifies if the requested password is for opening a document or for mofiying it.
59    */
60    boolean     IsRequestPasswordToModify;
61
62};
63
64//=============================================================================
65
66}; }; }; };
67
68#endif
69