[Solved] How to convert without LO or OO installation

Discuss setup / installation issues - Add a spell checker, Language pack?

[Solved] How to convert without LO or OO installation

Postby heo.geoyeo » Mon May 14, 2018 4:11 am

Hi.
I tried to convert doc, xls file to odt, ods and it is successful in my java application with LO \program\classes\*.jar file and LO installation.
But, I would like to ask it is possible to convert file without LO or OO installation only using jar files.
Is there any way to convert file only using jar files?
Last edited by heo.geoyeo on Tue May 15, 2018 2:28 am, edited 2 times in total.
OpenOffice 4.1.5 on WINDOWS 10
heo.geoyeo
 
Posts: 3
Joined: Mon May 14, 2018 4:01 am

Re: How to convert without LO or OO installation

Postby Zizi64 » Mon May 14, 2018 6:16 am

Maybe you can do it with the usage of the online converters.
I do not think, if you can open the binary .doc, .xls files without an office suite pack.
The description of these fileformats was "secret" (was not published) in the past. The conversion feature of the older OpenOffice.org was developed by "reverse engineering method".

The .docx and .xlsx file formats have XML based description method. Maybe it is easier to convert to an another XML based format (.odt, ods) witout an office suite. But the two (Strict and Transitional) versions of the OOXML Standard will cause some difficulty for you.
Tibor Kovacs, Hungary; LO4.4.7, LO5.4.6 on Win7x64Prof.
PortableApps, winPenPack: LO3.3.0-LO6.0.2 and AOO4.1.5
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 6585
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: How to convert without LO or OO installation

Postby heo.geoyeo » Mon May 14, 2018 7:18 am

Could I ask something more?
I' tried to make a java application for converting xls2ods, doc2odt using LO or OO jar files (not LO or OO installation, only using jar files).
But it did not work when there are no LO or OO.
There are no ways to use the LO or OO java API without LO or OO installation?
OpenOffice 4.1.5 on WINDOWS 10
heo.geoyeo
 
Posts: 3
Joined: Mon May 14, 2018 4:01 am

Re: How to convert without LO or OO installation

Postby John_Ha » Mon May 14, 2018 11:57 am

Why make life so hard for yourself?

1. Install AOO or LO.
2. File > Wizards > Document converter. Navigate to the folder containing the files to be converted.
3. Uninstall AOO or LO.

All done ... and more quickly than posting here!

If you want to persist, see the Macros and UNO API forum and read Andrew Pitoynak's Useful Macro Information for OpenOffice.org at http://www.pitonyak.org/oo.php excellent reference for macros which discusses opening and saving files.

Showing that a problem has been solved helps others searching so, if your problem is now solved, please view your first post in this thread and click the Edit button (top right in the post) and add [Solved] in front of the subject.
Attachments
Clipboard01.gif
Last edited by John_Ha on Mon May 14, 2018 12:07 pm, edited 1 time in total.
AOO 4.1.5, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the up to date Writer guide for information. Click the Help button on a pop-up window for extensive help on that function.
John_Ha
Volunteer
 
Posts: 5351
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: How to convert without LO or OO installation

Postby heo.geoyeo » Mon May 14, 2018 12:04 pm

John_Ha wrote:Why make life so hard for yourself?

1. Install AOO or LO.
2. File > Wizards > Document converter. Navigate to the folder containing the files to be converted.
3. Uninstall AOO or LO.

All done ... and more quickly than posting here!


That's not I want. I want to make a java application for converter using \classes\*.jar without installation OO.
I asked related with dependency.
OpenOffice 4.1.5 on WINDOWS 10
heo.geoyeo
 
Posts: 3
Joined: Mon May 14, 2018 4:01 am

Re: How to convert without LO or OO installation

Postby John_Ha » Mon May 14, 2018 12:10 pm

See edited information about macros.
AOO 4.1.5, Windows 7 Home 64 bit

See the Writer Manual, the Writer FAQ, the Writer Tutorials and the up to date Writer guide for information. Click the Help button on a pop-up window for extensive help on that function.
John_Ha
Volunteer
 
Posts: 5351
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK


Return to Install, Setup and Troubleshooting

Who is online

Users browsing this forum: No registered users and 4 guests