Word 2007 Document Converter
This tool converts files saved in the Word 2007 DOCX format (.docx) to the ODT (.odt) format used in OpenOffice.org and StarOffice. It applies to Xandros computers and because the Debian (.deb) file format is used, it may also apply to other Linux releases that are based on Debian (untested). You can also use the tool to convert .odt files to .docx. It works on a 32-bit computer.
To use the conversion tool, you install it, then convert files. There are two options to install the conversion tool: in Xandros Networks or a console window.
To install the conversion tool in Xandros Networks
Download the openxml-translator_1.0-3_i386.deb file from here:
http://support.xandros.com/downloads/Openxml/openxml-translator_1.0-3_i386.deb.
On a Xandros computer, click Launch > Xandros Networks.
Click File > Install DEB File and locate the .deb file. Follow the prompts to install the application.
To install the conversion tool in a console window
Download the openxml-translator_1.0-3_i386.deb file from here:
http://support.xandros.com/downloads/Openxml/openxml-translator_1.0-3_i386.deb.
At the Xandros computer, open a console window, for example by clicking Launch > Applications > System > Console.
Switch to Administrator/root privileges by entering
su root
and entering the password at the prompt.Install the conversion tool by entering the following command:
dpkg -i openxml-translator_1.0-1_i386.deb
The application is installed.
To convert a .docx document
In a console window at the Xandros computer, enter a command in the format
/opt/openxmltranslator/OdfConverter /I PathOrFilename /O PathOrFilename
For example
/opt/openxmltranslator/OdfConverter /I wordfile.docx /0 openofficefile.odt
converts the Word 2007 file called wordfile to the OpenOffice.org file called openofficefile. You need to specify the .odt extension.
Another example to convert all DOCX files in a folder is
/opt/openxmltranslator/OdfConverter /I /home/user/wordfiles /BATCH-DOCX
where the path to the folder is /home/user/wordfiles
Usage is outlined as follows. Commands in brackets are optional.
Usage: /opt/openxmltranslator/OdfConverter /I PathOrFilename [/O PathOrFilename] [/BATCH-ODT] [/BATCH-DOCX] [/V] [/OPEN] [/XSLT Path] [/NOPACKAGING] [/SKIP name] [/REPORT Filename] [/LEVEL Level] [/ODT2DOCX] [/DOCX2ODT]Option
Description
/I PathOrFilename
Name of file to convert (or folder in case of batch conversion)
/O PathOrFilename
Name of output file (or output folder)
/F
Replace existing file
/BATCH-ODT
Do a batch conversion over every ODT file in the input folder (existing files are replaced)
/BATCH-DOCX
Do a batch conversion over every DOCX file in the input folder (existing files are replaced)
/V
Validate the result of the conversion against the schemas
/OPEN
Try to open the converted files (works only for ODF > OOX and Microsoft Word is required)
/XSLT Path
Path to a folder containing XSLT files (must be the same as used in the lib). XSLT refers to an XML style sheet known as the Extensible Stylesheet Language Technology.
/NOPACKAGING
Do not package the result of the conversion into a ZIP archive, meaning produce an XML information file
/SKIP name
Skip post-processing (provide the post-processor's name)
/REPORT Filename
Name of the report file to be generated (existing files are replaced). The report file is placed in your home folder, not the folder in which the files are converted.
/LEVEL Level
Level of reporting: 1=DEBUG, 2=INFO, 3=WARNING, 4=ERROR
/ODT2DOCX
Force conversion to DOCX regardless of input file extension
/DOCX2ODT
Force conversion to ODT regardless of input file extension
To view this information in a console window enter
/opt/openxmltranslator/OdfConverter --h