Actually, although the problem actually doesn't manifest now for
majority of cases, it still is reproducible like this:

1. Create a new spreadsheet
2. Go to last column: AMJ (Ctrl+Arrow Right)
3. Change the width of column AMJ
4. Save as XLSX.

The reason is the code in sc/source/filter/excel/xetable.cxx introduced
in
https://git.libreoffice.org/core/+/64274b38f6cc50a8bb49f114f1ac9e7c1c3b3c4f
back in 2009: that was the commit introduced export to XLSX (integrated
to LO from Go-oo). The code starts with this comment:

> // if last column is equal to last possible column, Excel adds one
more

which is directly taken from the older code that exports to XLS binary
formats. Obviously, this is just a left-over from copy-paste. When
writing to OOXML format, Excel doesn't do that.

Setting to NEW.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1796698

Title:
  [upstream] Assigns style to columns it cannot handle in .xlsx files

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/1796698/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to