diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-10-17 09:41:52 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-10-31 12:03:29 +0100 |
commit | 75bc673b60d3eb40713868ce3d1b4f62dd6e1208 (patch) | |
tree | d377d1454c0dde448869a7c581c011862d3b555e /offapi | |
parent | CMIS urls: remove +atom in the internal URLS as the binding is guessed (diff) | |
download | core-75bc673b60d3eb40713868ce3d1b4f62dd6e1208.tar.gz core-75bc673b60d3eb40713868ce3d1b4f62dd6e1208.zip |
Travelled MIME type through UCB for CMIS UCP to use it when creating documents
Change-Id: Id067932355607d3d60994862201b531f9844506d
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/UnoApi_offapi.mk | 3 | ||||
-rw-r--r-- | offapi/com/sun/star/ucb/GlobalTransferCommandArgument2.idl | 32 | ||||
-rw-r--r-- | offapi/com/sun/star/ucb/InsertCommandArgument2.idl | 31 | ||||
-rw-r--r-- | offapi/com/sun/star/ucb/TransferInfo2.idl | 31 |
4 files changed, 97 insertions, 0 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index f573d5ba2966..d5a65a3c9184 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -3801,10 +3801,12 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,offapi/com/sun/star/ucb,\ FolderListCommand \ FolderListEntry \ GlobalTransferCommandArgument \ + GlobalTransferCommandArgument2 \ HandleCookiesRequest \ IOErrorCode \ IllegalIdentifierException \ InsertCommandArgument \ + InsertCommandArgument2 \ InteractiveAppException \ InteractiveAugmentedIOException \ InteractiveBadTransferURLException \ @@ -3870,6 +3872,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,offapi/com/sun/star/ucb,\ SynchronizePolicy \ TransferCommandOperation \ TransferInfo \ + TransferInfo2 \ TransferResult \ URLAuthenticationRequest \ UnsupportedCommandException \ diff --git a/offapi/com/sun/star/ucb/GlobalTransferCommandArgument2.idl b/offapi/com/sun/star/ucb/GlobalTransferCommandArgument2.idl new file mode 100644 index 000000000000..7169ba9afbf2 --- /dev/null +++ b/offapi/com/sun/star/ucb/GlobalTransferCommandArgument2.idl @@ -0,0 +1,32 @@ +/* -*- 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_GlobalTransferCommandArgument2_idl__ +#define __com_sun_star_ucb_GlobalTransferCommandArgument2_idl__ + +#include <com/sun/star/ucb/GlobalTransferCommandArgument.idl> + + +module com { module sun { module star { module ucb { + +/** This struct extends the one for transfers arguments by adding a Mime + type property to it. + */ +struct GlobalTransferCommandArgument2 : GlobalTransferCommandArgument +{ + /** contains the MIME type of the source object. + */ + string MimeType; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/ucb/InsertCommandArgument2.idl b/offapi/com/sun/star/ucb/InsertCommandArgument2.idl new file mode 100644 index 000000000000..510554327a78 --- /dev/null +++ b/offapi/com/sun/star/ucb/InsertCommandArgument2.idl @@ -0,0 +1,31 @@ +/* -*- 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_InsertCommandArgument2_idl__ +#define __com_sun_star_ucb_InsertCommandArgument2_idl__ + +#include <com/sun/star/ucb/InsertCommandArgument.idl> + + +module com { module sun { module star { module ucb { + +/** The argument for the command "insert" augmented with some properties +*/ +struct InsertCommandArgument2 : InsertCommandArgument +{ + /** contains the MIME type of the document to insert + */ + string MimeType; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/ucb/TransferInfo2.idl b/offapi/com/sun/star/ucb/TransferInfo2.idl new file mode 100644 index 000000000000..c7bcef22daca --- /dev/null +++ b/offapi/com/sun/star/ucb/TransferInfo2.idl @@ -0,0 +1,31 @@ +/* -*- 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_TransferInfo2_idl__ +#define __com_sun_star_ucb_TransferInfo2_idl__ + +#include <com/sun/star/ucb/TransferInfo.idl> + +module com { module sun { module star { module ucb { + +/** extends TransferInfo structure to give some additional parameters + for transfers. + */ +struct TransferInfo2 : TransferInfo +{ + /** contains the MIME type of the source of the action + */ + string MimeType; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |