Bug 29

Title: Add support for more types
Type: rfe Severity: normal
Components: opendocument Versions:
Status: open Resolution: accepted
Dependencies: Superseder:
Assigned To: ced Nosy List: ced
Priority: normal Keywords:

Created on 2017-06-15 11:23 by ced, last changed 2017-06-16 23:41 by ced.

msg24 Author: [hidden] (ced) Date: 2017-06-15 11:23
For now, we support only the types: 'string' and 'float'.
But I think we could support more of them [1].
At least, 'date', 'boolean' and maybe 'time' (if we can
format it correctly the timedelta).
For the others, I do not see to which Python type we could
link them.

msg25 Author: [hidden] (ced) Date: 2017-06-15 11:27
We must be careful that the name of the tag containing the
value change depending of the type.
Until now, it was not a problem because office:string-value
has a fallback to office:value
msg28 Author: [hidden] (ced) Date: 2017-06-16 23:41
Here is review42431002 that implements it.
Date User Action Args
2017-06-16 23:41:12cedsetstatus: new -> open
assignee: ced
resolution: accepted
messages: + msg28
2017-06-15 11:27:16cedsetmessages: + msg25
2017-06-15 11:23:20cedcreate