This plugin allows you to inspect metadata on OpenOffice.org files. To achieve this, it uses the file meta.xml
contained in all OOo files which contains information in XML format (as all OpenOffice.org data) about metadata.
It simply parses the DOM (Document Object Model) Tree of the meta.xml
and add informations to files using the KFilePlugin Model.
Data is then accessible in Read mode (i.e. if you let your mouse over files in Konqueror or when you search for files in KFind to extend search criterias) and also in Write mode (click on file, then Properties > Meta-Data...) to allow the user to modify these metadata.
Currently, data are not lost when you write new meta-data since zip (all openoffice XML files are compressed together using ZIP) allows to have several files with the same. If you encounter problems, edit the OOo file, data is not lost : You can recover it using unzip
!
To do a such thing : unzip OOo file : unzip my_file.sxw
. The tool unzip
will ask you for two files with the same name : rename the second one to meta2.xml
. Now, the old data is located in meta.xml
, the new inmeta2.xml
. Care, using OpenOffice.org to save the file will delete the backup copy !
Meta properties on Desktop with mouse over
Meta Properties on a OOCalc File with User Defined fields
Meta properties on a OOWriter file
Meta properties on a OOWriter file (with some Advanced Properties
Searching on MetaData using KFind (as you see, the result found is the file of the first screenshot
kfile-plugin-ooo.tgz
Now part of the KOffice Tree