LibreOffice LibreOffice 24.2 SDK API Reference

Loading...
Searching...
No Matches
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
10module com { module sun { module star { module document {
11
15 interface XCmisDocument : com::sun::star::uno::XInterface
16{
20 void checkOut( );
21
25 void cancelCheckOut( );
26
30 void checkIn( [in] boolean isMajor, [in] string comment );
31
34 boolean isVersionable( );
35
36 boolean canCheckOut( );
37
38 boolean canCancelCheckOut( );
39
40 boolean canCheckIn( );
41
42 void updateCmisProperties( [in] sequence <com::sun::star::document::CmisProperty> cmisProperties );
43
44 sequence <com::sun::star::document::CmisVersion> getAllVersions( );
45
48 [attribute] sequence <com::sun::star::document::CmisProperty> CmisProperties;
49};
50
51}; }; }; };
52
53/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::document::XCmisDocument
The document can provide access to CMIS properties and versions through this interface.
Definition XCmisDocument.idl:16
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:48
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:46
com
Definition Ambiguous.idl:20