update dev300-m58
[ooovba.git] / offapi / com / sun / star / ucb / NameClash.idl
blobba47f0fde4b42f5cd26e2ef66aa46533a2f40478
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: NameClash.idl,v $
10 * $Revision: 1.8 $
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 ************************************************************************/
30 #ifndef __com_sun_star_ucb_NameClash_idl__
31 #define __com_sun_star_ucb_NameClash_idl__
34 //=============================================================================
36 module com { module sun { module star { module ucb {
38 //=============================================================================
39 /** These are the possible values for <member>TransferInfo::NameClash</member>.
41 published constants NameClash
43 //-------------------------------------------------------------------------
44 /** Means to set an error and cancel the operation.
46 const long ERROR = 0;
48 //-------------------------------------------------------------------------
49 /** Means to overwrite the object in the target folder with the object to
50 transfer.
52 const long OVERWRITE = 1;
54 //-------------------------------------------------------------------------
55 /** Means to rename the object to transfer to solve the clash.
57 <p>The implementation needs to supply and set a suitable new name.
59 const long RENAME = 2;
61 //-------------------------------------------------------------------------
62 /** Deprecated. Do not use!
64 @deprecated
66 const long KEEP = 3;
68 //-------------------------------------------------------------------------
69 /** Means to use a <type>NameClashResolveRequest</type> in order to solve
70 the name clash.
72 @see com::sun::star::task::XInteractionHandler
74 const long ASK = 4;
77 //=============================================================================
79 }; }; }; };
81 #endif