[imp] Fw: wordview again

Anil Madhavapeddy anil@recoil.org
Sun, 30 Sep 2001 00:26:22 +0100


On Thu, Sep 27, 2001 at 12:05:48AM -0400, Fabian Gervan wrote:
> Mensaje citado por Dominic Hulewicz <djh@intanet.com>:
> 
> > Quoting Andre Castanheira <aocastanheira@cariocaengenharia.com.br>:
> > > I can generate a html file from a doc one on command line, but I can't
> > > from imp.
> > > 
> > > my defaults.php3 :
> > > $default->path_to_mswordview             = '/usr/local/bin/wvWare -x
> > > /usr/local/
> > > share/wv/wvHtml.xml';    /* M$WordView */
> > > 
> > > Any ideas ??
> > 
> > I came across the same problem a while ago.
> > My fix to horde/lib/MIME/Viewer/msword.php is attached.
> > 
> 
> I patch my horde (imp 2.3.7) runing 'patch < diff.txt'
> Now when i click to view a word document, the new windows opended say:
> "Usage: /usr/local/bin/wvHtml Usage: /usr/local/bin/wvHtml "
> :(
> before apply the patch, the windows was opened without nothing.
> I am using wv-0.6.7

Probably because the patch is not correct (wvHtml takes two
arguments, not one).

I use imp-cvs with wv-0.6.5, and it works fine as is.  Make
sure you configure the location to use wvHtml and NOT wvWare
directly.

Anil