1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: NameClashResolveRequest.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_ucb_NameClashResolveRequest_idl__
32 #define __com_sun_star_ucb_NameClashResolveRequest_idl__
34 #ifndef __com_sun_star_task_ClassifiedInteractionRequest_idl__
35 #include
<com
/sun
/star
/task
/ClassifiedInteractionRequest.idl
>
39 //=============================================================================
41 module com
{ module sun
{ module star
{ module ucb
{
43 //=============================================================================
44 /** This request is used to indicate a name clash.
46 <p>For example, when copying a file there migth be another file in the
47 target folder that has the same file name as the source file.
49 <p>If this exception is passed to an
50 <type scope="com::sun::star::task">XInteractionHandler</type> an
51 <type>XInteractionSupplyName</type> and an
52 <type>XInteractionReplaceExistingData</type> should be supplied with
53 the <type scope="com::sun::star::task">XInteractionRequest</type>. On
54 return the <type>XInteractionSupplyName</type>, if selected, will contain
55 a new name supposed to resolve the name clash. The
56 <type>XInteractionReplaceExistingData</type> will be selected if the
57 clashing resource shall be overwritten.
60 @author Kai Sommerfeld
62 published exception NameClashResolveRequest
: com
::sun
::star
::task
::ClassifiedInteractionRequest
64 //-------------------------------------------------------------------------
65 /** contains the URL of the folder that contains the clashing resource.
67 string TargetFolderURL
;
69 //-------------------------------------------------------------------------
70 /** contains the clashing name.
74 //-------------------------------------------------------------------------
75 /** contains a proposal for a new new, non-clashing name.
76 <p>This field may be left empty if the implementation is not able
77 to suggest a new name.
79 string ProposedNewName
;
82 //=============================================================================