tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / offapi / com / sun / star / document / XCmisDocument.idl
blob476489aac6c80266a8403445f7e25a1f74b992dd
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 module com { module sun { module star { module document {
12 /** The document can provide access to CMIS properties and versions
13 through this interface.
15 interface XCmisDocument : com::sun::star::uno::XInterface
17 /** Check out the document into a private working copy on the
18 server, and update the loaded document to reflect this change.
20 void checkOut( );
22 /** Cancel checked out document, this will discard all changes since
23 check-out.
25 void cancelCheckOut( );
27 /** Creates a new version of the document from the private working
28 copy.
30 void checkIn( [in] boolean isMajor, [in] string comment );
32 /** Tells whether a document can support versioning or not.
34 boolean isVersionable( );
36 boolean canCheckOut( );
38 boolean canCancelCheckOut( );
40 boolean canCheckIn( );
42 void updateCmisProperties( [in] sequence <com::sun::star::document::CmisProperty> cmisProperties );
44 sequence <com::sun::star::document::CmisVersion> getAllVersions( );
46 /** Contains the properties values named after their CMIS ID.
48 [attribute] sequence <com::sun::star::document::CmisProperty> CmisProperties;
51 }; }; }; };
53 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */