Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / ucb / GlobalTransferCommandArgument.idl
blobe7b2125a4322bbb7253afcb2de2e893a2cb0c238
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_ucb_GlobalTransferCommandArgument_idl__
20 #define __com_sun_star_ucb_GlobalTransferCommandArgument_idl__
22 #include <com/sun/star/ucb/TransferCommandOperation.idl>
25 module com { module sun { module star { module ucb {
27 /** This struct contains information needed to transfer objects from one
28 location to another.
30 published struct GlobalTransferCommandArgument
32 /** contains the action to perform ( COPY, MOVE, LINK ).
34 TransferCommandOperation Operation;
36 /** contains the URL of the source object.
38 string SourceURL;
40 /** contains the URL of the target folder.
42 string TargetURL;
44 /** contains the title of the transferred object, if it is different
45 from the original one.
47 <p>If this field is filled, for example, a file will be renamed
48 while it is being transferred.
50 string NewTitle;
52 /** describes how to act in case of title clashes while transferring
53 the data.
55 <p>A title clash for instance occurs, if a file named "foo.txt" is
56 to be transferred to a folder already containing another file named
57 "foo.txt". Refer to NameClash for possible values for
58 this field.
60 long NameClash;
64 }; }; }; };
66 #endif
68 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */