Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add revision number as metadata to file #1030

Open
dnyamy opened this issue Aug 8, 2019 · 2 comments
Open

Add revision number as metadata to file #1030

dnyamy opened this issue Aug 8, 2019 · 2 comments

Comments

@dnyamy
Copy link

dnyamy commented Aug 8, 2019

Hello,
I have been using redmine dmsf to track activities on docx files.
Now we are facing some difficulties with new users less acquainted with computer science.
Sometimes they download a file, and keep working on it for long, without having locked it.
When they finally come back to submit the new version, they don't mind wether the file has been modified in the mean time, and thus overwrite all the changes since their download.

I would like to add a little check.
Idea :
Each time a file is submitted, write the revision number as metadata of the docx file.
When the come with new revision, compare the current file revision against what is written in their, and at list pop a warning box.

1-Please I will highly appreciate any comment about the idea
2-How can I achieve it ?

Thanks

dn

@picman
Copy link
Collaborator

picman commented Aug 9, 2019

docx is a proprietary closed file format. I've no idea how to modify it

@mmundi72
Copy link
Contributor

It's not really closed. DOCX is a ZIP-Container based on the ECMA-376 Office Open XML File Formats.
Details see: https://www.ecma-international.org/publications/standards/Ecma-376.htm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants