On Thu, 27 Sep 2007 10:15:30 +0800
Jerry Tan <[EMAIL PROTECTED]> wrote:

> Is there a command line tool (in openoffice.org) to convert ms office 
> into plain text,
> just get its content, remove all its style informations.

soffice -help tells me this:

QUOTE:
-p <documents...>
      print the specified documents on the default printer.
-pt <printer> <documents...>
      print the specified documents on the specified printer.
END OF QUOTE

Therefore, I suspect that you could create a "virtual printer" that redirects
to a file on your hard drive, then do something like:

soffice -pt textprinter document1.doc document2.doc document3.doc

You could set up a script to run through a directory and print everything in
that directory to separate files, if you wish.

I haven't tried this but I don't see why it wouldn't work.


-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to