https://bugs.freedesktop.org/show_bug.cgi?id=82499

          Priority: medium
            Bug ID: 82499
          Assignee: [email protected]
           Summary: Support date field type in user-field-decl
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: UNCONFIRMED
           Version: unspecified
         Component: Writer
           Product: LibreOffice

User fields defined in user-field-decls by specification can be different
types, including date type, where value set in office:date-value attribute.
see
http://docs.oasis-open.org/office/v1.2/cs01/OpenDocument-v1.2-cs01-part1.html#element-text_user-field-decl

When i create date field from my application like this:
<text:user-field-decl office:value-type="date"
office:date-value="2014-07-01T00:00:00" text:name="Договор.ДатаПодписания"/>

After open and save document in LibreOffice Writer, field convert from date
type to float type:
<text:user-field-decl office:value-type="float" office:value="41821"
text:name="Договор.ДатаПодписания"/>

This behavior does not allow user see correct data value, when user insert
field to text, and it is not clear to the user how to select the date display
format.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to