AW: HTML Form data into Word Document
by Dietmar Fiehn other posts by this author
Sep 28 2004 2:21AM messages near this date
view in the new Beta List Site
RE: why doesn't this work?
|
Re: why doesn't this work?
> Save your word document as a web archive which is essentially
> the same as
> the html but with the images in embedded binary.
Which versions of word support this feature? I have Office 2000 and it seems to be not there
.
Dietmar
> To view the
> word xml open
> the document with wordpad. Change the document extension to
> ".doc" with your
> changes, then allow the user to download.
>
> If you have a Windows host you may be able to use WIN32::OLE
> http://pics.palace-designs.com/perldocs/faq/Windows/ActivePerl
> -Winfaq12.html
> http://aspn.activestate.com/ASPN/Perl/Products/ActivePerl/site
> /lib/Win32/OLE.html
>
> ----- Original Message -----
> From: "Dietmar Fiehn, Dr." <df@[...].de>
> To: <perl-win32-users@[...].com>
> Sent: Monday, September 27, 2004 12:12 AM
> Subject: AW: HTML Form data into Word Document
>
>
> > > Save you word document as an html page and it will retain all
> > > your settings
> > > in word xml.
> > > Update the xml with your changes, then allow the user to
> download the
> > > document with a ".doc" extension.
> >
> > Hi Daniel,
> > this was a interesting tip for me, too. I testet this and
> found a folder
> > containing the images in the word document, so downloading only the
> > html-file won't work. You need to build a zip containing
> the htm and the
> > corresponding image-folder.
> >
> > Does anyone has a more 'perlish' way to replace some fields in a
> > word-document? Maybe we can extend this thread to other
> document formats
> > usable for this problem (pdf, ps)?
> >
> > Dietmar
> >
> > > ----- Original Message -----
> > > From: <david.effa@[...].com>
> > > To: "perl-win32-users" <perl-win32-users@[...].com>
> > > Sent: Thursday, September 23, 2004 11:46 AM
> > > Subject: HTML Form data into Word Document
> > >
> > >
> > > > Hi,
> > > >
> > > > I have a Word template on a web server. I also have a HTML
> > > form. This
> > > > form has some required fields and when the users has
> filled all the
> > > > required fields and any other parts that he wishes to and
> > > clicks a button.
> > > >
> > > > The application needs to take the data from html form and
> > > insert it in
> > > > the Word template (at predefined locations) and then
> serve the Word
> > > > document across to the client's browser. Then the user can
> > > save it to
> > > > their hard drive and modify it later.
> > > >
> > > > Has anyone have any ideas how to do this?
> > > >
> > > > Regards,
> > > >
> > > > David
> > > > > _______________________________________________
> > > > Perl-Win32-Users mailing list
> > > > Perl-Win32-Users@[...].com
> > > > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> > > >
> > > _______________________________________________
> > > Perl-Win32-Users mailing list
> > > Perl-Win32-Users@[...].com
> > > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> > >
> >
> > _______________________________________________
> > Perl-Win32-Users mailing list
> > Perl-Win32-Users@[...].com
> > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> >
>
_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
|