Do you need to convert between Microsoft Office 2007 OpenXML formats (.docx, .xlsx, .pptx) and OpenDocument formats (.odt, .ods, and .odp) on Windows? I wrote about converting OpenXML documents in Linux using command line, and it's even easier on Windows.
Don't like the command line? odf-converter-integrator is easier.
How to get the software
- Download the latest odf-converter-1.1-7.oxt extension for Windows.
- Rename the file extension from .oxt to .zip. Tip: Windows may hide the extension from you, so follow this procedure to show and to rename the file extension.
- Unzip the .zip file by right clicking on the file and choosing Extract All.
Path
OdfConverter.exe must be in your current working directory or your path. To view your path:
- Click Start menu.
- Click Run.
- Type CMD.EXE.
- Type the ENTER key.
Your path probably includes C:\WINDOWS, so if you copy OdfConverter.exe there, then it will always be in your path.
Usage
Assuming your filename is example.docx, then run this command to get a .odt:
OdfConverter.exe /I example.docx
To do a batch conversion from every .docx file in c:\files, run this command
OdfConverter.exe /BATCH-DOCX /I c:\files
For more options, run:
OdfConverter.exe /?
You will notice that OdfConverter is bidirectional, so it can also convert ODF to OOXML.
Comments
translated.
Hello, I wrote a ODT file, containing enumerated list, tables colors and mathematical formula. I converted it to docx format.
- I could not open that file with the Oygen Openoffice which contains a docx import filter, files corrupted.
- converted the docx file back to odt, but then the math formula were gone.
can anybody comment on this?
The command prompt is telling me that "ODFConverter" is not recognized as a command.
The process worked really fast from command prompt, but it just hangs when I call it from java.
Has anyone ever tried this?
Halts under WIN98SE due to "PSAP.dll linked to missing NTDLL.dll" (vmm allocator)...>
even though NTDLL.dll is there, as well as PSAPI.dll (under WIN.../SYSTEM) >
Both .dll's look like original WIN98 (5-29-98 date), but i vaguely recollect having to install them for some pgm....>
Researching around, it looks like a PSAPI.dll must be written program-specific, at least in 98SE (??)
Anyway, Thanks, > works great under XP
Lou