Bug 144088 - SpreadSheetML (Excel 2003 XML) mixed up styles
Summary: SpreadSheetML (Excel 2003 XML) mixed up styles
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: MSO-XML2003
  Show dependency treegraph
 
Reported: 2021-08-25 18:23 UTC by Simon Williams
Modified: 2025-11-10 03:12 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Original file generated by our software. Cells should not be grey (9.49 KB, text/xml)
2021-08-25 18:25 UTC, Simon Williams
Details
report_ig.xml opened in Excel and re-saved (with extra blue cells added). Calc now incorrectly shows all cells with thick borders (10.96 KB, text/xml)
2021-08-25 18:26 UTC, Simon Williams
Details
New file created with Excel. Each cell should have a different style, Calc shows all cells with brown background. (4.28 KB, text/xml)
2021-08-25 18:27 UTC, Simon Williams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Williams 2021-08-25 18:23:43 UTC
Description:
Calc mixes up styles in Excel 2003's XML format. The styles from one declaration seem to bleed over into other declarations and affect other cells.

Steps to Reproduce:
1. Create a new spreadsheet in Excel.
2. Apply a selection of different styles to different cells (e.g. one bold, one with background colour, one with borders)
3. Save as Excel 2003 XML format
4. Open in LibreOffice

Actual Results:
Some of the styles bleed over and apply to other cells incorrectly.

Expected Results:
The spreadsheet should look the same as it does in Excel.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
This bug has existed for as far back as I can remember (at least as far back as LibreOffice 4), and has been observed on many different machines and distributions.
Comment 1 Simon Williams 2021-08-25 18:25:21 UTC
Created attachment 174536 [details]
Original file generated by our software. Cells should not be grey
Comment 2 Simon Williams 2021-08-25 18:26:31 UTC
Created attachment 174537 [details]
report_ig.xml opened in Excel and re-saved (with extra blue cells added). Calc now incorrectly shows all cells with thick borders
Comment 3 Simon Williams 2021-08-25 18:27:36 UTC
Created attachment 174538 [details]
New file created with Excel. Each cell should have a different style, Calc shows all cells with brown background.
Comment 4 Екатерина 2021-09-10 12:10:43 UTC
repro in Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: bc7baa18435000f47f90e47d3300710bcb4cf56b
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
Comment 5 Kohei Yoshida 2023-11-10 21:26:07 UTC
The build from the current master branch (slated to become 24.2) has the latest version of orcus 0.19.2 and does a much better job of importing the styles from the documents attached to this bug.
Comment 6 QA Administrators 2025-11-10 03:12:54 UTC
Dear Simon Williams,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug