:: com :: sun :: star :: frame ::

interface XTransientDocumentsDocumentContentIdentifierFactory

Methods' Summary
createDocumentContentIdentifier creates a com::sun::star::ucb::XContentIdentifier based on a given com::sun::star::document::OfficeDocument.  
Methods' Details
createDocumentContentIdentifier
::com::sun::star::ucb::XContentIdentifier
createDocumentContentIdentifier( [in] XModel  Model )
raises( ::com::sun::star::lang::IllegalArgumentException );

Description
creates a com::sun::star::ucb::XContentIdentifier based on a given com::sun::star::document::OfficeDocument.
Parameter Model
the document model for which a com::sun::star::ucb::XContentIdentifier is requested. The model must be an implementation of service com::sun::star::document::OfficeDocument.
Returns
a content identifier based on the given document model.
Throws
com::sun::star::lang::IllegalArgumentException if the document model cannot be associated with content for any reason.
Top of Page