j2969719 / doublecmd-plugins

Additions for Double Commander (third-party)
102 stars 24 forks source link

Read office file app and version #25

Closed timur-g closed 2 years ago

timur-g commented 2 years ago

OOXML and ODF files have written app and version name of last save. It is inside .zip file for example in \docProps\app.xml for DOCX ( and ) and meta.xml for ODF ( ). I hope this is a good place to ask for a script that would read those names and versions from office files (so that we don't have to unzip and click and open each time). Thanks for considering.

Skif-off commented 2 years ago

Have you tried plugins OpenOfficeInfo and Office Open XML?

Linux: see here and here (also the Releases page). Win: find this plugins here.

j2969719 commented 2 years ago

also added Application field to the exiftoolwdx.lua

timur-g commented 2 years ago

I didn't know, thanks. I put OpenOfficeInfo and Office Open XML in \plugins\wdx\ and added in \Options\Plugins but what then? How to use it? I tried F3 for ODF but it directly opens file content. Not obvious, I couldn't find. Another problem is that Office Open XML doesn't have 64-bit version. I also added exiftoolwdx.lua and assigned a toolbar icon to it but also nothing, how does that work? Please put some explanation on the main page.

j2969719 commented 2 years ago

https://doublecmd.h1n.ru/viewtopic.php?p=36165#p36165

timur-g commented 2 years ago

Now that I see how it works, search of files for some string is not what I wanted. But with this I got what I needed: I made Custom Columns with these plugins (I also switched to 32-bit to be able to use both). Thanks!

As for usage, please continue in forum.

Skif-off commented 2 years ago

@gitgt

Another problem is that Office Open XML doesn't have 64-bit version.

https://totalcmd.net/plugring/office2007wdx_64.html