[imp] Excel and Word Attachments.

Rudy Setiawan hordeimp@ccom.net
Mon, 11 Feb 2002 12:35:14 -0800


MrJack,

Hmm you should be able to view the docs or xls...make sure the path to the 
programs below are correct. I have successfully installed the wvHtml but not 
tried with xls (since the display layout of xls in html is not that good).


Rudy

Quoting MrJacK <mrjack@fastorama.com>:

> Hello,
>  
> I have try to setup the possibility to open doc and xls documents
> directly from IMP.
> But when i click on the link it’s open me a little windows and front of
> this a dialog box where i have the possibility to open / save / cancel
> the document.
> What’s wrong ?
>  
> This is my horde/config/mimes_drivers.php file :
>  
> $mime_drivers['horde']['msword']['location'] = '/usr/bin/wvHtml';
> $mime_drivers['horde']['msword']['inline'] = true;
> $mime_drivers['horde']['msword']['handles'] = array(
>     'application/msword',
>     'text/rtf',
>     'x-extension/doc',
>     'x-extension/rtf');
> $mime_drivers['horde']['msword']['icons'] = array(
>     'default' => 'msword.gif');
>  
> $mime_drivers['horde']['msexcel']['location'] = '/usr/local/bin/xlhtml';
> $mime_drivers['horde']['msexcel']['inline'] = false;
> $mime_drivers['horde']['msexcel']['handles'] = array(
>     'application/vnd.ms-excel',
>     'application/msexcel',
>     'x-extension/xls');
> $mime_drivers['horde']['msexcel']['icons'] = array(
>     'default' => 'msexcel.gif');
>  
> Thanks for your help !
>  
> Regards,
>  
> Raphaël
>