LibreOffice
LibreOffice 24.2 SDK API Reference
|
specifies a factory for com::sun::star::ucb::TransientDocumentsDocumentContents. More...
import"XTransientDocumentsDocumentContentFactory.idl";
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... | |
specifies a factory for com::sun::star::ucb::TransientDocumentsDocumentContents.
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.
Model | the 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. |
com::sun::star::lang::IllegalArgumentException | if the document model cannot be associated with content for any reason. |