Hi Drew, >> I think you should have access to the media type of the document >> definition object, which could tell you. >> > Media type - I'll look at that in the Developers Guide..
Hmm, seems I was wrong - the media type thing I remembered is a property of the storage, not of the document definition. So, next suggestion: The DocumentDefinition has a property PersistentName, which gives you the name of the storage where it is stored. The XDocumentSubStorageSupplier interface at the database document should then be able to give you a Storage object, which has the MediaType property. For SRB-reports, this would be "application/vnd.sun.xml.report" (well: for *dynamic* SRB-reports. Static SRB-reports, which will be available with the next extension version, will be ordinary text documents.) Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
