Resetting metadata after new from template ?

Pierre pinaraf at pinaraf.info
Mon Feb 1 22:20:23 GMT 2016


Hi

Right now, when we create a new empty document (at least for words), like any 
other office suite, it is created from a template. But we currently lack the 
reset of some metadata from our templates, leading to funny situations… For 
instance, any document created by calligra using the A4 template is more than 
7 years old :)

We have several possible fix :
- strip metadata from templates : we would still copy the metadata for user 
templates, including creation date, bad imho
- strip all metadata when creating a file from template : bad too, users could 
have specific metadata they don't want to lose
- override specific metadata like the creation date with sane values

Each one is very simple to implement, I just don't know which one is the best.
I would go for the third option, but I don't have a list of metadata to erase. 
(we already override the generator BTW, but elsewhere in the saving code)

Any thoughts on this ?

Thanks

 Pierre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20160201/a53bedf2/attachment.sig>


More information about the calligra-devel mailing list