LibreOffice: com/sun/star/document/XCmisDocument.idl Source File

LibreOffice LibreOffice 7.3 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
12#include <com/sun/star/document/CmisProperty.idl>
13#include <com/sun/star/document/CmisVersion.idl>
14#include <com/sun/star/uno/XInterface.idl>
15
16module com { module sun { module star { module document {
17
21 interface XCmisDocument : com::sun::star::uno::XInterface
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: */
CmisProperty.idl
CmisVersion.idl
XInterface.idl
com::sun::star::document::XCmisDocument
The document can provide access to CMIS properties and versions through this interface.
Definition: XCmisDocument.idl:22
com::sun::star::document::XCmisDocument::canCheckOut
boolean canCheckOut()
com::sun::star::document::XCmisDocument::checkOut
void checkOut()
Check out the document into a private working copy on the server, and update the loaded document to r...
com::sun::star::document::XCmisDocument::checkIn
void checkIn([in] boolean isMajor, [in] string comment)
Creates a new version of the document from the private working copy.
com::sun::star::document::XCmisDocument::getAllVersions
sequence< com::sun::star::document::CmisVersion > getAllVersions()
com::sun::star::document::XCmisDocument::CmisProperties
sequence< com::sun::star::document::CmisProperty > CmisProperties
Contains the properties values named after their CMIS ID.
Definition: XCmisDocument.idl:54
com::sun::star::document::XCmisDocument::cancelCheckOut
void cancelCheckOut()
Cancel checked out document, this will discard all changes since check-out.
com::sun::star::document::XCmisDocument::canCheckIn
boolean canCheckIn()
com::sun::star::document::XCmisDocument::updateCmisProperties
void updateCmisProperties([in] sequence< com::sun::star::document::CmisProperty > cmisProperties)
com::sun::star::document::XCmisDocument::isVersionable
boolean isVersionable()
Tells whether a document can support versioning or not.
com::sun::star::document::XCmisDocument::canCancelCheckOut
boolean canCancelCheckOut()
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com
Definition: Accessible.idl:22