LibreOffice
LibreOffice 6.2 SDK API Reference
Public Member Functions | Public Attributes | List of all members
XCmisDocument Interface Reference

The document can provide access to CMIS properties and versions through this interface. More...

import"XCmisDocument.idl";

Inheritance diagram for XCmisDocument:
XInterface

Public Member Functions

void checkOut ()
 Check out the document into a private working copy on the server, and update the loaded document to reflect this change. More...
 
void cancelCheckOut ()
 Cancel checked out document, this will discard all changes since check-out. More...
 
void checkIn ([in] boolean isMajor, [in] string comment)
 Creates a new version of the document from the private working copy. More...
 
boolean isVersionable ()
 Tells whether a document can support versioning or not. More...
 
boolean canCheckOut ()
 
boolean canCancelCheckOut ()
 
boolean canCheckIn ()
 
void updateCmisProperties ([in] sequence< com::sun::star::document::CmisProperty > cmisProperties)
 
sequence< com::sun::star::document::CmisVersiongetAllVersions ()
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Public Attributes

sequence< com::sun::star::document::CmisPropertyCmisProperties
 Contains the properties values named after their CMIS ID. More...
 

Detailed Description

The document can provide access to CMIS properties and versions through this interface.

Member Function Documentation

boolean canCancelCheckOut ( )
void cancelCheckOut ( )

Cancel checked out document, this will discard all changes since check-out.

boolean canCheckIn ( )
boolean canCheckOut ( )
void checkIn ( [in] boolean  isMajor,
[in] string  comment 
)

Creates a new version of the document from the private working copy.

void checkOut ( )

Check out the document into a private working copy on the server, and update the loaded document to reflect this change.

sequence<com::sun::star::document::CmisVersion> getAllVersions ( )
boolean isVersionable ( )

Tells whether a document can support versioning or not.

void updateCmisProperties ( [in] sequence< com::sun::star::document::CmisProperty cmisProperties)

Member Data Documentation

sequence<com::sun::star::document::CmisProperty> CmisProperties
attribute

Contains the properties values named after their CMIS ID.


The documentation for this interface was generated from the following file: