alternative to MS word doc

M

mike

hi

i wish to create a doc using perl and i am using the Win32:OLE module
to do that. The thing is , i will need to have the MSword application
installed. Is there
any oher modules/ways i can create a text file from scratch and also
has the ability to include some gifs/jpeg images?
thanks.
 
A

A. Sinan Unur

(e-mail address removed) (mike) wrote in
i wish to create a doc using perl and i am using the Win32:OLE module
to do that. The thing is , i will need to have the MSword application
installed. Is there any oher modules/ways i can create a text file from
scratch and also has the ability to include some gifs/jpeg images?

Text files do not contain images.

What is your Perl question?

Sinan.
 
M

Matt Garrish

mike said:
hi

i wish to create a doc using perl and i am using the Win32:OLE module
to do that. The thing is , i will need to have the MSword application
installed. Is there
any oher modules/ways i can create a text file from scratch and also
has the ability to include some gifs/jpeg images?

That's a contradiction. Text files, by their very nature, are text files.

RTF files are usually a better option than proprietary MS Word files, if
only for portability. See www.cpan.org for modules.

Matt
 
M

Michele Dondi

i wish to create a doc using perl and i am using the Win32:OLE module
to do that. The thing is , i will need to have the MSword application
installed. Is there

Nothing to do _a priori_ with Perl, but do a favour to yourself and
use LaTeX[1] (or if you really prefer plain TeX or ConTeXt).


[1] The goodness of this answer _may_ depend on what kind of document
you really need to write.


Michele
 
J

Josef Moellers

mike said:
hi

i wish to create a doc using perl and i am using the Win32:OLE module
to do that. The thing is , i will need to have the MSword application
installed. Is there
any oher modules/ways i can create a text file from scratch and also
has the ability to include some gifs/jpeg images?
thanks.

If you can live with several files (text file and image file(s)), you
might want to consider html.
 
A

Alan J. Flavell

If you can live with several files (text file and image file(s)), you might
want to consider html.

OT, but by using the data: URI scheme, it's possible to include image
data in the same file as the HTML.

It's not particularly efficient, and not supported by all browsers,
but it's a possible compromise if the use of a single file is
important. See RFC2397.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,166
Messages
2,570,901
Members
47,442
Latest member
KevinLocki

Latest Threads

Top