summaryrefslogtreecommitdiffstats
path: root/offapi/com/sun/star/ucb/CheckinArgument.idl
blob: 08f6822a20d24a5a36110ee3dfda2a88f67372b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
#ifndef __com_sun_star_ucb_CheckinArgument_idl__
#define __com_sun_star_ucb_CheckinArgument_idl__



module com { module sun { module star { module ucb {

/** contains information needed to checkin a document.

    <p>The checkin command is always called on the target private
    working copy document.</p>
*/
struct CheckinArgument
{
    /** Tells whether to create a new major or minor version during the
        checkin.
    */
    boolean MajorVersion;

    /** Contains the version comment to set during the checkin.
    */
    string VersionComment;

    /** contains the URL of the source of the action (e.g. the URL of
        the temporary file to checkin).
    */
    string SourceURL;

    /** contains the URL of the private working copy to checkin.
    */
    string TargetURL;

    /** contains the title of the transferred object, if it is different
        from the original one.

        <p>If this field is filled, for example, a file will be renamed
        while it is being checked in.</p>
    */
    string NewTitle;

    /** contains the Mime-Type of the content to check-in as it may be
        different from the original one.
    */
    string MimeType;
};


}; }; }; };

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */