|
FORUMS PROFESSIONNELS WINDEV, WEBDEV et WINDEV Mobile |
| | | | | |
ouverture d'un document word |
Débuté par Belinda Berthe, 05 sep. 2005 04:11 - 1 réponse |
| |
| | | |
|
| |
Posté le 05 septembre 2005 - 04:11 |
Bonjour, Quel est le mime à passer pour l'ouverture des documents word (doc) ? Ceci concerne le clic serveur sur webdev 7. Merci pour l'attention. |
| |
| |
| | | |
|
| | |
| |
Posté le 05 septembre 2005 - 10:26 |
Le 05/09/2005, Belinda Berthe a supposé :
Bonjour, Quel est le mime à passer pour l'ouverture des documents word (doc) ? Ceci concerne le clic serveur sur webdev 7. Merci pour l'attention.
soit la procédure suivante pour récupérer le type Mime d'après l'extension.
PROCEDURE Rtv_TypeMime(pExtension="") retMIME est chaîne="" SELON pExtension CAS "dwg" : retMIME="application/acad" //Fichiers AutoCAD (d'après NCSA) // CAS "asd","asn" : retMIME="application/astound" //Fichiers Astound CAS "tsp" : retMIME="application/dsptype" //Fichiers TSP CAS "dxf" : retMIME="application/dxf" //Fichiers AutoCAD (d'après CERN) CAS "spl" : retMIME="application/futuresplash" //Fichiers Flash Futuresplash CAS "gz" : retMIME="application/gzip" //Fichiers GNU Zip CAS "ptlk" : retMIME="application/listenup" //Fichiers Listenup CAS "hqx" : retMIME="application/mac-binhex40" //Fichiers binaires Macintosh CAS "mbd" : retMIME="application/mbedlet" //Fichiers Mbedlet CAS "mif" : retMIME="application/mif" //Fichiers FrameMaker Interchange Format CAS "xls","xla" : retMIME="application/msexcel" //Fichiers Microsoft Excel CAS "hlp","chm" : retMIME="application/mshelp" //Fichiers d'aide Microsoft Windows CAS "ppt","ppz","pps","pot" : retMIME="application/mspowerpoint" //Fichiers Microsoft Powerpoint CAS "doc","dot" : retMIME="application/msword" //Fichiers Microsoft Word CAS "bin","exe","com","dll","class" : retMIME="application/octet-stream" //Fichiers exécutables CAS "oda" : retMIME="application/oda" //Fichiers Oda CAS "pdf" : retMIME="application/pdf" //Fichiers Adobe PDF CAS "ai","eps","ps" : retMIME="application/postscript" //Fichiers Adobe Postscript CAS "rtc" : retMIME="application/rtc" //Fichiers RTC CAS "rtf" : retMIME="application/rtf" //Fichiers Microsoft RTF CAS "smp" : retMIME="application/studiom" //Fichiers Studiom CAS "tbk" : retMIME="application/toolbook" //Fichiers Toolbook CAS "vmd" : retMIME="application/vocaltec-media-desc" //Fichiers Vocaltec Mediadesc CAS "vmf" : retMIME="application/vocaltec-media-file" //Fichiers Vocaltec Media CAS "bcpio" : retMIME="application/x-bcpio" //Fichiers BCPIO CAS "z" : retMIME="application/x-compress" //Fichiers - CAS "cpio" : retMIME="application/x-cpio" //Fichiers CPIO CAS "csh" : retMIME="application/x-csh" //Fichiers C-Shellscript CAS "dcr","dir","dxr" : retMIME="application/x-director" //Fichiers - CAS "dvi" : retMIME="application/x-dvi" //Fichiers DVI CAS "evy" : retMIME="application/x-envoy" //Fichiers Envoy CAS "gtar" : retMIME="application/x-gtar" //Fichiers archives GNU tar CAS "hdf" : retMIME="application/x-hdf" //Fichiers HDF CAS "php","phtml" : retMIME="application/x-httpd-php" //Fichiers PHP CAS "js" : retMIME="application/x-javascript" //Fichiers JavaScript côté serveur CAS "latex" : retMIME="application/x-latex" //Fichiers source Latex CAS "bin" : retMIME="application/x-macbinary" //Fichiers binaires Macintosh CAS "mif" : retMIME="application/x-mif" //Fichiers FrameMaker Interchange Format CAS "nc","cdf" : retMIME="application/x-netcdf" //Fichiers Unidata CDF CAS "nsc" : retMIME="application/x-nschat" //Fichiers NS Chat CAS "sh" : retMIME="application/x-sh" //Fichiers Bourne Shellscript CAS "shar" : retMIME="application/x-shar" //Fichiers atchives Shell CAS "swf","cab" : retMIME="application/x-shockwave-flash" //Fichiers Flash Shockwave CAS "spr","sprite" : retMIME="application/x-sprite" //Fichiers Sprite CAS "sit" : retMIME="application/x-stuffit" //Fichiers Stuffit CAS "sca" : retMIME="application/x-supercard" //Fichiers Supercard CAS "sv4cpio" : retMIME="application/x-sv4cpio" //Fichiers CPIO CAS "sv4crc" : retMIME="application/x-sv4crc" //Fichiers CPIO avec CRC CAS "tar" : retMIME="application/x-tar" //Fichiers archives tar CAS "tcl" : retMIME="application/x-tcl" //Fichiers script TCL CAS "tex" : retMIME="application/x-tex" //Fichiers TEX CAS "texinfo","texi" : retMIME="application/x-texinfo" //Fichiers TEXinfo CAS "t","tr","roff" : retMIME="application/x-troff" //Fichiers TROFF (Unix) CAS "man","troff" : retMIME="application/x-troff-man" //Fichiers TROFF avec macros MAN (Unix) CAS "me","troff" : retMIME="application/x-troff-me" //Fichiers TROFF avec macros ME (Unix) CAS "me","troff" : retMIME="application/x-troff-ms" //Fichiers TROFF avec macros MS (Unix) CAS "ustar" : retMIME="application/x-ustar" //Fichiers archives tar (Posix) CAS "src" : retMIME="application/x-wais-source" //Fichiers source WAIS // CAS " : retMIME="application/x-www-form-urlencoded" //Données de formulaire HTML à CGI CAS "zip" : retMIME="application/zip" //Fichiers archives ZIP CAS "au","snd" : retMIME="audio/basic" //Fichiers son CAS "es" : retMIME="audio/echospeech" //Fichiers Echospeed CAS "tsi" : retMIME="audio/tsplayer" //Fichiers TS-Player CAS "vox" : retMIME="audio/voxware" //Fichiers Vox CAS "aif","aiff","aifc" : retMIME="audio/x-aiff" //Fichiers son AIFF CAS "dus","cht" : retMIME="audio/x-dspeeh" //Fichiers parole CAS "mid","midi" : retMIME="audio/x-midi" //Fichiers MIDI CAS "mp2" : retMIME="audio/x-mpeg" //Fichiers MPEG CAS "ram","ra" : retMIME="audio/x-pn-realaudio" //Fichiers RealAudio CAS "rpm" : retMIME="audio/x-pn-realaudio-plugin" //Fichiers plugin RealAudio CAS "stream" : retMIME="audio/x-qt-stream" //Fichiers - CAS "wav" : retMIME="audio/x-wav" //Fichiers Wav CAS "dwf" : retMIME="drawing/x-dwf" //Fichiers Drawing CAS "cod" : retMIME="image/cis-cod" //Fichiers CIS-Cod CAS "ras" : retMIME="image/cmu-raster" //Fichiers CMU-Raster CAS "fif" : retMIME="image/fif" //Fichiers FIF CAS "gif" : retMIME="image/gif" //Fichiers GIF CAS "ief" : retMIME="image/ief" //Fichiers IEF CAS "jpeg","jpg","jpe" : retMIME="image/jpeg" //Fichiers JPEG CAS "tiff","tif" : retMIME="image/tiff" //Fichiers TIFF CAS "mcf" : retMIME="image/vasa" //Fichiers Vasa CAS "wbmp" : retMIME="image/vnd.wap.wbmp" //Fichiers Bitmap (WAP) CAS "fh4","fh5","fhc" : retMIME="image/x-freehand" //Fichiers Freehand CAS "pnm" : retMIME="image/x-portable-anymap" //Fichiers PBM Anymap CAS "pbm" : retMIME="image/x-portable-bitmap" //Fichiers Bitmap PBM CAS "pgm" : retMIME="image/x-portable-graymap" //Fichiers PBM Graymap CAS "ppm" : retMIME="image/x-portable-pixmap" //Fichiers PBM Pixmap CAS "rgb" : retMIME="image/x-rgb" //Fichiers RGB CAS "xwd" : retMIME="image/x-windowdump" //X-Windows Dump CAS "xbm" : retMIME="image/x-xbitmap" //Fichiers XBM CAS "xpm" : retMIME="image/x-xpixmap" //Fichiers XPM // CAS " : retMIME="message/external-body" //Nouvelle avec contenu externe // CAS " : retMIME="message/http" //Nouvelle à entête HTTP // CAS " : retMIME="message/news" //Nouvelle de Newsgroup // CAS " : retMIME="message/partial" //Nouvelle avec contenu partiel // CAS " : retMIME="message/rfc822" //Nouvelle d'après RFC 1822 CAS "wrl" : retMIME="model/vrml" //Visualisation de mondes virtuels // CAS " : retMIME="multipart/alternative" //Données composites mélangées // CAS " : retMIME="multipart/byteranges" //Données composites avec mentions d'octets // CAS " : retMIME="multipart/digest" //Données composites / choix // CAS " : retMIME="multipart/encrypted" //Données composites cryptées // CAS " : retMIME="multipart/form-data" //Données composites de formulaire HTML (par exemple fichier à transmettre) // CAS " : retMIME="multipart/mixed" //Données composites mélangées // CAS " : retMIME="multipart/parallel" //Données composites parallèles // CAS " : retMIME="multipart/related" //Données composites / liées // CAS " : retMIME="multipart/report" //Données composites / rapport // CAS " : retMIME="multipart/signed" //Données composites / signées // CAS " : retMIME="multipart/voice-message" //Données composites / message vocal CAS "csv" : retMIME="text/comma-separated-values" //Fichiers de données séparées par des virgules CAS "css" : retMIME="text/css" //Fichiers de feuilles de style CSS CAS "htm","html","shtml" : retMIME="text/html" //Fichiers - CAS "js" : retMIME="text/javascript" //Fichiers JavaScript CAS "txt" : retMIME="text/plain" //Fichiers pur texte CAS "rtx" : retMIME="text/richtext" //Fichiers texte enrichi (Richtext) CAS "rtf" : retMIME="text/rtf" //Fichiers Microsoft RTF CAS "tsv" : retMIME="text/tab-separated-values" //Fichiers de données séparées par des tabulations CAS "wml" : retMIME="text/vnd.wap.wml" //Fichiers WML (WAP) CAS "wmlc" : retMIME="application/vnd.wap.wmlc" //Fichiers WMLC (WAP) CAS "wmls" : retMIME="text/vnd.wap.wmlscript" //Fichiers script WML (WAP) CAS "wmlsc" : retMIME="application/vnd.wap.wmlscriptc" //Fichiers script C WML (WAP) // CAS " : retMIME="text/xml-external-parsed-entity" //Fichiers XML à l'analyse syntaxique externe CAS "etx" : retMIME="text/x-setext" //Fichiers SeText CAS "sgm","sgml" : retMIME="text/x-sgml" //Fichiers SGML CAS "talk","spc" : retMIME="text/x-speech" //Fichiers Speech CAS "mpeg","mpg","mpe" : retMIME="video/mpeg" //Fichiers MPEG CAS "qt","mov" : retMIME="video/quicktime" //Fichiers Quicktime CAS "viv","vivo" : retMIME="video/vnd.vivo" //Fichiers Vivo CAS "avi" : retMIME="video/x-msvideo" //Fichiers Microsoft AVI CAS "movie" : retMIME="video/x-sgi-movie" //Fichiers Movie CAS "vts","vtts" : retMIME="workbook/formulaone" //Fichiers FormulaOne CAS "3dmf","3dm","qd3d","qd3" : retMIME="x-world/x-3dmf" //3Fichiers DMF CAS "wrl" : retMIME="x-world/x-vrml" //Fichiers VRML AUTRE CAS : retMIME = "application/unknown" FIN // fin selon pExtension
RENVOYER retMIME
-- Eric Webmaster des Wtablettes www.wtablettes.net |
| |
| |
| | | |
|
| | | | |
| | |
| | |
| |
|
|
|