LibreOffice
LibreOffice 7.4 SDK API Reference
XCmisDocument.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  */
9 #ifndef __com_sun_star_document_XCmisDocument_idl__
10 #define __com_sun_star_document_XCmisDocument_idl__
11 
15 
16 module com { module sun { module star { module document {
17 
22 {
26  void checkOut( );
27 
31  void cancelCheckOut( );
32 
36  void checkIn( [in] boolean isMajor, [in] string comment );
37 
40  boolean isVersionable( );
41 
42  boolean canCheckOut( );
43 
44  boolean canCancelCheckOut( );
45 
46  boolean canCheckIn( );
47 
48  void updateCmisProperties( [in] sequence <com::sun::star::document::CmisProperty> cmisProperties );
49 
50  sequence <com::sun::star::document::CmisVersion> getAllVersions( );
51 
54  [attribute] sequence <com::sun::star::document::CmisProperty> CmisProperties;
55 };
56 
57 }; }; }; };
58 
59 #endif
60 
61 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
The document can provide access to CMIS properties and versions through this interface.
Definition: XCmisDocument.idl:22
void checkOut()
Check out the document into a private working copy on the server, and update the loaded document to r...
void checkIn([in] boolean isMajor, [in] string comment)
Creates a new version of the document from the private working copy.
sequence< com::sun::star::document::CmisProperty > CmisProperties
Contains the properties values named after their CMIS ID.
Definition: XCmisDocument.idl:54
void cancelCheckOut()
Cancel checked out document, this will discard all changes since check-out.
sequence< com::sun::star::document::CmisVersion > getAllVersions()
void updateCmisProperties([in] sequence< com::sun::star::document::CmisProperty > cmisProperties)
boolean isVersionable()
Tells whether a document can support versioning or not.
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22