LibreOffice
LibreOffice 6.4 SDK API Reference
Public Types | Public Member Functions | 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 Types

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

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...
 

Detailed Description

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

Member Typedef Documentation

◆ CmisProperties

Contains the properties values named after their CMIS ID.

Member Function Documentation

◆ canCancelCheckOut()

boolean canCancelCheckOut ( )

◆ cancelCheckOut()

void cancelCheckOut ( )

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

◆ canCheckIn()

boolean canCheckIn ( )

◆ canCheckOut()

boolean canCheckOut ( )

◆ checkIn()

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

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

◆ checkOut()

void checkOut ( )

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

◆ getAllVersions()

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

◆ isVersionable()

boolean isVersionable ( )

Tells whether a document can support versioning or not.

◆ updateCmisProperties()

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

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