On 1 February 2016 at 23:20, Pierre <pina...@pinaraf.info> wrote: > 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 ? >
Very interesting finding , Pierre. If you ask me, the 3rd option looks best. Documenting the new behaviour, whatever it is, in the API docs, would be useful. > Thanks > > Pierre > _______________________________________________ > calligra-devel mailing list > calligra-devel@kde.org > https://mail.kde.org/mailman/listinfo/calligra-devel > > -- regards, Jaroslaw Staniek KDE: : A world-wide network of software engineers, artists, writers, translators : and facilitators committed to Free Software development - http://kde.org Calligra Suite: : A graphic art and office suite - http://calligra.org Kexi: : A visual database apps builder - http://calligra.org/kexi Qt Certified Specialist: : http://www.linkedin.com/in/jstaniek
_______________________________________________ calligra-devel mailing list calligra-devel@kde.org https://mail.kde.org/mailman/listinfo/calligra-devel