exporting a file from the terminal in open office

I have many files (word, excel, power-point,  ODF, PDF, CSV...etc) that i would like to convert to text format, does open office have an option to open and export the files directly from the terminal?

I am using Ubuntu Linux with bundled release of openOffice.org
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
HHGAuthor Commented:
Dear Cyberkiwi
I want to use the export feature through an external application to convert many files everyday, it is not feasible to do a macro each time or to do it manually, i want to automate the process by using external command.
Hi there,

The macro is saved in your standard personal template, like Word using Normal.dot for the global default.  It is available to any document you open in OOo.

The command line starts OOo, calling the global macro with a file name. It then proceeds to load the file, auto-discover type, save to other type (and name), close OOo.

You might use OO:

"Also, you can convert from the command line by using a short macro. From the command line you launch the office exe file with a parameter. The parameter is a url. The url is specially formed such that it activates a short macro that you would have previously stored into the office. The url includes a parameter which points to the document you wish to convert. The macro gets this parameter, opens the source document, saves it in the new target format. "

Ref: http://www.oooforum.org/forum/viewtopic.phtml?t=7242

Look in that thread, there are many links to text-convert tips.

Another solution might be to use separate programs for each of the files types you want to convert. Check SourceForge.net for projects that might work.

Regards, Tobias
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.