Os arquivos do Office 2007 são todos apenas arquivos .xml
compactados no coração. Apenas renomeie o arquivo com .zip
e o emacs saberá o que fazer:
mv file.docx file.zip
emacs -nw file.zip
Fornece saída como:
M Filemode Length Date Time File
- ---------- -------- ----------- -------- ------------------------------
-rw-rw-rw- 3744 1-Jan-1980 00:00:00 [Content_Types].xml
-rw-rw-rw- 737 1-Jan-1980 00:00:00 _rels/.rels
-rw-rw-rw- 3184 1-Jan-1980 00:00:00 word/_rels/document.xml.rels
-rw-rw-rw- 60108 1-Jan-1980 00:00:00 word/document.xml
-rw-rw-rw- 1226 1-Jan-1980 00:00:00 word/footer1.xml
-rw-rw-rw- 15183 1-Jan-1980 00:00:00 word/header3.xml
(...)
-rw-rw-rw- 23893 1-Jan-1980 00:00:00 word/styles.xml
-rw-rw-rw- 24646 1-Jan-1980 00:00:00 word/stylesWithEffects.xml
-rw-rw-rw- 831 1-Jan-1980 00:00:00 word/webSettings.xml
-rw-rw-rw- 699 1-Jan-1980 00:00:00 docProps/core.xml
- ---------- -------- ----------- -------- ------------------------------
244649 34 files
que você pode editar o quanto quiser.