tag:blogger.com,1999:blog-8544609315733972726.post-11625437051308270392008-02-06T08:22:00.000-07:002008-02-06T12:59:09.941-07:002008-02-06T12:59:09.941-07:00Office Compatibility Pack Review<p>Stuck with .docx, .xlsx, and .pptx files? These are also called OpenXML or Microsoft Office 2007 format. Here's a way to convert them in to .doc, .xls, and .ppt (respectively) in Windows.</p> <p>Don't let the name "Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 file format" fool you. You do <i>not</i> need Microsoft Office, so it works great with OpenOffice.org, Google Docs, Abiword, WordPerfect, and Microsoft Office 2003.</p> <h3>Installation</h3> <p>Just download and install <a rel="nofollow external" href="http://office.microsoft.com/en-us/products/HA101686761033.aspx">Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 file format</a>. The site does not require the annoying Windows Genuine Advantage validation required for some other Microsoft downloads.</p> <h3>GUI conversion</h3> <p>Simply open the .docx, .xlsx, or .pptx document as you would any other. For example, if the document is on your desktop, just double click on it. Then, you'll see this simple dialog:</p> <img src="http://lh4.google.com/OOoNinja/R6nHGkRcAjI/AAAAAAAAAZw/lNixBeUjIAk/s640/mocp_dialog.png" alt="Microsoft Office Compatibility Pack dialog box" /> <h3>Command line conversion</h3> <p>While most people will use the GUI, others may want automated or batch conversions. If so, use the Windows command line with this format:</p> <code>"C:\Program Files\Microsoft Office\Office12\wordconv.exe" -oice -nme &lt;input file&gt; &lt;output file&gt;</code> <h3>Quality of conversion</h3> <p>Microsoft being the OpenXML experts, the conversion was excellent and rendered well in OpenOffice.org 2.3.1. The following converted properly: the text, bold, italics, underline, typefaces changes, font sizes, character colors, paragraph indentation, paragraph alignment, highlighting, hyperlinks, bookmarks, footnotes, track changes, comments, lists, tables, picture, columns, and manual page break.</p> <p>The same two problems were visible in OpenOffice.org 2.3.1 and Word 2003: the header was not aligned properly, and the embedded Excel object displays correctly but cannot be edited. OpenOffice.org complains, "Error activating object: General OLE error." Word 2003 complains, "The server application, source, or item cannot be found." I assume they are both looking for an Excel 2007 installation.</p> <p>Here is the original <a href="http://openofficeorgninja.googlepages.com/openxml_reference_document">reference document</a> shown in Word 2007:</p> <a href="http://openofficeorgninja.googlepages.com/openxml_reference_document"> <img src="http://lh5.google.com/OOoNinja/R6nP70RcAmI/AAAAAAAAAaM/E4PwLmE8Ng4/s640/OpenXML_text_reference_v1_1.png" alt="OpenXML reference document in Microsoft Office Word 2007" /> </a> <p>Here is the <a href="http://openofficeorgninja.googlepages.com/OpenXML_mocp_results.doc">converted .doc document</a> viewed in OpenOffice.org 2.3.1 with the <A href="http://www.oooninja.com/2008/01/calibri-linux-vista-fonts-download.html">Calibri font</a> installed:</p> <a href="http://openofficeorgninja.googlepages.com/OpenXML_mocp_results.doc"> <img src="http://lh4.google.com/OOoNinja/R6nHGkRcAkI/AAAAAAAAAZ4/udEVufid-UA/s640/mocp_results_ooo231.png" alt="In OpenOffice.org 2.3.1 the results of the OpenXML conversion"/> </a> <h3>Compatibility with Linux through Wine</h3> <p>Sorry, this method doesn't yet work on Linux with Wine 0.9.52. The GUI appears to work but produces nothing. The command line method crashes Wine.</p> <code>cd ~/.wine/drive_c/Program\ Files/Microsoft\ Office/Office12/ wine wordconv.exe -oice -nme OpenXML_text_reference_document.docx test.doc fixme:heap:HeapSetInformation 0x110000 1 (nil) 0 fixme:heap:HeapSetInformation 0x110000 1 (nil) 0 fixme:heap:HeapSetInformation 0x110000 1 (nil) 0 fixme:heap:HeapSetInformation 0x110000 1 (nil) 0 fixme:win:WIN_CreateWindowEx Parent is HWND_MESSAGE err:x11drv:X11DRV_CreateWindow invalid window width -1611949332 err:x11drv:X11DRV_CreateWindow invalid window height -264947 fixme:ole:PropVariantCopy Invalid element type: 12l fixme:advapi:CheckTokenMembership ((nil) 0x147618 0x34f9d0) stub! fixme:advapi:CheckTokenMembership ((nil) 0x147618 0x34f9d0) stub!</code> <h3>Related articles</h3> <ul> <li><a href="http://www.OOoNinja.com/2008/01/convert-openxml-documents-in-windows.html">Convert OpenXML documents in Windows using command line using OdfConverter</a></li> <li><a href="http://www.oooninja.com/2008/01/convert-openxml-docx-etc-in-linux-using.html">Convert OpenXML (.docx, etc.) in Linux using command line using OdfConverter</a></li> <li><a href="http://www.oooninja.com/2008/02/zamzarcom-docx-odt-converter-review.html">Zamzar .docx to .odt Converter Review</a></li> <li><a href="http://www.oooninja.com/2008/01/openxml-translator-odf-converter-11.html">odf-converter 1.1 released </a></li> <li><a href="http://www.oooninja.com/2008/01/calibri-linux-vista-fonts-download.html">Install Free Office 2007 Fonts for Linux and XP</a></li> <li><a href="http://www.oooninja.com/2008/01/docx2rtf-docx-openxml-rtf-document.html">Review: docx2rtf Document Converter</a></li> </ul> <p>There are many ways to open OpenXML documents. I'll post more details soon. Subscribe so you don't miss them. :)</p><div class="blogger-post-footer"><a href="http://www.pheedo.com/click.phdo?x=9b46c817936b44038e3def7b73e77e6e&u=%%UNIQUEID%%"><img src="http://www.pheedo.com/img.phdo?x=9b46c817936b44038e3def7b73e77e6e&u=%%UNIQUEID%%" border="0"/></a></div>Andrew Zhttp://www.blogger.com/profile/10108637160465346326noreply@blogger.com