Relatorio

Bug 43

classification
Title: Provide a way to set metadata for ODF documents
Type: rfe Severity: normal
Components: opendocument Versions:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: ced Nosy List: bramd, ced, nicoe, roundup-bot
Priority: normal Keywords:

Created on 2017-12-15 16:07 by bramd, last changed 2021-08-20 12:34 by roundup-bot.

Messages
msg71 Author: [hidden] (bramd) Date: 2017-12-15 16:06
There is currently some code to clear metadata (such as last
printed on, number of revisions, last edited by etc).
However, there is no way to set metadata. I think setting
the title and author would be the most common case here.

Ideally, the template author should be able to use template
markup in the metadata fields somehow.
msg155 Author: [hidden] (nicoe) Date: 2021-06-01 12:15
Here is a review: https://codereview.tryton.org/333021002

With this review people can insert text starting with "relatorio://" in the libreoffice interface to template some metadata.
msg156 Author: [hidden] (ced) Date: 2021-06-01 12:24
Does the usage of user defined meta in the document being updated when the result is opened?
msg157 Author: [hidden] (nicoe) Date: 2021-06-01 13:05
* Cédric Krier  [2021-06-01 12:24 +0200]: 
>Does the usage of user defined meta in the document being updated when the
>result is opened?

Yes it works. You can insert the data defined in meta in the document.
msg160 Author: [hidden] (roundup-bot) Date: 2021-07-29 11:49
New changeset 391b56e40ce3 by Nicolas Évrard in branch 'default':
Add templating of user-defined meta in opendocument
https://hg.tryton.org/public/relatorio/rev/391b56e40ce3
msg163 Author: [hidden] (roundup-bot) Date: 2021-07-29 17:48
New changeset 0b857e3b0a01 by Nicolas Évrard in branch 'default':
Add templating of meta in opendocument
https://hg.tryton.org/public/relatorio/rev/0b857e3b0a01
msg167 Author: [hidden] (roundup-bot) Date: 2021-08-12 23:09
New changeset 0aee164d3e9d by Nicolas Évrard in branch 'default':
Add templating of meta in opendocument
https://hg.tryton.org/public/relatorio/rev/0aee164d3e9d
msg169 Author: [hidden] (roundup-bot) Date: 2021-08-20 12:34
New changeset 0aee164d3e9d by Nicolas Évrard in branch 'default':
Add templating of meta in opendocument
https://hg.tryton.org/relatorio/rev/0aee164d3e9d
History
Date User Action Args
2021-08-20 12:34:43roundup-botsetmessages: + msg169
status: pending -> closed
2021-08-12 23:09:27roundup-botsetmessages: + msg167
2021-08-12 23:06:56cedsetassignee: nicoe -> ced
2021-07-29 17:48:29roundup-botsetmessages: + msg163
2021-07-29 11:49:56roundup-botsetmessages: + msg160
nosy: + roundup-bot
status: new -> pending
2021-06-01 13:05:24nicoesetmessages: + msg157
2021-06-01 12:24:06cedsetmessages: + msg156
2021-06-01 12:15:58nicoesetassignee: nicoe
messages: + msg155
nosy: + nicoe
2018-05-06 00:14:09cedsetpriority: normal
2017-12-15 21:33:37cedsetnosy: + ced
2017-12-15 16:07:00bramdcreate