To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107372





------- Additional comments from m...@openoffice.org Wed Dec  2 09:36:27 +0000 
2009 -------
the main reasons why these have not been supported are:
- the interface XDocumentProperties makes these available as a "long" (seconds)
- it is not possible to convert years/months to seconds without loss of 
information
- the editing duration represents the time during which a document is actually
being edited, 
   so months/years probably do not commonly occur in the value
- the calculation of the editing duration is implementation-defined anyway
- OOo only writes hours, minutes, seconds anyway

of course, the last point may not be true for all ODF producers, and so we have
an interoperability problem here.

so we could:
- change the interface XDocumentProperties to type "Duration"
- do an inexact conversion on import, as suggested by bei:  month=30days,
year=365 days

given that a change to the interface would be a significant inconvenience to API
users, and that month/year in editing duration is probably highly unusual
anyway, i would favor the second approach.

bei, do you agree?

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to