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

m.a.riosv <mari...@miguelangel.mobi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
           Keywords|                            |regression

--- Comment #5 from m.a.riosv <mari...@miguelangel.mobi> ---
Sorry CamaleĆ³n, I had not format the cell with two decimal positions.

I have added another cell with a date for comparison and haven't clear what is
the right.
4.1.6
<office:spreadsheet>
   <table:calculation-settings table:case-sensitive="false"
table:automatic-find-labels="false"/>
   <table:table table:name="Sheet1" table:style-name="ta1">
    <table:table-column table:style-name="co1"
table:default-cell-style-name="ce1"/>
    <table:table-row table:style-name="ro1">
     <table:table-cell office:value-type="float" office:value="46.236589998745"
calcext:value-type="float">
      <text:p>46,24</text:p>
     </table:table-cell>
    </table:table-row>
    <table:table-row table:style-name="ro1">
     <table:table-cell table:style-name="ce2" office:value-type="date"
office:date-value="2014-12-31" calcext:value-type="date">
      <text:p>31/12/14</text:p>
     </table:table-cell>
    </table:table-row>
   </table:table>
   <table:named-expressions/>
  </office:spreadsheet>

4.2.0
<office:spreadsheet>
   <table:table table:name="Sheet1" table:style-name="ta1">
    <table:table-column table:style-name="co1"
table:default-cell-style-name="ce1"/>
    <table:table-row table:style-name="ro1">
     <table:table-cell office:value-type="float" office:value="46.236589998745"
calcext:value-type="float">
      <text:p>46.236589998745</text:p>
     </table:table-cell>
    </table:table-row><table:table-row table:style-name="ro2">
     <table:table-cell table:style-name="ce2" office:value-type="date"
office:date-value="2014-12-31" calcext:value-type="date">
      <text:p>42004</text:p>
     </table:table-cell>
    </table:table-row>
   </table:table>
   <table:named-expressions/>
  </office:spreadsheet>

Master save as 4.2.0
Aoo 4.0.1 save as 4.1.6

Not too much clear in ODF specification what content must be.
http://docs.oasis-open.org/office/v1.2/cs01/OpenDocument-v1.2-cs01-part1.html#element-table_table-cell
http://docs.oasis-open.org/office/v1.2/cs01/OpenDocument-v1.2-cs01-part1.html#element-text_p

Seems a bug, difficult to see because the cell format is applied immediately
after open the file.

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

Reply via email to