While exiftool (one of the best tools in metadata space) can be used to extract metadata for doc/ppt/xls or odt/odf/ods files, it does not support writing/modifying metadata for these document types.
Is there a command-line tool or python library that allows writing metadata on text documents, presentations and spreadsheets?
It is important that metadata should be written on file level and not on file-system level so that metadata is maintained even when files are transferred between systems.