LibreOffice
LibreOffice 7.2 SDK API Reference
Public Member Functions | List of all members
XTransientDocumentsDocumentContentFactory Interface Reference

specifies a factory for com::sun::star::ucb::TransientDocumentsDocumentContents. More...

import"XTransientDocumentsDocumentContentFactory.idl";

Inheritance diagram for XTransientDocumentsDocumentContentFactory:
XInterface TransientDocumentsDocumentContentFactory

Public Member Functions

com::sun::star::ucb::XContent createDocumentContent ([in] com::sun::star::frame::XModel Model) raises ( com::sun::star::lang::IllegalArgumentException )
 creates a com::sun::star::ucb::TransientDocumentsDocumentContent based on a given com::sun::star::document::OfficeDocument. More...
 
- 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

specifies a factory for com::sun::star::ucb::TransientDocumentsDocumentContents.

Version
1.0
See also
com::sun::star::document::OfficeDocument
com::sun::star::ucb::TransientDocumentsDocumentContent
Since
OOo 2.0

Member Function Documentation

◆ createDocumentContent()

creates a com::sun::star::ucb::TransientDocumentsDocumentContent based on a given com::sun::star::document::OfficeDocument.

Parameters
Modelthe document model for that a com::sun::star::ucb::TransientDocumentsDocumentContent is requested. The model must be an implementation of service com::sun::star::document::OfficeDocument.
Returns
a document content based on the given document model. The content must be an implementation of service com::sun::star::ucb::TransientDocumentsDocumentContent.
Exceptions
com::sun::star::lang::IllegalArgumentExceptionif the document model cannot be associated with content for any reason.

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