https://bugs.documentfoundation.org/show_bug.cgi?id=142108
Justin L <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] See Also| |https://bugs.documentfounda | |tion.org/show_bug.cgi?id=13 | |7691 OS|Windows (All) |All Blocks| |75057 Hardware|x86 (IA32) |All --- Comment #8 from Justin L <[email protected]> --- When loading charts, sometimes a Microsoft document with a chart goes through an ODF export/import cycle when loading the chart. For example chart2/qa/extras/data/docx/testSeriesIdxOrder.docx I was expecting that bug 137691 would have fixed round-tripping the correct formatting for this DOCX chart, but it didn't and I think the reason is related to what this bug is describing. Steps to reproduce for testSeriesIdxOrder.docx 1.) open testSeriesIdxOrder.docx, edit the chart, then View - Data Table and notice that "Production" is formatted as 1,234 while "wine grape" is formatted as 1234.56 (which surprisingly is correct in both cases). 2.) Round-trip the file (save and reload) and see that all formatting is lost. After some debugging, it seem like import is the problem here. If you xray the file and look at how it is represented internally, the formatting code is already lost at initial file import. (ThisComponent.EmbeddedObjects(0).Model.DataSequences(1).Values.NumberFormatKey) My debugging patch is at https://gerrit.libreoffice.org/c/core/+/161826. Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=75057 [Bug 75057] [META] OOXML Chart object issues -- You are receiving this mail because: You are the assignee for the bug.
