summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/document
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-10-30 11:06:18 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-10-31 12:03:30 +0100
commit1a9261124eed5baa04b069a1cb1b51f24423ec9b (patch)
tree1cb64575ef26bb2790e73b51371eff869f44cc13 /offapi/com/sun/star/document
parent1eb7a921641107cdd802e8bbc6117d6f303f73f5 (diff)
CMIS: added cancelCheckOut and checkIn implementations and menu items
Although the implementation is here, the dialogs to show when clicking on the menu items aren't there yet. Change-Id: I14886ec8ea8b97a35ca6c8474bc33e30da1a86d3
Diffstat (limited to 'offapi/com/sun/star/document')
-rw-r--r--offapi/com/sun/star/document/XCmisDocument.idl16
1 files changed, 16 insertions, 0 deletions
diff --git a/offapi/com/sun/star/document/XCmisDocument.idl b/offapi/com/sun/star/document/XCmisDocument.idl
index c456808071d9..fabd69f087a0 100644
--- a/offapi/com/sun/star/document/XCmisDocument.idl
+++ b/offapi/com/sun/star/document/XCmisDocument.idl
@@ -24,10 +24,26 @@ interface XCmisDocument : com::sun::star::uno::XInterface
*/
void checkOut( );
+ /** Cancel checked out document, this will discard all changes since
+ check-out.
+ */
+ void cancelCheckOut( );
+
+ /** Creates a new version of the document from the private working
+ copy.
+ */
+ void checkIn( [in] boolean isMajor, [in] string comment );
+
/** Tells whether a document can support versioning or not.
*/
boolean isVersionable( );
+ boolean canCheckOut( );
+
+ boolean canCancelCheckOut( );
+
+ boolean canCheckIn( );
+
/** Contains the properties values named after their CMIS ID.
*/
[attribute] com::sun::star::beans::PropertyValues CmisPropertiesValues;