1ebfcd9afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3ebfcd9afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4ebfcd9afSAndrew Rist * or more contributor license agreements. See the NOTICE file 5ebfcd9afSAndrew Rist * distributed with this work for additional information 6ebfcd9afSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7ebfcd9afSAndrew Rist * to you under the Apache License, Version 2.0 (the 8ebfcd9afSAndrew Rist * "License"); you may not use this file except in compliance 9ebfcd9afSAndrew Rist * with the License. You may obtain a copy of the License at 10ebfcd9afSAndrew Rist * 11ebfcd9afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12ebfcd9afSAndrew Rist * 13ebfcd9afSAndrew Rist * Unless required by applicable law or agreed to in writing, 14ebfcd9afSAndrew Rist * software distributed under the License is distributed on an 15ebfcd9afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16ebfcd9afSAndrew Rist * KIND, either express or implied. See the License for the 17ebfcd9afSAndrew Rist * specific language governing permissions and limitations 18ebfcd9afSAndrew Rist * under the License. 19ebfcd9afSAndrew Rist * 20ebfcd9afSAndrew Rist *************************************************************/ 21ebfcd9afSAndrew Rist 22ebfcd9afSAndrew Rist 23cdf0e10cSrcweir#ifndef __com_sun_star_task_DocumentPasswordRequest2_idl__ 24cdf0e10cSrcweir#define __com_sun_star_task_DocumentPasswordRequest2_idl__ 25cdf0e10cSrcweir 26cdf0e10cSrcweir#include <com/sun/star/task/DocumentPasswordRequest.idl> 27cdf0e10cSrcweir 28cdf0e10cSrcweir 29cdf0e10cSrcweir//============================================================================= 30cdf0e10cSrcweir 31cdf0e10cSrcweirmodule com { module sun { module star { module task { 32cdf0e10cSrcweir 33cdf0e10cSrcweir//============================================================================= 34cdf0e10cSrcweir/** this request specifies if a password for opening or modifying a document is requested. 35cdf0e10cSrcweir 36cdf0e10cSrcweir <P> 37cdf0e10cSrcweir It is supported by <type>InteractionHandler</type> service, and can 38cdf0e10cSrcweir be used to interact for a document password. Continuations for using with 39cdf0e10cSrcweir the mentioned service are Abort and Approve. 40cdf0e10cSrcweir </P> 41cdf0e10cSrcweir 42cdf0e10cSrcweir @see com::sun::star::task::PasswordRequest 43cdf0e10cSrcweir @see com::sun::star::task::DocumentPasswordRequest 44cdf0e10cSrcweir 45*96af39f7SJürgen Schmidt @since OpenOffice 3.3 46cdf0e10cSrcweir*/ 47cdf0e10cSrcweirexception DocumentPasswordRequest2 : DocumentPasswordRequest 48cdf0e10cSrcweir{ 49cdf0e10cSrcweir //------------------------------------------------------------------------- 50cdf0e10cSrcweir /** specifies if the requested password is for opening a document or for mofiying it. 51cdf0e10cSrcweir */ 52cdf0e10cSrcweir boolean IsRequestPasswordToModify; 53cdf0e10cSrcweir 54cdf0e10cSrcweir}; 55cdf0e10cSrcweir 56cdf0e10cSrcweir//============================================================================= 57cdf0e10cSrcweir 58cdf0e10cSrcweir}; }; }; }; 59cdf0e10cSrcweir 60cdf0e10cSrcweir#endif 61