Link to home
Start Free TrialLog in
Avatar of HHG
HHG

asked on

exporting a file from the terminal in open office

Hi
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
ASKER CERTIFIED SOLUTION
Avatar of cyberkiwi
cyberkiwi
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HHG
HHG

ASKER

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.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi!

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