[Libreoffice-bugs] [Bug 124772] New: Formatting in pivot table saved as XLSX degrades after refreshing table in Excel

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 16 12:36:43 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=124772

            Bug ID: 124772
           Summary: Formatting in pivot table saved as XLSX degrades after
                    refreshing table in Excel
           Product: LibreOffice
           Version: 6.0.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:xlsx
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: baron at caesar.elte.hu
                CC: mikekaganski at hotmail.com
            Blocks: 112416

The samples are two similar pivot tables, one created in Excel (bug 123421),
and another in Calc (bug 108343).

- Open Calc-created attachment 149245 (bug 123421) and save it as XLSX, or
Excel-created attachment 133861 (bug 108343) and save it again as XLSX.
- Open in Excel (the first sample needs bug 123421's fix to work), right-click
table and choose Refresh.

=> Note the following:
- number formats disappear,
- the borders fade,
- the grey background of the fields (Country, Product) disappears (already upon
import).

Out of these the first two are particularly problematic, the third is nice to
have.

A couple of other smaller differences worth noting (but no need to deal with
them):
- Calc's format for unfiltered values is "- all -", while Excel's is "(All)",
probably can't be handled in a consistent way (ie. if "(All)" is exported, then
Calc will again change it when working on the file again, if it's changed
internally for Excel files, then it won't be consistent within Calc),
- similarly, Calc uses "Total Result", while Excel uses "Grand Total",
- the header of the sum column, which is "Sum - Amount" disappears in Excel
upon Refresh (in the Excel sample the original column header is "Sum of
Amount"),
- in the Excel-created sample the "Product" field is originally "Row Labels"
instead, not sure why,
- in the Excel-created sample the original formatting is fancy, the styles are
likely be hard ot support, perhaps roundtripping it in the grab-bag could be
considered.

Observed using LO 6.3.0.0.alpha0+ (2e3b0c5d42d60d46cd9f8b8eda9424b095c63418),
6.0.0.3 / Windows 7.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=112416
[Bug 112416] [META] XLSX pivot table bugs
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190416/c3e73fca/attachment-0001.html>


More information about the Libreoffice-bugs mailing list