diff options
author | Cao Cuong Ngo <cao.cuong.ngo@gmail.com> | 2013-09-12 15:27:37 +0200 |
---|---|---|
committer | Bosdonnat Cedric <cedric.bosdonnat@free.fr> | 2013-09-23 12:56:09 +0000 |
commit | b61970cfbe12722efd6218db6489980381b8783d (patch) | |
tree | fec47f16c02a2b3732561466c783a7e96b7c4a4e /offapi | |
parent | 0618b35ebda29b911058254cd34620e8b24ab8f7 (diff) |
Cmis Versions dialog
Change-Id: Ie863282062a6932a55543143e841917c54223ac9
Reviewed-on: https://gerrit.libreoffice.org/5925
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/UnoApi_offapi.mk | 1 | ||||
-rw-r--r-- | offapi/com/sun/star/document/CmisVersion.idl | 52 | ||||
-rw-r--r-- | offapi/com/sun/star/document/XCmisDocument.idl | 3 |
3 files changed, 56 insertions, 0 deletions
diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index be91841f83ad..c97bf4196caa 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -2160,6 +2160,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,offapi,com/sun/star/document,\ BrokenPackageRequest \ ChangedByOthersRequest \ CmisProperty \ + CmisVersion \ CorruptedFilterConfigurationException \ DocumentEvent \ EmptyUndoStackException \ diff --git a/offapi/com/sun/star/document/CmisVersion.idl b/offapi/com/sun/star/document/CmisVersion.idl new file mode 100644 index 000000000000..81712830a34a --- /dev/null +++ b/offapi/com/sun/star/document/CmisVersion.idl @@ -0,0 +1,52 @@ +/* -*- 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/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ +#ifndef __com_sun_star_document_CmisVersion_idl__ +#define __com_sun_star_document_CmisVersion_idl__ + +#include <com/sun/star/util/DateTime.idl> + +module com { module sun { module star { module document { + +/** specifies a CMIS document version. + */ +struct CmisVersion +{ + /** unique ID of the Cmis version + */ + string Id; + + /** specifies the time when the revision was created. + */ + util::DateTime TimeStamp; + + /** contains the author that created the version. + */ + string Author; + + /** contains the comment the author has left. + */ + string Comment; +}; + + +}; }; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/document/XCmisDocument.idl b/offapi/com/sun/star/document/XCmisDocument.idl index 4e34a0f9dbc4..0f6ef8f6e933 100644 --- a/offapi/com/sun/star/document/XCmisDocument.idl +++ b/offapi/com/sun/star/document/XCmisDocument.idl @@ -10,6 +10,7 @@ #define __com_sun_star_document_XCmisDocument_idl__ #include <com/sun/star/document/CmisProperty.idl> +#include <com/sun/star/document/CmisVersion.idl> #include <com/sun/star/uno/XInterface.idl> module com { module sun { module star { module document { @@ -46,6 +47,8 @@ interface XCmisDocument : com::sun::star::uno::XInterface void updateCmisProperties( [in] sequence <com::sun::star::document::CmisProperty> cmisProperties ); + sequence <com::sun::star::document::CmisVersion> getAllVersions( ); + /** Contains the properties values named after their CMIS ID. */ [attribute] sequence <com::sun::star::document::CmisProperty> CmisProperties; |