comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Can IDL be used to generate microsoft word documents automatically?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Can IDL be used to generate microsoft word documents automatically? [message #66417] Mon, 11 May 2009 10:02
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
Reimar Bauer wrote:
> Dave schrieb:
>> Dear people:
>> Everyday, i have lots of word documents to produce, which have the
>> same forms but different text and image contents. Please tell me if
>> there are any ways to using IDL to generate word automatically? thanks
>> a lot.
>>
>> dave
>
> Hi Dace
>
> May be the easiest solution is to generate html and read that by word
> and create a word file from that. Or if you don't mind put it on a
> webserver.
>
> You may be interested in the html tools of our lib
>
> http://www.fz-juelich.de/icg/icg-1/idl_icglib/idl_source/idl _html/idl_work_idl_work.routines.category.htm#46
>
> cheers
> Reimar

Another way to generate HTML (or any other text based format) would be
to use templates:

http://michaelgalloy.com/2007/01/11/template-class.html
http://michaelgalloy.com/2007/02/12/report-generation-more-a bout-templates.html
http://michaelgalloy.com/2008/01/31/an-object-oriented-templ ate-class.html

Mike
--
www.michaelgalloy.com
Associate Research Scientist
Tech-X Corporation
Re: Can IDL be used to generate microsoft word documents automatically? [message #66424 is a reply to message #66417] Mon, 11 May 2009 07:43 Go to previous message
Norbert Hahn is currently offline  Norbert Hahn
Messages: 46
Registered: May 2003
Member
Reimar Bauer <R.Bauer@fz-juelich.de> wrote:

> Dave schrieb:
>> Dear people:
>> Everyday, i have lots of word documents to produce, which have the
>> same forms but different text and image contents. Please tell me if
>> there are any ways to using IDL to generate word automatically? thanks
>> a lot.
>>
>> dave
>
> Hi Dace
>
> May be the easiest solution is to generate html and read that by word
> and create a word file from that. Or if you don't mind put it on a
> webserver.

An alternative format is Rich Text Format (rtf) that supports close
control of page layout. A long time ago I used IDL to generate rtf
files from WordStar documents. I used Word to export a rtf prototype
to get the documents structure set.

Norbert
Re: Can IDL be used to generate microsoft word documents automatically? [message #66432 is a reply to message #66424] Mon, 11 May 2009 04:53 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Dave schrieb:
> Dear people:
> Everyday, i have lots of word documents to produce, which have the
> same forms but different text and image contents. Please tell me if
> there are any ways to using IDL to generate word automatically? thanks
> a lot.
>
> dave

Hi Dace

May be the easiest solution is to generate html and read that by word
and create a word file from that. Or if you don't mind put it on a
webserver.

You may be interested in the html tools of our lib

http://www.fz-juelich.de/icg/icg-1/idl_icglib/idl_source/idl _html/idl_work_idl_work.routines.category.htm#46

cheers
Reimar
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Questions about Time-control
Next Topic: Re: Reading * symbol out of a string

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:14:40 PDT 2025

Total time taken to generate the page: 0.00670 seconds