Main Page | Report this Page
 
Computers Forum Index  »  Computer Languages (Perl - Modules)  »  about doc module...
Page 1 of 1    

about doc module...

Author Message
liveupto...
Posted: Sat Oct 10, 2009 6:16 am
Guest
hi all,
Are there any module for creating a doc file under linux poatform.
thanks very much!
 
Tad J McClellan...
Posted: Sat Oct 10, 2009 6:42 pm
Guest
liveupto <liveuptogood at (no spam) gmail.com> wrote:

Quote:
Are there any module for creating a doc file under linux poatform.


What is a "doc file"?


--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"
 
Sherm Pendley...
Posted: Sat Oct 10, 2009 7:46 pm
Guest
Tad J McClellan <tadmc at (no spam) seesig.invalid> writes:

Quote:
liveupto <liveuptogood at (no spam) gmail.com> wrote:

Are there any module for creating a doc file under linux poatform.

What is a "doc file"?

It seems reasonable to assume a .doc, i.e. MS Word file, IMHO. Which
makes it a fair question; the only modules I could find were in the Win32
name space, and used OLE to "drive" a copy of Word. That's not doable
on Linux.

If the OP's Perl app is to run on Linux, it'd probably be easier to use
RTF output. Word can read that, and on most PCs that have it installed
it will probably be the default editor for .rtf files, so end users will
see the Word icon. IIRC, filename extensions are hidden by default on
Windows, so most users won't even notice a difference.

sherm--
 
J黵gen Exner...
Posted: Sat Oct 10, 2009 8:41 pm
Guest
Sherm Pendley <spamtrap at (no spam) shermpendley.com> wrote:
Quote:
Tad J McClellan <tadmc at (no spam) seesig.invalid> writes:
liveupto <liveuptogood at (no spam) gmail.com> wrote:
Are there any module for creating a doc file under linux poatform.

What is a "doc file"?

It seems reasonable to assume a .doc, i.e. MS Word file, IMHO. Which
makes it a fair question;

True, but that format has changed a dozen times over the years. So which
one is he talking about?

Which also begs the question why to OP wants to create a DOC file
instead of DOCX format in the first place, considering that DOCX has
been around for a few years by now and also is an open format with a
published spec while AFAIK all DOC formats are unpublished and only
accessible via reverse engineering.
[...]

Quote:
If the OP's Perl app is to run on Linux, it'd probably be easier to use
RTF output. Word can read that, and on most PCs that have it installed
it will probably be the default editor for .rtf files, so end users will
see the Word icon. IIRC, filename extensions are hidden by default on
Windows, so most users won't even notice a difference.

Depends upon what the OP wants to do with that file and what the users
are supposed to do with that file. RTF is significantly poorer, so it
might not be sufficient for e.g. templates for editing.

What really surprises me is that apparently there are no DOCX-related
modules on CPAN, although as I mentioned it is an open format. So maybe
your advise with RTF is the best after all.
Or HTML or PDF, depending upon the purpose of those files.

jue
 
David Harmon...
Posted: Sun Oct 11, 2009 5:17 am
Guest
On Sat, 10 Oct 2009 11:46:23 -0400 in comp.lang.perl.modules, Sherm
Pendley <spamtrap at (no spam) shermpendley.com> wrote,
Quote:
If the OP's Perl app is to run on Linux, it'd probably be easier to use
RTF output. Word can read that, and on most PCs that have it installed
it will probably be the default editor for .rtf files, so end users will
see the Word icon. IIRC, filename extensions are hidden by default on
Windows, so most users won't even notice a difference.

If you save a RTF file with a .doc extension, Word will figure it out.
Unfortunately, RTF::Writer is only a little bit more helpful than printf
for creating RTF files.
 
Eric Pozharski...
Posted: Sun Oct 11, 2009 2:28 pm
Guest
On 2009-10-10, Sherm Pendley <spamtrap at (no spam) shermpendley.com> wrote:
Quote:
Tad J McClellan <tadmc at (no spam) seesig.invalid> writes:

liveupto <liveuptogood at (no spam) gmail.com> wrote:

Are there any module for creating a doc file under linux poatform.

What is a "doc file"?

It seems reasonable to assume a .doc, i.e. MS Word file, IMHO. Which
makes it a fair question; the only modules I could find were in the Win32
name space, and used OLE to "drive" a copy of Word. That's not doable
on Linux.

There's interface on OO.org too. Hopefully, that could make such
perverncies.

Quote:
If the OP's Perl app is to run on Linux, it'd probably be easier to use
RTF output. Word can read that, and on most PCs that have it installed
it will probably be the default editor for .rtf files, so end users will
see the Word icon. IIRC, filename extensions are hidden by default on
Windows, so most users won't even notice a difference.

A trick off LaTeX world: convert F<.tex> file into F<.html> (that's
doable to some degree and I haven't any success with that aproach
either); then rename F<.html> to F<.doc> -- guys of GUI world won't see
any difference. (Just skip exporting F<.tex> into F<.html>; write
F<.html> from the begining.)


--
Torvalds' goal for Linux is very simple: World Domination
Stallman's goal for GNU is even simpler: Freedom
 
liveupto...
Posted: Mon Oct 12, 2009 2:09 am
Guest
On 10月11日, 下午6时28分, Eric Pozharski <why... at (no spam) pozharski.name> wrote:
Quote:
On 2009-10-10, Sherm Pendley <spamt... at (no spam) shermpendley.com> wrote:

Tad J McClellan <ta... at (no spam) seesig.invalid> writes:

liveupto <liveuptog... at (no spam) gmail.com> wrote:

Are there any module for creating a doc file under linux poatform.

What is a "doc file"?

It seems reasonable to assume a .doc, i.e. MS Word file, IMHO. Which
makes it a fair question; the only modules I could find were in the Win32
name space, and used OLE to "drive" a copy of Word. That's not doable
on Linux.

There's interface on OO.org too. Hopefully, that could make such
perverncies.

If the OP's Perl app is to run on Linux, it'd probably be easier to use
RTF output. Word can read that, and on most PCs that have it installed
it will probably be the default editor for .rtf files, so end users will
see the Word icon. IIRC, filename extensions are hidden by default on
Windows, so most users won't even notice a difference.

A trick off LaTeX world: convert F<.tex> file into F<.html> (that's
doable to some degree and I haven't any success with that aproach
either); then rename F<.html> to F<.doc> -- guys of GUI world won't see
any difference. (Just skip exporting F<.tex> into F<.html>; write
F<.html> from the begining.)

--
Torvalds' goal for Linux is very simple: World Domination
Stallman's goal for GNU is even simpler: Freedom

Thank you all very much! thank you !
 
 
Page 1 of 1    
All times are GMT
The time now is Sun Nov 22, 2009 5:42 am